[BZ #17969]
[glibc.git] / ChangeLog
blob821da1dd884e0f8dfca2a43926b4eb57b5769c05
1 2015-02-12  J William Piggott  <elseifthen@gmx.com>
3         [BZ #17969]
4         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5         node.
7 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
9         [BZ #17964]
10         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
11         __builtin_fma instead of relying on contraction of a * b + c.
13 2015-02-12  Roland McGrath  <roland@hack.frob.com>
15         * Makeconfig (ASFLAGS): Add -Werror=undef.
16         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
17         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20         * Makeconfig (after-link): New variable.
21         (+link-pie, +link-pie-tests): Use it.
22         (+link-static, +link-static-tests): Likewise.
23         (+link, +link-tests): Likewise.
24         * Makerules (build-module, build-module-asneeded): Likewise.
25         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26         Likewise.
27         * elf/Makefile ($(objpfx)ld.so): Likewise.
29 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
31         [BZ #17965]
32         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
33         both struct timeval and struct timespec.
35 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
37         [BZ #16560]
38         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39         and redefine.
40         (__ieee754_exp2l): Do not multiply small fractional parts by
41         M_LN2l.
42         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
43         small argument.
44         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
45         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
46         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
47         * math/auto-libm-test-in: Add more tests of exp2.
48         * math/auto-libm-test-out: Regenerated.
50 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
53         unaligned path.
55 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
58         little endian.
60 2015-02-12  Andreas Schwab  <schwab@suse.de>
62         [BZ #15790]
63         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
64         Filter out elision flags from value returned in kind.
65         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
66         * nptl/tst-pthread-mutexattr.c: New file.
68 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
71         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
72         into gnu-gnu, and update comment to refer to abi-tags.
74 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
76         [BZ #15467]
77         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
78         (__sincos): Set errno to EDOM for infinite argument.
79         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
80         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
81         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
82         (__sincosl): Set errno to EDOM for infinite argument.
83         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
84         (__sincosl): Set errno to EDOM for infinite argument.
85         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
86         (__sincosl): Set errno to EDOM for infinite argument.
87         * math/libm-test.inc (sincos_test_data): Test errno setting.
89 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
91         * string/strxfrm_l.c: Remove #define STRCMP.
92         * string/strcoll_l.c: Remove #define STRLEN.
93         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
94         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
96 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
98         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
99         * sysdeps/mips/mips32/sfp-machine.h: ... here.
100         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
101         * sysdeps/mips/mips64/Makefile: ... here.
102         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
103         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
104         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
105         * sysdeps/mips/mips64/sfp-machine.h: ... here.
106         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
107         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
108         * sysdeps/mips/mips64/n64/Implies: Likewise.
110 2015-02-10  Roland McGrath  <roland@hack.frob.com>
112         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
113         <sys/time.h>, <string.h>, and <errno.h>.
114         (dest_offset, dest_address, value, zero): Remove unused variables.
115         (ldouble): Remove typedef.
116         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
117         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
118         1).  Fix code style.
119         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
120         (check): Function removed.
121         (CHECK): New macro.
122         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
123         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
124         Don't call set_sigaction_FP and remove_sigaction_FP here.
125         (ldouble_test): Just use 'long double' as macro argument, no need for
126         the 'ldouble' typedef.
127         (do_test): Set up SIGFPE handler at start, using plain signal rather
128         than sigaction.  Fix code style.
130 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
132         [BZ #17949]
133         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
134         jump label.
136 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
138         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
139         * sysdeps/powerpc/powerpc32/configure: Regenerated.
141         * sysdeps/powerpc/configure.ac: Remove file.
142         * sysdeps/powerpc/configure: Likewise.
144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
145         [sysdep_routines]: Remove wordcopy-power6 object.
146         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
147         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
148         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
149         (__memmove_ppc32): Likewise.
150         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
151         file.
152         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
154         Remove preprocessor.
156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
157         [sysdep_routines]: Remove wide chars objects.
158         [wcsmbs]: New rule for wide char objects.
160         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
161         Remove wordcopy-power6 obejct.
162         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
163         Use local call for wordcopy and memcpy symbols.
164         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
165         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
166         implementation for loader.
167         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
169         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
170         Remove wordcopy-power7 object.
171         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
172         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
173         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
174         (_wordcopy_fwd_dest_aligned): Likewise.
175         (_wordcopy_bwd_aligned): Likewise.
176         (_wordcopy_bwd_dest_aligned): Likewise.
178         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
179         Rewrite to call __memmove_ppc instead of include default
180         implementation.
182         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
183         Remove wide chars objects.
184         [wcsmbs]: New rule for wide char objects.
186 2015-02-09  Andreas Schwab  <schwab@suse.de>
188         [BZ #17912]
189         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
190         in terms of __O_DIRECTORY.
192 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
194         * time/getdate.c: Include <stdbool.h>.
195         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
196         call PTR_MANGLE.
197         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
198         PTR_DEMANGLE.
200 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
202         Add ersatz _Static_assert on older C hosts
203         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
204         pre-C11 C platform that is not known to support _Static_assert.
206 2015-02-07  Richard Braun  <rbraun@sceen.net>
208         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
209         sigstate.
210         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
212 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
214         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
215         priority against unexistent AIO_PRIO_DELTA_MAX.
216         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
217         instead of int.
218         * misc/fchflags.c (fchflags): Likewise.
219         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
220         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
221         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
222         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
223         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
224         Declare macros.
225         [__USE_MISC] (chflags, fchflags): Declare functions.
226         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
227         EINVAL when nfds is greater than FD_SETSIZE.
228         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
229         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
230         45.
231         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
232         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
233         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
234         MACH_RCV_TIMED_OUT.
235         * hurd/hurd/signal.h (_hurd_self_sigstate,
236         _hurd_critical_section_lock, _hurd_critical_section_unlock):
237         Explicit casts from void *.
238         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
239         * abi-tags: Rename gnu-gnu os into gnu.
241         [BZ #4719]
242         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
243         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
244         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
245         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
246         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
247         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
249         [BZ #17944]
250         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
251         duplicates ADDR->sun_path with sockaddr LEN limitation.
252         * sysdeps/mach/hurd/connect.c: Include <string.h>
253         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
254         * sysdeps/mach/hurd/sendmsg.c: Likewise.
255         * sysdeps/mach/hurd/sendto.c: Likewise.
256         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
257         implementing it by hand.
259 2015-02-06  Roland McGrath  <roland@hack.frob.com>
261         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
262         Use sfi_breg on ldr.
263         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
264         Likewise.
266         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
267         it's defined.
268         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
269         Test SIGSETXID only if it's defined.
271         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
273         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
274         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
276         * nptl/tst-align2.c: Moved ...
277         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
278         * nptl/Makefile (tests): Remove tst-align2.
279         * sysdeps/unix/sysv/linux/Makefile
280         [$(subdir) = nptl] (tests): Add tst-align-clone.
281         * nptl/tst-getpid1.c: Moved ...
282         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
283         * nptl/tst-getpid2.c: Moved ...
284         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
285         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
286         * sysdeps/unix/sysv/linux/Makefile
287         [$(subdir) = nptl] (tests): ... here.
288         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
289         * sysdeps/unix/sysv/linux/Makefile
290         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
292         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
293         Drop trailing \n from perror argument.  Use return rather than exit.
295         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
296         on [SA_SIGINFO].
297         * nptl/tst-cancel21.c (do_test): Likewise.
298         * debug/tst-backtrace6.c: Include <signal.h> first thing.
299         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
300         [!SA_SIGINFO]: Make it a stub test.
302         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
303         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
305         * posix/tst-getlogin.c: Move to ...
306         * login/tst-getlogin.c: ... here.
307         * posix/Makefile (tests): Move tst-getlogin to ...
308         * login/Makefile (tests): ... here.
310         * libio/tst-atime.c (do_test): Move local variables SV and E
311         inside [ST_NOATIME] conditional.
313         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
315         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
317         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
318         (wait_code): New function replaces macro.
319         Call nanosleep rather than syscall.
321         * nptl/pt-system.c: Rewritten.  Put everything under
322         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
323         Use IFUNC to redirect when possible.
325         * nptl/pt-longjmp.c: Rewritten.  Put everything under
326         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
327         Use IFUNC to redirect when possible.
329         * nptl/pt-fork.c: Rewritten.  Put everything under
330         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
331         Use IFUNC to redirect when possible.
332         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
334         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
335         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
336         unconditionally nowadays.  This included the only reference to
337         __vdso_clock_gettime that appears outside libc proper.
338         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
339         Remove version set (containing only __vdso_clock_gettime).
340         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
341         Add attribute_hidden.
342         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
343         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
344         libc_hidden_data_def.
345         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
346         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
348         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
349         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
350         setrpcent, and getrpcport to ...
351         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
352         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
353         getrpcbynumber_r, and getrpcent_r to ...
354         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
355         * inet/getrpcbyname.c: Moved ...
356         * sunrpc/getrpcbyname.c: ... here.
357         * inet/getrpcbyname_r.c: Moved ...
358         * sunrpc/getrpcbyname_r.c: ... here.
359         * inet/getrpcbynumber.c: Moved ...
360         * sunrpc/getrpcbynumber.c: ... here.
361         * inet/getrpcbynumber_r.c: Moved ...
362         * sunrpc/getrpcbynumber_r.c: ... here.
363         * inet/getrpcent.c: Moved ...
364         * sunrpc/getrpcent.c: ... here.
365         * inet/getrpcent_r.c: Moved ...
366         * sunrpc/getrpcent_r.c: ... here.
367         * inet/Makefile (routines): Move those to ...
368         * sunrpc/Makefile (routines): ... here.
369         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
370         the $(subdirs) list.
371         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
372         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
373         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
374         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
376         * elf/Makefile (routines): Include $(all-dl-routines), not just
377         $(dl-routines).
378         (rtld-routines): Likewise.  Use = rather than :=.
379         * sysdeps/aarch64/Makefile [$(subdir) = elf]
380         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
381         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
382         * sysdeps/arm/Makefile: Likewise.
383         * sysdeps/i386/Makefile: Likewise.
384         * sysdeps/x86_64/Makefile: Likewise.
385         * sysdeps/hppa/Makefile [$(subdir) = elf]
386         (sysdep_routines, sysdep-rtld-routines): Don't add
387         $(sysdep-dl-routines) to these.
388         * sysdeps/ia64/Makefile: Likewise.
389         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
390         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
391         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
392         Don't add dl-static to these; sysdep-dl-routines alone is enough.
393         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
394         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
395         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
396         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
397         * sysdeps/powerpc/Makefile [$(subdir) = elf]
398         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
399         these; sysdep-dl-routines alone is enough.
401 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
403         [BZ #17932]
404         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
405         where multiplication results in zero and third argument is finite
406         and nonzero.
407         * math/auto-libm-test-in: Add more tests of fma.
408         * math/auto-libm-test-out: Regenerated.
410         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
411         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
412         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
413         (_FP_CMP_EQ): Likewise.
414         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
416         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
417         extra argument CHECK_NAN.  Redefine as wrapper around
418         _FP_EXTEND_CNAN.
420 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
422         * version.h (RELEASE): Set to "stable".
423         (VERSION): Set to "2.21"
424         * include/features.h (__GLIBC_MINOR__): Set to 21.
426         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
428 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
429             Paul Eggert  <eggert@cs.ucla.edu>
431         [BZ #16618]
432         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
433         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
434         size in bytes. Store needed elements in wpmax. Use needed size
435         in bytes for extend_alloca.
437 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
439         * manual/install.texi: Latest tested versions are GCC 4.9.2,
440         binutls 2.25, and texinfo 5.2.
441         * INSTALL: Regenerate.
442         * sysdeps/nios2/configure: Regenerate.
443         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
444         * manual/contrib.texi: Update.
445         * po/be.po: Update.
446         * po/bg.po: Update.
447         * po/ca.po: Update.
448         * po/cs.po: Update.
449         * po/da.po: Update.
450         * po/de.po: Update.
451         * po/el.po: Update.
452         * po/eo.po: Update.
453         * po/es.po: Update.
454         * po/fi.po: Update.
455         * po/fr.po: Update.
456         * po/gl.po: Update.
457         * po/hr.po: Update.
458         * po/hu.po: Update.
459         * po/ia.po: Update.
460         * po/id.po: Update.
461         * po/it.po: Update.
462         * po/ja.po: Update.
463         * po/ko.po: Update.
464         * po/lt.po: Update.
465         * po/nb.po: Update.
466         * po/nl.po: Update.
467         * po/pl.po: Update.
468         * po/pt_BR.po: Update.
469         * po/ru.po: Update.
470         * po/rw.po: Update.
471         * po/sk.po: Update.
472         * po/sl.po: Update.
473         * po/sv.po: Update.
474         * po/tr.po: Update.
475         * po/uk.po: Update.
476         * po/vi.po: Update.
477         * po/zh_CN.po: Update.
478         * po/zh_TW.po: Update.
480         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
481         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
482         * sysdeps/hppa/dl-irel.h: Remove #warning.
483         * sysdeps/hppa/entry.h: Provide prototype for
484         __canonicalize_funcptr_for_compare and cast argument.
485         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
486         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
487         * sysdeps/hppa/sotruss-lib.c: New file.
488         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
489         (atomic_compare_and_exchange_val_acq): Use __typeof__.
490         (atomic_compare_and_exchange_bool_acq): Likewise.
491         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
492         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
494         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
495         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
496         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
498 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
500         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
501         called function in non-PIC case.
503 2015-01-31  David S. Miller  <davem@davemloft.net>
505         * sysdeps/sparc/sparc32/bits/atomic.h
506         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
507         unlock not after it.
508         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
509         volatile register usage warnings from the compiler.
511         * sysdeps/sparc/nptl/sem_init.c: Delete.
512         * sysdeps/sparc/nptl/sem_post.c: Delete.
513         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
514         * sysdeps/sparc/nptl/sem_wait.c: Delete.
515         * sysdeps/sparc/sparc32/sem_init.c: New file.
516         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
517         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
518         padding explicitly initialized.
519         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
520         padding for in-semaphore spinlock.
521         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
522         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
523         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
524         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
525         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
526         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
527         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
528         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
529         version.
530         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
531         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
533 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
535         [BZ #17801]
536         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
537         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
538         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
539         New.
540         (index_AVX_Fast_Unaligned_Load): Likewise.
541         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
542         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
543         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
544         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
545         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
546         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
547         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
548         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
549         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
551 2015-01-29  Andreas Schwab  <schwab@suse.de>
553         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
555 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
557         [BZ #17892]
558         * nscd/nscd_stat.c (send_stats): Initialize DATA.
560 2015-01-28  Martin Sebor  <msebor@redhat.com>
562         * math/README.libm-test: Clarify. Add "How to read the test output."
564 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
566         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
567         Define to 0.
569 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
571         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
572         (__HAVE_64B_ATOMICS): Define to 0.
574 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
576         [BZ #17885]
577         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
578         value to set as new flag.
580         [BZ #16576]
581         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
582         and use _ARCH_PPCSQ instead.
583         (__ieee754_sqrt): Likewise.
584         (__ieee754_sqrtf): Likewise.
585         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
586         _ARCH_PPCSQ is defined.
587         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
588         fsqrt instruction.
589         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
590         _ARCH_PPCSQ is defined.
591         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
592         fsqrts instruction.
593         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
595 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
597         * iconv/loop.c: Suppress array out of bound warning caused by GCC
598         bug (GCC BZ #64739).
600 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
602         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
603         Mark _retval as used.
604         (lll_futex_wake_unlock): Likewise.
605         (lll_futex_timed_wait_requeue_pi): Likewise.
607         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
608         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
609         register variables.
611         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
612         libm_hidden_def.
614         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
615         (__bswap_64): Mark as __always_inline.
617 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
619         [BZ #15378]
620         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
621         when none of the search directories exist.
623 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
625         [BZ #17869]
626         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
627         power8 in .machine directive.
629         [BZ #17868]
630         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
631         set dependency from opd value.
633 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
636         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
637         architecture.
639 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
641         [BZ #17870]
642         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
643         with uint64_t.
644         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
645         (uint64_t) 1.
646         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
647         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
648         Replace 1UL with (uint64_t) 1.
649         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
650         int with uint64_t.
652 2015-01-23  Roland McGrath  <roland@hack.frob.com>
654         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
655         (if_freenameindex): Likewise.
657         * resource/getrlimit64.c: Add missing libc_hidden_def.
659 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
661         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
662         __label__.
663         (_FP_FMA): Likewise.
664         (_FP_TO_INT_ROUND): Likewise.
665         (_FP_FROM_INT): Likewise.
667 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
669         [BZ #16418]
670         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
671         Make code racy and cancel safe.
673 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
675         * sysdeps/arm/unwind-resume.h: Fix copyright year.
676         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
677         attribution.
679         * pwd/tst-getpw.c: Rewrite.
681         [BZ #17702]
682         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
683         (modules-names): Add moddummy1 and moddummy2.
684         ($(objpfx)tst-rec-dlopen): Define.
685         * dlfcn/moddummy1.c: New file.
686         * dlfcn/moddummy2.c: New file.
687         * dlfcn/tst-rec-dlopen.c: New file.
688         * elf/dl-cache.c (_dl_load_cache_lookup):
689         Return char*. Copy result with alloca/strcpy/strdup.
690         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
691         returns char*. Free cached. If not saving realname
692         free cached.
693         * elf/dl-open.c (dl_open_worker): Do not assert that
694         _r_debug->r_state is RT_CONSISTENT.
695         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
696         returns char*.
698 2015-01-21  Torvald Riegel  <triegel@redhat.com>
699             Carlos O'Donell  <carlos@redhat.com>
701         [BZ #12674]
702         * nptl/sem_waitcommon.c: New file.
703         * nptl/sem_wait.c: Include sem_waitcommon.c.
704         (__sem_wait_cleanup, do_futex_wait): Remove.
705         (__new_sem_wait): Adapt.
706         (__new_sem_trywait): New function.
707         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
708         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
709         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
710         (sem_timedwait): Adapt.
711         * nptl/sem_post.c (__new_sem_post): Adapt.
712         (futex_wake): New function.
713         (__old_sem_post): Add release MO fence.
714         * nptl/sem_open.c (sem_open): Adapt.
715         * nptl/sem_init.c (__new_sem_init): Adapt.
716         (futex_private_if_supported): New function.
717         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
718         (__old_sem_getvalue): Add using previous code.
719         * sysdeps/nptl/internaltypes.h: Adapt.
720         * nptl/tst-sem13.c (do_test): Adapt.
721         * nptl/tst-sem11.c (main): Adapt.
722         * nptl/sem_trywait.c: Remove.
723         * nptl/DESIGN-sem.txt: Remove.
724         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
725         (gen-as-const-headers): Remove structsem.sym.
726         * nptl/structsem.sym: Remove.
727         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
728         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
729         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
730         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
731         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
732         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
733         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
734         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
735         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
736         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
737         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
738         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
739         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
740         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
741         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
742         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
743         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
744         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
745         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
746         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
747         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
748         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
750 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
752         * INSTALL: Regenerated.
754         * po/libc.pot: Regenerated.
756 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
757             Sandra Loosemore  <sandra@codesourcery.com>
758             Andrew Jenner  <andrew@codesourcery.com>
759             Joseph Myers  <joseph@codesourcery.com>
760             Nathan Sidwell  <nathan@codesourcery.com>
762         * NEWS: Mention new Nios II port.
763         * sysdeps/nios2/Implies: New file.
764         * sysdeps/nios2/Makefile: New file.
765         * sysdeps/nios2/Subdirs: New file.
766         * sysdeps/nios2/Versions: New file.
767         * sysdeps/nios2/__longjmp.S: New file.
768         * sysdeps/nios2/abort-instr.h: New file.
769         * sysdeps/nios2/backtrace.c: New file.
770         * sysdeps/nios2/bits/endian.h: New file.
771         * sysdeps/nios2/bits/fenv.h: New file.
772         * sysdeps/nios2/bits/link.h: New file.
773         * sysdeps/nios2/bits/setjmp.h: New file.
774         * sysdeps/nios2/bsd-_setjmp.S: New file.
775         * sysdeps/nios2/bsd-setjmp.S: New file.
776         * sysdeps/nios2/configure: New generated file.
777         * sysdeps/nios2/configure.ac: New file.
778         * sysdeps/nios2/crti.S: New file.
779         * sysdeps/nios2/crtn.S: New file.
780         * sysdeps/nios2/dl-init.c: New file.
781         * sysdeps/nios2/dl-machine.h: New file.
782         * sysdeps/nios2/dl-sysdep.h: New file.
783         * sysdeps/nios2/dl-tls.h: New file.
784         * sysdeps/nios2/dl-trampoline.S: New file.
785         * sysdeps/nios2/gccframe.h: New file.
786         * sysdeps/nios2/gmp-mparam.h: New file.
787         * sysdeps/nios2/jmpbuf-offsets.h: New file.
788         * sysdeps/nios2/jmpbuf-unwind.h: New file.
789         * sysdeps/nios2/ldsodefs.h: New file.
790         * sysdeps/nios2/libc-tls.c: New file.
791         * sysdeps/nios2/libm-test-ulps: New file.
792         * sysdeps/nios2/machine-gmon.h: New file.
793         * sysdeps/nios2/math-tests.h: New file.
794         * sysdeps/nios2/math_private.h: New file.
795         * sysdeps/nios2/memusage.h: New file.
796         * sysdeps/nios2/nptl/Makefile: New file.
797         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
798         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
799         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
800         * sysdeps/nios2/nptl/pthreaddef.h: New file.
801         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
802         * sysdeps/nios2/nptl/tls.h: New file.
803         * sysdeps/nios2/preconfigure: New file.
804         * sysdeps/nios2/s_fma.c: New file.
805         * sysdeps/nios2/s_fmaf.c: New file.
806         * sysdeps/nios2/setjmp.S: New file.
807         * sysdeps/nios2/sfp-machine.h: New file.
808         * sysdeps/nios2/sotruss-lib.c: New file.
809         * sysdeps/nios2/stackguard-macros.h: New file.
810         * sysdeps/nios2/stackinfo.h: New file.
811         * sysdeps/nios2/start.S: New file.
812         * sysdeps/nios2/sysdep.h: New file.
813         * sysdeps/nios2/tls-macros.h: New file.
814         * sysdeps/nios2/tst-audit.h: New file.
815         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
816         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
817         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
818         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
819         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
820         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
821         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
822         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
823         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
824         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
825         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
826         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
827         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
828         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
829         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
830         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
831         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
832         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
833         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
834         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
835         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
836         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
837         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
838         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
839         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
840         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
841         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
842         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
843         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
844         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
845         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
846         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
847         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
848         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
849         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
850         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
851         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
852         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
853         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
854         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
855         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
856         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
857         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
858         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
860 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
862         [BZ #17844]
863         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
864         (getutent): Use weak_alias in non SHARED case
865         and default_symbol_version in SHARED case.
866         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
867         (getutent_r, pututline): Likewise.
868         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
869         (getutid): Likewise.
870         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
871         (getutid_r): Likewise.
872         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
873         (getutline): Likewise.
874         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
875         (getutline_r): Likewise.
876         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
877         (updwtmp): Likewise.
879 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
881         [BZ #17848]
882         * sysdeps/s390/s390-32/memcmp.S
883         (memcmp_g5): Rename to __memcmp_g5.
884         * sysdeps/s390/s390-32/memcpy.S
885         (memcpy_g5): Rename to __memcpy_g5.
886         Jump to __memcpy_mvcle instead of memcpy_mvcle.
887         (memcpy_mvcle) Rename to __memcpy_mvcle.
888         * sysdeps/s390/s390-32/memset.S
889         (memset_g5): Rename to __memset_g5.
890         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
891         (IFUNC_RESOLVE): Prefix ifunc-resolve function
892         and use prefixed functions.
893         * sysdeps/s390/s390-32/multiarch/memcmp.S
894         (memcmp_z196): Rename to __memcmp_z196.
895         (memcmp_z10): Rename to __memcmp_z10.
896         (memcmp): Set alias to __memcmp_g5.
897         (bcmp): Set alias to __memcmp_g5.
898         * sysdeps/s390/s390-32/multiarch/memcpy.S
899         (memcpy_z196): Rename to __memcpy_z196.
900         Jump to __memcpy_mvcle instead of memcpy_mvcle.
901         (memcpy_z10): Rename to __memcpy_z10.
902         Jump to __memcpy_mvcle instead of memcpy_mvcle.
903         (memcpy): Set alias to __memcpy_g5.
904         * sysdeps/s390/s390-32/multiarch/memset.S
905         (memset_z196): Rename to __memset_z196.
906         Jump to __memset_mvcle instead of memset_mvcle.
907         (memset_z10): Rename to __memset_z10.
908         Jump to __memset_mvcle instead of memset_mvcle.
909         (memset_mvcle) Rename to __memset_mvcle.
910         (memset): Set alias to __memset_g5.
911         * sysdeps/s390/s390-64/memcmp.S
912         (memcmp_z900): Rename to __memcmp_z900.
913         * sysdeps/s390/s390-64/memcpy.S
914         (memcpy_z900): Rename to __memcpy_z900.
915         Jump to __memcpy_mvcle instead of memcpy_mvcle.
916         (memcpy_mvcle) Rename to __memcpy_mvcle.
917         * sysdeps/s390/s390-64/memset.S
918         (memset_z900): Rename to __memset_z900.
919         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
920         (IFUNC_RESOLVE): Prefix ifunc-resolve function
921         and use prefixed functions.
922         * sysdeps/s390/s390-64/multiarch/memcmp.S
923         (memcmp_z196): Rename to __memcmp_z196.
924         (memcmp_z10): Rename to __memcmp_z10.
925         (memcmp): Set alias to __memcmp_z900.
926         (bcmp): Set alias to __memcmp_z900.
927         * sysdeps/s390/s390-64/multiarch/memcpy.S
928         (memcpy_z196): Rename to __memcpy_z196.
929         Jump to __memcpy_mvcle instead of memcpy_mvcle.
930         (memcpy_z10): Rename to __memcpy_z10.
931         Jump to __memcpy_mvcle instead of memcpy_mvcle.
932         (memcpy): Set alias to __memcpy_z900.
933         * sysdeps/s390/s390-64/multiarch/memset.S
934         (memset_z196): Rename to __memset_z196.
935         Jump to __memset_mvcle instead of memset_mvcle.
936         (memset_z10): Rename to __memset_z10.
937         Jump to __memset_mvcle instead of memset_mvcle.
938         (memset_mvcle) Rename to __memset_mvcle.
939         (memset): Set alias to __memset_z900.
941 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
943         [BZ #17748]
944         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
945         __fesetenv instead of fesetenv.
947 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
949         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
950         macro.
952 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
954         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
955         regression on LE.
957         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
958         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
959         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
960         strncmp-power8 object.
961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
962         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
963         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
964         * NEWS: Update.
966 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
967             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
969         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
970         trailing byte check.
972 2015-01-13  David S. Miller  <davem@davemloft.net>
974         * include/signal.h (__sigreturn): Guard with __USE_MISC.
976 2015-01-13  Roland McGrath  <roland@hack.frob.com>
978         * login/logout.c (logout): Use memset rather than bzero.
979         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
980         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
981         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
982         (_gethtbyaddr): Likewise.
983         * locale/programs/simple-hash.c (bcopy): Macro removed.
985 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
987         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
988         Add strcmp-power8 object.
989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
990         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
991         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
992         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
993         __strcmp_power8 implementation.
994         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
995         * NEWS: Update.
997         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
998         Add strncpy-power8 and stpncpy-power8 objects.
999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1000         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1001         implementations.
1002         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1003         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1004         __stpncpy_power8 implementation.
1005         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1006         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1007         __strncpy_power8 implementation.
1008         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1009         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1010         * NEWS: Update.
1012         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1013         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1014         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1016         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1017         strncat-power8 object.
1018         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1019         __strcat_power8 implementation.
1020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1021         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1022         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1023         optimized strcat for power8.
1025         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1026         strcpy-power8 and stpcpy-power8 objects.
1027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1028         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1029         implementations.
1030         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1031         multiarch stpcpy implementation for POWER8.
1032         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1033         multiarch strcpy implementation for POWER8.
1034         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1035         __strcpy_power8 function.
1036         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1037         stpcpy for POWER8.
1038         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1039         strcpy for POWER8.
1040         * NEWS: Update.
1042 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
1044         [BZ #16009]
1045         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1046         weights and rules. Use do_xfrm_cached if data fits in cache,
1047         do_xfrm otherwise.  Moved former main loop to...
1048         * (do_xfrm_cached): New function.
1049         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1050         find_idx, find_position and stack_push.
1051         * (find_idx): New function.
1052         * (find_position): Likewise.
1053         * localedata/sort-test.sh: Added test run for do_xfrm.
1054         * localedata/xfrm-test.c (main): Added command line option
1055         -nocache to run the test with strings that are too large for
1056         the STRXFRM cache.
1058 2015-01-13  Torvald Riegel  <triegel@redhat.com>
1060         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1061         variable to lll_futex_wake call, not the value itself.
1063 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
1065         [BZ #17803]
1066         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1067         twom64.  Adjust value to 0x1p-64L.
1068         (__scalblnl): Only return standard underflowing result for K <=
1069         -64 not K <= -63; adjust exponent for underflowing result by 64
1070         not 63.
1071         * math/libm-test.inc (scalbn_test_data): Add more tests.
1072         (scalbln_test_data): Likewise.
1074         [BZ #17834]
1075         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1076         0x1p63L.
1077         (__scalblnl): Get new exponent of adjusted subnormal value from ES
1078         not HX.
1079         * math/libm-test.inc (scalbn_test_data): Add more tests.
1080         (scalbln_test_data): Likewise.
1082 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1083             Stefani Seibold  <stefani@seibold.net>
1085         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1086         (sysdep_routines): Add dl-vdso here, ...
1087         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1088         (sysdep_routines): ... not here.
1089         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1090         fallback when vDSO is not presented.
1091         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1092         Define with libc_hidden_proto/libc_hidden_data_def definitions.
1093         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1094         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1095         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1096         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1097         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1098         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1099         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1100         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1101         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
1102         fallback configurable symbol when vDSO is not available.
1103         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1104         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
1105         be able to redefine fallback symbol when vDSO is not available.
1106         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1107         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1109 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1111         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1112         (TLS_INIT_TP): Add tm_capable initialization.
1113         (TLS_DEFINE_INIT_TP): Likewise.
1114         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1115         TCB.
1116         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1117         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1118         calculation.
1119         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1120         transactoion is lock elision is built and TCB tm_capable is set.
1121         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1123         (INTERNAL_SYSCALL_NCS): Likewise.
1124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1125         (INTERNAL_SYSCALL_NCS): Likewise.
1126         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1128         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1129         for powerpc.
1130         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1131         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1132         and remove it for 32 bits case.
1133         [pthread_rwlock_t] (__rwelision): New field for lock elision.
1134         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1135         initialization.
1136         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1137         Disable lock elision with rdlocks if elision is not available.
1139         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1140         (sysdep_routines): Add lock elision objects.
1141         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1142         [pthread_mutex_t] (__spins): Rework to add lock elision field.
1143         [pthread_mutex_t] (__elision): Add field.
1144         [__PTHREAD_SPINS]: Adjust to init lock elision field.
1145         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1146         elision definitions for powerpc.
1147         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1148         implementation of lock elision for powerpc.
1149         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1150         implementation of timed lock elision for powerpc.
1151         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1152         implementation of trylock with lock elision for powerpc.
1153         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1154         implementaion of unlock for lock elision for powerpc.
1155         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1156         automatic enable lock elision for mutexes.
1157         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1158         transaction execution definitions for powerpc.
1159         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1160         definitions.
1161         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1162         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1163         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1164         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1165         * NEWS: Update.
1167 2015-01-09  Roland McGrath  <roland@hack.frob.com>
1169         * sysdeps/posix/shm-directory.c: Use <> rather than ""
1170         for #include of <shm-directory.h>.
1172 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
1174         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1175         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1177 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
1179         [BZ #17791]
1180         * NEWS: Mention bug fix.
1181         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1182         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1183         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1185 2015-01-09  Torvald Riegel <triegel@redhat.com>
1187         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1189 2015-01-09  Torvald Riegel <triegel@redhat.com>
1191         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1193 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1195         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1196         pointer and cast to uintptr_t.
1198 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1200         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1201         removed.
1202         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1204 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1206         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1207         of 0.
1209 2015-01-08  Roland McGrath  <roland@hack.frob.com>
1211         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1212         <nptl/pthreadP.h> instead.
1213         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1215         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1216         already defined.
1217         [__SIGRTMIN] (init): Function removed.
1218         [__SIGRTMIN] (initialized): Variable removed.
1219         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1220         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1221         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1222         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1223         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1224         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1225         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1226         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1227         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1228         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1229         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1230         * sysdeps/nptl/allocrtsig.c: New file.
1231         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1232         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1233         * sysdeps/generic/testrtsig.h: File removed.
1235         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1236         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1238         * nptl/nptl-init.c (pthread_functions): Conditionalize
1239         .ptr__nptl_setxid initialization on [SIGSETXID].
1241         * sysdeps/nptl/sys/procfs.h: New file.
1242         * nptl_db/Makefile (headers): Add it.
1243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1245         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1246         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1247         * nptl/pthread_attr_setaffinity.c: Include it.
1248         * nptl/pthread_setattr_default_np.c: Likewise.
1249         * nptl/check-cpuset.h: New file.
1251 2015-01-08  Richard Henderson  <rth@redhat.com>
1253         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1254         (CFLAGS-tst-execstack-prog.c): Likewise.
1255         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1257 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1258             Sandra Loosemore  <sandra@codesourcery.com>
1259             Andrew Jenner  <andrew@codesourcery.com>
1260             Joseph Myers  <joseph@codesourcery.com>
1261             Nathan Sidwell  <nathan@codesourcery.com>
1263         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1264         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1265         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1266         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1267         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1268         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1269         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1270         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1271         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1272         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1273         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1274         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1275         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1276         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1277         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1278         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1279         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1281 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1283         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1284         timespec struct member in syscall macro.
1285         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1286         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1287         first timeval struct member in syscall macro.
1288         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1290 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1292         [BZ #17748]
1293         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1294         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1295         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1296         __feupdateenv and define as weak alias of __feupdateenv.  Use
1297         libm_hidden_weak.
1298         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1299         libm_hidden_def.
1300         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1301         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1302         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1303         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1304         libm_hidden_def.
1305         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1306         __feupdateenv and define as weak alias of __feupdateenv.  Use
1307         libm_hidden_weak.
1308         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1309         libm_hidden_def.
1310         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1311         __feupdateenv and define as weak alias of __feupdateenv.  Use
1312         libm_hidden_weak.
1313         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1314         libm_hidden_def.
1315         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1316         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1317         (__feupdateenv): Likewise.
1318         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1319         __feupdateenv and define as weak alias of __feupdateenv.  Use
1320         libm_hidden_weak.
1321         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1322         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1323         libm_hidden_def.
1324         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1325         function.
1326         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1327         libm_hidden_def.
1328         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1329         __feupdateenv instead of feupdateenv.
1330         (default_libc_feupdateenv_test): Likewise.
1331         (libc_feresetround_ctx): Likewise.
1333 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1335         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1336         prototype.
1338 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1340         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1341         COLL_SYM in a couple of places to avoid uninitialized variable
1342         wanings on tilegx gcc 4.8.2.
1344 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1346         * sysdeps/aarch64/strcpy.S: New file.
1347         * sysdeps/aarch64/stpcpy.S: New file.
1348         * NEWS: Updated.
1350 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1352         * sysdeps/aarch64/strrchr.S: New file.
1353         * NEWS: Updated.
1355 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1357         [BZ #17658]
1358         * stdlib/setenv.c: Fix memory leak when setting large,
1359         duplicate string.
1361 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1363         [BZ #17273]
1364         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1365         and tabs from buffer before parsing fstab entry.
1366         * misc/tst-mntent.c (main): Add test for mount entry with
1367         trailing spaces and tabs.
1369 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1371         [BZ #17748]
1372         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1373         * math/fesetround.c (fesetround): Rename to __fesetround and
1374         define as weak alias of __fesetround.  Use libm_hidden_weak.
1375         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1376         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1377         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1378         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1379         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1380         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1381         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1382         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1383         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1384         __fesetround_inline.
1385         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1386         __fesetround_inline instead of __fesetround.
1387         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1388         __fesetround and define as weak alias of __fesetround.  Use
1389         libm_hidden_weak.  Call __fesetround_inline instead of
1390         __fesetround.
1391         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1392         __fesetround and define as weak alias of __fesetround.  Use
1393         libm_hidden_weak.
1394         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1395         Likewise.
1396         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1397         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1398         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1399         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1400         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1401         __fesetround and define as weak alias of __fesetround.  Use
1402         libm_hidden_weak.
1403         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1404         __fesetround instead of fesetround.
1405         (default_libc_feholdexcept_setround): Likewise.
1406         (libc_feholdsetround_ctx): Likewise.
1407         (libc_feholdsetround_noex_ctx): Likewise.
1409         [BZ #17748]
1410         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1411         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1412         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1413         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1414         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1415         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1416         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1417         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1418         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1419         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1420         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1421         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1422         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1423         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1424         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1425         libm_hidden_def.
1426         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1427         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1428         Likewise.
1429         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1430         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1431         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1432         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1433         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1434         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1435         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1436         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1437         __fesetenv instead of fesetenv.
1438         (libc_feresetround_noex_ctx): Likewise.
1439         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1440         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1441         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1442         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1443         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1444         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1445         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1446         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1447         (__feupdateenv): Likewise.
1448         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1449         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1450         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1451         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1453 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1455         [BZ #17806]
1456         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1457         addresses have been freed.
1459 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1461         * resolv/res_init.c (__res_vinit): Improve comments about nserv
1462         and nservall.
1464 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
1466         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1467         Clean up check_pf allocation pattern. addresses
1469 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1471         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1472         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1473         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1474         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1475         * nptl/pthread_join.c (pthread_join): Likewise.
1476         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1477         * sysdeps/posix/waitid.c (__waitid): Likewise.
1478         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1479         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1480         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1481         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1482         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1483         Likewise.
1484         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1485         (__libc_pread64): Likewise.
1486         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1487         (__libc_pwrite): Likewise.
1488         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1489         (__libc_pwrite64): Likewsie.
1490         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1491         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1492         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1493         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1494         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1495         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1496         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1498         Likewise.
1499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1500         (__libc_pread64): Likewise.
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1502         Likewise.
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1504         (__libc_pwrite64): Likewise.
1505         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1506         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1507         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1508         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1509         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1510         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1511         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1512         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1513         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1514         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1515         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1516         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1517         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1518         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1519         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1520         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1521         Likewise.
1523 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1525         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1526         (CFLAGS-test-double.c): Likewise.
1527         (CFLAGS-test-ldouble.c): Likewise.
1528         (CPPFLAGS-test-ifloat.c): Likewise.
1529         (CPPFLAGS-test-idouble.c): Likewise.
1530         (CPPFLAGS-test-ildoubl.c): Likewise.
1531         (CFLAGS-test-test-fenv.c): Remove variable.
1532         (CFLAGS-test-misc.c): Likewise.
1534 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1536         [BZ #17797]
1537         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1538         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1539         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1540         CLOCKS_PER_SEC == 1000000.
1541         * time/clocktest.c (main): Replace %ld with %jd and cast to
1542         intmax_t.
1544 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1546         * sysdeps/generic/unwind-resume.h: New file.
1547         * sysdeps/gnu/unwind-resume.c: Include it.
1548         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1549         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1550         argument list.
1551         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1552         global rather than static.
1553         (_Unwind_Resume): Update user.
1554         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1555         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1556         rather than static.  Add __attribute__ ((cold)).
1557         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1558         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1559         * sysdeps/arm/arm-unwind-resume.S: New file.
1560         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1561         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1562         * sysdeps/arm/Makefile [$(subdir) = csu]
1563         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1564         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1565         Add rt-arm-unwind-resume.
1566         [$(subdir) = nptl]
1567         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1568         Add pt-arm-unwind-resume.
1569         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1570         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1572 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1574         [BZ #17748]
1575         * include/fenv.h (__feholdexcept): Declare.  Use
1576         libm_hidden_proto.
1577         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1578         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1579         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1580         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1581         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1582         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1583         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1584         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1585         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1586         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1587         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1588         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1589         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1590         (feholdexcept): Likewise.
1591         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1592         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1593         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1594         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1595         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1596         __feholdexcept instead of feholdexcept.
1597         (default_libc_feholdexcept_setround): Likewise.
1599 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1601         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1602         to avoid using stl/str to align destination.
1604 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1606         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1608 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1610         [BZ #17796]
1611         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1612         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1613         Define as weak alias not strong alias.
1615 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1617         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1618         bltzal with addiupc.
1619         (RTLD_START): Ditto.
1621 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1623         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1624         for __vdso_* functions in declarations.
1625         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1626         definitions.
1627         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1628         INTERNAL_VSYSCALL): Use struct return types to check for error.
1630         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1631         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1632         function with cast from llround().
1633         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1634         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1635         Define.
1637 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1639         [BZ #17793]
1640         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1641         Define as weak alias not strong alias.
1643         [BZ #17635]
1644         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1645         ...
1646         * ctype/ctype-extn.c: ... here.
1647         (__isblank_l): Move to ...
1648         * ctype/ctype-c99_l.c: ... here.  New file.
1649         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1650         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1651         Remove variable.
1652         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1653         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1654         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1655         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1656         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1658         [BZ #17777]
1659         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1660         (posix_fadvise64): Define as weak alias not strong alias.
1661         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1662         (posix_fallocate64): Likewise.
1663         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1664         Remove variable.
1665         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1666         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1667         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1668         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1669         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1671 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1673         [BZ #16191]
1674         * NEWS: Mention bug fix.
1675         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1676         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1677         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1678         (HOST_STACK_END_ADDR): Likewise.
1680 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1682         [BZ #17748]
1683         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1684         * math/fegetround.c (fegetround): Rename to __fegetround and
1685         define as weak alias of __fegetround.  Use libm_hidden_weak.
1686         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1687         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1688         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1689         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1690         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1691         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1692         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1693         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1694         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1695         Undefine after rather than before function definition; use
1696         parentheses around function name in definition.
1697         (__fegetround): Also undefine macro after function definition.
1698         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1699         __fegetround and define as weak alias of __fegetround.  Use
1700         libm_hidden_weak.  Do not undefine as macro.
1701         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1702         Likewise.
1703         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1704         __fegetround and define as weak alias of __fegetround.  Use
1705         libm_hidden_weak.
1706         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1707         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1708         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1709         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1710         __fegetround and define as weak alias of __fegetround.  Use
1711         libm_hidden_weak.
1712         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1713         __fegetround instead of fegetround.
1715         [BZ #17782]
1716         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1717         Condition macro definition on [__USE_MISC].
1719         [BZ #17781]
1720         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1721         (struct sigaction): Change type of sa_flags field to int.
1723         [BZ #17780]
1724         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1725         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1726         __glibc_reserved0.
1728         * nptl/version.c (banner): Use single year in copyright notice.
1730         * NEWS: Update copyright dates.
1731         * catgets/gencat.c (print_version): Likewise.
1732         * csu/version.c (banner): Likewise.
1733         * debug/catchsegv.sh: Likewise.
1734         * debug/pcprofiledump.c (print_version): Likewise.
1735         * debug/xtrace.sh (do_version): Likewise.
1736         * elf/ldconfig.c (print_version): Likewise.
1737         * elf/ldd.bash.in: Likewise.
1738         * elf/pldd.c (print_version): Likewise.
1739         * elf/sotruss.sh: Likewise.
1740         * elf/sprof.c (print_version): Likewise.
1741         * iconv/iconv_prog.c (print_version): Likewise.
1742         * iconv/iconvconfig.c (print_version): Likewise.
1743         * locale/programs/locale.c (print_version): Likewise.
1744         * locale/programs/localedef.c (print_version): Likewise.
1745         * login/programs/pt_chown.c (print_version): Likewise.
1746         * malloc/memusage.sh (do_version): Likewise.
1747         * malloc/memusagestat.c (print_version): Likewise.
1748         * malloc/mtrace.pl: Likewise.
1749         * manual/libc.texinfo: Likewise.
1750         * nptl/version.c (banner): Likewise.
1751         * nscd/nscd.c (print_version): Likewise.
1752         * nss/getent.c (print_version): Likewise.
1753         * nss/makedb.c (print_version): Likewise.
1754         * posix/getconf.c (main): Likewise.
1755         * scripts/test-installation.pl: Likewise.
1756         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1758 2015-01-02  Will Newton  <will.newton@linaro.org>
1760         * sysdeps/arm/armv7/configure: Removed.
1761         * sysdeps/arm/armv7/configure.ac: Likewise.
1763 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1765         * All files with FSF copyright notices: Update copyright dates
1766         using scripts/update-copyrights.
1767         * intl/plural.c: Regenerated.
1768         * locale/programs/charmap-kw.h: Likewise.
1769         * locale/programs/locfile-kw.h: Likewise.
1771 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1773         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1775 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1777         [BZ #17748]
1778         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1779         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1780         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1781         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1782         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1783         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1784         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1785         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1786         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1787         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1788         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1789         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1790         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1791         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1792         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1793         libm_hidden_def.
1794         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1795         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1796         Likewise.
1797         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1798         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1799         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1800         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1801         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1802         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1803         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1804         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1805         __fegetenv instead of fegetenv.
1806         (libc_feholdsetround_noex_ctx): Likewise.
1808 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1810         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1811         (Elf_MIPS_ABIFlags_v0): New structure.
1812         (EF_MIPS_FP64): Define.
1813         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1814         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1815         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1816         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1817         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1818         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1819         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1820         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1821         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1822         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1823         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1824         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1825         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1826         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1827         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1828         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1829         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1830         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1831         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1832         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1833         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1834         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1835         field.
1836         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1837         EF_MIPS_FP64.
1838         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1839         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1840         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1841         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1842         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1843         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1844         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1845         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1846         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1847         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1848         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1849         record the current FP ABI extension.
1850         (mips-mode-switch): Define to show if kernel headers support mode
1851         switching.
1852         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1853         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1854         supported SYSV ABI version to 3.
1855         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1856         feature.
1858 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1859             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1861         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1862         path.
1863         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1865 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1867         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1868         __fegetround and redefine to call __fegetround.  Remove condition
1869         on [!__NO_MATH_INLINES].
1870         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1871         function.
1872         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1873         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1874         Remove macro.
1875         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1876         instead of <fenv_libc.h>.
1877         (__llrintl): Call fegetround instead of __fegetround.
1878         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1879         instead of <fenv_libc.h>.
1880         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1881         (__lrintl): Call fegetround instead of __fegetround.
1882         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1883         instead of <fenv_libc.h>.
1884         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1885         (__rintl): Call fegetround instead of __fegetround.
1887 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1889         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1890         arrays.
1892 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1894         [BZ #17775]
1895         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1896         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1897         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1899 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1901         * sysdeps/i386/tls-macros.h: Include <features.h>.
1902         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1903         (TLS_IE): Likewise.
1904         (TLS_LD): Likewise.
1905         (TLS_GD): Likewise.
1906         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1907         define for GCC >= 5.0.
1909 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1911         * math/test-fenv.c (test_single_exception, set_single_exc,
1912         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1913         feexcp_mask_test, feenable_test, fe_single_test): Add
1914         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1915         case where they are not used.
1916         * math/libm-test.inc: Likewise.
1917         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1918         unused in the absence of FP rounding/exception support.
1919         * stdio-common/tst-printf-round.c: Likewise.
1920         * stdlib/tst-strtod-round.c: Likewise.
1921         * stdlib/tst-strtod-underflow.c: Likewise.
1923 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1925         [BZ #17723]
1926         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1927         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1928         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1929         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1930         libm_hidden_weak.
1931         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1932         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1933         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1934         libm_hidden_def.
1935         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1936         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1937         libm_hidden_weak.
1938         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1939         Likewise.
1940         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1941         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1942         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1943         libm_hidden_weak.
1944         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1945         libm_hidden_def.
1946         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1947         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1948         (__feraiseexcept): Likewise.
1949         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1950         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1951         libm_hidden_weak.
1952         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1953         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1954         libm_hidden_def.
1955         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1956         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1957         Use libm_hidden_def.
1958         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1959         libm_hidden_def.
1960         (feraiseexcept): Define as weak not strong alias.  Use
1961         libm_hidden_weak.
1962         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1963         New inline function.  Factored out of ...
1964         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1965         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1966         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1967         feraiseexcept.
1968         * math/w_acos.c (__acos): Likewise.
1969         * math/w_asin.c (__asin): Likewise.
1970         * math/w_ilogb.c (__ilogb): Likewise.
1971         * math/w_j0.c (y0): Likewise.
1972         * math/w_j1.c (y1): Likewise.
1973         * math/w_jn.c (yn): Likewise.
1974         * math/w_log.c (__log): Likewise.
1975         * math/w_log10.c (__log10): Likewise.
1976         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1977         * sysdeps/aarch64/fpu/math_private.h
1978         (libc_feupdateenv_test_aarch64): Likewise.
1979         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1980         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1981         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1982         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1983         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1984         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1985         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1986         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1987         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1988         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1990 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1992         [BZ #17732]
1993         * io/test-utime.c (main): Replace %ld with %jd and cast to
1994         intmax_t.
1995         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1996         * nptl/tst-mutex5.c: Include <stdint.h>.
1997         (do_test): Replace %ld with %jd and cast to intmax_t.
1998         * posix/tst-regex.c (run_test): Likewise.
1999         (run_test_backwards): Likewise.
2000         * rt/tst-clock.c: Include <stdint.h>.
2001         (clock_test): Replace %ld with %jd and cast to intmax_t.
2002         * rt/tst-cpuclock1.c: Include <stdint.h>.
2003         (do_test): Replace %lu with %ju and cast to uintmax_t.
2004         * rt/tst-cpuclock2.c: Include <stdint.h>.
2005         (do_test): Replace %lu with %ju and cast to uintmax_t.
2006         * rt/tst-mqueue1.c: Include <stdint.h>.
2007         (check_attrs): Replace %ld with %jd and cast to intmax_t.
2008         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2009         intmax_t.
2010         * rt/tst-mqueue4.c (do_test): Likewise.
2011         * rt/tst-timer4.c: Include <stdint.h>.
2012         (check_ts): Replace %ld with %jd and cast to intmax_t.
2013         (do_test): Likewise.
2014         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2015         and cast to intmax_t.
2016         * sysdeps/pthread/tst-timer.c (main): Likewise.
2017         * time/clocktest.c (main): Likewise.
2018         * time/tst-posixtz.c (do_test): Likewise.
2019         * timezone/tst-timezone.c (main): Likewise.
2021 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2022             H.J. Lu  <hongjiu.lu@intel.com>
2024         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2025         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2026         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2027         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2028         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2029         version if bit_Fast_Unaligned_Load is set.
2030         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2031         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2032         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2033         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2034         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2035         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2036         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2037         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2038         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2039         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2040         to 4.
2041         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2042         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2043         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2044         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2046 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
2048         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2049         instead of #if to avoid a Wundef warning.
2050         * stdlib/tst-limits.c (do_test): Likewise.
2052         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2053         parallel other exception macros.
2054         (fegetenv): Convert from macro to extern inline so that it applies
2055         retroactively to inline functions already seen by the compiler.
2056         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2058         * posix/Makefile (before-compile): Use $(objpfx) for
2059         posix-conf-vars-def.h.
2061 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2063         * posix/getconf.c (main): Use size_t for type of I.
2064         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2065         NSPEC.
2067         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2068         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2069         * posix/posix-envs.def: Likewise.
2070         * sysdeps/posix/sysconf.c: Likewise.
2071         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2072         (specs): Remove array.
2073         * scripts/gen-posix-conf-vars.awk: Support generation of specs
2074         array.
2076         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2077         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2078         (__sysconf): Use CONF_IS_* macros.
2080         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2081         ($(objpfx)posix-conf-vars-def.h): New target.
2082         * posix/posix-conf-vars.list: New file.
2083         * posix/posix-conf-vars.h: New file.
2084         * posix/confstr.c: Include posix-conf-vars.h.
2085         (confstr): Use CONF_IS_* macros.
2086         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
2087         CONF_IS_* macros.
2088         * scripts/gen-posix-conf-vars.awk: New file.
2090 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
2092         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2093         fegetround): Add no-op macros to avoid linknamespace issues.
2095         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2096         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2098         * sysdeps/unix/sysv/linux/tile/sysdep.h
2099         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2100         assembly-specific section to avoid a redefinition warning.
2102         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2103         long before casting to pointer to avoid a cast warning.
2105 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
2107         * sysdeps/tile/tilegx/Implies: New file.
2109 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
2111         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2113 2014-12-23  Florian Weimer  <fweimer@redhat.com>
2115         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2117 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2119         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2120         not define.
2121         * sysdeps/unix/sysv/linux/utimes.c: Do not include
2122         <kernel-features.h>.
2123         (__utimes) [__NR_utimes]: Make code unconditional.
2124         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2125         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2126         (__ASSUME_UTIMES): Do not undefine.
2127         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2128         (__ASSUME_UTIMES): Likewise.
2129         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2130         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2131         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2132         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2134 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2136         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2138 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
2140         [BZ #17747]
2141         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2142         alias to weak alias for j0l, y0l.
2143         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2144         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2146         [BZ #17746]
2147         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2148         conversion.
2150 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2152         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2153         to zero if not already defined.
2155 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2157         [BZ #17724]
2158         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2159         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
2160         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
2161         (char *) casts added.
2162         * sysdeps/ieee754/k_standardf.c: New file.
2163         * sysdeps/ieee754/k_standardl.c: Likewise.
2164         * math/Makefile (libm-support): Remove k_standard.
2165         (libm-calls): Add k_standard.
2167 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2169         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2170         Optimize to avoid an unnecessary FPCR read.
2172 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2174         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2175         Optimize to reduce FPCR/FPSR accesses.
2177 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2179         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2180         Call libc_fetestexcept_aarch64.
2182 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2184         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2185         Call libc_fesetround_aarch64.
2187 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2189         [BZ #17733]
2190         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2191         (__bind): Do not define as weak alias.
2192         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2193         define.
2194         (__getsockname): Do not define as weak alias.
2196 2014-12-22  Will Newton  <will.newton@linaro.org>
2198         * manual/install.texi: Document that we require bison 2.7
2199         or above.
2200         * INSTALL: Regenerate.
2201         * configure.ac: Use AC_CHECK_PROG_VER instead of
2202         AC_PATH_PROG when checking for bison and check for
2203         version 2.7 or above.
2204         * configure: Regenerate.
2206 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
2208         [BZ #17745]
2209         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2210         * sysdeps/tile/ffsll.c (ffsll): To here.
2212         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2214 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2216         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2217         if not defined.
2218         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2219         definition.
2220         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2221         hidden ___tls_get_addr.
2222         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2223         hidden __tls_get_addr.
2224         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2225         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2226         Likewise.
2228 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
2230         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2231         _dl_init call.
2233 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2235         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2236         from "call _dl_init@PLT".
2237         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2239 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
2241         * manual/search.texi: (Array Sort Function): Clarify stable sorting
2242         guarantees.
2244 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
2246         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2248 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2250         [BZ #17744]
2251         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2252         strnlen.
2254 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2256         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2257         of multu on MIPSr6.
2258         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2259         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2260         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2261         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2262         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2264 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2266         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2267         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2268         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2269         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2270         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2271         mips32r6/mips64r6.
2272         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2274 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2276         * string/strncat.c (STRNCAT): Simplify implementation.
2278 2014-12-19  David S. Miller  <davem@davemloft.net>
2280         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2281         access the quad as both a long double and as a series of 4 words.
2283         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2284         link_map->l_info array access.
2286 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2288         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2290         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2291         * math/atest-exp2.c (TIMEOUT): Likewise.
2292         * math/atest-sincos.c (TIMEOUT): Likewise.
2294 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2296         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2297         -Wno-error with -fno-builtin-lround.
2299 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2301         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2302         Contains futex constants and functions moved over from ...
2303         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2304         <lowlevellock-futex.h>.
2305         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2306         (lll_timedwait_tid): Add comments and parentheses around macro
2307         arguments.
2309 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2311         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2312         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2313         (__lll_private_flag): Remove.
2314         (lll_futex_wait): Likewise.
2315         (lll_futex_timed_wait): Likewise.
2316         (lll_futex_wake): Likewise.
2317         (lll_futex_requeue): Likewise.
2318         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2319         (__lll_timedwait_tid): Spell out argument names.
2320         (lll_timedwait_tid): Add comments and parentheses around macro
2321         arguments.
2322         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2323         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2325 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2327         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2328         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2329         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2330         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2331         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2332         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2333         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2334         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2335         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2336         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2337         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2338         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2339         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2340         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2341         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2342         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2343         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2344         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2345         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2347 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2349         * sysdeps/x86_64/x32/Makefile: New file.
2351 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2353         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2354         1L with (mp_limb_t) 1.
2356 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2358         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2359         * nptl/libc_pthread_init.c: ... here.
2360         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2361         * nptl/register-atfork.c: ... here.
2363         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2364         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2365         Use assert_perror to check its return value.
2366         (__gai_create_helper_thread): Likewise.
2368         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2370         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2372 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2374         [BZ #17725]
2375         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2376         __profil_counter.
2377         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2378         Likewise.
2379         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2380         Likewise.
2381         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2382         Likewise.
2383         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2384         (profil_counter): Likewise.
2385         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2386         (profil_counter): Likewise.
2387         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2388         Likewise.
2389         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2390         Likewise.
2391         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2392         (profil_counter): Likewise.
2393         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2394         Likewise.
2395         [!__profil_counter] (profil_counter): Define as weak alias of
2396         __profil_counter.
2397         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2398         (profil_counter): Rename to __profil_counter.
2399         [!__profil_counter] (profil_counter): Define as weak alias of
2400         __profil_counter.
2401         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2402         (profil_counter): Rename to __profil_counter.
2403         [!__profil_counter] (profil_counter): Define as weak alias of
2404         __profil_counter.
2405         * sysdeps/posix/profil.c: Update comment referring to
2406         profil_counter.
2407         (__profil): Use __profil_counter instead of profil_counter.
2408         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2409         __profil_counter.  Use __profil_counter_ushort and
2410         __profil_counter_uint in definitions.
2411         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2412         instead of profil_counter_uint and profil_counter_ushort.
2414         [BZ #17722]
2415         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2416         define as weak alias of __inet_makeaddr.
2417         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2418         as weak alias of __inet_addr.
2419         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2420         as weak alias of __inet_pton.  Use libc_hidden_weak.
2421         * include/arpa/inet.h (__inet_pton): Declare.  Use
2422         libc_hidden_proto.
2423         (inet_makeaddr): Don't use libc_hidden_proto.
2424         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2425         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2426         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2427         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2428         Remove variable.
2429         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2430         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2432 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
2434         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2436 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2438         * stdio-common/bug-vfprintf-nargs.c (do_test):
2439         Cast value to intptr_t to avoid format warning
2440         for usage with PRIdPTR printing macro.
2442 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2444         * libio/tst-widetext.c (do_test):
2445         Use format type %td instead of %Zd for ptrdiff_t
2446         in order to avoid format warning.
2448 2014-12-17  Andreas Schwab  <schwab@suse.de>
2450         * nscd/mem.c (gc): Add size_t cast to match printf format.
2452 2014-12-16  Roland McGrath  <roland@hack.frob.com>
2454         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2455         (init): Apply PTR_MANGLE to pointers before storing them.
2456         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2457         before using them.
2459 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
2461         [BZ #17719]
2462         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2463         define as weak alias of __memrchr.
2464         (__memrchr): Do not define as strong alias of memrchr.
2465         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2466         Remove variable.
2467         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2468         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2469         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2471         [BZ #17717]
2472         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2473         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
2474         (if_indextoname): Rename to __if_indextoname and define as weak
2475         alias of __if_indextoname.  Use libc_hidden_weak.
2476         (if_freenameindex): Rename to __if_freenameindex and define as
2477         weak alias of __if_freenameindex.
2478         (if_nameindex): Rename to __if_nameindex and define as weak alias
2479         of __if_nameindex.
2480         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2481         __if_nametoindex and define as weak alias of __if_nametoindex.
2482         Use libc_hidden_weak.
2483         (if_freenameindex): Rename to __if_freenameindex and define as
2484         weak alias of __if_freenameindex.
2485         (if_nameindex): Rename to __if_nameindex and define as weak alias
2486         of __if_nameindex.
2487         (if_indextoname): Rename to __if_indextoname and define as weak
2488         alias of __if_indextoname.  Use libc_hidden_weak.
2489         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2490         __if_nametoindex and define as weak alias of __if_nametoindex.
2491         Use libc_hidden_weak.
2492         (if_freenameindex): Rename to __if_freenameindex and define as
2493         weak alias of __if_freenameindex.  Use libc_hidden_weak.
2494         (if_nameindex_netlink): Use __if_freenameindex instead of
2495         if_freenameindex.
2496         (if_nameindex): Rename to __if_nameindex and define as weak alias
2497         of __if_nameindex.  Use libc_hidden_weak.
2498         (if_indextoname): Rename to __if_indextoname and define as weak
2499         alias of __if_indextoname.  Use libc_hidden_weak.
2500         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2501         libc_hidden_proto.
2502         [!_ISOMAC] (__if_freenameindex): Likewise.
2503         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2504         if_nametoindex.
2505         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2506         variable.
2507         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2508         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2509         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2510         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2511         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2512         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2513         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2515         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2516         Remove variable.
2517         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2518         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2520 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2522         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2523         subscript above bounds'
2525         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2526         bounds.
2528 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2530         * libio/tst-fopenloc.c: Use test-skeleton.c.
2532         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2533         (entry): Rename to ITEM.
2534         (do_test, comp): Adjust.
2536         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2538 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2540         * string/tester.c: Include <libc-internal.h>.
2541         (test_memset): Ignore -Wmemset-transposed-args.
2543 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2545         * misc/tst-mntent2.c (do_test): Fix warning.
2547 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2549         * elf/tst-unique4lib.cc(a): Mark as used.
2551 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2553         [BZ #17630]
2554         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2555         names.
2557 2014-12-16  Allan McRae  <allan@archlinux.org>
2559         * stdio-common/Makefile (tests): Re-add bug26.
2561 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2563         [BZ #17657]
2564         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2565         static array.
2567 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2569         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2570         (__lll_lock_wait): Likewise.
2571         (__lll_timedlock_wait): Likewise.
2572         (__lll_timedwait_tid): Likewise.
2573         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2574         (__lll_robust_timedlock_wait): Likewise.
2575         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2576         (lll_cond_trylock): Likewise.
2577         (__lll_lock): Likewise.
2578         (__lll_robust_lock): Likewise.
2579         (__lll_cond_lock): Likewise.
2580         (lll_robust_cond_lock): Likewise.
2581         (__lll_timedlock): Likewise.
2582         (__lll_robust_timedlock): Likewise.
2583         (__lll_unlock): Likewise.
2584         (__lll_robust_unlock): Likewise.
2585         (lll_wait_tid): Likewise.
2586         (lll_timedwait_tid): Likewise.
2588 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2590         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2592 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2594         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2596 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2598         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2599         * stdio-common/tst-sprintf.c: Likewise.
2601 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2603         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2605 2014-12-15  Jeff Law  <law@redhat.com>
2607         [BZ #16617]
2608         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2609         on the heap.  (CVE-2012-3406)
2610         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2611         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2612         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2614 2014-12-15  Will Newton  <will.newton@linaro.org>
2616         * manual/install.texi: Bump required version of texinfo
2617         to 4.7 from 4.5.
2618         * INSTALL: Regenerated.
2619         * configure.ac: Check for makeinfo version 4.7 and above.
2620         * configure: Regenerated.
2622 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2624         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2625         PREFIX, string constant to insert between directory and name.
2626         * sysdeps/posix/shm_open.c: Update caller.
2627         * sysdeps/posix/shm_unlink.c: Likewise.
2628         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2629         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2630         (SEM_SHM_PREFIX): New macro.
2631         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2632         [$(have-thread-library) = no].
2633         * nptl/Makefile (libpthread-routines): Add shm-directory.
2634         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2635         * sysdeps/nptl/shm-directory.h: New file.
2636         * sysdeps/posix/shm-directory.c
2637         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2638         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2639         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2640         INTERNAL_SYSCALL.
2641         (__where_is_shmfs): Function removed.
2642         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2643         Variables removed.
2644         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2645         Use SHM_GET_NAME.
2646         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2648         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2649         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2650         unconditional for use inside libpthread.
2651         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2653 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2655         * nptl/pthread_getaffinity.c: New file.
2656         * nptl/pthread_setaffinity.c: New file.
2657         * nptl/pthread_getname.c: New file.
2658         * nptl/pthread_setname.c: New file.
2660         * nptl/pthread_create.c (START_THREAD_DEFN)
2661         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2663 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2664             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2666         * resolv/res_send.c (send_vc): Disable warning resplen may
2667         be used uninitialized.
2669 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2671         * nptl/tst-mutex6.c
2672         (ATTR_NULL): New define checks ATTR against NULL.
2673         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2674         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2676 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2678         [BZ #17581]
2679         * malloc/hooks.c
2680         (mem2mem_check): Revert my previous change.
2681         (malloc_check_get_size): Revert my previous change.
2682         (mem2chunk_check): Revert my previous change.
2684 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2686         * sysdeps/posix/shm-directory.c: New file.
2687         * sysdeps/posix/shm-directory.h: New file.
2688         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2689         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2690         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2691         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2692         Transmute EPERM to EACCES.
2693         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2694         from ...
2695         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2696         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2698 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2700         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2701         pointer and cast to uintptr_t.
2702         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2703         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2704         Add cast to avoid warning.
2705         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2707 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2709         * nptl/semaphore.h: Move to ...
2710         * sysdeps/pthread/semaphore.h: ... here.
2711         * Makefile (installed-headers): Change nptl/semaphore.h to
2712         sysdeps/pthread/semaphore.h.
2714 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2716         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2717         generated error format strings.
2719         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2720         -Wformat-extra-args warnings for scanf formats.
2721         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2722         test of zero-length format (duh).
2723         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2724         corner-case scanf format test.
2725         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2726         generated fprintf format string.
2727         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2728         corner-case sprintf format tests.
2729         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2730         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2731         -Wformat-extra-args warnings throughout.
2732         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2733         (CFLAGS-scanf4.c): Likewise.
2734         (CFLAGS-scanf7.c): Likewise.
2735         (CFLAGS-tst-sprintf.c): Likewise.
2736         (CFLAGS-tst-printf.c): Likewise.
2737         (CFLAGS-tst-printfsz.c): Likewise.
2739 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2741         * include/cpio.h: New file.
2742         * include/fmtmsg.h: Likewise.
2744         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2745         corresponding format argument to size_t.
2746         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2747         arguments.
2748         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2749         corresponding format argument to size_t.
2750         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2751         arguments.
2752         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2753         corresponding format argument to size_t.
2754         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2755         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2756         (CFLAGS-tst-mbswcs2.c): Likewise.
2757         (CFLAGS-tst-mbswcs3.c): Likewise.
2758         (CFLAGS-tst-mbswcs4.c): Likewise.
2759         (CFLAGS-tst-mbswcs5.c): Likewise.
2760         (CFLAGS-tst-trans.c): Likewise
2762 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2764         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2765         rather than assuming they won't contain any '%'s.
2767 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2769         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2770         inhibit_loop_to_libcall to avoid recursive calls.
2771         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2772         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2774 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2776         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2777         prototype.
2779 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2781         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2782         integer value instead of boolean.
2784 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2786         * malloc/malloc.c: Fix powerof2 check.
2788 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2790         * locale/programs/locfile.h (maybe_swap_uint32):
2791         Remove inline and add unused attribute.
2793 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2795         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2796         Truncating assembler expression to a .long expression.
2798 2014-12-11  Andreas Schwab  <schwab@suse.de>
2800         * elf/rtld.c (struct map_args): Constify str member.
2801         (do_preload): Constify fname argument.
2803 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2805         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2806         constants definition.
2808 2014-12-11  Andreas Schwab  <schwab@suse.de>
2810         [BZ #16657]
2811         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2812         FORCE_ELISION instead of DO_ELISION.
2813         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2814         Remove.
2815         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2816         Likewise.
2818         * iconvdata/gconv-modules: Remove duplicate entry.
2820 2014-12-11  Will Newton  <will.newton@linaro.org>
2822         Merge gettext 0.19.3 into intl/.
2824         This involves a number of cosmetic changes to comments
2825         and ANSI function definitions and prototypes throughout
2826         all the files. The gettext copyright header is used but
2827         with the date ranges taken from the glibc copy.
2829         * NEWS: Add gettext merge to 2.21.
2830         * intl/bindtextdom.c: Switch to gettext copyright.
2831         Use ANSI definitions and prototypes.
2832         Use gl_* locking primitives rather than __libc_* ones.
2833         Use __builtin_expect rather than __glibc_likely/unlikely.
2834         * intl/dcgettext.c: Switch to gettext copyright.
2835         Use ANSI definitions and prototypes.
2836         * intl/dcigettext.c: Switch to gettext copyright.
2837         Use ANSI definitions and prototypes.
2838         (INTDIV0_RAISES_SIGFPE): New define.
2839         Use gl_* locking primitives rather than __libc_* ones.
2840         Include eval-plural.h instead of plural-eval.c.
2841         Use __builtin_expect rather than __glibc_likely/unlikely.
2842         * intl/dcngettext.c: Switch to gettext copyright.
2843         Use ANSI definitions and prototypes.
2844         * intl/dgettext.c: Likewise.
2845         * intl/dngettext.c: Likewise.
2846         * intl/plural-eval.c: Renamed to...
2847         * intl/eval-plural.h: ...this.
2848         * intl/explodename.c: Switch to gettext copyright.
2849         Use ANSI definitions and prototypes.
2850         (_nl_explode_name): Use strchr instead of __rawmemchr.
2851         * intl/finddomain.c: Switch to gettext copyright.
2852         Use ANSI definitions and prototypes.
2853         Use gl_* locking primitives rather than __libc_* ones.
2854         (_nl_find_domain): Use malloc rather than alloca for
2855         allocation of temporary locale name.
2856         * intl/gettext.c: Switch to gettext copyright.
2857         Use ANSI definitions and prototypes.
2858         * intl/gettextP.h: Switch to gettext copyright.
2859         Use ANSI definitions and prototypes.
2860         Use gl_* locking primitives rather than __libc_* ones.
2861         * intl/gmo.h: Switch to gettext copyright.
2862         (struct sysdep_string): Move struct segment_pair outside of
2863         struct definition.
2864         * intl/hash-string.c: Use ANSI definitions and prototypes.
2865         * intl/hash-string.h: Switch to gettext copyright.
2866         Use ANSI definitions and prototypes.
2867         * intl/l10nflist.c: Switch to gettext copyright.
2868         Use ANSI definitions and prototypes.
2869         (_nl_normalize_codeset): Avoid integer overflow.
2870         * intl/loadinfo.h: Switch to gettext copyright.
2871         Use ANSI definitions and prototypes.
2872         (LIBINTL_DLL_EXPORTED): New define.
2873         (PATH_SEPARATOR): New define.
2874         * intl/loadmsgcat.c: Switch to gettext copyright.
2875         * intl/localealias.c: Switch to gettext copyright.
2876         Use ANSI definitions and prototypes.
2877         (_nl_expand_alias): Use PATH_SEPARATOR.
2878         * intl/ngettext.c: Switch to gettext copyright.
2879         Use ANSI definitions and prototypes.
2880         * intl/plural-exp.c: Likewise.
2881         * intl/plural-exp.h: Switch to gettext copyright.
2882         Use ANSI definitions and prototypes.
2883         (struct expression): Move definition of enum operator outside
2884         of struct definition.
2885         * intl/plural.c: Regenerate.
2886         * intl/plural.y: Switch to gettext copyright.
2887         Use ANSI definitions and prototypes.
2888         Port to bison 3.0.
2889         * intl/textdomain.c: Switch to gettext copyright.
2890         Use ANSI definitions and prototypes.
2891         Use gl_* locking primitives rather than __libc_* ones.
2893 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2895         * debug/warning-nop.c: Add used atrribute.
2897 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2899         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2901         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2902         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2903         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2905 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2906             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2908         [BZ #17634]
2909         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2910         Undefine after defining function.  Define as weak alias of
2911         __wcschr.  Use libc_hidden_weak.
2912         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2913         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2914         (libc_hidden_def): Also define __GI___wcschr alias.
2915         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2916         __wcschr and define as weak alias of __wcschr.
2917         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2918         __wcschr.
2919         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2920         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2921         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2922         libc_hidden_weak.  Do not use libc_hidden_def.
2923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2924         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2925         __GI___wcschr alias.
2926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2927         [IS_IN (libc)] (wcschr): Define as macro expanding to
2928         __redirect_wcschr.
2929         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2930         [IS_IN (libc)] (__wcschr_power6): Likewise.
2931         [IS_IN (libc)] (__wcschr_power7): Likewise.
2932         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2933         instead of wcschr.
2934         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2935         __libc_wcschr.
2936         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2937         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2938         __wcschr and define as weak alias of __wcschr.  Use
2939         libc_hidden_builtin_def.
2940         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2941         as weak alias of __wcschr.  Use libc_hidden_weak.
2942         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2943         wcschr.
2944         * time/era.c (_nl_init_era_entries): Likewise.
2945         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2946         variable.
2947         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2948         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2950 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2952         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2953         format for long int variable.
2955 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2957         [BZ #10672]
2958         * manual/search.texi: (Array Sort Function): Remove claim how to make
2959         qsort stable.
2961 2014-12-10  Andreas Schwab  <schwab@suse.de>
2963         [BZ #12847]
2964         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2965         user-controlled locks.
2967 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2969         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2970         register.
2972 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2974         * configure.ac (--disable-werror): New configure option.
2975         (enable_werror): New AC_SUBST.
2976         * configure: Regenerated.
2977         * config.make.in (enable-werror): New variable.
2978         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2979         -Wno-error=undef.
2980         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2981         * manual/install.texi (Configuring and compiling): Document
2982         --disable-werror.
2983         * INSTALL: Regenerated.
2984         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2985         (CFLAGS-tst-chk2.c): Likewise.
2986         (CFLAGS-tst-chk3.c): Likewise.
2987         (CFLAGS-tst-chk4.cc): Likewise.
2988         (CFLAGS-tst-chk5.cc): Likewise.
2989         (CFLAGS-tst-chk6.cc): Likewise.
2990         (CFLAGS-tst-lfschk1.c): Likewise.
2991         (CFLAGS-tst-lfschk2.c): Likewise.
2992         (CFLAGS-tst-lfschk3.c): Likewise.
2993         (CFLAGS-tst-lfschk4.cc): Likewise.
2994         (CFLAGS-tst-lfschk5.cc): Likewise.
2995         (CFLAGS-tst-lfschk6.cc): Likewise.
2997         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2998         (main): Disable -Wdeprecated-declarations around calls to
2999         register_printf_function.
3001         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3002         (do_test): Disable -Wdiv-by-zero around some calls to
3003         fwrite_unlocked and fread_unlocked.
3005         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3006         (DIAG_POP_NEEDS_COMMENT): Likewise.
3007         (_DIAG_STR1): Likewise.
3008         (_DIAG_STR): Likewise.
3009         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3010         * stdio-common/bug21.c: Include <libc-internal.h>.
3011         (do_test): Disable -Wformat around call to sscanf.
3012         * stdio-common/scanf14.c: Include <libc-internal.h>.
3013         (main): Disable -Wformat around some calls to scanf functions.
3015 2014-12-09  Torvald Riegel  <triegel@redhat.com>
3017         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3019 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3021         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3022         stack variable alignment.
3024 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
3026         [BZ #17682]
3027         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3028         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3029         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3030         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3031         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3032         __getrlimit instead of getrlimit.
3033         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3034         __gettimeofday instead of gettimeofday.
3035         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3036         Likewise.
3037         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3038         Likewise.
3039         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3040         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3041         Remove variable.
3042         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3043         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3045 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3047         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3048         for wide-character tests.
3050 2014-12-04  Roland McGrath  <roland@hack.frob.com>
3052         * io/openat64.c: #include <libc-internal.h>
3053         (__openat64): Prototypify.  Use ignore_value on MODE.
3054         * io/openat.c: Likewise.
3055         * misc/reboot.c: #include <libc-internal.h>
3056         (reboot): Prototypify.  Use ignore_value on HOWTO.
3057         * misc/ptrace.c: #include <libc-internal.h>
3058         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
3060 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
3062         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3063         XPG4, UNIX98 and XOPEN2K.
3064         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3065         Remove variable.
3066         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3068 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3070         * libio/fileops.c: Use ISO C style for function definitions.
3071         * libio/iofopen.c: Likewise.
3072         * libio/wfileops.c: Likewise.
3074         [BZ #17653]
3075         * libio/fileops.c (_IO_new_file_underflow): Unset cached
3076         offset on EOF.
3077         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3078         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3079         (fgets_func): Function pointer to fgets and fgetws.
3080         (do_ftell_test): Add test to verify ftell value after read
3081         EOF.
3082         (do_test): Set fgets_func.
3084         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3085         O_TRUNC flag for w and w+ modes.
3086         (do_rewind_test): Likewise.
3087         (do_ftell_test): Likewise.
3088         (do_write_test): Likewise.
3090         [BZ #17647]
3091         * libio/fileops.c (do_ftell): Seek only when there are
3092         unflushed writes.
3093         * libio/wfileops.c (do_ftell_wide): Likewise.
3094         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3095         test case.
3096         (do_one_test): Call it.
3098 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
3100         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3101         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3102         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3103         Remove variable.
3104         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3105         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3106         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3108 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3110         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3111         Remove variable.
3112         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3114         [BZ #17668]
3115         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3116         as weak alias of __getifaddrs.  Use libc_hidden_weak.
3117         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3118         __freeifaddrs.  Use libc_hidden_weak.
3119         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3120         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
3121         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3122         __freeifaddrs.  Use libc_hidden_weak.
3123         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3124         __getifaddrs and define as weak alias of __getifaddrs.  Use
3125         libc_hidden_weak.
3126         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3127         __freeifaddrs.  Use libc_hidden_weak.
3128         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3129         Remove variable.
3130         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3131         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3133 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3135         [BZ #17601]
3136         * sysdeps/mips/start.S (__start): Use indirect jump to call
3137         __libc_start_main.
3139 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3141         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3143         * nptl/tst-mutex1.c: Include <stdbool.h>.
3144         [!ATTR] (ATTR_NULL): New macro.
3145         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3146         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3147         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3149         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3150         to char *.
3152         [BZ #17665]
3153         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3154         Change conditional to [__USE_MISC].
3156         [BZ #17664]
3157         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3158         fgets_unlocked.
3159         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3160         __fgets_unlocked.
3161         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3162         fgets_unlocked.
3163         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3164         Remove variable.
3165         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3166         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3167         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3168         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3169         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3170         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3171         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3172         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3173         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3175         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3177 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3179         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3180         Remove strpbrk objects.
3181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3182         (__libc_ifunc_impl_list): Remove strpbrk implementation.
3183         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3184         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3185         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3186         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3188         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3189         Remove strcspn objects.
3190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3191         (__libc_ifunc_impl_list): Remove strcspn implementation.
3192         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3193         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3194         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3195         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3197         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3198         Remove strspn objetcs.
3199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3200         (__libc_ifunc_impl_list): Remove strspn implementation.
3201         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3202         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3203         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3204         * sysdeps/powerpc/powerpc64/strspn.S: New file.
3206 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
3208         [BZ #17581]
3209         * malloc/hooks.c
3210         (mem2mem_check): Add a terminator to the chain of checking blocks.
3211         (malloc_check_get_size): Use it here.
3212         (mem2chunk_check): Ditto.
3214 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3216         * sysdeps/powerpc/powerpc64/strtok.S: New file.
3217         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3219 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
3221         * bits/ioctl-types.h: Indent preprocessor directives correctly.
3223         * nptl/nptl-init.c: Include libc-internal.h.
3224         (__pthread_initialize_minimal_internal): Use ROUND_UP.
3226         * elf/ldconfig.c (search_dir): Expand comment.
3228 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
3230         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3231         variable.
3232         (linknamespace-symlist-stdlibs-tests): Likewise.
3233         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3234         instead of $(objpfx)symlist-stdlibs.
3235         (linknamespace-libs-isoc): New variable.
3236         (linknamespace-libs): Use $(linknamespace-libs-isoc).
3237         (linknamespace-libs-ISO): New variable.
3238         (linknamespace-libs-ISO99): Likewise.
3239         (linknamespace-libs-ISO11): Likewise.
3240         (linknamespace-libs-XPG3): Likewise.
3241         (linknamespace-libs-XPG4): Likewise.
3242         (linknamespace-libs-POSIX): Likewise.
3243         (linknamespace-libs-UNIX98): Likewise.
3244         (linknamespace-libs-XOPEN2K): Likewise.
3245         (linknamespace-libs-POSIX2008): Likewise.
3246         (linknamespace-libs-XOPEN2K8): Likewise.
3247         ($(objpfx)symlist-stdlibs): Replace by
3248         $(linknamespace-symlist-stdlibs-tests).  Use
3249         $(linknamespace-libs-$*) as set of libraries.
3250         ($(linknamespace-header-tests)): Update dependencies.  Use
3251         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3252         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3253         * conform/linknamespace.pl: Remove comment about considering
3254         definitions of symbols from irrelevant libraries.
3256 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3258         [BZ #13862]
3259         * elf/dl-tls.c: Include <atomic.h>.
3260         (oom): Remove #ifdef SHARED/#endif.
3261         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3262         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3263         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3264         big enough.
3265         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3266         * nptl/Makefile (tests): Add tst-stack4.
3267         (modules-names): Add tst-stack4mod.
3268         ($(objpfx)tst-stack4): New.
3269         (tst-stack4mod.sos): Likewise.
3270         ($(objpfx)tst-stack4.out): Likewise.
3271         ($(tst-stack4mod.sos)): Likewise.
3272         (clean): Likewise.
3273         * nptl/tst-stack4.c: New file.
3274         * nptl/tst-stack4mod.c: Likewise.
3276 2014-11-27  J. Brown  <jb999@gmx.de>
3278         * sysdeps/x86/bits/string.h: Add recent CPUs.
3280 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3282         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3283         sigblock.
3285         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3286         feof.
3288         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3289         variable.
3291 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3293         * nscd/connections.c: Include libc-internal.h because of macro
3294         usage ignore_value.
3296 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3298         * string/bits/string3.h (__warn_memset_zero_len): Don't
3299         declare for gcc newer than 5.0.
3300         (memset): Don't test for zero-length __LEN for gcc newer than
3301         5.0.
3303 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3305         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3306         size_t for %zu format.
3308         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3309         difference, not %ju.
3311 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3313         * include/libc-internal.h (ignore_value): New macro.
3314         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3315         with ignore_value.
3317         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3318         definition.
3320         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3321         pthread_cleanup_push to void *.
3323         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3324         Undefine.
3326         [BZ #16619]
3327         [BZ #16740]
3328         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3329         instead of 1L << 52.
3331         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3332         * libio/bug-rewind2.c (do_test): Likewise.
3334         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3335         * debug/test-strcpy_chk-ifunc.c: Likewise.
3336         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3337         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3338         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3339         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3340         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3341         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3342         * Rules [$(multi-arch) = no] (tests): Do not filter out
3343         $(tests-ifunc).
3344         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3345         * debug/Makefile (tests-ifunc): Remove variable.
3346         (tests): Do not add $(tests-ifunc).
3347         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3348         (tests): Do not add $(tests-ifunc).
3349         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3350         [TEST_IFUNC]: Remove conditionals.
3351         * string/test-string.h (TEST_IFUNC): Remove macro.
3352         [TEST_IFUNC]: Remove conditionals.
3354         * string/test-strchr.c [!WIDE] (L): New macro.
3355         [WIDE] (L): Likewise.
3356         (check1): Use CHAR instead of char.  Use L on string and character
3357         constants.
3359 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3361         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3362         tests.
3363         * sysdeps/powerpc/bits/atomic.h
3364         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3365         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3366         (atomic_exchange_and_add_acq): Likewise.
3367         (atomic_exchange_and_add_rel): Likewise.
3368         * sysdeps/powerpc/powerpc32/bits/atomic.h
3369         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3370         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3371         * sysdeps/powerpc/powerpc64/bits/atomic.h
3372         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3373         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3375 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3377         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3378         Change synchronization of __sched_fifo_min_prio and
3379         __sched_fifo_max_prio.
3380         * nptl/pthread_mutexattr_getprioceiling.c
3381         (pthread_mutexattr_getprioceiling): Likewise.
3382         * nptl/pthread_mutexattr_setprioceiling.c
3383         (pthread_mutexattr_setprioceiling): Likewise.
3384         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3385         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3386         Likewise.
3388 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3390         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3391         void.
3393 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3395         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3396         third argument const.
3398 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3400         fnmatch: work around GCC compiler warning bug with uninit var
3401         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3402         This works around a bug with x86-64 GCC 4.9.2 and earlier
3403         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3404         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3405         used uninitialized in this function [-Wmaybe-uninitialized]".
3407 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3409         * posix/bug-regex31.c (main): Return RES not 0.
3411 2014-11-25  Anton Blanchard <anton@samba.org>
3413         * sysdeps/powerpc/bits/atomic.h
3414         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3416 2014-11-24  Sterling Augustine  <saugustine@google.com>
3418         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3420 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3422         [BZ #17608]
3423         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3425 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3427         [BZ #17633]
3428         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3429         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3430         variable.
3431         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3432         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3434 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3436         * string/strncpy.c (strncpy): Improve performance by using memset.
3438 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3440         * string/strcpy.c (strcpy):
3441         Improve performance by using strlen and memcpy.
3443 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
3445         * string/strcoll_l.c (get_next_seq): __always_inline.
3446         * string/strcoll_l.c (do_compare): __always_inline.
3448 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3450         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3451         defined.
3452         * include/mqueue.h: Likewise.
3453         * include/stdlib.h: Likewise.
3455         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3456         (get_null_defines): Adjust.
3457         * sunrpc/Makefile: Adjust comment.
3458         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3459         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3460         (CFLAGS-interp.c): Likewise.
3461         (CFLAGS-ldconfig.c): Likewise.
3462         (CPPFLAGS-.os): Likewise.
3463         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3464         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3465         * extra-modules.mk (extra-modules.mk): Likewise.
3466         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3467         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3468         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3469         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3470         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3471         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3472         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3473         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3474         * iconvdata/Makefile (CPPFLAGS): Likewise.
3475         (cpp-srcs-left): Add libof for all iconvdata routines.
3476         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3477         * include/assert.h: Likewise.
3478         * include/ctype.h: Likewise.
3479         * include/errno.h: Likewise.
3480         * include/libc-symbols.h: Likewise.
3481         * include/math.h: Likewise.
3482         * include/netdb.h: Likewise.
3483         * include/resolv.h: Likewise.
3484         * include/stdio.h: Likewise.
3485         * include/stdlib.h: Likewise.
3486         * include/string.h: Likewise.
3487         * include/sys/stat.h: Likewise.
3488         * include/wctype.h: Likewise.
3489         * intl/l10nflist.c: Likewise.
3490         * libidn/idn-stub.c: Likewise.
3491         * libio/libioP.h: Likewise.
3492         * nptl/libc_multiple_threads.c: Likewise.
3493         * nptl/pthreadP.h: Likewise.
3494         * posix/regex_internal.h: Likewise.
3495         * resolv/res_hconf.c: Likewise.
3496         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3497         * sysdeps/arm/memmove.S: Likewise.
3498         * sysdeps/arm/sysdep.h: Likewise.
3499         * sysdeps/generic/_itoa.h: Likewise.
3500         * sysdeps/generic/symbol-hacks.h: Likewise.
3501         * sysdeps/gnu/errlist.awk: Likewise.
3502         * sysdeps/gnu/errlist.c: Likewise.
3503         * sysdeps/i386/i586/memcpy.S: Likewise.
3504         * sysdeps/i386/i586/memset.S: Likewise.
3505         * sysdeps/i386/i686/memcpy.S: Likewise.
3506         * sysdeps/i386/i686/memmove.S: Likewise.
3507         * sysdeps/i386/i686/mempcpy.S: Likewise.
3508         * sysdeps/i386/i686/memset.S: Likewise.
3509         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3510         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3511         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3512         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3513         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3514         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3515         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3516         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3517         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3518         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3519         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3520         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3521         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3522         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3523         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3524         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3525         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3526         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3527         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3528         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3529         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3530         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3531         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3532         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3533         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3534         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3535         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3536         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3537         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3538         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3539         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3540         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3541         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3542         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3543         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3544         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3545         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3546         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3547         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3548         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3549         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3550         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3551         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3552         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3553         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3554         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3555         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3556         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3557         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3558         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3559         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3560         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3561         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3562         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3563         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3564         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3565         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3566         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3567         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3568         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3569         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3570         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3571         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3572         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3573         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3574         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3575         * sysdeps/posix/closedir.c: Likewise.
3576         * sysdeps/posix/opendir.c: Likewise.
3577         * sysdeps/posix/readdir.c: Likewise.
3578         * sysdeps/posix/rewinddir.c: Likewise.
3579         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3580         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3581         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3582         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3583         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3584         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3585         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3586         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3587         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3588         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3589         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3590         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3591         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3592         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3593         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3594         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3595         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3596         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3597         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3598         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3599         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3600         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3601         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3602         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3603         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3604         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3605         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3606         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3607         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3613         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3614         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3615         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3616         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3617         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3618         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3619         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3620         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3621         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3622         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3623         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3624         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3625         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3626         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3627         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3628         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3629         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3630         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3631         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3632         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3633         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3634         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3635         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3636         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3637         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3638         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3639         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3640         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3641         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3642         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3643         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3644         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3645         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3646         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3647         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3648         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3649         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3650         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3651         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3652         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3653         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3654         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3655         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3656         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3657         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3658         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3659         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3660         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3661         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3663         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3664         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3665         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3666         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3667         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3668         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3669         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3670         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3671         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3672         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3673         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3674         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3675         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3676         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3677         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3678         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3679         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3680         * sysdeps/unix/alpha/sysdep.S: Likewise.
3681         * sysdeps/unix/alpha/sysdep.h: Likewise.
3682         * sysdeps/unix/make-syscalls.sh: Likewise.
3683         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3685         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3686         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3687         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3688         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3689         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3690         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3691         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3692         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3693         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3694         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3695         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3696         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3697         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3698         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3699         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3700         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3701         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3702         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3703         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3704         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3705         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3706         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3707         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3708         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3709         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3712         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3713         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3714         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3715         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3716         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3717         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3718         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3719         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3721         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3722         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3723         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3724         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3725         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3726         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3727         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3729         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3730         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3731         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3732         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3733         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3734         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3735         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3736         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3737         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3738         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3739         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3740         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3741         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3742         * sysdeps/x86_64/memcpy.S: Likewise.
3743         * sysdeps/x86_64/memmove.c: Likewise.
3744         * sysdeps/x86_64/memset.S: Likewise.
3745         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3746         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3747         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3748         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3749         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3750         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3751         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3752         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3753         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3754         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3755         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3756         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3757         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3758         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3759         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3760         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3761         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3762         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3763         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3764         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3765         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3766         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3767         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3768         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3769         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3770         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3771         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3772         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3773         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3774         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3775         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3776         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3777         * sysdeps/x86_64/strcmp.S: Likewise.
3779         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3781         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3782         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3783         * elf/rtld-Rules: Likewise.
3784         * elf/setup-vdso.h: Likewise.
3785         * include/assert.h: Likewise.
3786         * include/bits/stdlib-float.h: Likewise.
3787         * include/errno.h: Likewise.
3788         * include/sys/stat.h: Likewise.
3789         * include/unistd.h: Likewise.
3790         * sysdeps/aarch64/setjmp.S: Likewise.
3791         * sysdeps/alpha/setjmp.S: Likewise.
3792         * sysdeps/arm/__longjmp.S: Likewise.
3793         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3794         * sysdeps/arm/setjmp.S: Likewise.
3795         * sysdeps/arm/sysdep.h: Likewise.
3796         * sysdeps/generic/_itoa.h: Likewise.
3797         * sysdeps/generic/dl-sysdep.h: Likewise.
3798         * sysdeps/generic/ldsodefs.h: Likewise.
3799         * sysdeps/i386/dl-tls.h: Likewise.
3800         * sysdeps/i386/setjmp.S: Likewise.
3801         * sysdeps/m68k/setjmp.c: Likewise.
3802         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3803         * sysdeps/mach/hurd/opendir.c: Likewise.
3804         * sysdeps/posix/getcwd.c: Likewise.
3805         * sysdeps/posix/opendir.c: Likewise.
3806         * sysdeps/posix/profil.c: Likewise.
3807         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3808         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3809         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3810         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3811         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3812         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3813         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3814         * sysdeps/s390/dl-tls.h: Likewise.
3815         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3816         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3817         * sysdeps/sh/sh3/setjmp.S: Likewise.
3818         * sysdeps/sh/sh4/setjmp.S: Likewise.
3819         * sysdeps/unix/alpha/sysdep.h: Likewise.
3820         * sysdeps/unix/arm/sysdep.S: Likewise.
3821         * sysdeps/unix/i386/sysdep.S: Likewise.
3822         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3823         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3824         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3825         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3826         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3827         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3828         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3829         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3830         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3831         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3832         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3833         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3834         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3837         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3838         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3839         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3840         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3841         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3842         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3843         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3844         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3845         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3846         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3847         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3849         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3850         * sysdeps/x86_64/setjmp.S: Likewise.
3852         * include/math.h: Use IS_IN instead of IS_IN_libm.
3853         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3854         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3855         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3856         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3857         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3858         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3859         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3860         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3861         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3862         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3863         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3864         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3865         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3866         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3867         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3868         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3869         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3870         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3871         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3872         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3873         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3874         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3875         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3876         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3877         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3878         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3879         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3880         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3881         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3882         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3883         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3884         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3885         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3887         Likewise.
3888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3889         Likewise.
3890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3891         Likewise.
3892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3893         Likewise.
3894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3895         Likewise.
3896         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3897         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3898         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3899         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3900         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3901         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3907         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3908         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3909         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3910         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3911         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3912         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3913         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3914         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3915         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3916         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3917         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3918         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3919         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3920         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3922         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3924         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3925         * nptl/pthreadP.h: Likewise.
3926         * nptl_db/structs.def: Likewise.
3927         * sysdeps/arm/sysdep.h: Likewise.
3928         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3929         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3930         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3931         * sysdeps/unix/alpha/sysdep.h: Likewise.
3932         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3933         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3934         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3935         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3936         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3937         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3938         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3939         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3940         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3941         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3942         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3943         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3944         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3945         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3950         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3951         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3952         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3953         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3954         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3955         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3956         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3957         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3959         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3960         * nptl/pthreadP.h: Likewise.
3961         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3962         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3963         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3964         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3965         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3966         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3967         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3968         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3969         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3970         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3971         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3972         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3974         Likewise.
3975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3976         Likewise.
3977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3979         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3980         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3981         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3982         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3983         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3984         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3986         * dlfcn/dladdr.c: Use IS_IN.
3987         * dlfcn/dladdr1.c: Likewise.
3988         * dlfcn/dlclose.c: Likewise.
3989         * dlfcn/dlerror.c: Likewise.
3990         * dlfcn/dlinfo.c: Likewise.
3991         * dlfcn/dlmopen.c: Likewise.
3992         * dlfcn/dlopen.c: Likewise.
3993         * dlfcn/dlsym.c: Likewise.
3994         * dlfcn/dlvsym.c: Likewise.
3996         * include/ifaddrs.h: Use IS_IN.
3997         * inet/check_pf.c: Likewise.
3998         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3999         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4001         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4002         IS_IN_ldconfig.
4003         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4004         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4006         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4007         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4008         IS_IN (libc).
4010         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4012         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4013         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4014         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4015         * include/libc-symbols.h (IS_IN_LIB): New macro.
4016         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4017         * include/netdb.h: Likewise.
4018         * include/stap-probe.h: Remove all uses of IN_LIB.
4020         * Makeconfig (module-cppflags-real): Define MODULE_NAME
4021         instead of IN_MODULE.
4022         * include/libc-symbols.h (IN_MODULE): Define using
4023         MODULE_NAME.
4024         (PASTE_NAME, PASTE_NAME1): New macros.
4025         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4026         of IN_LIB.
4027         (STAP_PROBE_ASM): Likewise.
4029 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4031         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4032         __mach_init in dlopened libc.
4034 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
4036         * sysdeps/arm/preconfigure.ac: Delete EABI check.
4037         * sysdeps/arm/preconfigure: Regenerate.
4039 2014-11-21  Roland McGrath  <roland@hack.frob.com>
4041         * nptl/pthread_create.c (__pthread_create_2_1): Set
4042         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4043         when copying values from IATTR into PD.
4045 2014-11-21  Will Newton  <will.newton@linaro.org>
4046             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4048         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4049         Refactor inline-asm.  Also add comment.
4051         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4052         ElfW macro instead of hardcoded Elf64 types.
4053         (la_aarch64_gnu_pltenter): Likewise.
4054         * sysdeps/aarch64/dl-machine.h
4055         (elf_machine_runtime_setup): Use ElfW(Addr).
4057         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4058         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4059         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4060         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4061         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4062         (R_AARCH64_TLS_DTPMOD64): Rename to ..
4063         (R_AARCH64_TLS_DTPMOD): This.
4064         (R_AARCH64_TLS_DTPREL64): Rename to ...
4065         (R_AARCH64_TLS_DTPREL): This.
4066         (R_AARCH64_TLS_TPREL64): Rename to ...
4067         (R_AARCH64_TLS_TPREL): This.
4068         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4069         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4070         R_AARCH64_TLS_TPREL64.
4071         (elf_machine_rela): Likewise.
4073 2014-11-21  Torvald Riegel  <triegel@redhat.com>
4075         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4076         by setting it to 0.  64b atomics are not supported currently.
4078 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4080         [BZ #16469]
4081         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4082         search domain names.
4084 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4086         [BZ #16469]
4087         * NEWS: Update.
4088         * resolv/res_query.c (__libc_res_nquerydomain): Retain
4089         trailing dot.
4090         * posix/tst-getaddrinfo5.c: New.
4091         * posix/Makefile (tests): Add it.
4093 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4095         [BZ #14498]
4096         * NEWS: Fixed.
4097         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4098         after parsing line but before break_if_match.
4099         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4100         if there is a protocol mismatch.
4102 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4104         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4105         because the potential race is on the user-supplied stream.
4107 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4109         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4110         string literal if not passed a buffer.
4111         * manual/job.texi (ctermid): Update reasoning, note deviation
4112         from posix, suggest mtasurace when not passed a buffer, for
4113         future non-preliminary safety notes.
4115 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4117         * manual/users.texi (cuserid): Fix MT-Safety note for the case
4118         of not passing it a buffer.
4119         Reported by Peng Haitao.
4121 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4123         * manual/Makefile ($(objpfx)stamp-summary): Require
4124         check-safety.sh to pass.
4125         * manual/check-safety.sh: Wish for verification that every
4126         @deftypefn and @deftypefun is followed by a @safety remark.
4128 2014-11-20  Roland McGrath  <roland@hack.frob.com>
4130         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4132         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4133         PTHREAD_CANCEL_ASYNCHRONOUS.
4134         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4135         send SIGCANCEL.
4137         * nptl/default-sched.h: New file.
4138         * sysdeps/unix/sysv/linux/default-sched.h: New file.
4139         * nptl/pthread_create.c: Include it.
4140         (__pthread_create_2_1): Use collect_default_sched instead of making
4141         Linux syscalls here directly.
4143 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4145         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4146         __pthread_once): Use C11 atomics.
4148 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4150         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4152 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4154         * include/atomic.h (__atomic_link_error, __atomic_check_size,
4155         atomic_thread_fence_acquire, atomic_thread_fence_release,
4156         atomic_thread_fence_seq_cst, atomic_load_relaxed,
4157         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4158         atomic_compare_exchange_weak_relaxed,
4159         atomic_compare_exchange_weak_acquire,
4160         atomic_compare_exchange_weak_release,
4161         atomic_exchange_acquire, atomic_exchange_release,
4162         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4163         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4164         atomic_fetch_and_acquire,
4165         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4167 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4169         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4170         USE_ATOMIC_COMPILER_BUILTINS): Define.
4171         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4173         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4175         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4176         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4177         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4178         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4179         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4181         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4183         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4184         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4185         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4186         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4187         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4188         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4189         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4190         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4191         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4192         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4193         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4194         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4195         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4196         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4197         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4198         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4199         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4200         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4201         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4202         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4203         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4204         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4205         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4206         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4207         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4208         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4209         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4210         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4212 2014-11-19  Roland McGrath  <roland@hack.frob.com>
4214         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4215         the sched_priority value here.  It was already checked when the user
4216         called pthread_attr_setschedparam.
4218         * nptl/tst-bad-schedattr.c: New file.
4219         * nptl/Makefile (tests): Add it.
4221 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
4222             Florian Weimer  <fweimer@redhat.com>
4223             Joseph Myers  <joseph@codesourcery.com>
4224             Adam Conrad  <adconrad@0c3.net>
4225             Andreas Schwab  <schwab@suse.de>
4226             Brooks  <bmoses@google.com>
4228         [BZ #17625]
4229         * wordexp-test.c (__dso_handle): Add prototype.
4230         (__register_atfork): Likewise.
4231         (__app_register_atfork): New function.
4232         (registered_forks): New global.
4233         (register_fork): New function.
4234         (test_case): Add 3 new tests for WRDE_CMDSUB.
4235         (main): Call __app_register_atfork.
4236         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4237         fork count is non-zero fail the test.
4238         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4239         is set.
4240         (parse_dollars): Remove check for WRDE_NOCMD.
4241         (parse_dquote): Likewise.
4243 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4245         * Makeconfig (built-modules): List non-library modules to be
4246         built.
4247         (module-cppflags): Include libc-modules.h for
4248         everything except shlib-versions.v.i.
4249         (CPPFLAGS): Use it.
4250         (before-compile): Add libc-modules.h.
4251         ($(common-objpfx)libc-modules.h,
4252         $(common-objpfx)libc-modules.stmp): New targets.
4253         (common-generated): Add libc-modules.h and libc-modules.stmp.
4254         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4255         * include/libc-symbols.h: Don't include libc-modules.h.
4256         * include/libc-modules.h: Remove file.
4257         * scripts/gen-libc-modules.awk: New script to generate
4258         libc-modules.h.
4259         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4260         Depend on libc-modules.stmp.
4262         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4264         * Makeconfig (in-module): Get value of libof set for the
4265         translation unit.
4266         (CPPFLAGS): Use $(in-module).
4267         * Makerules: Don't suffix routine names for nonlib.
4268         * include/libc-modules.h: New file.
4269         * include/libc-symbols.h: Include libc-modules.h
4270         (IS_IN): New macro to replace IS_IN_* macros.
4271         * elf/Makefile: Set libof-* for each routine.
4272         * elf/rtld-Rules: Likewise.
4273         * extra-modules.mk: Likewise.
4274         * iconv/Makefile: Likewise.
4275         * iconvdata/Makefile: Likewise.
4276         * locale/Makefile: Likewise.
4277         * malloc/Makefile: Likewise.
4278         * nss/Makefile: Likewise.
4279         * sysdeps/gnu/Makefile: Likewise.
4280         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4281         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4282         * sysdeps/s390/s390-64/Makefile: Likewise.
4283         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4284         CPPFLAGS for nscd instead of nonlib.
4286 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4288         * nptl/createthread.c: New file.
4290         * nptl/createthread.c: Moved ...
4291         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4293         * nptl/createthread.c: Add proper top-line comment.
4294         (do_clone): Folded into ...
4295         (create_thread): ... here.  Take new arguments STOPPED_START and
4296         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4297         increment __nptl_threads, do event-reporting logic, do
4298         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4299         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4300         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4301         just send SIGCANCEL.
4302         * nptl/pthread_create.c: Forward-declare create_thread before
4303         including createthread.c.
4304         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4305         declaration, and new macro START_THREAD_SELF to replace argument.
4306         Remove return statement.
4307         (report_thread_creation): New function.
4308         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4309         synchronization logic, and __nptl_nthreads increment here, around
4310         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4311         PD->parent_cancelhandling here, before create_thread.  When
4312         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4313         __deallocate_stack, and ENOMEM translation here.
4315 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4317         [BZ #17616]
4318         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4319         (mptwo): Rename to __mptwo.
4320         (__inv): Use __mptwo instead of mptwo.
4321         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4322         (mptwo): Rename to __mptwo.
4323         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4324         of mpone and __mptwo instead of mptwo.
4325         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4326         instead of mpone.
4327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4328         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4329         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4330         of mpone and __mptwo instead of mptwo.
4331         (__mpranred): Use __mpone instead of mpone.
4332         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4333         variable.
4334         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4335         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4336         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4337         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4338         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4339         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4340         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4341         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4342         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4343         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4344         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4345         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4346         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4347         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4348         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4349         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4350         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4351         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4352         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4354 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4356         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4357         replace BSD Handler xref with BSD Signal Handling.
4359 2014-11-17  Richard Henderson  <rth@redhat.com>
4361         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4362         (_FP_PACK_RAW_2): Remove.
4363         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4364         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4365         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4366         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4367         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4368         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4369         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4370         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4371         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4372         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4373         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4374         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4375         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4376         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4377         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4378         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4380 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4382         * signal/signal.h [__USE_MISC]
4383         (struct sigvec): Remove type.
4384         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4385         (sigvec): Remove declaration.
4386         * sysdeps/posix/sigvec.c: Moved ...
4387         * signal/sigvec.c: ... here, replacing old file.
4388         (struct sigvec): New type, copied from old signal.h definition.
4389         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4390         (__sigvec): Convert definition to prototype.
4391         (sigvec): Replace weak_alias with compat_symbol.
4392         * signal/Versions (libc: GLIBC_2.21): New version set.
4393         * include/signal.h: Remove __sigvec declaration.
4394         * sysdeps/unix/bsd/sigvec.c: Remove file.
4395         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4396         * manual/signal.texi (BSD Handler): Remove subsection.
4397         Move siginterrupt up to ...
4398         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4399         (Blocking in BSD): Fold subsection into its parent.
4400         * NEWS: Mention sigvec removal.
4402 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4404         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4405         (DLA_FMS): Make definition conditional only on [__FMA4__].
4406         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4407         definition.
4409         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4410         Make definition conditional only on [PROF].
4411         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4412         definition.
4413         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4414         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4416         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4417         !__GNUC__].
4418         * include/signal.h (__sigpause): Move declaration above call to
4419         libc_hidden_proto.
4420         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4421         variable.
4422         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4423         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4425 2014-11-14  David S. Miller  <davem@davemloft.net>
4427         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4428         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4430 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4432         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4433         * configure: Regenerated.
4434         * manual/install.texi (Tools for Compilation): Document a
4435         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4436         compiler verified to work.
4437         * INSTALL: Regenerated.
4439         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4440         redeclare with asm name.
4441         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4442         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4443         including <string.h>.
4444         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4445         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4446         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4447         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4448         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4449         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4450         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4452 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
4454         * stdlib/strtol.c (__strtol): Use prototype definition.
4456         [BZ #17594]
4457         * stdlib/strtol.c (SYM__): New macro.
4458         (SYM__1): Likewise.
4459         (__strtol): Likewise.
4460         (strtol): Rename to __strtol and define as weak alias of
4461         __strtol.  Use libc_hidden_weak.
4463 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4465         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4466         Use numbered labels in inline assembly.
4468 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4470         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4471         Add setjmp LIBC_PROBE.
4472         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4473         Likewise.
4474         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4475         Add longjmp, longjmp_target LIBC_PROBE.
4476         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4477         Likewise.
4479 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4481         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4482         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4483         to get rid of unused variable warning.
4485 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4487         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4488         Check for unwind_backtrace ==  NULL only in SHARED case.
4489         (__backchain_backtrace): Compile only in SHARED case.
4490         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4491         Likewise.
4492         (__backchain_backtrace): Declare as static.
4494 2014-11-12  Roland McGrath  <roland@hack.frob.com>
4496         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4497         (__libc_multiple_threads_ptr): Variable moved ...
4498         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4500 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
4502         * conform/GlibcConform.pm: New file.
4503         * conform/conformtest.pl: Use GlibcConform module.
4504         * conform/linknamespace.pl: New file.
4505         * conform/list-header-symbols.pl: Likewise.
4506         * conform/Makefile (linknamespace-symlists-base): New variable.
4507         (linknamespace-symlists-tests): Likewise.
4508         (linknamespace-header-base): Likewise.
4509         (linknamespace-header-tests): Likewise.
4510         (tests-special): Add new tests.
4511         ($(linknamespace-symlists-tests)): New rule.
4512         (linknamespace-libs): New variable.
4513         ($(objpfx)symlist-stdlibs): New rule.
4514         ($(linknamespace-header-tests)): Likewise.
4515         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4516         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4517         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4518         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4519         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4520         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4521         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4522         (test-xfail-ISO/math.h/linknamespace): Likewise.
4523         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4524         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4525         (test-xfail-ISO/time.h/linknamespace): Likewise.
4526         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4527         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4528         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4529         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4530         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4531         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4532         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4533         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4534         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4535         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4536         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4537         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4538         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4539         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4540         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4541         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4542         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4543         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4544         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4545         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4546         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4547         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4548         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4549         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4550         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4551         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4552         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4553         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4554         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4555         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4556         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4557         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4558         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4559         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4560         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4561         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4562         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4563         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4564         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4565         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4566         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4567         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4568         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4569         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4570         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4571         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4572         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4573         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4574         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4575         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4576         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4577         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4578         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4579         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4580         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4581         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4582         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4583         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4584         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4585         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4586         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4587         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4588         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4589         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4590         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4591         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4592         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4593         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4594         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4595         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4596         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4597         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4598         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4599         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4600         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4601         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4602         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4603         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4604         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4605         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4606         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4607         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4608         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4609         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4610         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4611         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4612         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4613         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4614         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4615         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4616         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4617         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4618         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4619         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4620         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4621         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4622         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4623         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4624         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4625         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4626         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4627         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4628         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4629         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4630         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4631         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4632         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4633         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4634         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4635         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4636         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4637         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4638         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4639         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4640         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4641         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4642         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4643         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4644         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4645         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4646         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4647         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4648         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4649         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4650         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4651         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4652         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4653         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4654         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4655         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4656         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4657         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4658         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4659         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4660         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4661         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4662         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4663         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4664         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4665         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4666         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4667         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4668         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4669         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4670         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4671         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4672         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4673         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4674         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4675         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4677         [BZ #17589]
4678         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4679         of fgets_unlocked.
4681         [BZ #17585]
4682         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4683         (memmem): Rename to __memmem and define as weak alias of
4684         __memmem.  Use libc_hidden_weak.
4685         (__memmem): Use libc_hidden_def.
4686         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4687         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4688         memmem.
4690         [BZ #17582]
4691         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4692         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4693         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4694         and define as weak alias of __fgets_unlocked.  Use
4695         libc_hidden_weak.
4696         (__fgets_unlocked): Use libc_hidden_def.
4697         * include/stdio.h (__fgets_unlocked): Declare.  Use
4698         libc_hidden_proto.
4699         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4700         __fgets_unlocked instead of fgets_unlocked.
4701         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4702         (GET_NPROCS_CONF_PARSER): Likewise.
4703         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4704         (GET_NPROCS_CONF_PARSER): Likewise.
4706         [BZ #17574]
4707         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4708         weak alias of __wmemset.  Use libc_hidden_weak.
4709         (__wmemset): Use libc_hidden_def.
4710         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4711         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4712         of wmemset.
4714         [BZ #17573]
4715         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4716         with asm name __mempcpy.
4717         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4719         [BZ #17572]
4720         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4721         and define as weak alias of __rawmemchr.
4722         (__rawmemchr): Do not define as strong alias of rawmemchr.
4724         [BZ #17571]
4725         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4726         alias of __qsort_r.
4727         (qsort): Call __qsort_r instead of qsort_r.
4728         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4729         (__qsort_r): Declare.  Call libc_hidden_proto.
4730         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4731         instead of qsort_r.
4732         * nscd/gai.c (__qsort_r): Define to qsort_r.
4733         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4734         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4735         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4737         [BZ #17570]
4738         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4739         define as weak alias of __malloc_info.
4741         [BZ #17584]
4742         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4743         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4744         (__rewinddir): Use libc_hidden_def.
4745         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4746         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4747         (__rewinddir): Use libc_hidden_def.
4748         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4749         weak alias of __rewinddir.  Don't use libc_hidden_def.
4750         (__rewinddir): Use libc_hidden_def.
4751         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4752         (__rewinddir): Use libc_hidden_proto.
4753         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4754         rewinddir.
4755         (__getcwd): Use __rewinddir instead of rewinddir.
4757         [BZ #17583]
4758         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4759         alias of __fileno.  Use libc_hidden_weak.
4760         (__fileno): Use libc_hidden_def.
4761         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4762         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4763         alias of __ftello.
4764         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4765         __ftello.
4766         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4767         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4768         libc_hidden_def.
4769         (fread_unlocked): Don't use libc_hidden_ver.
4770         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4771         and define as weak alias of __fread_unlocked.  Don't use
4772         libc_hidden_def.
4773         (__fread_unlocked): Use libc_hidden_def.
4774         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4775         (ftello): Don't use libc_hidden_proto.
4776         (__ftello): Declare.  Use libc_hidden_proto.
4777         (fread_unlocked): Don't use libc_hidden_proto.
4778         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4779         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4780         and __ftello instead of fileno, fread_unlocked and ftello.
4782 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4784         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4785         GOT12.
4786         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4787         Likewise.
4788         (_dl_start_user): Likewise.
4789         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4791 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4792             Siddhesh Poyarekar  <siddhesh@redhat.com>
4794         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4795         Move argv and envp down instead of moving argc up.
4796         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4798 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4800         [BZ #17506]
4801         * test-skeleton.c (main): Return successful if one of
4802         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4803         * string/tst-strcoll-overflow.c: Define expected status.
4805 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4807         [BZ #17475]
4808         * locale/iso-639.def: Define Bhili and Tulu language codes.
4810 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4812         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4814 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4816         [BZ #17555]
4817         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4819 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4821         * configure.ac: Updated check of minimal required version to
4822         2.22.
4823         * manual/install.texi (Tools for Compilation): Updated version
4824         number.
4825         * configure: Regenerated.
4826         * INSTALL: Likewise.
4828 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4830         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4831         __tls_get_addr.
4833 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4835         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4836         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4837         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4838         libc_hidden_weak.
4839         (waitpid): Define as alias of __waitpid.
4840         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4841         __waitpid.
4842         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4843         libc_hidden_weak.
4844         (waitpid): Define as alias of __waitpid.
4845         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4846         __libc_waitpid alias.
4847         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4848         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4849         Likewise.
4850         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4851         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4852         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4853         alias.
4854         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4855         __waitpid.
4856         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4857         libc_hidden_weak.
4858         (waitpid): Define as alias of __waitpid.
4860 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4862         * manual/llio.texi: Add comment that write safety has been
4863         fixed in Linux.
4865         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4866         (localplt-build-dso): Add elf/ld.so.
4867         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4868         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4869         and free for ld.so.
4870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4871         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4873         Likewise.
4874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4875         Likewise.
4876         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4877         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4878         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4879         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4880         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4881         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4882         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4883         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4884         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4885         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4886         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4888 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4890         [BZ #14132]
4891         * include/libc-symbols.h (INTUSE): Remove macro.
4892         (INTDEF): Likewise.
4893         (INTVARDEF): Likewise.
4894         (_INTVARDEF): Likewise.
4895         (INTDEF2): Likewise.
4896         (INTVARDEF2): Likewise.
4897         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4898         rtld_hidden_def instead of INTVARDEF.
4899         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4900         (_dl_starting_up_internal): Remove declaration.
4901         (_dl_starting_up): Use rtld_hidden_proto.
4902         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4903         declaration.
4904         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4905         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4906         _dl_starting_up.
4907         * elf/dl-writev.h (_dl_writev): Likewise.
4908         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4909         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4910         _dl_starting_up_internal.
4912 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4914         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4915         test-skeleton.c.
4917 2014-11-05  Will Newton  <will.newton@linaro.org>
4919         * benchtests/Makefile: (bench-malloc): Add malloc thread
4920         scalability benchmark.
4921         * benchtests/bench-malloc-threads.c: New file.
4923 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4925         * sysdeps/aarch64/strchrnul.S: New file.
4927 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4929         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4930         definition.
4931         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4932         Likwise.
4933         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4934         Likewise.
4935         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4936         Likewise.
4937         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4938         Likewise.
4939         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4940         Likewise.
4942 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4944         * catgets/test-gencat.c: Use test-skeleton.c.
4945         * catgets/tst-catgets.c: Likewise.
4946         * csu/tst-empty.c: Likewise.
4947         * elf/tst-audit2.c: Likewise.
4948         * elf/tst-global1.c: Likewise.
4949         * elf/tst-pathopt.c: Likewise.
4950         * elf/tst-piemod1.c: Likewise.
4951         * elf/tst-tls10.c: Likewise.
4952         * elf/tst-tls11.c: Likewise.
4953         * elf/tst-tls12.c: Likewise.
4954         * gnulib/tst-gcc.c: Likewise.
4955         * iconvdata/tst-e2big.c: Likewise.
4956         * iconvdata/tst-loading.c: Likewise.
4957         * iconv/tst-iconv1.c: Likewise.
4958         * iconv/tst-iconv2.c: Likewise.
4959         * inet/test-inet6_opt.c: Likewise.
4960         * inet/tst-gethnm.c: Likewise.
4961         * inet/tst-network.c: Likewise.
4962         * inet/tst-ntoa.c: Likewise.
4963         * intl/tst-codeset.c: Likewise.
4964         * intl/tst-gettext2.c: Likewise.
4965         * intl/tst-gettext3.c: Likewise.
4966         * intl/tst-ngettext.c: Likewise.
4967         * intl/tst-translit.c: Likewise.
4968         * io/test-stat.c: Likewise.
4969         * libio/test-fmemopen.c: Likewise.
4970         * libio/tst-freopen.c: Likewise.
4971         * libio/tst-sscanf.c: Likewise.
4972         * libio/tst-ungetwc1.c: Likewise.
4973         * libio/tst-ungetwc2.c: Likewise.
4974         * libio/tst-widetext.c: Likewise.
4975         * localedata/tst-ctype.c: Likewise.
4976         * localedata/tst-digits.c: Likewise.
4977         * localedata/tst-leaks.c: Likewise.
4978         * localedata/tst-mbswcs1.c: Likewise.
4979         * localedata/tst-mbswcs2.c: Likewise.
4980         * localedata/tst-mbswcs3.c: Likewise.
4981         * localedata/tst-mbswcs4.c: Likewise.
4982         * localedata/tst-mbswcs5.c: Likewise.
4983         * localedata/tst-setlocale.c: Likewise.
4984         * localedata/tst-trans.c: Likewise.
4985         * localedata/tst-wctype.c: Likewise.
4986         * localedata/tst-xlocale1.c: Likewise.
4987         * login/tst-grantpt.c: Likewise.
4988         * malloc/tst-calloc.c: Likewise.
4989         * malloc/tst-malloc.c: Likewise.
4990         * malloc/tst-mallocstate.c: Likewise.
4991         * malloc/tst-mcheck.c: Likewise.
4992         * malloc/tst-mtrace.c: Likewise.
4993         * malloc/tst-obstack.c: Likewise.
4994         * math/atest-exp2.c: Likewise.
4995         * math/atest-exp.c: Likewise.
4996         * math/atest-sincos.c: Likewise.
4997         * math/test-matherr.c: Likewise.
4998         * math/test-misc.c: Likewise.
4999         * math/test-powl.c: Likewise.
5000         * math/tst-definitions.c: Likewise.
5001         * misc/tst-dirname.c: Likewise.
5002         * misc/tst-efgcvt.c: Likewise.
5003         * misc/tst-fdset.c: Likewise.
5004         * misc/tst-hsearch.c: Likewise.
5005         * misc/tst-mntent2.c: Likewise.
5006         * nptl/tst-sem7.c: Likewise.
5007         * nptl/tst-sem8.c: Likewise.
5008         * nptl/tst-sem9.c: Likewise.
5009         * nss/test-netdb.c: Likewise.
5010         * posix/tst-fnmatch.c: Likewise.
5011         * posix/tst-getlogin.c: Likewise.
5012         * posix/tst-gnuglob.c: Likewise.
5013         * posix/tst-mmap.c: Likewise.
5014         * pwd/tst-getpw.c: Likewise.
5015         * resolv/tst-inet_ntop.c: Likewise.
5016         * rt/tst-timer.c: Likewise.
5017         * stdio-common/test-fseek.c: Likewise.
5018         * stdio-common/test-popen.c: Likewise.
5019         * stdio-common/test-vfprintf.c: Likewise.
5020         * stdio-common/tst-cookie.c: Likewise.
5021         * stdio-common/tst-fileno.c: Likewise.
5022         * stdio-common/tst-gets.c: Likewise.
5023         * stdio-common/tst-obprintf.c: Likewise.
5024         * stdio-common/tst-perror.c: Likewise.
5025         * stdio-common/tst-sprintf2.c: Likewise.
5026         * stdio-common/tst-sprintf3.c: Likewise.
5027         * stdio-common/tst-sprintf.c: Likewise.
5028         * stdio-common/tst-swprintf.c: Likewise.
5029         * stdio-common/tst-tmpnam.c: Likewise.
5030         * stdio-common/tst-unbputc.c: Likewise.
5031         * stdio-common/tst-wc-printf.c: Likewise.
5032         * stdlib/tst-environ.c: Likewise.
5033         * stdlib/tst-fmtmsg.c: Likewise.
5034         * stdlib/tst-limits.c: Likewise.
5035         * stdlib/tst-rand48-2.c: Likewise.
5036         * stdlib/tst-rand48.c: Likewise.
5037         * stdlib/tst-random2.c: Likewise.
5038         * stdlib/tst-random.c: Likewise.
5039         * stdlib/tst-strtol.c: Likewise.
5040         * stdlib/tst-strtoll.c: Likewise.
5041         * stdlib/tst-tls-atexit.c: Likewise.
5042         * stdlib/tst-xpg-basename.c: Likewise.
5043         * string/test-ffs.c: Likewise.
5044         * string/tst-bswap.c: Likewise.
5045         * string/tst-inlcall.c: Likewise.
5046         * string/tst-strtok.c: Likewise.
5047         * string/tst-strxfrm.c: Likewise.
5048         * sysdeps/x86_64/tst-audit10.c: Likewise.
5049         * sysdeps/x86_64/tst-audit3.c: Likewise.
5050         * sysdeps/x86_64/tst-audit4.c: Likewise.
5051         * sysdeps/x86_64/tst-audit5.c: Likewise.
5052         * time/tst-ftime_l.c: Likewise.
5053         * time/tst-getdate.c: Likewise.
5054         * time/tst-mktime3.c: Likewise.
5055         * time/tst-mktime.c: Likewise.
5056         * time/tst-posixtz.c: Likewise.
5057         * time/tst-strptime2.c: Likewise.
5058         * time/tst-strptime3.c: Likewise.
5059         * wcsmbs/tst-btowc.c: Likewise.
5060         * wcsmbs/tst-mbrtowc.c: Likewise.
5061         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5062         * wcsmbs/tst-wchar-h.c: Likewise.
5063         * wcsmbs/tst-wcpncpy.c: Likewise.
5064         * wcsmbs/tst-wcrtomb.c: Likewise.
5065         * wcsmbs/tst-wcsnlen.c: Likewise.
5066         * wcsmbs/tst-wcstof.c: Likewise.
5068 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
5070         [BZ #14132]
5071         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5072         INTDEF.
5073         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5074         declaration.
5075         (_dl_mcount): Use rtld_hidden_proto.
5076         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5077         _dl_mcount.
5078         * elf/rtld.c (_rtld_global_ro): Likewise.
5080         [BZ #14132]
5081         * elf/dl-init.c (_dl_init): Don't use INTDEF.
5082         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5083         of _dl_init_internal.
5084         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5085         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5086         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5087         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5088         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5089         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5090         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5091         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5092         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5093         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5094         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5095         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5096         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5097         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5098         * sysdeps/tile/dl-start.S (_start): Likewise.
5099         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5100         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5102         [BZ #14132]
5103         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5104         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5105         (rtld_progname): Make macro definition unconditional.
5106         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5107         INTDEF.
5108         (dlmopen_doit): Do not use INTUSE with _dl_argv.
5109         (dl_main): Likewise.
5110         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5111         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5112         instead of _dl_argv_internal.
5113         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5114         __GI__dl_argv instead of INTUSE(_dl_argv).
5115         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5116         __GI__dl_argv instead of _dl_argv_internal.
5118         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5119         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5120         macro.
5121         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5122         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5123         New macro.
5124         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5125         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5126         macro.
5127         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5128         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5130 2014-11-04  Andreas Schwab  <schwab@suse.de>
5132         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5134 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5136         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5137         mtvsrd instruction in binary form.
5139 2014-11-03  Andreas Schwab  <schwab@suse.de>
5141         [BZ #17522]
5142         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5143         for less than MB_LEN_MAX use a local buffer of that size.
5144         * libio/tst-fputws.c: New file.
5145         * libio/Makefile (tests): Add tst-fputws.
5147 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
5149         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5150         the size of the fpu_fr.fpu_dregs[] array.
5152 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
5154         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5155         (__nanosleep): Do not define as alias.
5156         (nanosleep): Define as alias of __nanosleep.
5157         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5158         __libc_nanosleep name.
5160 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5162         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5163         install.texi in comment.
5165 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5167         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5168         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5169         ... add here and use lwsync or sync ...
5170         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5171         ... and add here using lwsync.
5173 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5175         * elf/dl-machine-reject-phdr.h: New file.
5176         * elf/dl-load.c: #include that.
5177         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5178         if that returned true.
5180 2014-10-31  Roland McGrath  <roland@hack.frob.com>
5182         [BZ #17496]
5183         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5184         gen-as-const-headers chunk.  Add a big scare comment after the last
5185         safe place to touch before-compile.
5187 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5189         * manual/install.texi (Tools for Compilation): Update autoconf
5190         version requirements.
5191         * INSTALL: Regenerated.
5193         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5194         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5195         (__libc_pselect): Likewise.
5197         [BZ #14138]
5198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5203 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5205         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5206         correct barrier instruction.
5207         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5208         Likewise.
5209         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5210         Likewise.
5212 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5214         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5215         after defining inlines.  Instead, just use parens to defeat macro
5216         expansion of __isctype in its declaration.
5218 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5220         * include/sys/uio.h (__libc_readv): Remove declaration.
5221         (__libc_writev): Likewise.
5222         * misc/readv.c (__libc_readv): Rename to __readv.
5223         (__readv): Do not define as alias.
5224         (readv): Define as alias of __readv.
5225         * misc/writev.c (__libc_writev): Rename to __writev.
5226         (__writev): Do not define as alias.
5227         (writev): Define as alias of __writev.
5228         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5229         (__readv): Do not define as alias.
5230         (readv): Define unconditionally as alias of __readv.
5231         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5232         (__writev): Do not define as alias.
5233         (writev): Define unconditionally as alias of __writev.
5234         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5235         name.
5236         (writev): Do not define __libc_writev name.
5238 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5240         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5241         (convert_charseq): New function, broken out of ...
5242         (use_from_charmap): ... here.  Call it.
5243         (use_to_charmap): Use convert_charseq and free instead of duplicating
5244         its code with a variable-length stack struct.
5246 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5248         * include/fcntl.h (__libc_creat): Remove declaration.
5249         * io/creat.c (__libc_creat): Rename to creat.
5250         (creat): Do not define as alias.
5251         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5252         of creat instead of __libc_creat.
5253         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5254         to creat.
5255         (creat): Do not define as alias.
5256         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5257         __libc_creat.
5258         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5259         __libc_creat name.
5260         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5261         Likewise.
5263 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5265         * manual/llio.texi: Add comments discussing why write() may be
5266         considered MT-unsafe on Linux.
5268 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5270         * dl-load.c (local_strdup): Remove.
5271         (expand_dynamic_string_token): Use __strdup.
5272         (decompose_rpath): Likewise.
5273         (_dl_map_object): Likewise.
5275 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5277         [BZ #14132]
5278         * sysdeps/generic/unwind-dw2-fde.c
5279         (__register_frame_info_bases_internal): Do not declare.
5280         (__register_frame_info_table_bases_internal): Likewise.
5281         (__deregister_frame_info_bases_internal): Likewise.
5282         (__register_frame_info_bases): Declare and use hidden_proto before
5283         definition.  Use hidden_def instead of INTDEF.
5284         (__register_frame_info_table_bases): Likewise.
5285         (__deregister_frame_info_bases): Likewise.
5286         (__register_frame_info): Do not use INTUSE.
5287         (__register_frame): Likewise.
5288         (__register_frame_info_table): Likewise.
5289         (__register_frame_table): Likewise.
5290         (__deregister_frame_info): Likewise.
5291         (__deregister_frame): Likewise.
5293 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5295         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5296         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5297         not undefine.
5298         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5299         Likewise.
5300         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5301         Likewise.
5303 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5305         [BZ #14138]
5306         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5307         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5308         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5309         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5310         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5311         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5312         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5313         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5314         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5315         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5316         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5317         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5318         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5319         syscall.
5320         (setfsuid): Likewise.
5321         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5322         (setfsuid): Likewise.
5323         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5324         (setfsuid): Likewise.
5325         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5326         Likewise.
5327         (setfsuid): Likewise.
5328         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5329         (setfsuid): Likewise.
5330         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5331         Likewise.
5332         (setfsuid): Likewise.
5334 2014-10-27  Andreas Schwab  <schwab@suse.de>
5336         [BZ #17501]
5337         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5338         check for Slow_SSE4_2 feature bit.
5339         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5340         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5341         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5342         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5344 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5346         * configure.ac: Validate compiler version with a empirical test of
5347         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5348         $CC -v output.
5349         * configure: Regenerated.
5351         * inet/htons.c (htons): Prototypify.
5352         * inet/htonl.c (htonl): Likewise.
5354 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5356         * string/strncat.c (strncat): Improve performance by using strlen.
5358 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5360         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5362 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5364         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5365         Call libc_fetestexcept_aarch64.
5367 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5369         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5370         Call libc_feholdexcept_aarch64.
5372 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5374         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5375         Call get_rounding_mode.
5377 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5379         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5380         Simplify logic.
5382 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5384         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5385         Simplify logic.
5387 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5389         [BZ #14138]
5390         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5391         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5392         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5393         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5394         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5395         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5396         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5397         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5398         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5399         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5400         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5401         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5402         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5403         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5404         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5405         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5406         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5407         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5408         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5409         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5410         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5411         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5412         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5413         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5414         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5415         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5416         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5417         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5418         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5419         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5420         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5421         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5422         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5423         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5424         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5425         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5426         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5427         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5428         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5429         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5430         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5431         syscall.
5432         (geteuid): Likewise.
5433         (getgid): Likewise.
5434         (getuid): Likewise.
5435         (getresgid): Likewise.
5436         (getresuid): Likewise.
5437         (getgroups): Likewise.
5438         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5439         (geteuid): Likewise.
5440         (getgid): Likewise.
5441         (getuid): Likewise.
5442         (getresgid): Likewise.
5443         (getresuid): Likewise.
5444         (getgroups): Likewise.
5445         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5446         (geteuid): Likewise.
5447         (getgid): Likewise.
5448         (getuid): Likewise.
5449         (getresgid): Likewise.
5450         (getresuid): Likewise.
5451         (getgroups): Likewise.
5452         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5453         Likewise.
5454         (geteuid): Likewise.
5455         (getgid): Likewise.
5456         (getuid): Likewise.
5457         (getresgid): Likewise.
5458         (getresuid): Likewise.
5459         (getgroups): Likewise.
5460         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5461         (geteuid): Likewise.
5462         (getgid): Likewise.
5463         (getuid): Likewise.
5464         (getresgid): Likewise.
5465         (getresuid): Likewise.
5466         (getgroups): Likewise.
5467         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5468         Likewise.
5469         (geteuid): Likewise.
5470         (getgid): Likewise.
5471         (getuid): Likewise.
5472         (getgroups): Likewise.
5474         [BZ #14138]
5475         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5476         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5477         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5478         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5479         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5480         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5481         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5482         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5483         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5484         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5485         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5486         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5487         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5488         __chown.
5489         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5490         (lchown): Likewise.
5491         (fchown): Likewise.
5492         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5493         Likewise.
5494         (lchown): Likewise.
5495         (fchown): Likewise.
5496         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5497         (lchown): Likewise.
5498         (fchown): Likewise.
5499         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5500         Likewise.
5501         (lchown): Likewise.
5502         (fchown): Likewise.
5504 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5506         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5507         Simplify logic.
5509 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5511         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5512         Cleanup logic.
5514 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5516         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5517         Remove unused include.
5519 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5521         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5522         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5523         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5524         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5526 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5527             Helge Deller <deller@gmx.de>
5529         [BZ #17508]
5530         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5531         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5532         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5534 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5536         [BZ #14132]
5537         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5538         Remove macro definition.
5539         (__ashrdi3_v_glibc20): Likewise.
5540         (__lshrdi3_v_glibc20): Likewise.
5541         (__cmpdi2_v_glibc20): Likewise.
5542         (__ucmpdi2_v_glibc20): Likewise.
5543         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5544         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5545         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5546         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5547         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5548         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5550 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5552         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5553         old GNU extension [0] syntax.
5554         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5555         alloca rather than an array member with variable length.
5556         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5557         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5558         (parse_opt): ... here.  Likewise use alloca there.
5559         Validate the -i argument before checking for rootness.
5560         (send_shutdown): New function, broken out of ...
5561         (parse_opt): ... here.
5563 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5565         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5566         macro to get at the _rt_local_ro field.
5567         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5568         ([PIC] case) or _dl_hwcap ([!PIC] case).
5569         * sysdeps/arm/setjmp.S: Likewise.
5571         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5572         * sysdeps/arm/configure.ac: New check to define it.
5573         * sysdeps/arm/configure: Regenerated.
5574         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5575         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5576         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5577         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5578         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5579         Use move/movt pair instead of a load.
5580         (LDST_GLOBAL): Macro removed.
5581         (LDR_GLOBAL): New macro replaces it.
5582         (LDR_HIDDEN): New macro.
5583         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5584         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5586         * setjmp/tst-setjmp-static.c: New file.
5587         * setjmp/Makefile (tests): Add it.
5588         (tests-static): New variable.
5590 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5592         [BZ #17485]
5593         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5595 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5597         [BZ #14132]
5598         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5600 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5602         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5604 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5606         * io/fts.c (dirent_not_directory): New function.
5607         (fts_build): Call it.
5609 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5611         * nptl/version.c (__nptl_main): Use normal __write rather than
5612         INTERNAL_SYSCALL.
5613         (banner): Update copyright years.
5615         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5616         gettimeofday.
5617         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5618         * nptl/pthread_cond_timedwait.c: Likewise.
5619         * nptl/pthread_mutex_timedlock.c: Likewise.
5620         * nptl/sem_timedwait.c: Likewise.
5622         * sysdeps/nptl/bits/libc-lock.h
5623         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5624         (__libc_lock_init_recursive): Return void, not 0.
5625         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5626         (__libc_rwlock_init): Likewise.
5627         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5629 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5631         [BZ #15215]
5632         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5633         (__pthread_once_slow): ... here.
5634         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5635         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5637 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5639         [BZ #15215]
5640         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5641         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5642         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5643         * nptl/pthread_once.c (__pthread_once): Likewise.
5644         Update comments.
5646 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5648         [BZ #14138]
5649         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5650         name.
5651         (writev): Use __libc_writev as strong name.
5652         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5653         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5655 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5657         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5659         * sysdeps/i386/nptl/tls.h
5660         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5661         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5662         New macros.
5663         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5664         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5665         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5666         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5667         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5668         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5670         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5671         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5672         on [__NR_futex].
5673         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5674         broken out of ...
5675         (__pthread_mutex_init): ... here.  Call it.
5676         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5677         Conditionalize PI cases on [__NR_futex].
5678         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5679         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5680         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5682         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5683         conditional on [SIGSETXID].
5684         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5685         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5686         is defined.  Likewise for SIGSETXID.
5687         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5688         Conditionalize definitions on [SIGSETXID].
5689         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5690         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5691         unblocking on [SIGCANCEL].
5693         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5694         [__NR_set_robust_list].
5696 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5698         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5699         (do_compare): Likewise.
5701 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5703         [BZ #15884]
5704         * string/strcoll_l.c: Don't include stdio.h.
5705         (coll_seq): Remove members idxarr and rulearr.
5706         (get_next_seq_cached): Remove function.
5707         (get_next_seq): Likewise.
5708         (get_next_seq_nocache): Rename to get_next_seq.
5709         (do_compare): Remove function.
5710         (do_compare_nocache): Rename to do_compare.
5711         (STRCOLL): Remove weight and rules cache.
5713 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5715         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5716         * sysdeps/arm/sfp-machine.h: ... to here.
5717         * sysdeps/arm/Implies: Remove arm/soft-fp.
5719 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5721         * conform/data/sys/utsname.h-data (*_t): Allow.
5722         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5723         [POSIX] (WEXITED): Do not expect constant.
5724         [POSIX] (WSTOPPED): Likewise.
5725         [POSIX] (WNOHANG): Likewise.
5726         [POSIX] (WNOWAIT): Likewise.
5727         [POSIX] (siginfo_t): Do not expect type or elements.
5728         [POSIX] (pid_t): Do not expect type.
5729         [POSIX] (signal.h): Do not allow header.
5730         [POSIX] (sys/resource.h): Likewise.
5731         [POSIX] (si_*): Do not allow pattern.
5732         [POSIX] (W*): Likewise.
5733         [POSIX] (P_*): Likewise.
5734         [POSIX] (BUS_*): Likewise.
5735         [POSIX] (CLD_*): Likewise.
5736         [POSIX] (FPE_*): Likewise.
5737         [POSIX] (ILL_*): Likewise.
5738         [POSIX] (POLL_*): Likewise.
5739         [POSIX] (SEGV_*): Likewise.
5740         [POSIX] (SI_*): Likewise.
5741         [POSIX] (TRAP_*): Likewise.
5742         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5743         variable.
5745 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5747         [BZ #12926]
5748         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5749         infinite loop when __recvmsg returns 0.
5751 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5753         * CANCEL-FCT-WAIVE: Remove file.
5754         * CANCEL-FILE-WAIVE: Likewise.
5756         [BZ #14132]
5757         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5758         instead of INTVARDEF.
5759         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5760         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5761         rtld_hidden_data_def instead of INTVARDEF.
5762         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5763         * elf/dl-deps.c (expand_dst): Likewise.
5764         * elf/dl-load.c (_dl_dst_count): Likewise.
5765         (_dl_dst_substitute): Likewise.
5766         (decompose_rpath): Likewise.
5767         (_dl_init_paths): Likewise.
5768         (open_path): Likewise.
5769         (_dl_map_object): Likewise.
5770         * elf/rtld.c (dl_main): Likewise.
5771         (process_dl_audit): Likewise.
5772         (process_envvars): Likewise.
5773         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5774         Remove declaration.
5775         (__libc_enable_secure): Use rtld_hidden_proto.
5777 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5779         * elf/dl-load.c
5780         (add_path): New function broken out of _dl_rtld_di_serinfo.
5781         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5783 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5785         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5786         parentheses around macro arguments.
5787         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5788         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5789         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5790         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5791         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5792         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5793         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5794         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5795         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5796         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5797         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5798         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5799         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5800         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5801         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5802         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5803         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5804         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5805         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5806         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5807         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5808         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5809         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5810         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5811         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5812         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5813         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5814         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5815         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5816         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5817         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5818         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5819         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5820         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5821         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5822         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5823         Likewise.
5824         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5825         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5826         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5827         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5828         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5831         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5832         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5833         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5834         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5835         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5836         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5837         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5838         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5839         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5840         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5841         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5842         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5843         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5844         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5845         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5846         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5847         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5848         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5849         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5850         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5851         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5852         (_FP_FRAC_SRS_1): Likewise.
5853         (_FP_FRAC_CLZ_1): Likewise.
5854         (_FP_MUL_MEAT_1_imm): Likewise.
5855         (_FP_MUL_MEAT_1_wide): Likewise.
5856         (_FP_MUL_MEAT_1_hard): Likewise.
5857         (_FP_SQRT_MEAT_1): Likewise.
5858         (_FP_FRAC_ASSEMBLE_1): Likewise.
5859         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5860         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5861         (__FP_CLZ_2): Likewise.
5862         (_FP_MUL_MEAT_2_wide): Likewise.
5863         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5864         (_FP_MUL_MEAT_2_gmp): Likewise.
5865         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5866         (_FP_SQRT_MEAT_2): Likewise.
5867         (_FP_FRAC_ASSEMBLE_2): Likewise.
5868         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5869         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5870         (_FP_FRAC_CLZ_4): Likewise.
5871         (_FP_MUL_MEAT_4_wide): Likewise.
5872         (_FP_MUL_MEAT_4_gmp): Likewise.
5873         (_FP_SQRT_MEAT_4): Likewise.
5874         (_FP_FRAC_ASSEMBLE_4): Likewise.
5875         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5876         * soft-fp/op-common.h (_FP_CMP): Likewise.
5877         (_FP_CMP_EQ): Likewise.
5878         (_FP_CMP_UNORD): Likewise.
5879         (_FP_TO_INT): Likewise.
5880         (_FP_FROM_INT): Likewise.
5881         [!__FP_CLZ] (__FP_CLZ): Likewise.
5882         (_FP_DIV_HELP_imm): Likewise.
5883         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5884         Likewise.
5885         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5886         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5887         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5888         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5889         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5890         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5891         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5892         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5893         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5894         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5896         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5897         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5898         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5899         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5900         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5901         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5902         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5903         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5904         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5905         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5906         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5907         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5908         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5909         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5910         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5911         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5912         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5913         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5914         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5915         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5916         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5917         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5918         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5919         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5920         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5921         (FP_UNPACK_RAW_SP): Likewise.
5922         (FP_PACK_RAW_S): Likewise.
5923         (FP_PACK_RAW_SP): Likewise.
5924         (FP_UNPACK_S): Likewise.
5925         (FP_UNPACK_SP): Likewise.
5926         (FP_UNPACK_SEMIRAW_S): Likewise.
5927         (FP_UNPACK_SEMIRAW_SP): Likewise.
5928         (FP_PACK_S): Likewise.
5929         (FP_PACK_SP): Likewise.
5930         (FP_PACK_SEMIRAW_S): Likewise.
5931         (FP_PACK_SEMIRAW_SP): Likewise.
5932         (_FP_SQRT_MEAT_S): Likewise.
5933         (FP_CMP_S): Likewise.
5934         (FP_CMP_EQ_S): Likewise.
5935         (FP_CMP_UNORD_S): Likewise.
5936         (FP_TO_INT_S): Likewise.
5937         (FP_FROM_INT_S): Likewise.
5939         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5941         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5942         (FP_EX_INVALID_IMZ): Likewise.
5943         (FP_EX_INVALID_IMZ_FMA): Likewise.
5944         (FP_EX_INVALID_ISI): Likewise.
5945         (FP_EX_INVALID_ZDZ): Likewise.
5946         (FP_EX_INVALID_IDI): Likewise.
5947         (FP_EX_INVALID_SQRT): Likewise.
5948         (FP_EX_INVALID_CVI): Likewise.
5949         (FP_EX_INVALID_VC): Likewise.
5950         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5951         "invalid" exceptions.
5952         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5953         (_FP_ADD_INTERNAL): Likewise.
5954         (_FP_MUL): Likewise.
5955         (_FP_FMA): Likewise.
5956         (_FP_DIV): Likewise.
5957         (_FP_CMP_CHECK_NAN): Likewise.
5958         (_FP_SQRT): Likewise.
5959         (_FP_TO_INT): Likewise.
5960         (FP_EXTEND): Likewise.
5962 2014-10-09  Allan McRae  <allan@archlinux.org>
5964         * po/fr.po: Update French translation from translation project.
5966 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5968         [BZ #14132]
5969         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5970         of INTDEF.
5971         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5972         (__cxa_atexit): Use libc_hidden_proto.
5973         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5975         [BZ #14132]
5976         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5977         declaration.
5978         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5979         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5980         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5981         [!_ISOMAC] (__iswctype_internal): Likewise.
5982         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5983         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5984         alias.
5985         (fcntl): Remove __fcntl_internal alias.
5986         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5987         __connect_internal alias.
5988         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5989         Likewise.
5991         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5992         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5993         FP_DENORM_ZERO.
5994         (_FP_CHECK_FLUSH_ZERO): New macro.
5995         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5996         (_FP_CMP): Likewise.
5997         (_FP_CMP_EQ): Likewise.
5998         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5999         FP_DENORM_ZERO.
6000         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6001         (FP_TRUNC): Likewise.
6003         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6004         treated as invalid conversion, not as normal exponent.
6006         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6007         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
6008         (_FP_CMP_EQ): Likewise.
6009         (_FP_CMP_UNORD): Likewise.
6010         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6011         (FP_CMP_EQ_D): Likewise.
6012         (FP_CMP_UNORD_D): Likewise.
6013         * soft-fp/extended.h (FP_CMP_E): Likewise.
6014         (FP_CMP_EQ_E): Likewise.
6015         (FP_CMP_UNORD_E): Likewise.
6016         * soft-fp/quad.h (FP_CMP_Q): Likewise.
6017         (FP_CMP_EQ_Q): Likewise.
6018         (FP_CMP_UNORD_Q): Likewise.
6019         * soft-fp/single.h (FP_CMP_S): Likewise.
6020         (FP_CMP_EQ_S): Likewise.
6021         (FP_CMP_UNORD_S): Likewise.
6022         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6023         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6024         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6025         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6026         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6027         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6028         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6029         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6030         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6031         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6032         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6033         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6034         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6035         to FP_CMP_Q.
6036         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6037         FP_CMP_Q.
6038         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6039         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6040         FP_CMP_EQ_Q.
6041         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6042         FP_CMP_Q.
6043         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6044         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6045         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6046         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6047         FP_CMP_EQ_Q.
6048         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6049         FP_CMP_Q.
6050         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6051         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6052         FP_CMP_EQ_Q.
6053         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6054         FP_CMP_Q.
6055         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6056         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6057         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6058         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6059         FP_CMP_EQ_Q.
6061         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6062         a subnormal result, set the underflow exception if trapping on
6063         underflow is enabled.
6064         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6065         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6066         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6067         redefine to 0.
6068         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6069         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6070         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6071         * soft-fp/extendxftf2.c (__extendxftf2): Use
6072         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6074         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6075         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6076         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6077         FP_HANDLE_EXCEPTIONS.
6078         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6079         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6080         FP_HANDLE_EXCEPTIONS.
6081         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6082         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6083         FP_HANDLE_EXCEPTIONS.
6084         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6085         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6086         FP_HANDLE_EXCEPTIONS.
6088 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
6090         [BZ #14132]
6091         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6092         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6093         use INTUSE.
6094         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6095         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6096         Remove alias.
6097         (__adjtimex): Define using libc_hidden_ver.
6098         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6099         Remove declaration.
6100         (ntp_gettime): Call __adjtimex directly.
6101         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6102         Remove declaration.
6103         (ntp_gettimex): Call __adjtimex directly.
6104         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6105         __adjtimex_internal alias.
6107 2014-10-08  Roland McGrath  <roland@hack.frob.com>
6109         [BZ #17460]
6110         * nscd/nscd.c (more_help): Rewrite list of tables collection
6111         using xstrdup and asprintf.
6113         * nscd/nscd_conf.c: Remove local xstrdup declaration.
6115 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6116             Roland McGrath  <roland@hack.frob.com>
6118         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6119         (do_lookup_unique): ... local function 'enter' here; update callers.
6121 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
6123         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6124         compat_symbol calls on [SHARED].
6125         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6126         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6127         Remove.
6128         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6129         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6130         (oldsetrlimit): Remove.
6131         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6133         (lchown): New syscall entry.
6134         (oldsetrlimit): Remove.
6135         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6136         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6137         (oldsetrlimit): Remove.
6138         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6140         [BZ #14138]
6141         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6142         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6143         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6144         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6145         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6146         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6147         (fchown): Likewise.
6148         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6149         (fchown): Likewise.
6150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6151         Likewise.
6153 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6155         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6156         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6157         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6158         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6159         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6160         Likewise.
6161         (__old_sem_post): Likewise.
6163 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
6165         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6166         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6167         HAVE_CLOCK_GETTIME_VSYSCALL macros.
6168         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6169         Use INLINE_VSYSCALL macro.
6170         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6171         __vdso_clock_gettime.
6172         * sysdeps/unix/sysv/linux/tile/init-first.c
6173         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6174         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6175         __vdso_clock_gettime.
6177         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6178         to set up frame more cleanly.
6180         * sysdeps/tile/memcmp.c: New file.
6182         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6184         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6185         * sysdeps/tile/tilegx/strcasestr.c: New file.
6186         * sysdeps/tile/tilegx/strnlen.c: New file.
6187         * sysdeps/tile/tilegx/strstr.c: New file.
6189         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6191 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
6193         * nptl/tst-setuid3.c: Write errors to stdout.
6195 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6197         * elf/dl-deps.c
6198         (preload): New functions broken out of _dl_map_object_deps.
6199         (_dl_map_object_deps):  Remove a nested function. Update call sites.
6201 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
6203         [BZ #14138]
6204         * sysdeps/unix/sysv/linux/execve.c: Remove file.
6205         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6207 2014-10-01  Steve Ellcey  <sellcey@mips.com>
6209         * sysdeps/mips/strcmp.S: New.
6211 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
6213         [BZ #14138]
6214         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6215         (linkat): Likewise.
6216         (mkdirat): Likewise.
6217         (readlinkat): Likewise.
6218         (renameat): Likewise.
6219         (symlinkat): Likewise.
6220         (unlinkat): Likewise.
6221         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6222         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6223         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6224         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6225         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6226         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6227         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6229 2014-09-30  Will Newton  <will.newton@linaro.org>
6231         * math/math.h: Define long double math functions if
6232         _LIBC_TEST is defined.
6233         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6235         * localedata/Makefile: Move assignment to tests-special
6236         into an ifdef testing run-built-tests.
6237         * timezone/Makefile: Likewise.
6239 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
6241         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6242         with $(BASH) not $(SHELL).
6244 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
6245             Matthew LeGendre  <legendre1@llnl.gov>
6247         [BZ #17411]
6248         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6249         l_reloc_result.
6251 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6253         * stdio-common/printf_fp.c
6254         (hack_digit): New function, broken out of ...
6255         (__printf_fp): ... local function here.  Update call sites.
6256         hack_digit now takes an additional parameter that is a pointer
6257         to a struct of the referenced locals.  Those locals moved inside
6258         the struct and references updated.
6260 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6262         * aclocal.m4: Require autoconf 2.69.
6263         * configure: Regenerated.
6264         * sysdeps/aarch64/configure: Likewise.
6265         * sysdeps/alpha/configure: Likewise.
6266         * sysdeps/arm/armv7/configure: Likewise.
6267         * sysdeps/arm/configure: Likewise.
6268         * sysdeps/ia64/configure: Likewise.
6269         * sysdeps/mach/configure: Likewise.
6270         * sysdeps/mips/configure: Likewise.
6271         * sysdeps/s390/configure: Likewise.
6272         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6275         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6276         file.
6277         * sysdeps/ia64/configure.ac: Likewise.
6279 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6282         specify symbol version for ld.so.  Do not include entry for
6283         libpthread.
6284         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6285         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6286         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6288         [BZ #14171]
6289         * Makeconfig [$(build-shared) = yes]
6290         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6291         makefiles.
6292         [$(build-shared) = yes && $(soversions.mk-done) = t]
6293         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6294         [$(build-shared) = yes && $(soversions.mk-done) = t]
6295         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6296         to Makerules.
6297         [$(build-shared) = yes && $(soversions.mk-done) = t]
6298         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6299         here.
6300         [$(build-shared) = yes && $(soversions.mk-done) = t]
6301         (common-generated): Don't append gnu/lib-names.h and
6302         gnu/lib-names.stmp here.
6303         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6304         (lib-names-h-abi): New variable.
6305         [$(build-shared) = yes && $(soversions.mk-done) = t]
6306         (lib-names-stmp-abi): Likewise.
6307         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6308         abi-variants] (before-compile): Append
6309         $(common-objpfx)$(lib-names-h-abi).
6310         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6311         abi-variants] (common-generated): Append gnu/lib-names.h.
6312         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6313         abi-variants] (install-others-nosubdir): Depend on
6314         $(inst_includedir)/$(lib-names-h-abi).
6315         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6316         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6317         [$(build-shared) = yes && $(soversions.mk-done) = t]
6318         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6319         [$(build-shared) = yes && $(soversions.mk-done) = t]
6320         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6321         [$(build-shared) = yes && $(soversions.mk-done) = t]
6322         (common-generated): Append $(lib-names-h-abi) and
6323         $(lib-names-stmp-abi).
6324         * scripts/lib-names.awk: Do not handle multi being set.
6325         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6326         Remove variable.
6327         (abi-lp64_be-ld-soname): Likewise.
6328         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6329         Likewise.
6330         (abi-hard-ld-soname): Likewise.
6331         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6332         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6333         Remove variable.
6334         (abi-o32_hard-ld-soname): Likewise.
6335         (abi-o32_soft_2008-ld-soname): Likewise.
6336         (abi-o32_hard_2008-ld-soname): Likewise.
6337         (abi-n32_soft-ld-soname): Likewise.
6338         (abi-n32_hard-ld-soname): Likewise.
6339         (abi-n32_soft_2008-ld-soname): Likewise.
6340         (abi-n32_hard_2008-ld-soname): Likewise.
6341         (abi-n64_soft-ld-soname): Likewise.
6342         (abi-n64_hard-ld-soname): Likewise.
6343         (abi-n64_soft_2008-ld-soname): Likewise.
6344         (abi-n64_hard_2008-ld-soname): Likewise.
6345         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6346         Likewise.
6347         (abi-64-v2-ld-soname): Likewise.
6348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6349         ld.so entries.
6350         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6351         variable.
6352         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6353         entry.
6354         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6355         variable.
6356         (abi-64-ld-soname): Likewise.
6357         (abi-x32-ld-soname): Likewise.
6358         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6359         entry.
6360         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6362 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6364         [BZ #14138]
6365         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6366         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6367         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6368         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6369         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6370         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6371         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6372         syscall entry for GLIBC_2.2 symbol version.
6373         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6374         Likewise.
6375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6376         (setrlimit): Likewise.
6377         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6378         Likewise.
6380 2014-09-23  Will Newton  <will.newton@linaro.org>
6382         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6383         _LINUX_ARM_SYSDEP_H include guard too.
6384         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6385         define.
6387 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6389         * sysdeps/unix/sysv/linux/eventfd.c:
6390         Make first argument unsigned.
6391         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6392         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6394 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6396         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6397         * socket/sys/socket.h: Likewise
6398         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6400 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6402         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6404 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6406         * time/tst-ftime.c: New test.
6407         * time/Makefile (tests): Add tst-ftime.
6409 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6411         * soft-fp/extended.h: Fix comment formatting.
6412         * soft-fp/op-1.h: Likewise.
6413         * soft-fp/op-2.h: Likewise.
6414         * soft-fp/op-4.h: Likewise.
6415         * soft-fp/op-8.h: Likewise.
6416         * soft-fp/op-common.h: Likewise.
6417         * soft-fp/soft-fp.h: Likewise.
6419         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6421 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6423         [BZ #6652]
6424         * Makeconfig (soversions-default-setname): Remove variable.
6425         ($(common-objpfx)soversions.i): Don't pass default_setname to
6426         soversions.awk.
6427         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6428         oldest_abi to abi-versions.awk.
6429         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6430         * config.make.in (oldest-abi): Remove variable.
6431         * configure.ac (--enable-oldest-abi): Remove configure option.
6432         * configure: Regenerated.
6433         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6434         text.
6435         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6436         * scripts/soversions.awk: Do not handle default_setname variable.
6437         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6438         variable.
6439         * sysdeps/mach/hurd/configure: Regenerated.
6440         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6441         variable.
6442         * sysdeps/unix/sysv/linux/configure: Regenerated.
6444 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6446         * elf/Makefile (CFLAGS-interp.c): Remove.
6447         ($(elf-objpfx)runtime-linker.h): Generate header with linker
6448         path string.
6449         * elf/interp.c: Include generated runtime-linker.h
6451         * Makerules (lib%.so): Don't include $(+interp) in
6452         prerequisites.
6453         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6454         * dlfcn/eval.c: Remove file.
6456         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6457         macros.
6459         [BZ #17266]
6460         * misc/sys/cdefs.h: Define __extern_always_inline for clang
6461         4.2 and newer.
6463         [BZ #17370]
6464         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6466 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6467             Jakub Jelinek  <jakub@redhat.com>
6469         [BZ #17266]
6470         * libio/stdio.h: Check definition of __fortify_function
6471         instead of __extern_always_inline to include bits/stdio2.h.
6472         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6473         check if __extern_always_inline is defined.
6474         [__USE_MISC || __USE_XOPEN]: Likewise.
6475         [__USE_ISOC99] Likewise.
6476         * misc/sys/cdefs.h (__fortify_function): Define only if
6477         __extern_always_inline is defined.
6478         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6479         __extern_always_inline and __extern_inline only for g++-4.3
6480         and newer or a compatible gcc.
6482 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
6484         [BZ #17371]
6485         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6486         last change to handle zero prefix length.
6488 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6490         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6491         _SC_REGEX_VERSION.
6493         * posix/getconf.c (vars): Add _POSIX_IPV6 and
6494         _POSIX_RAW_SOCKETS.
6496 2014-09-13  Allan McRae  <allan@archlinux.org>
6498         * po/ru.po: Update Russian translation from translation project.
6500 2014-09-12  Roland McGrath  <roland@hack.frob.com>
6502         * locale/programs/locale.c (show_locale_vars): Inline local function
6503         into its sole call site.  Clean up some style nits.
6504         (print_item): New function, broken out of ...
6505         (show_info): ... local function here.  Clean up style nits.
6507         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6508         out of ...
6509         (set_class_defaults): ... local function set_default here.
6510         Define set_default as a macro locally to pass constant parameters.
6511         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6512         rather than a shared local.
6514         * stdlib/rpmatch.c (try): New function, broken out of ...
6515         (rpmatch): ... local function here.  Also, prototypify definition.
6517 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6519         * scripts/soversions.awk: Do not handle configuration names.
6520         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6521         vendor and os variables to soversions.awk.
6522         * configure.ac: Do not modify gnu-* host_os.
6523         * configure: Regenerated
6524         * shlib-versions: Remove first column with configuration names.
6525         * nptl/shlib-versions: Likewise.
6526         * nptl_db/shlib-versions: Likewise.
6527         * sysdeps/hppa/shlib-versions: Likewise.
6528         * sysdeps/m68k/shlib-versions: Likewise.
6529         * sysdeps/mach/hurd/shlib-versions: Likewise.
6530         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6531         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6532         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6533         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6534         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6535         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6536         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6537         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6539         Likewise.
6540         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6541         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6542         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6543         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6544         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6545         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6546         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6547         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6550         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6552         Regenerated.
6553         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6555         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6557         * shlib-versions: Remove OS-specific entries.  Moved to files in
6558         sysdeps.
6559         * sysdeps/mach/hurd/shlib-versions: New file.
6560         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6562         * nptl/shlib-versions: Remove architecture-specific entries.
6563         Moved to files in sysdeps.
6564         * shlib-versions: Likewise.
6565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6566         file.
6567         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6568         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6569         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6570         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6572         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6573         (UDP_NO_CHECK6_RX): Likewise.
6575 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6577         * sysdeps/posix/sysconf.c (__sysconf): Spell
6578         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6580 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6582         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6583         loading.
6584         * iconv/Versions (__gconv_transliterate): Export for use from
6585         gconv modules.
6586         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6587         (struct __gconv_trans_data, __gconv_trans_fct,
6588         __gconv_trans_context_fct, __gconv_trans_query_fct,
6589         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6590         definitions.
6591         (struct __gconv_step_data): Remove __trans member.
6592         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6593         longer hidden.  Remove unused trans_data argument.
6594         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6595         (__gconv_translit_find): Remove declaration.
6596         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6597         prototype.
6598         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6599         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6600         trans_data argument.  Add hidden definition.
6601         (__gconv_translit_find): Remove.
6602         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6603         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6604         * iconv/skeleton.c: Remove transliteration initialization.
6605         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6606         __gconv_step_data initialization.
6607         * libio/iofwide.c (__libio_translit_): Remove.
6608         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6609         * wcsmbs/btowc.c (__btowc): Likewise.
6610         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6611         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6612         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6613         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6614         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6615         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6616         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6617         * wcsmbs/wctob.c (wctob): Likewise.
6619 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6621         [BZ #16194]
6622         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6623         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6624         register usage.
6625         * sysdeps/x86/Makefile: Adjust.
6627 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6628             Roland McGrath  <roland@hack.frob.com>
6630         * locale/weight.h: Add include guard.
6631         (findidx): Make static rather than auto; take new parameters
6632         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6633         * locale/weightwc.h: Likewise.
6634         * posix/fnmatch_loop.c
6635         (FCT): Change type of EXTRA from int32_t to wint_t.
6636         Don't include either header inside the function.
6637         Call FINDIDX rather than findidx, and pass new arguments.
6638         #undef FINDIDX at the end of the file.
6639         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6640         FINDIDX before including fnmatch_loop.c for the non-wide version.
6641         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6642         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6643         for the wide version.
6644         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6645         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6646         Pass new arguments to findidx.
6647         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6648         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6649         Don't #include it inside the function.  Pass new arguments to findidx.
6650         * posix/regex_internal.h
6651         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6652         (re_string_elem_size_at): Don't #include it inside the function.
6653         Pass new arguments to findidx.
6654         * string/strcoll_l.c: #include WEIGHT_H at top level.
6655         (get_next_seq): Don't #include it inside the function.
6656         Pass new arguments to findidx.
6657         (get_next_seq_nocache): Likewise.
6658         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6659         (STRXFRM): Don't #include it inside the function.
6660         Pass new arguments to findidx.
6662 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6664         [BZ #17344]
6665         * malloc/malloc.c (unlink): Turn asserts into a call to
6666         malloc_printerr.
6668 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6670         [BZ #17370]
6671         * libio/wfileops (do_ftell_wide): Free OUT.
6673 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6675         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6677 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6679         [BZ #17363]
6680         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6681         group if the current group is empty.
6683 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6685         * benchtests/bench-memset.c (test_main): Add more test from size
6686         from 32 to 512 bytes.
6687         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6688         Add POWER8 memset object.
6689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6690         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6691         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6692         implementation.
6693         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6694         Likewise.
6695         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6696         multiarch POWER8 memset optimization.
6697         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6698         POWER8 memset optimization.
6700         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6701         Remove bzero multiarch objects.
6702         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6703         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6704         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6705         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6706         Remove define.
6707         [__bzero]: Redefine to specific name.
6708         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6709         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6710         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6711         define.
6712         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6713         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6715 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6717         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6718         warnings into errors.
6720         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6721         __cxa_thread_atexit_impl prototype.
6723 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6725         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6726         Fix capitalization of error message.
6728 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6730         * sysdeps/mips/preconfigure: Modify ABI tests.
6732 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6734         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6736 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6737             Carlos O'Donell  <carlos@systemhalted.org>
6739         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6740         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6741         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6742         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6743         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6744         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6745         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6746         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6747         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6748         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6749         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6750         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6751         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6752         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6753         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6754         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6755         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6756         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6757         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6758         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6759         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6760         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6761         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6762         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6763         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6764         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6765         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6766         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6767         Deconditionalize the code that was previously under [RESET_PID].
6768         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6769         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6770         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6771         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6772         include sysdep.h.
6774 2014-09-08  Allan McRae  <allan@archlinux.org>
6776         * version.h (RELEASE): Set to "development".
6777         (VERSION): Set to "2.20.90"
6779 2014-09-07  Allan McRae  <allan@archlinux.org
6781         * version.h (RELEASE): Set to "stable".
6782         (VERSION): Set to "2.20"
6783         * include/features.h (__GLIBC_MINOR__): Set to 20.
6785         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6786         Liebler.
6788         * po/ko.po: Update Korean translation from translation project.
6790 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6792         [BZ #17354]
6793         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6794         macro for handling signed relocations.
6796 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6798         [BZ #17325]
6799         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6800         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6801         assert.
6802         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6803         * iconvdata/ibm935.c (BODY): Likewise.
6804         * iconvdata/ibm937.c (BODY): Likewise.
6805         * iconvdata/ibm939.c (BODY): Likewise.
6806         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6807         assert.
6808         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6809         script.
6810         * iconvdata/run-iconv-test.sh: New test loop for checking for
6811         decoder crashers.
6813 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6815         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6816         libm_hidden_ver.
6818 2014-09-01  Allan McRae  <allan@archlinux.org>
6820         * po/eo.po: Update Esperanto translation from translation project.
6822         * po/ca.po: Update Catalan translation from translation project.
6824 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6826         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6827         __proc_dostop call.
6829 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6831         [BZ #17319]
6832         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6833         to call set_thread_area instead of hand written asm.
6834         (__NR_set_thread_area): Removed define.
6835         (TLS_FLAG_WRITABLE): Likewise.
6836         (__ASSUME_SET_THREAD_AREA): Remove check.
6837         (TLS_EBX_ARG): Remove define.
6838         (TLS_LOAD_EBX): Likewise.
6840 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6842         Simplify atomicity of socket creation in bind.
6844         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6845         looking up the name after linking the file.
6847 2014-08-27  Allan McRae  <allan@archlinux.org>
6849         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6851 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6853         [BZ #17187]
6854         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6855         trans_compare, open_translit, __gconv_translit_find):
6856         Remove module loading code.
6858 2014-08-26  Allan McRae  <allan@archlinux.org>
6860         * po/vi.po: Update Vietnamese translation from translation project.
6862         * po/uk.po: Update Ukrainian translation from translation project.
6864         * po/fr.po: Update French translation from translation project.
6866         * po/ru.po: Update Russian translation from translation project.
6868         * po/pl.po: Update Polish translation from translation project.
6870         * po/cs.po: Update Czech translation from translation project.
6872         * po/de.po: Update German translation from translation project.
6874         * po/bg.po: Update Bulgarian translation from translation project.
6876         * po/sv.po: Update Sweedish translation from translation project.
6878         * po/nl.po: Update Dutch translation from translation project.
6880         * po/es.po: Update Spanish translation from translation project.
6882 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6884         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6886         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6887         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6888         (CPPFLAGS-iconvconfig): Likewise.
6889         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6891         * include/libc-symbols.h: Remove unnecessary check for
6892         NOT_IN_libc.
6893         * nptl/pthreadP.h: Likewise.
6894         * sysdeps/aarch64/setjmp.S: Likewise.
6895         * sysdeps/alpha/setjmp.S: Likewise.
6896         * sysdeps/arm/sysdep.h: Likewise.
6897         * sysdeps/i386/setjmp.S: Likewise.
6898         * sysdeps/m68k/setjmp.c: Likewise.
6899         * sysdeps/posix/getcwd.c: Likewise.
6900         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6901         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6902         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6903         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6904         * sysdeps/sh/sh3/setjmp.S: Likewise.
6905         * sysdeps/sh/sh4/setjmp.S: Likewise.
6906         * sysdeps/unix/alpha/sysdep.h: Likewise.
6907         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6908         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6909         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6910         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6913         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6914         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6915         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6916         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6917         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6918         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6919         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6920         * sysdeps/x86_64/setjmp.S: Likewise.
6922 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6924         [BZ #17263]
6925         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6926         <stdint.h>.
6927         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6928         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6930 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6932         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6934         [BZ #17262]
6935         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6936         and __x86_64__ when disabling x87 inline functions.
6938 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6940         [BZ #17259]
6941         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6942         asm statement with __cpuid_count.
6944 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6946         * configure.ac: Change __ehdr_start code to dereference the struct.
6947         Run readelf on the output to look for relocations.
6948         * configure: Regenerated.
6950 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6952         [BZ #17261]
6953         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6954         value to 0.
6955         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6957 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6959         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6961 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6963         [BZ #16892]
6964         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6965         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6967 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6969         * malloc/malloc.c: Fix typo in comment.
6971 2014-08-09  Allan McRae  <allan@archlinux.org>
6973         * Regenerate libc.po.
6975 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6977         * intl/tst-gettext2.sh: Check every lang file for creation.
6979 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6981         * sysdeps/aarch64/fpu/math_private.h
6982         (libc_feholdsetround_noex_aarch64_ctx): New function.
6984 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6986         * sysdeps/arm/armv6/strcpy.S (strcpy):
6987         Fix performance issue in misaligned cases.
6989 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6991         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6992         Move definition from termios.h.
6993         (struct termio): Likewise.
6994         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6995         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6996         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6997         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6998         Likewise.
6999         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7000         Move definition to ioctl-types.h
7001         (struct termio): Likewise.
7002         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7003         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7004         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7005         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7006         Likewise.
7008 2014-08-05  Richard Henderson  <rth@redhat.com>
7010         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7011         exceptions.
7012         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7013         Add fraiseexcpt.
7014         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7015         Use __feraiseexcept.
7016         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7017         Protect libm symbols with IS_IN_libm.
7019         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7021 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
7023         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7025 2014-08-04  Will Newton  <will.newton@linaro.org>
7027         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7028         file.
7030 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
7032         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7033         variants for each function.
7035 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7037         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7038         appended ...
7039         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7040         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7041         appended ...
7042         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7043         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7044         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7045         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7046         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7047         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7048         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7049         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7050         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7051         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7052         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7053         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7054         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7055         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7056         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7057         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7058         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7059         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7060         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7061         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7062         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7063         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7064         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7065         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7066         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7067         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7068         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7069         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7070         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7071         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7072         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7073         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7074         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7075         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7076         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7077         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7078         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7079         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7080         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7081         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7082         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7083         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7084         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7085         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7086         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7087         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7088         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7089         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7090         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7091         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7092         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7093         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7094         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7095         Update #include.
7096         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7097         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7099 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7101         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7102         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7103         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7104         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7105         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7106         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7108 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7110         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7111         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7112         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7113         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7115 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7117         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7118         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7119         (__libc_vfork): Define function under this name.
7120         (__vfork): Define as an alias.
7121         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7122         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7124 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7126         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7127         that was previously under [RESET_PID].
7128         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7130 2014-08-04  Andreas Schwab  <schwab@suse.de>
7132         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7134 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
7136         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7137         (main): Likewise.
7139 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7141         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7143 2014-08-01  Richard Henderon  <rth@redhat.com>
7145         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7146         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7147         typo in exact zero test.
7148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7149         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7150         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7152 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7154         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7155         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7156         * sysdeps/arm/sysdep.h: ... here.
7157         [!__ASSEMBLER__]: Include <stdint.h>.
7159 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7161         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7162         (HAVE_WCTYPE_H): Likewise.
7163         (HAVE_ISWCTYPE): Likewise.
7164         (ENABLE_NLS): Likewise.
7165         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7166         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7168         * posix/regex_internal.c: Check if DEBUG is defined and is
7169         set.
7171         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7172         (HAVE_MBSRTOWCS): Likewise.
7173         * posix/fnmatch.c: Include string.h unconditionally.
7175 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7177         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7178         reversal.
7180 2014-07-31  Roland McGrath  <roland@hack.frob.com>
7182         * sysdeps/generic/safe-fatal.h: New file.
7183         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7184         * nptl/forward.c: Include it.
7185         (__pthread_unwind): Use __safe_fatal as default action, rather
7186         than a bogus use of INTERNAL_SYSCALL that could never work.
7188         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7189         * configure.ac (libc_cv_builtin_trap): New test.
7190         * configure: Regenerated.
7191         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7192         (ABORT_INSTRUCTION): Define using __builtin_trap.
7194         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7195         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7196         * sysdeps/nptl/nptl-signals.h: New file.
7197         * nptl/pthreadP.h: Include <nptl-signals.h>.
7199 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7201         * sysdeps/s390/s390-64/utf16-utf32-z9.c
7202         (ONE_DIRECTION): Define.
7203         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7204         (ONE_DIRECTION): Define.
7205         * sysdeps/s390/s390-64/utf8-utf32-z9.c
7206         (ONE_DIRECTION): Define.
7208 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7210         * sysdeps/s390/Makefile: Delete file.
7211         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7212         * sysdeps/s390/__longjmp.c: Delete file.
7213         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7214         Remove fields __flags and __reserved.
7215         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7216         and add versioning.
7217         * sysdeps/s390/rtld-__longjmp.c: Delete file.
7218         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7219         * sysdeps/s390/rtld-setjmp.S: Likewise.
7220         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7221         * sysdeps/s390/s390-32/__longjmp.c: ... here.
7222         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7223         * sysdeps/s390/s390-32/setjmp.S: ... here.
7224         Add versioning.
7225         (__sigsetjmp): Remove setting __flags field.
7226         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7227         * sysdeps/s390/s390-64/__longjmp.c: ... here.
7228         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7229         * sysdeps/s390/s390-64/setjmp.S: ... here.
7230         Add versioning.
7231         (__sigsetjmp): Remove setting __flags field.
7232         * sysdeps/s390/setjmp.S: Delete file.
7233         * sysdeps/s390/sigjmp.c: Likewise.
7234         * sysdeps/s390/v1-longjmp.c: Likewise.
7235         * sysdeps/s390/v1-setjmp.h: Likewise.
7236         * sysdeps/s390/v1-sigjmp.c: Likewise.
7237         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7238         Remove v1-longjmp_chk.
7239         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7240         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7241         Include debug/longjmp_chk.c and add versioning.
7242         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7243         Include nptl/pt-longjmp.c and add versioning.
7244         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7245         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7246         Include __longjmp.c.
7247         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7248         Move to ...
7249         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7250         (__getcontext): Remove setting __flags field.
7251         Add versioning.
7252         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7253         Don't restore upper high grps.
7254         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7255         Likewise.
7256         (__swapcontext): Remove setting uc_flags field.
7257         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7258         Delete file.
7259         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7260         Include __longjmp.c.
7261         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7262         Move to ...
7263         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7264         (__getcontext): Remove setting __flags field.
7265         Add versioning.
7266         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7267         (__swapcontext): Remove setting uc_flags field.
7268         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7269         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7270         Remove fields uc_high_gprs and __reserved.
7271         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7272         New file with reverted content.
7273         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7274         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7275         Regenerated.
7276         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7277         Regenerated.
7279 2014-07-31  Andreas Schwab  <schwab@suse.de>
7281         * config.h.in (HAVE_IFUNC): Define to 0.
7282         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7283         definedness.
7285 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7288         memmove-avx-unaligned, memcpy-avx-unaligned and
7289         mempcpy-avx-unaligned.
7290         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7291         Add tests for AVX memcpy functions.
7292         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7293         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7294         memcpy_chk.
7295         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7296         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7297         memmove_chk.
7298         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7299         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7300         mempcpy_chk.
7301         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7302         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7303         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7305 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7307         [BZ #17213]
7308         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7309         powerpc64le.
7311 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7313         [BZ #16839]
7314         * manual/llio.texi: Add section about open file description locks.
7315         * manual/examples/ofdlocks.c: Example of open file description
7316         lock usage.
7317         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7318         F_OFD_SETLK, and F_OFD_SETLKW.
7320 2014-07-23  Allan McRae  <allan@archlinux.org>
7322         * po/es.po: Update Spanish translation from translation project.
7324 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7326         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7328 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7330         [BZ #17078]
7331         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7332         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7333         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7335 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7337         [BZ #17088]
7338         * math/fesetenv.c (__fesetenv)
7339         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7340         * math/feupdateenv.c (__feupdateenv)
7341         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7343         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7344         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7345         (__ASSUME_SOCKETCALL): Do not define.
7347         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7348         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7349         (__ASSUME_SOCKETCALL): Do not define.
7350         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7351         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7352         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7353         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7354         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7355         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7356         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7357         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7359         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7360         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7361         (__ASSUME_SOCKETCALL): Do not define.
7362         (__ASSUME_IPC64): Define unconditionally.
7363         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7364         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7365         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7366         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7367         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7368         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7369         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7370         Likewise.
7372         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7373         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7374         (__ASSUME_SOCKETCALL): Do not define.
7375         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7376         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7377         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7378         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7379         (__ASSUME_REQUEUE_PI): Define unconditionally.
7380         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7381         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7382         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7383         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7384         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7385         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7387         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7388         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7389         (__ASSUME_SOCKETCALL): Do not define.
7390         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7391         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7392         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7393         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7394         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7395         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7397         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7398         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7399         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7400         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7401         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7402         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7403         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7404         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7405         (__ASSUME_GETCPU_SYSCALL): Likewise.
7407         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7408         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7409         cases for individual architectures.
7410         * sysdeps/gnu/configure: Regenerated.
7411         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7412         LIBC_SLIBDIR_RTLDDIR.
7413         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7414         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7415         LIBC_SLIBDIR_RTLDDIR.
7416         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7418         LIBC_SLIBDIR_RTLDDIR.
7419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7420         Regenerated.
7421         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7422         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7423         file.
7424         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7425         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7426         file.
7427         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7428         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7429         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7430         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7432         * sysdeps/aarch64/shlib-versions: Move to ...
7433         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7434         * sysdeps/alpha/shlib-versions: Move to ...
7435         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7436         * sysdeps/arm/shlib-versions: Move to ...
7437         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7438         * sysdeps/hppa/shlib-versions: Move all contents except for
7439         libgcc_s entry to ...
7440         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
7441         entry from ...
7442         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
7443         * sysdeps/ia64/shlib-versions: Move to ...
7444         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
7445         entry from ...
7446         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
7447         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7448         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7449         * sysdeps/microblaze/shlib-versions: Move to ...
7450         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7451         * sysdeps/mips/shlib-versions: Move to ...
7452         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
7453         entry from ...
7454         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
7455         * sysdeps/tile/shlib-versions: Move to ...
7456         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7457         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7458         from ...
7459         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
7460         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7461         entry from ...
7462         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
7464 2014-07-17  Will Newton  <will.newton@linaro.org>
7466         * sysdeps/arm/bits/atomic.h
7467         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7468         (__arch_compare_and_exchange_bool_16_int): Likewise.
7469         (__arch_compare_and_exchange_bool_64_int): Likewise.
7471         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7472         into an #else block.
7474 2014-07-16  Roland McGrath  <roland@hack.frob.com>
7476         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7477         just Linux configurations.  Test empirically that the compiler sets
7478         __ARM_EABI__, rather than using the tuple to decide.
7479         * sysdeps/arm/preconfigure: Regenerated.
7480         * sysdeps/unix/sysv/linux/arm/configure: File removed.
7481         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7482         contents appended ...
7483         * sysdeps/arm/configure.ac: ... here.
7484         * sysdeps/arm/configure: Regenerated.
7486 2014-07-15  Roland McGrath  <roland@hack.frob.com>
7488         * nptl/pthread_kill.c: New file.
7489         * nptl/pthread_sigmask.c: New file.
7490         * nptl/pthread_sigqueue.c: New file.
7492         * sysdeps/nptl/lowlevellock.h: New file.
7493         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7494         * sysdeps/nptl/lowlevellock-futex.h: New file.
7496         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7497         Remove dead declarations.
7499 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7501         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7502         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7503         config-cflags-avx2.
7504         * sysdeps/x86_64/configure.ac: Likewise.
7505         * sysdeps/i386/configure: Regenerated.
7506         * sysdeps/x86_64/configure: Likewise.
7507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7508         memset-avx2 only if config-cflags-avx2 is yes.
7509         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7510         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7511         defined.
7512         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7513         only if HAVE_AVX2_SUPPORT is defined.
7514         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7516 2014-07-14  Alan Modra  <amodra@gmail.com>
7518         [BZ #17153]
7519         * elf/elf.h (DT_PPC64_NUM): Correct value.
7520         * NEWS: Add to fixed bug list.
7522 2014-07-13  Jim Meyering  <meyering@fb.com>
7524         [BZ 17150]
7525         regex: don't deref NULL upon heap allocation failure
7526         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7527         failure in one more place.
7528         To trigger the segfault, configure grep -with-included-regex,
7529         build it, and run these commands:
7530         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7532 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7534         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7536 2014-07-11  Richard Henderson  <rth@redhat.com>
7538         * sysdeps/aarch64/libm-test-ulps: Update.
7540 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7542         [BZ #17135]
7543         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7544         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7545         (__nptl_setxid): Initialize error member.  Call
7546         __nptl_setxid_error.
7547         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7548         * nptl/descr.h (struct xid_command): Add error member.
7549         * nptl/tst-setuid3.c: New file.
7550         * nptl/Makefile (tests): Add it.
7552 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7554         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7555         New define.
7556         (__lll_trylock): Use __lll_base_trylock.
7557         (__lll_cond_trylock): Likewise.
7559 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7561         * nptl/pthread_create.c (start_thread): Use atomic_or and
7562         lll_futex_wake directly rather than lll_robust_dead.
7563         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7564         (lll_robust_dead): Macro removed.
7565         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7566         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7567         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7568         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7569         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7570         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7571         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7572         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7573         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7574         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7575         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7576         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7577         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7578         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7579         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7581         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7582         Use atomic_compare_and_exchange_val_acq directly rather than
7583         lll_robust_trylock.
7584         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7585         (__lll_robust_trylock, lll_robust_trylock): Removed.
7586         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7587         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7588         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7589         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7590         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7591         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7592         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7593         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7594         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7595         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7596         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7597         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7598         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7599         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7601 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7603         * manual/locale.texi (Locale Names): New section documenting
7604         locale name syntax.  Adjust menu and node chaining accordingly.
7605         (Choosing Locale): Reference Locale Names, Locale Categories.
7606         Mention setting LC_ALL=C.  Reflect that name syntax is now
7607         documented.
7608         (Locale Categories): New section title.  Reference Locale Names.
7609         LC_ALL is an environment variable, but not a category.
7610         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7611         description, now in Locale Name.  Reference that section.  Locale
7612         name syntax is now documented.
7614 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7616         [BZ #17137]
7617         * locale/findlocale.c (name_present, valid_locale_name): New
7618         functions.
7619         (_nl_find_locale): Use the loc_name variable to store name
7620         candidates.  Call name_present and valid_locale_name to check and
7621         validate locale names.  Return an error if the locale is invalid.
7623 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7625         * locale/setlocale.c (setlocale): Use strdup for allocating
7626         composite name copy.
7628 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7630         Sync up with gnulib.
7631         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7632         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7633         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7634         and _GL_ARG_NONNULL.
7635         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7636         [!_LIBC]: Include code for Windows and Cygwin.
7637         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7638         Include prototype for int strerror_r.
7639         [!_LIBC] (is_open): New function.
7640         (flush_stdout): New function.
7641         (print_errno_message): Use it.
7642         (error): Likewise.
7643         (error_at_line): Likewise.
7644         (error_tail) Add function attribute macros.  Use
7645         __builtin_expect.
7647         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7649         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7651         * io/ftw.c: Include sys/param.h unconditionally.
7653         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7655         [BZ #17125]
7656         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7657         libc_freeres_ptr.
7658         (freecache): New function to free CACHE on exit.
7660         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7661         initialization.
7663 2014-07-09  David S. Miller  <davem@davemloft.net>
7665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7667         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7668         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7669         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7670         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7671         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7672         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7673         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7674         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7675         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7676         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7677         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7678         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7679         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7681 2014-07-09  Andreas Schwab  <schwab@suse.de>
7683         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7684         output.
7685         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7686         (do_test): Likewise.
7688         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7690 2014-07-09  Will Newton  <will.newton@linaro.org>
7692         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7693         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7694         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7695         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7696         * sysdeps/hppa/start.S (_start): Likewise.
7698 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7700         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7702         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7703         defined.
7705 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7707         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7708         after checking that it is non-NULL.
7710         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7712 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7714         * sysdeps/powerpc/memmove.c: Remove file.
7715         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7716         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7717         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7718         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7719         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7720         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7721         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7722         string memmove instead of removed powerpc one.
7724         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7725         [weak_alias]: Fix compiler warning due trailing data.
7726         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7727         [weak_alias]: Likewise.
7728         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7729         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7732         (__libc_ifunc_impl_list): Add memmove functions.
7734 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7736         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7737         Remove code.
7738         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7739         Likewise
7740         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7741         Likewise
7742         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7743         Likewise
7744         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7745         Likewise
7746         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7747         Likewise
7748         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7749         Likewise
7750         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7751         Likewise
7752         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7753         Likewise
7754         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7755         Likewise
7756         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7757         Likewise
7758         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7759         Likewise
7760         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7761         Likewise
7762         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7763         Likewise
7764         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7765         Likewise
7766         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7767         Likewise
7768         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7769         Likewise
7771 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7773         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7774         to avoid alignment traps in non-cacheable memory.
7775         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7778         multiarch objects.
7779         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7780         file: multiarch power7 memmove.
7781         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7782         multiarch default memmove.
7783         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7784         multiarch memove for powerpc32/power4.
7786         * string/bcopy.c: Use full path to include memmove.c.
7787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7788         multiarch objects.
7789         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7790         bcopy for powerpc64.
7791         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7792         bcopy for powerpc64.
7793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7794         and memmove implementations.
7795         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7796         optimized multiarch memmove for POWER7/powerpc64.
7797         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7798         default multiarch memmove for powerpc64.
7799         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7800         multiarch for powerpc64.
7801         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7802         for POWER7/powerpc64.
7803         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7804         memmove for POWER7/powerpc64.
7806         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7807         glibc default one.
7809         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7810         __ELF_NATIVE_CLASS equal to 64.
7812 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7814         * sysdeps/nptl/lowlevellock.h: File removed.
7816         * NEWS: NPTL is no longer an add-on!
7817         * nptl/internaltypes.h: Moved ...
7818         * sysdeps/nptl/internaltypes.h: ... here.
7819         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7820         * sysdeps/nptl/fork.c: Likewise.
7821         * sysdeps/nptl/gai_misc.h: Likewise.
7822         * sysdeps/nptl/librt-cancellation.c: Likewise.
7823         * sysdeps/nptl/jmp-unwind.c: Likewise.
7824         * sysdeps/nptl/setxid.h: Likewise.
7825         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7826         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7827         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7828         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7829         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7830         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7831         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7832         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7833         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7834         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7835         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7836         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7837         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7838         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7839         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7840         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7841         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7842         * nptl/Makeconfig: Moved ...
7843         * sysdeps/nptl/Makeconfig: ... here.
7844         * nptl/configure: File removed.
7845         * nptl/ANNOUNCE: File removed.
7846         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7847         * sysdeps/unix/sysv/linux/configure: Regenerated.
7849         * nptl/Makefile (routines): Add libc_pthread_init,
7850         libc_multiple_threads, register-atfork and unregister-atfork.
7851         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7852         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7853         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7854         pthread-pi-defines.sym, structsem.sym.
7855         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7856         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7857         [$(subdir) = nptl] (tests): Add tst-setgetname.
7858         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7859         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7860         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7861         [!LIBC_SIGACTION]: Remove aliases.
7862         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7863         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7864         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7865         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7866         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7867         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7868         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7869         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7870         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7871         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7872         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7873         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7874         __libc_allocate_rtsig_private.
7875         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7876         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7877         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7878         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7879         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7880         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7881         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7882         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7883         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7884         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7885         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7886         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7887         * nptl/internaltypes.h: ... here.
7888         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7889         * sysdeps/nptl/jmp-unwind.c: ... here.
7890         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7891         * nptl/libc-lowlevellock.c: ... here.
7892         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7893         * nptl/libc_multiple_threads.c: ... here.
7894         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7895         * nptl/libc_pthread_init.c: ... here.
7896         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7897         * nptl/lowlevelbarrier.sym: ... here.
7898         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7899         * nptl/lowlevelcond.sym: ... here.
7900         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7901         * nptl/lowlevellock.c: ... here.
7902         * nptl/lowlevellock.h: Moved ...
7903         * sysdeps/nptl/lowlevellock.h: ... here.
7904         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7905         * nptl/lowlevelrobustlock.c: ... here.
7906         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7907         * nptl/lowlevelrobustlock.sym: ... here.
7908         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7909         * nptl/lowlevelrwlock.sym: ... here.
7910         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7911         * nptl/pt-fork.c: ... here.
7912         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7913         * nptl/pthread-pi-defines.sym: ... here.
7914         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7915         * nptl/pthread_attr_getaffinity.c: ... here.
7916         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7917         * nptl/pthread_attr_setaffinity.c: ... here.
7918         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7919         * nptl/pthread_mutex_cond_lock.c: ... here.
7920         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7921         Update #include.
7922         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7923         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7924         * nptl/pthread_once.c: ... here, replacing old file.
7925         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7926         * nptl/pthread_yield.c: ... here.
7927         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7928         * nptl/register-atfork.c: ... here.
7929         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7930         * nptl/sem_post.c: ... here.
7931         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7932         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7933         * nptl/sem_timedwait.c: ... here.
7934         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7935         * nptl/sem_trywait.c: ... here.
7936         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7937         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7938         * nptl/sem_wait.c: ... here.
7939         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7940         * nptl/structsem.sym: ... here.
7941         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7942         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7943         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7944         * nptl/unregister-atfork.c: ... here.
7945         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7946         * nptl/unwindbuf.sym: ... here.
7947         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7948         * sysdeps/nptl/fork.c: ... here.
7949         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7950         * sysdeps/nptl/fork.h: ... here.
7951         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7952         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7953         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7954         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7955         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7956         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7957         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7958         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7959         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7960         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7961         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7962         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7963         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7964         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7965         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7966         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7967         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7968         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7969         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7970         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7971         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7972         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7973         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7974         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7975         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7976         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7977         * sysdeps/unix/sysv/linux/raise.c: ... here.
7978         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7979         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7980         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7981         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7982         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7983         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7984         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7985         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7986         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7987         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7988         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7989         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7990         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7991         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7992         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7994 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7996         * sysdeps/generic/memcopy.h: Add comment for
7997         MEMCPY_OK_FOR_FWD_MEMMOVE.
7999 2014-07-04  Will Newton  <will.newton@linaro.org>
8001         * string/memchr.c: Merge from gnulib.
8002         [_LIBC]: Remove conditionals.
8003         (__ptr_t): Remove define.
8004         (LONG_MAX_32_BITS): Likewise.
8005         (LONG_MAX): Likewise.
8006         (MEMCHR): Use ANSI prototype and optimize algorithm.
8008         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8010 2014-07-03  Roland McGrath  <roland@hack.frob.com>
8012         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8013         (lll_futex_timed_wait_bitset): Fix syscall argument count.
8015         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8016         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8017         in a bare environment with no <stdlib.h> installed.
8018         * sysdeps/nptl/configure: Regenerated.
8020         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8022         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8023         AC_EGREP_CPP for kernel header checks, so they only succeed if
8024         including <linux/version.h> actually works right.
8025         * sysdeps/unix/sysv/linux/configure: Regenerated.
8027         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8028         value so it's not diagnosed as unused.
8030         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8031         thing) with "ifeq ($(subdir),rt)".
8033 2014-07-03  Richard Henderson  <rth@redhat.com>
8035         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8036         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8037         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8039         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8040         (math_force_eval): New.
8042         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8043         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8045         * sysdeps/alpha/fpu/s_round.c: Remove file.
8046         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8048         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8049         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8050         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8051         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8052         (_dl_start, print_statistics): Likewise.
8053         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8054         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8056         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8057         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8058         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8059         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8060         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8061         (HP_SMALL_TIMING_AVAIL): Define.
8062         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8063         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8064         (HP_SMALL_TIMING_AVAIL): Define.
8065         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8066         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8068         * sysdeps/aarch64/hp-timing.h: New file.
8070         * sysdeps/generic/hp-timing.h: Remove dead comment.
8071         * sysdeps/generic/hp-timing-common.h: New file.
8072         * sysdeps/alpha/hp-timing.h: Include it.
8073         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8074         * sysdeps/i386/i686/hp-timing.h: Likewise.
8075         * sysdeps/ia64/hp-timing.h: Likewise.
8076         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8077         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8078         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8079         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8080         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8081         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8082         (hp_timing_t): New.
8084         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8085         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8086         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8087         * elf/rtld.c (_dl_start_final): Likewise.
8088         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8089         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8090         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8091         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8092         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8093         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8094         (HP_TIMING_DIFF_INIT): Remove.
8095         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8096         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8097         (HP_TIMING_DIFF_INIT): Remove.
8098         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8099         * sysdeps/i386/i686/hp-timing.c: Remove file.
8100         * sysdeps/x86_64/hp-timing.c: Remove file.
8101         * sysdeps/ia64/hp-timing.c: Remove file.
8102         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8103         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8104         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8105         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8107         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8108         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8109         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8110         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8111         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8112         (HP_TIMING_ACCUM): Remove.
8113         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8114         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8115         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8117         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8118         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8119         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8120         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8121         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8122         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8123         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8124         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8126         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8128 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
8130         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8132 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8134         Sync up with gettext.
8135         * intl/loadmsgcat.c: Define O_BINARY if not defined.
8136         [_MSC_VER]: Include malloc.h
8137         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8138         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8139         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
8140         TEMP_FAILURE_RETRY.  Cast return of alloca.
8141         [!_LIBC] Call gl_rwlock_init.
8142         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8144 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8146         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8147         before checking its value.
8149 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8151         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8153         * debug/memcpy_chk.c: Don't include pagecopy.h.
8154         * debug/mempcpy_chk.c: Likewise.
8155         * string/memcpy.c: Likewise.
8156         * string/memmove.c: Likewise.
8157         * sysdeps/powerpc/memmove.c: Likewise.
8158         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
8159         definition of PAGE_COPY_FWD_MAYBE here...
8160         * sysdeps/generic/pagecopy.h: ... from here.
8161         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8163 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8164             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8166         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8168         optimizations.
8169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8170         (__libc_ifunc_impl_list): Likewise.
8171         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8172         multiarch strcat for PPC64.
8173         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8174         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8176 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8178         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8180 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8182         * intl/loadmsgcat.c: Remove declaration of
8183         get_sysdep_segment_value.
8184         (get_sysdep_segment_value): Use ISO C style.
8185         (_nl_load_domain): Use ISO C style.  Get rid of redundant
8186         semicolon.  Fix typo and formatting in comment.
8187         (_nl_unload_domain): Use ISO C style.
8189         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8191 2014-07-02  Will Newton  <will.newton@linaro.org>
8193         * malloc/obstack.c: Merge from gnulib master.
8194         [HAVE_CONFIG_H]: Remove conditional code.
8195         [!_LIBC]: Include config.h.
8196         [!ELIDE_CODE]: Don't include inttypes.h, include
8197         stdint.h unconditionally.
8198         (print_and_abort): Mark as _Noreturn.
8199         (_obstack_allocated_p): Mark as __attribute_pure__.
8200         (obstack_free): Rename to __obstack_free.
8201         [!__attribute__]: Remove conditional code.
8202         * malloc/obstack.h: Merge from gnulib master.
8203         [__cplusplus]: Move conditional down.
8204         [!__attribute_pure__]: Define __attribute_pure__ here
8205         if it is not already defined.
8206         (_obstack_memory_used): Mark as __attribute_pure__.
8207         [!__obstack_free]: Define as obstack_free.
8208         [__GNUC__]: Remove check for ancient NeXT gcc.
8210 2014-07-02  Will Newton  <will.newton@linaro.org>
8211             Paul Eggert  <eggert@cs.ucla.edu>
8213         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8215 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8217         * resolv/gethnamaddr.c: Add comment warning that the file is
8218         not maintained.
8220 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
8222         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8223         entries.
8225         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8226         entry for aio_cancel and aio_cancel64.
8227         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8228         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8229         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8230         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8231         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8232         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8233         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8234         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8235         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8236         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8237         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8238         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8239         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8241 2014-07-01  Roland McGrath  <roland@hack.frob.com>
8243         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8244         * nptl/pthread_mutex_lock.c: Likewise.
8245         * nptl/pthread_mutex_timedlock.c: Likewise.
8246         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8248 2014-07-01  Richard henderson  <rth@redhat.com>
8250         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8251         (__isnan, __isnanl): Remove.
8252         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8254         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8256 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8258         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8260 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8262         * resolv/nss_dns/dns-host.c (getanswer_r)
8263         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8265 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8267         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8268         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8269         undefine.
8270         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8271         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8273 2014-07-01  Roland McGrath <roland@hack.frob.com>
8275         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8276         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8278         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8279         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8281         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8282         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8283         ... here.
8284         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8285         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8287         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8288         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8289         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8290         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8292         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8293         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8294         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8295         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8296         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8297         Moved ...
8298         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8299         ... here.
8300         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8301         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8302         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8303         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8304         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8305         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8306         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8307         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8308         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8309         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8310         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8311         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8312         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8313         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8314         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8315         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8316         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8317         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8318         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8319         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8320         ... here.
8321         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8322         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8323         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8324         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8325         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8326         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8327         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8328         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8330 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8332         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8333         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8334         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8335         Add sysdep.
8337 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8341 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8343         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8344         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8346         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8348         * sysdeps/arm/libm-test-ulps: Regenerated.
8350 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8351             Roland McGrath <roland@hack.frob.com>
8353         * test-skeleton.c (signal_handler): Kill the whole process group
8354         before killing the child individually.
8355         (main): Report any failure on `setpgid'.
8357 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8359         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8360         from _TLS_H to _ARM_NPTL_TLS_H.
8361         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8362         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8364 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8366         [BZ #16539]
8367         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8368         (__expm1l): Return argument unchanged when small but not
8369         subnormal.
8371         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8372         include macro name.
8373         (_FP_UNPACK_RAW_1_P): Likewise.
8374         (_FP_PACK_RAW_1): Likewise.
8375         (_FP_PACK_RAW_1_P): Likewise.
8376         (_FP_MUL_MEAT_1_wide): Likewise.
8377         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8378         (_FP_MUL_MEAT_1_hard): Likewise.
8379         (_FP_DIV_MEAT_1_imm): Likewise.
8380         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8381         (_FP_DIV_MEAT_1_udiv): Likewise.
8382         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8383         (_FP_UNPACK_RAW_2): Likewise.
8384         (_FP_UNPACK_RAW_2_P): Likewise.
8385         (_FP_PACK_RAW_2): Likewise.
8386         (_FP_PACK_RAW_2_P): Likewise.
8387         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8388         (_FP_MUL_MEAT_2_wide): Likewise.
8389         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8390         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8391         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8392         (_FP_MUL_MEAT_2_gmp): Likewise.
8393         (_FP_DIV_MEAT_2_udiv): Likewise.
8394         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8395         (_FP_FRAC_SRL_4): Likewise.
8396         (_FP_FRAC_SRST_4): Likewise.
8397         (_FP_FRAC_SRS_4): Likewise.
8398         (_FP_UNPACK_RAW_4): Likewise.
8399         (_FP_UNPACK_RAW_4_P): Likewise.
8400         (_FP_PACK_RAW_4): Likewise.
8401         (_FP_PACK_RAW_4_P): Likewise.
8402         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8403         (_FP_MUL_MEAT_4_wide): Likewise.
8404         (_FP_MUL_MEAT_4_gmp): Likewise.
8405         (umul_ppppmnnn): Likewise.
8406         (_FP_DIV_MEAT_4_udiv): Likewise.
8407         (__FP_FRAC_ADD_4): Likewise.
8408         (__FP_FRAC_SUB_3): Likewise.
8409         (__FP_FRAC_SUB_4): Likewise.
8410         (__FP_FRAC_DEC_3): Likewise.
8411         (__FP_FRAC_DEC_4): Likewise.
8412         (__FP_FRAC_ADDI_4): Likewise.
8413         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8414         (_FP_FRAC_SRL_8): Likewise.
8415         (_FP_FRAC_SRS_8): Likewise.
8417         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8418         include macro name.
8419         (FP_UNPACK_RAW_EP): Likewise.
8420         (FP_PACK_RAW_E): Likewise.
8421         (FP_PACK_RAW_EP): Likewise.
8422         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8423         (_FP_ISSIGNAN): Likewise.
8424         (_FP_ADD_INTERNAL): Likewise.
8425         (_FP_FMA): Likewise.
8426         (_FP_CMP): Likewise.
8427         (_FP_SQRT): Likewise.
8428         (_FP_TO_INT): Likewise.
8429         (_FP_FROM_INT): Likewise.
8430         (FP_EXTEND): Likewise.
8431         (_FP_DIV_MEAT_N_loop): Likewise.
8433 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8435         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8436         throughout.
8438 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
8440         [BZ #17097]
8441         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8442         result with correct sign in case of exponents that produce
8443         overflow except for X very close to 1.
8445 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
8447         mktime: merge #if/#ifdef usage from glibc
8448         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8449         as that works with both Glibc's and Gnulib's style.
8450         See thread starting at Siddhesh Poyarekar's bug report at:
8451         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8453 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8455         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8456         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8457         * sysdeps/tile/tilegx/memmove.c: Remove file.
8459 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8461         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8462         abi-name definition.
8463         * scripts/soversions.awk: Do not handle or generate ABI lines.
8464         * shlib-versions: Remove ABI entries.
8465         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8466         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8468 2014-06-27  Roland McGrath  <roland@hack.frob.com>
8470         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8471         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8472         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8473         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8474         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8475         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8476         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8477         Moved ...
8478         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8479         ... here.
8480         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8481         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8482         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8483         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8484         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8485         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8487         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8488         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8489         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8490         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8491         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8493         Moved ...
8494         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8496         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8497         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8498         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8500         Moved ...
8501         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8502         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8503         Moved ...
8504         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8506         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8508         Moved ...
8509         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8510         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8511         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8512         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8513         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8514         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8515         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8517         Moved ...
8518         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8520         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8521         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8522         Moved ...
8523         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8524         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8525         Moved ...
8526         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8528         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8530         Moved ...
8531         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8532         ... here.
8533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8534         Identical file removed.
8535         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8536         Moved ...
8537         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8538         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8539         Identical file removed.
8540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8541         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8542         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8543         Moved ...
8544         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8545         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8546         Identical file removed.
8547         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8548         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8549         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8550         Identical file removed.
8551         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8552         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8553         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8554         Identical file removed.
8555         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8556         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8557         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8558         Identical file removed.
8559         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8560         Moved ...
8561         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8563         Identical file removed.
8564         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8565         Moved ...
8566         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8567         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8568         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8569         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8570         Identical file removed.
8571         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8572         Moved ...
8573         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8574         ... here.
8575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8576         Identical file removed.
8577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8578         Moved ...
8579         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8580         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8581         Identical file removed.
8582         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8583         Moved ...
8584         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8585         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8586         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8587         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8588         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8589         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8590         Moved ...
8591         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8592         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8593         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8595         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8596         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8597         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8598         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8599         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8601 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8603         [BZ #17092]
8604         * nscd/nscd.c (monitor_child): Return exit status of child
8605         instead of return value from wait syscall.
8607 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8609         * configure.ac (libc_commonpagesize): Remove variable.
8610         (libc_relro_required): Likewise.
8611         (libc_cv_z_relro): Remove configure test.
8612         * configure: Regenerated.
8613         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8614         variable.
8615         (libc_relro_required): Likewise.
8616         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8617         (libc_relro_required): Likewise.
8618         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8619         (libc_relro_required): Likewise.
8620         * sysdeps/arm/preconfigure: Regenerated.
8621         * sysdeps/ia64/preconfigure: Remove file.
8622         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8623         variable.
8624         (libc_relro_required): Likewise.
8626         [BZ #16561]
8627         [BZ #16562]
8628         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8629         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8630         recompute overflowing results in original rounding mode.
8631         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8632         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8633         recompute overflowing results in original rounding mode.
8634         * sysdeps/ieee754/ldbl-128/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/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8638         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8639         recompute overflowing results in original rounding mode.
8640         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8641         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8642         recompute overflowing results in original rounding mode.
8643         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8644         (libc_feholdsetround_ctx): New macro.
8645         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8646         * sysdeps/i386/fpu/libm-test-ulps: Update.
8647         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8649 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8651         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8652         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8653         corresponding .cpsetup call.
8655 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8657         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8658         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8659         * sysdeps/arm/Makefile [$(subdir) = csu]
8660         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8661         (static-only-routines): Add aeabi_read_tp here.
8662         (shared-only-routines): Add libc-aeabi_read_tp here.
8663         (CFLAGS-libc-start.c): Add -fexceptions here.
8664         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8665         (sysdep_routines, static-only-routines, shared-only-routines):
8666         Don't add to these here.
8667         (CFLAGS-libc-start.c): Likewise.
8669         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8670         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8671         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8672         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8673         * sysdeps/arm/Makefile [$(subdir) = rt]
8674         (librt-sysdep_routines, librt-shared-only-routines):
8675         Append rt-aeabi_unwind_cpp_pr1 here.
8676         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8677         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8678         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8679         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8680         Append nptl-aeabi_unwind_cpp_pr1 here.
8681         (tests): Filter out tst-cleanupx4 here.
8682         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8683         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8684         Don't do those here.
8686 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8688         * scripts/list-sources.sh: Do not handle ports specially.
8690 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8692         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8693         * sysdeps/arm/feupdateenv.c: Likewise.
8695         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8697 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8699         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8700         trailing whitespace removed.
8701         * scripts/config.guess: Update to version 2014-03-23.
8702         * scripts/config.sub: Update to version 2014-05-01
8703         * scripts/install-sh: Update to version 2013-12-25.23.
8704         * scripts/move-if-change: Update from gnulib.
8706 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8708         * debug/memmove_chk.c: Remove pagecopy.h include.
8710 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8712         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8713         identical to gnulib mktime.
8715 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8717         * configure.ac: Do not test for machine being rs6000.  Do not test
8718         for powerpc*-*soft.
8719         * configure: Regenerated.
8721         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8722         test.
8723         * configure: Regenerated.
8724         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8725         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8726         Remove configure test.
8727         * sysdeps/arm/configure: Regenerated.
8728         * sysdeps/nptl/configure.ac: Do not check
8729         libc_cv_asm_cfi_directives.
8730         * sysdeps/nptl/configure: Regenerated.
8731         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8732         * sysdeps/x86_64/nptl/configure: Remove generated file.
8733         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8734         unconditional.
8735         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8737 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8739         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8740         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8741         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8742         it is defined.
8744         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8745         instead of whether it is defined.
8746         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8747         * sysdeps/hppa/dl-machine.h: Likewise.
8748         * sysdeps/ia64/dl-machine.h: Likewise.
8749         * sysdeps/m68k/dl-machine.h: Likewise.
8750         * sysdeps/microblaze/dl-machine.h: Likewise.
8751         * sysdeps/mips/dl-machine.: Likewise.
8752         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8753         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8754         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8755         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8756         * sysdeps/sh/dl-machine.h: Likewise.
8757         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8758         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8759         * sysdeps/tile/dl-machine.h: Likewise.
8760         * sysdeps/x86_64/dl-machine.h: Likewise.
8762         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8763         code.
8764         (verify_persistent_db): Likewise.
8766 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8769         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8771         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8773         Moved ...
8774         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8775         ... here.
8776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8777         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8779         Identical file removed.
8780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8781         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8783         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8785         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8787         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8789         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8791         Moved ...
8792         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8794         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8796         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8798         Moved ...
8799         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8801         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8803         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8805         Identical file removed.
8806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8807         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8809         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8811         Moved ...
8812         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8813         ... here.
8814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8815         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8817         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8819         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8821         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8823         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8825         Moved ...
8826         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8828         Moved ...
8829         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8831         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8833         Moved ...
8834         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8836         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8838         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8839         folded into ...
8840         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8841         * sysdeps/unix/sysv/linux/s390/Versions
8842         (libpthread: GLIBC_2.19): New version set.
8843         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8844         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8845         (librt: GLIBC_2.3.3): New version set.
8846         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8847         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8848         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8849         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8850         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8851         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8852         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8853         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8854         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8855         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8856         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8857         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8858         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8859         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8860         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8861         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8862         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8863         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8864         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8865         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8866         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8867         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8868         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8869         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8870         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8871         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8872         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8873         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8874         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8875         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8876         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8877         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8878         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8879         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8880         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8881         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8882         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8883         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8884         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8885         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8886         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8887         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8888         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8889         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8890         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8892         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8893         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8894         (__libc_vfork): Define the function under this name.
8895         [!NOT_IN_libc] (__vfork): Make this an alias.
8896         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8897         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8898         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8899         (__libc_vfork): Define the function under this name.
8900         [!NOT_IN_libc] (__vfork): Make this an alias.
8901         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8902         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8903         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8904         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8905         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8906         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8908         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8909         code that was previously under [RESET_PID].
8910         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8911         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8912         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8914         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8915         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8916         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8917         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8918         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8919         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8920         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8921         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8922         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8923         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8924         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8925         Moved ...
8926         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8927         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8928         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8929         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8930         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8931         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8932         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8933         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8934         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8935         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8936         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8937         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8938         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8939         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8940         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8941         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8942         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8943         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8944         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8945         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8946         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8947         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8948         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8949         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8950         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8951         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8952         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8953         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8954         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8956 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8958         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8959         that was previously under [RESET_PID].
8960         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8962 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8964         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8965         not undefine and redefine.
8966         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8967         [O_CLOEXEC]: Make code unconditional.
8968         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8969         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8970         <kernel-features.h>.
8971         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8972         conditional variable definition.
8973         (shm_open) [O_CLOEXEC]: Make code unconditional.
8974         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8975         code.
8977         * configure.ac (USE_REGPARMS): Don't define here.
8978         * configure: Regenerated.
8979         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8980         * sysdeps/i386/configure: Regenerated.
8982         * nptl/createthread.c: Don't include kernel-features.h.
8983         * nptl/pthread_cancel.c: Likewise.
8984         * nptl/pthread_condattr_setclock.c: Likewise.
8985         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8986         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8987         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8988         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8989         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8990         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8991         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8992         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8993         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8994         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8995         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8996         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8997         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8998         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8999         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9000         * nscd/gai.c: Likewise.
9001         * nss/nss_db/db-open.c: Likewise.
9002         * sysdeps/generic/ldsodefs.h: Likewise.
9003         * sysdeps/sh/nptl/tls.h: Likewise.
9004         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9005         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9006         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9007         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9008         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9009         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9010         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9011         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9012         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9013         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9014         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9015         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9016         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9017         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9018         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9019         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9020         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9021         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9022         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9023         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9024         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9025         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9026         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9027         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9028         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9029         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9030         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9031         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9032         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9033         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9034         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9035         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9036         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9037         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9038         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9039         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9040         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9041         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9042         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9043         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9044         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9045         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9046         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9047         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9048         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9049         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9050         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9051         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9052         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9053         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9054         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9055         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9056         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9057         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9058         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9059         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9060         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9061         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9084         * sysdeps/unix/sysv/linux/pread.c: Likewise.
9085         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9086         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9087         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9088         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9089         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9090         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9091         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9092         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9093         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9094         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9095         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9096         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9097         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9098         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9099         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9100         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9101         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9102         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9103         * sysdeps/unix/sysv/linux/system.c: Likewise.
9104         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9105         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9106         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9107         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9108         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9109         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9110         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9112         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9113         * configure: Regenerated.
9114         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9116         * configure.ac (base_machine): Do not set specially for particular
9117         machines here.
9118         * configure: Regenerated.
9119         * sysdeps/powerpc/preconfigure: Move machine and base_machine
9120         settings from configure.ac.
9121         * sysdeps/i386/preconfigure: New file.
9122         * sysdeps/s390/preconfigure: Likewise.
9123         * sysdeps/sh/preconfigure: Likewise.
9124         * sysdeps/sparc/preconfigure: Likewise.
9126 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9128         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9129         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9130         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9131         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9132         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9133         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9134         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9135         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9136         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9137         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9138         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9139         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9140         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9141         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9142         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9143         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9144         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9145         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9146         * sysdeps/sparc/sparc64/Makefile: ... appended here.
9148         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9149         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9150         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9151         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9152         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9153         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9154         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9155         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9156         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9157         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9158         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9159         * sysdeps/sparc/sparc32/sem_post.c: ... here.
9160         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9161         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9162         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9163         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9164         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9165         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9166         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9167         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9168         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9169         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9170         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9171         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9172         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9173         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9174         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9175         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9176         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9177         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9178         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9179         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9180         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9181         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9182         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9183         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9184         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9185         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9188         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9190         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9192         Moved ...
9193         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9194         ... here.
9195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9196         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9198         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9200         Moved ...
9201         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9203         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9205         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9207         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9209         Moved ...
9210         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9212         Moved ...
9213         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9215         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9217         Moved ...
9218         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9220         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9222         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9224         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9226         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9228         Moved ...
9229         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9230         ... here.
9231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9232         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9234         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9236         Moved ...
9237         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9239         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9241         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9243         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9245         Moved ...
9246         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9248         Moved ...
9249         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9251         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9253         Moved ...
9254         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9256         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9258         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9260 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9262         * timezone/checktab.awk: Update from tzcode 2014e.
9263         * timezone/private.h: Likewise.
9264         * timezone/tzfile.h: Likewise.
9265         * timezone/zdump.c: Likewise.
9266         * timezone/zic.c: Likewise.
9268         * sysdeps/unix/sysv/linux/kernel-features.h
9269         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9270         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9271         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9272         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9273         Remove conditional code.
9275 2014-06-25  Will Newton  <will.newton@linaro.org>
9277         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9278         (_dl_arm_cap_flags): Add HWCAP2 values.
9279         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9280         (_DL_HWCAP_COUNT): Increase to 37.
9281         (_DL_HWCAP_LAST): New define.
9282         (_DL_HWCAP2_LAST): New define.
9283         (_dl_procinfo): Add support for printing
9284         AT_HWCAP2 entries.
9285         (_dl_string_hwcap): Use _dl_hwcap_string.
9287 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9291 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9293         * README: Do not mention ports directory.
9295         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9296         Remove macro.
9297         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9298         <kernel-features.h>.
9299         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9300         conditional variable definition.
9301         (__futimes): Update comment.
9302         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9303         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9305         [BZ #16560]
9306         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9307         arguments close to 0.
9308         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9309         Likewise.
9310         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9311         Likewise.
9312         * math/auto-libm-test-in: Add more tests of exp10.
9313         * math/auto-libm-test-out: Regenerated.
9314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9316         * sysdeps/unix/sysv/linux/kernel-features.h
9317         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9318         * sysdeps/unix/sysv/linux/readv.c: Do not include
9319         <kernel-features.h>.
9320         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9321         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9322         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9323         unconditional.
9324         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9325         conditional code.
9326         * sysdeps/unix/sysv/linux/writev.c: Do not include
9327         <kernel-features.h>.
9328         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9329         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9330         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9331         unconditional.
9332         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9333         conditional code.
9335 2014-06-25  Will Newton  <will.newton@linaro.org>
9337         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9338         comment changes throughout the file.  Remove checks
9339         for HAVE_*_H definitions that are not required.
9340         (__gen_tempname): Call abort if an unknown kind value is
9341         passed.
9343 2014-06-25  Andreas Schwab  <schwab@suse.de>
9345         [BZ #17086]
9346         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9347         scalbln, scalblnf, scalblnl in libc.
9349 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9351         [BZ #17086]
9352         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9353         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9354         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9356 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9358         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9359         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9360         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9361         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9362         Update #include.
9363         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9364         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9365         Update #include.
9366         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9367         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9368         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9369         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9370         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9371         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9372         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9373         * sysdeps/x86/bits/semaphore.h: ... here.
9374         * sysdeps/x86/nptl/elide.h: Moved ...
9375         * sysdeps/x86/elide.h: ... here.
9376         * sysdeps/x86_64/nptl/Implies: File removed.
9377         * sysdeps/i386/nptl/Implies: File removed.
9379 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9381         [BZ #16539]
9382         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9383         return the argument for normal arguments with exponent below -64.
9384         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9385         Likewise.
9386         * math/auto-libm-test-in: Add another test of expm1.
9387         * math/auto-libm-test-out: Regenerated.
9389         [BZ #16287]
9390         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9391         calling __erfcl for arguments at least 16.
9392         * math/auto-libm-test-in: Add more tests of erf.
9393         * math/auto-libm-test-out: Regenerated.
9395         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9396         individual architectures.
9397         * sysdeps/unix/sysv/linux/configure: Regenerated.
9398         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9399         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9400         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9401         (ldd_rewrite_script): Define variable.
9402         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9404         file.
9405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9406         generated file.
9407         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9408         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9409         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9410         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9411         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9412         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9413         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9414         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9416 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9418         [BZ #17084]
9419         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9420         Rename member __data.d to __data.__elision_data.
9422 2014-06-24  Wilco  <wdijkstr@arm.com>
9424         * NEWS: Add 16918 to fixed bug list.
9426 2014-06-24  Wilco  <wdijkstr@arm.com>
9428         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9430 2014-06-24  Wilco  <wdijkstr@arm.com>
9432         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9433         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9434         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9435         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9436         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9437         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9438         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9439         Use _FPU_MASK_RM.
9441 2014-06-24  Wilco  <wdijkstr@arm.com>
9443         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9445 2014-06-24  Wilco  <wdijkstr@arm.com>
9447         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9448         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9449         * sysdeps/arm/fesetround.c (fesetround): Remove space.
9450         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9452 2014-06-24  Wilco  <wdijkstr@arm.com>
9454         [BZ #16918]
9455         * sysdeps/arm/feupdateenv.c (feupdateenv):
9456         Rewrite to reduce FPSCR accesses and fix return value.
9458 2014-06-24  Wilco  <wdijkstr@arm.com>
9460         * sysdeps/arm/fclrexcpt.c (feclearexcept):
9461         Optimize to avoid unnecessary FPSCR writes.
9462         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9463         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9464         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9465         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9467 2014-06-24  Wilco  <wdijkstr@arm.com>
9469         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9470         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9471         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9472         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9473         Call libc_fetestexcept_vfp.
9474         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9475         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9476         __SOFTFP__ ifdef so that they can be built for softfp.
9478 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9480         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9481         argument type signed char.
9483         * Makerules (check-abi): Dump diff of symlist if the test
9484         fails.
9486 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9488         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9489         using abort.
9491         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9492         Remove unused variable ST.
9494 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9496         [BZ #16354]
9497         [BZ #17061]
9498         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9499         small arguments before calling __expm1.
9500         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9501         small arguments before calling __expm1f.
9502         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9503         small arguments before calling __expm1l.
9504         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9505         Likewise.
9506         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9507         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9508         spurious underflow for some cosh tests.
9509         * math/auto-libm-test-out: Regenerated.
9510         * sysdeps/i386/fpu/libm-test-ulps: Update.
9512         [BZ #17050]
9513         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9514         (__ieee754_y1): Set errno if return value overflows.
9515         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9516         (__ieee754_y1f): Set errno if return value overflows.
9517         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9518         (__ieee754_y1l): Set errno if return value overflows.
9519         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9520         (__ieee754_y1l): Set errno if return value overflows.
9521         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9522         * math/auto-libm-test-out: Regenerated.
9524         * math/gen-auto-libm-tests.c: Document use of
9525         ignore-zero-inf-sign.
9526         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9527         (input_flags): Add ignore-zero-inf-sign.
9528         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9529         * math/gen-libm-test.pl (generate_testfile): Handle
9530         ignore-zero-inf-sign.
9531         * math/auto-libm-test-in: Mark some cpow tests with
9532         ignore-zero-inf-sign and some with xfail-rounding.
9533         * math/auto-libm-test-out: Regenerated.
9534         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9535         * sysdeps/i386/fpu/libm-test-ulps: Update.
9536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9538         [BZ #16315]
9539         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9540         overflowing or underflowing operations take place with sign of
9541         result.
9542         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9543         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9544         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9545         (__ieee754_pow): Recompute overflowing and underflowing results in
9546         original rounding mode.
9547         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9548         (__powl_helper): Allow negative argument X and scale negated value
9549         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9550         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9551         overflowing or underflowing operations take place with sign of
9552         result.
9553         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9554         Include <math.h>.
9555         * math/auto-libm-test-in: Add more tests of pow.
9556         * math/auto-libm-test-out: Regenerated.
9557         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9558         (pow_tonearest_test_data): Remove.
9559         (pow_test_tonearest): Likewise.
9560         (pow_towardzero_test_data): Likewise.
9561         (pow_test_towardzero): Likewise.
9562         (pow_downward_test_data): Likewise.
9563         (pow_test_downward): Likewise.
9564         (pow_upward_test_data): Likewise.
9565         (pow_test_upward): Likewise.
9566         (main): Don't call removed functions.
9567         * sysdeps/i386/fpu/libm-test-ulps: Update.
9568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9570 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9573         Moved ...
9574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9576         Moved ...
9577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9579         Moved ...
9580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9582         Moved ...
9583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9585         File removed.
9586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9587         File removed.
9588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9589         File removed.
9590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9591         File removed.
9592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9593         File removed.
9594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9595         File removed.
9596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9597         File removed.
9598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9599         File removed.
9600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9601         File removed.
9602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9603         File removed.
9604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9605         File removed.
9606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9607         File removed.
9608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9609         Moved ...
9610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9612         Moved ...
9613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9614         ... here.
9615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9616         Moved ...
9617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9619         Moved ...
9620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9622         Moved ...
9623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9625         Moved ...
9626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9628         Moved ...
9629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9631         Moved ...
9632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9634         Moved ...
9635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9638         ... here.
9639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9640         Moved ...
9641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9643         Moved ...
9644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9645         ... here.
9646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9647         Moved ...
9648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9649         ... here.
9650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9651         Moved ...
9652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9653         ... here.
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9655         Moved ...
9656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9658         Moved ...
9659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9663         Moved ...
9664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9665         ... here.
9666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9667         Moved ...
9668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9669         ... here.
9670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9671         Moved ...
9672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9674         Moved ...
9675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9677         Moved ...
9678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9680         Moved ...
9681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9683         Moved ...
9684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9685         ... here.
9686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9687         Moved ...
9688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9690         Moved ...
9691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9693         Moved ...
9694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9696         Moved ...
9697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9701         Moved ...
9702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9704         Moved ...
9705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9707         Moved ...
9708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9709         ... here.
9710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9711         Moved ...
9712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9713         ... here.
9714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9715         Moved ...
9716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9717         ... here.
9718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9719         Moved ...
9720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9722         Moved ...
9723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9725         Moved ...
9726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9728         Moved ...
9729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9730         ... here.
9731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9732         Moved ...
9733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9734         ... here.
9735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9736         Moved ...
9737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9738         ... here.
9739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9740         Moved ...
9741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9743         Moved ...
9744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9746 2014-06-23  Will Newton  <will.newton@linaro.org>
9747             Wilco  <wdijkstr@arm.com>
9749         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9750         implementation.  Include get-rounding-mode.h.
9751         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9752         [!libc_feholdsetround_noex_ctx]: Define
9753         libc_feholdsetround_noex_ctx.
9754         [!libc_feholdsetround_noexf_ctx]: Define
9755         libc_feholdsetround_noexf_ctx.
9756         [!libc_feholdsetround_noexl_ctx]: Define
9757         libc_feholdsetround_noexl_ctx.
9758         (libc_feholdsetround_ctx): New function.
9759         (libc_feresetround_ctx): New function.
9760         (libc_feholdsetround_noex_ctx): New function.
9761         (libc_feresetround_noex_ctx): New function.
9763 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9765         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9766         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9767         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9768         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9769         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9770         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9772         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9773         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9774         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9775         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9776         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9777         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9778         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9779         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9780         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9781         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9782         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9783         Moved ...
9784         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9785         ... here.
9786         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9787         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9788         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9789         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9791         Moved ...
9792         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9793         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9794         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9795         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9796         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9797         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9798         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9799         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9800         Moved ...
9801         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9802         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9803         Moved ...
9804         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9805         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9806         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9807         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9808         Moved ...
9809         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9810         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9811         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9812         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9813         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9814         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9815         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9816         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9817         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9818         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9819         Moved ...
9820         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9821         ... here.
9822         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9823         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9824         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9825         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9826         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9827         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9828         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9829         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9830         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9831         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9833         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9834         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9835         Moved ...
9836         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9837         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9838         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9839         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9840         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9841         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9842         Moved ...
9843         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9844         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9845         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9846         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9847         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9849         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9850         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9851         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9852         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9853         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9854         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9855         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9856         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9857         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9858         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9859         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9860         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9861         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9862         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9863         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9864         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9865         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9866         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9867         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9868         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9869         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9870         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9871         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9872         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9873         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9874         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9875         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9876         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9878 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9880         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9881         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9882         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9883         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9884         (IPV6_PMTUDISC_INTERFACE): Likewise.
9885         (IPV6_PMTUDISC_OMIT): Likewise.
9887 2014-06-23  Andreas Schwab  <schwab@suse.de>
9889         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9890         Remove unused errout label.
9892 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9894         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9895         macro: hardware supports Vector Crypto instructions.
9897 2014-06-23  Will Newton  <will.newton@linaro.org>
9899         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9900         rather than __builtin_expect.
9902         * elf/dl-lookup.c (undefined_msg): Remove variable.
9903         (_dl_lookup_symbol_x): Replace undefined_msg with string
9904         literal.
9906         * elf/dl-lookup.c (do_lookup_unique): New function.
9907         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9908         to a separate function.
9910 2014-06-23  Andreas Schwab  <schwab@suse.de>
9912         [BZ #17079]
9913         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9914         before reading the next line.
9916 2014-06-23  Will Newton  <will.newton@linaro.org>
9918         * test-skeleton.c (signal_handler): Use printf and %m
9919         rather than perror.  Use printf rather than fprintf to
9920         stderr.  Use puts rather than fputs to stderr.
9921         (main): Likewise.
9923 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9925         * nscd/nscd.c (thread_info_t): Remove typedef.
9926         (thread_info): Remove variable.
9928 2014-06-21  Allan McRae  <allan@archlinux.org>
9930         * NEWS: Mention CVE-2014-4043.
9932 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9934         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9935         * nptl/smp.h: ... here.
9937         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9939         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9940         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9941         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9942         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9944         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9945         * nptl/stack-aliasing.h: New file.
9946         * sysdeps/i386/i686/stack-aliasing.h: New file.
9947         * sysdeps/i386/i686/nptl/Makefile: File removed.
9948         * sysdeps/x86_64/stack-aliasing.h: New file.
9949         * sysdeps/x86_64/nptl/Makefile
9950         (CFLAGS-pthread_create.c): Variable removed.
9952         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9953         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9954         old file.
9955         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9956         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9957         old file.
9959 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9961         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9962         (__ASSUME_SIGFRAME_V2): Remove macro.
9963         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9964         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9965         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9966         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9967         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9968         Declare as function.  Remove conditional macro definitions.
9969         (__default_rt_sa_restorer): Likewise.
9970         (__default_sa_restorer_v1): Remove declaration.
9971         (__default_sa_restorer_v2): Likewise.
9972         (__default_rt_sa_restorer_v1): Likewise.
9973         (__default_rt_sa_restorer_v2): Likewise.
9974         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9975         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9976         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9978 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9980         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9981         (libpthread-routines): Add sysdep.
9982         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9983         * sysdeps/unix/sysv/linux/sparc/Versions
9984         (libpthread: GLIBC_2.3.3): New version set.
9985         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9986         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9987         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9988         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9989         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9990         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9991         Moved ...
9992         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9993         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9994         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9995         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9996         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9997         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9998         * sysdeps/sparc/nptl/sem_init.c: ... here.
9999         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10000         * sysdeps/sparc/nptl/sem_post.c: ... here.
10001         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10002         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10003         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10004         * sysdeps/sparc/nptl/sem_wait.c: ... here.
10005         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10006         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10007         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10008         (libpthread-routines): Add cpu_relax.
10009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10010         File removed.
10011         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10012         (librt: GLIBC_2.3.3): New version set.
10013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10014         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10015         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10016         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10019         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10021         Moved ...
10022         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10024         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10026         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10028         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10030         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10032         Moved ...
10033         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10034         Update #include.
10035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10036         Moved ...
10037         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10038         Update #include.
10039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10040         Moved ...
10041         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10042         Update #include.
10043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10044         Moved ...
10045         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10046         Update #include.
10047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10048         Moved ...
10049         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10050         Update #include.
10051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10052         Moved ...
10053         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10054         Update #include.
10055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10056         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10058         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10060         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10062         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10064         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10066         Moved ...
10067         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10069         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10071         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10073 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10075         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10076         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10077         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10078         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10079         * nscd/nscd.c: Likewise.
10080         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10081         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10082         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10083         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10085         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10086         <kernel-features.h>.
10087         (init_mq_netlink): Remove conditional have_sock_cloexec
10088         definitions.  Remove code conditional on have_sock_cloexec < 0.
10089         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10090         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10091         * sysdeps/unix/sysv/linux/opensock.c: Do not include
10092         <kernel-features.h>.
10093         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10094         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10096 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10098         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10099         Add tests for memset_chk and memset.
10101         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10102         with AVX2_Usable.
10104 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10106         [BZ #16046]
10107         * elf/tst-dl-iter-static.c: New file.
10108         * elf/Makefile (tests-static): Add tst-dl-iter-static.
10110         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10111         error.
10113 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10115         * sysdeps/unix/sysv/linux/kernel-features.h
10116         (__ASSUME_F_GETOWN_EX): Remove macro.
10117         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10118         <kernel-features.h>.
10119         (miss_F_GETOWN_EX): Remove variable or macro.
10120         (do_fcntl): Do not check miss_F_GETOWN_EX.
10121         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10123         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10124         Remove macro.
10125         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10126         [!__ASSUME_AT_RANDOM]: Remove conditional code.
10127         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10129         * sysdeps/unix/sysv/linux/kernel-features.h
10130         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10131         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10132         [ADJ_OFFSET_SS_READ]: Make code unconditional.
10133         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10135 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10137         [BZ #17075]
10138         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10139         Fix calculation of the symbol's value.
10140         * sysdeps/arm/tst-armtlsdescloc.c: New file.
10141         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10142         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10143         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10144         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10145         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10146         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10147         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10148         (modules-names): Add `tst-armtlsdescmod',
10149         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10150         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10151         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10152         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10153         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10154         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10155         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10156         ($(objpfx)tst-armtlsdescloc): New dependency.
10157         ($(objpfx)tst-armtlsdescextnow): Likewise.
10158         ($(objpfx)tst-armtlsdescextlazy): Likewise.
10159         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10160         TLS scheme support.
10161         * sysdeps/arm/configure: Regenerate.
10163 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10165         * include/fcntl.h (__atfct_seterrno): Remove prototype.
10166         (__atfct_seterrno_2): Likewise.
10167         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10168         <kernel-features.h>.
10169         (__ASSUME_ATFCTS): Do not undefine and redefine.
10170         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10171         (__have_atfcts): Remove conditional definition.
10172         (__fxstatat([__NR_fstatat64]: Make code unconditional.
10173         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10174         unreachable if [__ASSUME_ATFCTS].
10175         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10176         not undefine and redefine.
10177         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10178         <kernel-features.h>.
10179         (faccessat) [__NR_faccessat]: Make code unconditional.
10180         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10181         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10182         <kernel-features.h>.
10183         (fchmodat) [__NR_fchmodat]: Make code unconditional.
10184         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10185         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10186         <kernel-features.h>.
10187         (fchownat) [__NR_fchownat]: Make code unconditional.
10188         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10189         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10190         <kernel-features.h>.
10191         (futimesat) [__NR_futimesat]: Make code unconditional.
10192         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10193         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10194         <kernel-features.h>.
10195         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10196         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10197         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10198         <kernel-features.h>.
10199         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10200         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10201         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10202         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10203         <kernel-features.h>.
10204         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10205         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10206         * sysdeps/unix/sysv/linux/linkat.c: Do not include
10207         <kernel-features.h>.
10208         (linkat) [__NR_linkat]: Make code unconditional.
10209         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10210         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10211         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10212         <kernel-features.h>.
10213         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10214         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10215         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10216         <kernel-features.h>.
10217         (mkdirat) [__NR_mkdirat]: Make code unconditional.
10218         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10219         * sysdeps/unix/sysv/linux/openat.c: Do not include
10220         <kernel-features.h>.
10221         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10222         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10223         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10224         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10225         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10226         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10227         <kernel-features.h>.
10228         (readlinkat) [__NR_readlinkat]: Make code unconditional.
10229         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
10230         result of INLINE_SYSCALL directly, not via int variable.
10231         * sysdeps/unix/sysv/linux/renameat.c: Do not include
10232         <kernel-features.h>.
10233         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10234         (renameat) [__NR_renameat]: Make code unconditional.
10235         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10236         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10237         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10238         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10239         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10240         (__ASSUME_ATFCTS): Do not undefine and redefine.
10241         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10242         <kernel-features.h>.
10243         (symlinkat) [__NR_symlinkat]: Make code unconditional.
10244         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10245         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10246         <kernel-features.h>.
10247         (unlinkat) [__NR_unlinkat]: Make code unconditional.
10248         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10249         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10250         (__ASSUME_ATFCTS): Do not undefine and redefine.
10251         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10252         <kernel-features.h>.
10253         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10254         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10255         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10256         <kernel-features.h>.
10257         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10258         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10260 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10262         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10264 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10266         [BZ #17069]
10267         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10268         constructed tree before returning error.
10269         * posix/bug-regexp36.c: Expand test case.
10271 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10273         [BZ #6803]
10274         * math/libm-test.inc (scalbln_test_date):
10275         Add errno expectations.
10276         * math/w_scalblnf.c: New File.
10277         Add wrapper which checks for setting errno to ERANGE.
10278         Add weak_alias for corresponding scalbln function.
10279         * math/w_scalbln.c: Likewise.
10280         * math/w_scalblnl.c: Likewise.
10281         * math/Makefile (libm-calls): Add w_scalbln.
10282         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10283         Remove weak_alias for corresponding scalbln function.
10284         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10285         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10286         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10287         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10288         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10289         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10290         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10291         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10292         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10293         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10294         Remove long_double_symbol for scalblnl function in libm, libc.
10295         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10296         Add wrapper which checks for setting errno to ERANGE.
10297         Add long_double_symbol for scalblnl function in libm, libc.
10298         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10299         Remove long_double_symbol for scalblnl in libm.
10300         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10301         Add wrapper which checks for setting errno to ERANGE.
10302         Add long_double_symbol for scalblnl function in libm.
10303         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10304         Do not use wrapper because of own implementation.
10306 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10308         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10309         3 bytes for __pad1 for x32.
10310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10312 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10313             H.J. Lu  <hongjiu.lu@intel.com>
10315         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10316         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10317         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10318         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10319         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10321 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10323         [BZ #17069]
10324         * posix/regcomp.c (parse_expression): Deallocate partially
10325         constructed tree before returning error.
10326         * posix/Makefile.c (tests): Add bug-regex36.
10327         (generated): Add bug-regex36.mtrace.
10328         (tests-special): Add $(objpfx)bug-regex36-mem.out
10329         (bug-regex36-ENV): New variable.
10330         ($(objpfx)bug-regex36-mem.out): New rule.
10331         * posix/bug-regex36.c: New file.
10333 2014-06-19  Will Newton  <will.newton@linaro.org>
10335         * malloc/malloc.c (systrim): If extra is zero then return
10336         early.
10338 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10340         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10342 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10344         * sysdeps/aarch64/strchr.S: New file.
10346 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10348         [BZ #17022]
10349         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10350         from arguments -2 or below.
10351         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10352         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10354 2014-06-18  Andreas Schwab  <schwab@suse.de>
10356         [BZ #17062]
10357         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10358         of a bracket expr not to run off the end of the string.
10359         * posix/Makefile (tests): Add tst-fnmatch3.
10360         * posix/tst-fnmatch3.c: New file.
10362 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10364         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10365         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10366         [$(cross-compiling) = no]: Likewise.
10367         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10368         [$(cross-compiling) = no]: Likewise.
10370 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10372         [BZ #17031]
10373         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10374         double, adjusted for any remainder from the high double.
10375         * math/libm-test.inc (nearbyint): Add tests.
10376         (rint): Likewise.
10378 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10380         * nptl/sysdeps/powerpc/Makefile: Moved ...
10381         * sysdeps/powerpc/nptl/Makefile: ... here.
10382         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10383         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10384         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10385         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10386         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10387         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10388         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10389         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10390         * nptl/sysdeps/powerpc/tls.h: Moved ...
10391         * sysdeps/powerpc/nptl/tls.h: ... here.
10393 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10395         [BZ #16681]
10396         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10397         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10398         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10399         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10400         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10401         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10402         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10403         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10404         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10406 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10408         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10410 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10412         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10413         defined operator.
10415         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10416         $TIMEOUTFACTOR.
10418 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10420         [BZ #17058]
10421         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10422         non-executed part of the test.
10424 2014-06-16  Andreas Schwab  <schwab@suse.de>
10426         * string/bits/string2.h (strdup, strndup): Update feature guard.
10428 2014-06-14  David S. Miller  <davem@davemloft.net>
10430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10432 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10434         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10435         that was previously under [RESET_PID].
10436         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10438         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10439         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10440         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10441         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10442         (__libc_vfork): New strong alias.
10443         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10445 2014-06-14 Andi Kleen  <ak@linux.intel.com>
10447         * sysdeps/generic/elide.h: New file.
10449 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10451         * Makefile (installed-headers): Adjust path of pthread.h header.
10453 2014-06-13  Roland McGrath  <roland@hack.frob.com>
10455         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10456         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10457         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10458         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10460         * nptl/sysdeps/s390/Makefile: Moved ...
10461         * sysdeps/s390/nptl/Makefile: ... here.
10462         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10463         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10464         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10465         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10466         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10467         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10468         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10469         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10470         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10471         * sysdeps/s390/nptl/pthreaddef.h: ... here.
10472         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10473         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10474         * nptl/sysdeps/s390/tls.h: Moved ...
10475         * sysdeps/s390/nptl/tls.h: ... here.
10477         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10478         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10480 2014-06-13  David S. Miller  <davem@davemloft.net>
10482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10485         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10489         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10490         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10491         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10492         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10493         Remove RESET_PID cpp guards.
10494         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10495         Remove RESET_PID cpp guards.
10496         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10498 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
10500         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10501         __sp to uintptr_t.
10503 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10505         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10506         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10507         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10508         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10509         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10510         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10511         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10512         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10513         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10514         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10515         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10516         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10517         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10518         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10519         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10520         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10521         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10522         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10523         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10524         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10526         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10527         (pthread_rwlock_rdlock): Add elision.
10528         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10529         (pthread_rwlock_wrlock): Add elision.
10530         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10531         (pthread_rwlock_trywrlock): Add elision.
10532         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10533         (pthread_rwlock_tryrdlock): Add elision.
10534         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10535         (pthread_rwlock_tryrdlock): Add elision unlock.
10536         * nptl/sysdeps/pthread/pthread.h:
10537         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10538         (PTHREAD_RWLOCK_INITIALIZER,
10539         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10540         Handle new elision field.
10541         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10542         * sysdeps/arm/nptl/bits/pthreadtypes.h
10543         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10544         * sysdeps/sh/nptl/bits/pthreadtypes.h
10545         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10546         * sysdeps/tile/nptl/bits/pthreadtypes.h
10547         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10548         * sysdeps/a/nptl/bits/pthreadtypes.h
10549         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10550         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10551         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10552         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10553         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10554         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10555         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10556         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10557         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10558         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10559         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10560         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10561         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10562         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10563         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10564         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10565         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10566         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10567         (elision_init): Set try_xbegin to zero when no RTM.
10568         * sysdeps/x86/nptl/bits/pthreadtypes.h
10569         (pthread_rwlock_t): Change __pad1 to __rwelision.
10570         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10572 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10574         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10575         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10576         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10577         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10579 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10581         [BZ #16996]
10582         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10583         that the cached result has been set before returning it.
10585 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10587         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10588         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10589         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10590         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10591         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10592         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10594         * nptl/sysdeps/sparc/Makefile: Moved ...
10595         * sysdeps/sparc/nptl/Makefile: ... here.
10596         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10597         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10598         * nptl/sysdeps/sparc/tls.h: Moved ...
10599         * sysdeps/sparc/nptl/tls.h: ... here.
10600         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10601         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10602         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10603         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10604         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10605         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10606         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10607         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10608         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10609         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10610         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10611         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10612         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10613         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10614         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10615         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10616         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10617         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10618         Update #include.
10619         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10620         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10621         Update #include.
10622         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10623         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10624         Update #include.
10625         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10626         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10627         Update #include.
10629         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10631         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10632         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10634         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10635         (struct list_links): Type removed.
10636         (struct thread_node, struct timer_node): Replace struct list_links
10637         with struct list_head.
10638         (list_unlink_ip): Likewise.
10639         * sysdeps/pthread/timer_routines.c
10640         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10641         (list_append, list_insbefore): Likewise.
10642         (list_init): Function removed.
10643         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10644         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10645         * sysdeps/pthread/Makefile: ... here, new file.
10647         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10648         * sysdeps/nptl/Implies: ... here.
10649         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10650         * nptl/sysdeps/pthread/list.h: Moved ...
10651         * include/list.h: ... here.
10652         * nptl/sysdeps/pthread/createthread.c: Moved ...
10653         * nptl/createthread.c: ... here.
10654         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10655         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10656         * nptl/pt-longjmp.c: ... here.
10657         * nptl/sysdeps/pthread/Makefile: Moved ...
10658         * sysdeps/nptl/Makefile: ... here.
10659         * nptl/sysdeps/pthread/Subdirs: Moved ...
10660         * sysdeps/nptl/Subdirs: ... here.
10661         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10662         * sysdeps/nptl/aio_misc.h: ... here.
10663         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10664         * sysdeps/nptl/bits/libc-lock.h: ... here.
10665         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10666         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10667         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10668         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10669         * nptl/sysdeps/pthread/configure: Moved ...
10670         * sysdeps/nptl/configure: ... here.
10671         * nptl/sysdeps/pthread/configure.ac: Moved ...
10672         * sysdeps/nptl/configure.ac: ... here.
10673         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10674         * sysdeps/nptl/gai_misc.h: ... here.
10675         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10676         * sysdeps/nptl/librt-cancellation.c: ... here.
10677         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10678         * sysdeps/nptl/malloc-machine.h: ... here.
10679         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10680         * sysdeps/nptl/pthread-functions.h: ... here.
10681         * nptl/sysdeps/pthread/pthread.h: Moved ...
10682         * sysdeps/nptl/pthread.h: ... here.
10683         * nptl/sysdeps/pthread/setxid.h: Moved ...
10684         * sysdeps/nptl/setxid.h: ... here.
10685         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10686         * sysdeps/nptl/sigfillset.c: ... here.
10687         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10688         * sysdeps/nptl/tcb-offsets.h: ... here.
10689         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10690         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10691         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10692         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10693         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10694         * sysdeps/pthread/allocalim.h: ... here.
10695         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10696         * sysdeps/pthread/bits/sigthread.h: ... here.
10697         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10698         * sysdeps/pthread/flockfile.c: ... here.
10699         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10700         * sysdeps/pthread/ftrylockfile.c: ... here.
10701         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10702         * sysdeps/pthread/funlockfile.c: ... here.
10703         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10704         * sysdeps/pthread/posix-timer.h: ... here.
10705         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10706         * sysdeps/pthread/timer_create.c: ... here.
10707         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10708         * sysdeps/pthread/timer_delete.c: ... here.
10709         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10710         * sysdeps/pthread/timer_getoverr.c: ... here.
10711         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10712         * sysdeps/pthread/timer_gettime.c: ... here.
10713         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10714         * sysdeps/pthread/timer_routines.c: ... here.
10715         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10716         * sysdeps/pthread/timer_settime.c: ... here.
10717         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10718         * sysdeps/pthread/tst-timer.c: ... here.
10719         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10720         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10722         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10723         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10725         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10726         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10727         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10728         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10729         Update #include target.
10730         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10731         * sysdeps/i386/i686/nptl/Makefile: ... here.
10732         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10733         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10734         Update #include target.
10735         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10736         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10737         * nptl/sysdeps/i386/Makefile: Moved ...
10738         * sysdeps/i386/nptl/Makefile: ... here.
10739         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10740         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10741         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10742         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10743         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10744         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10745         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10746         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10747         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10748         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10749         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10750         * nptl/sysdeps/i386/tls.h: Moved ...
10751         * sysdeps/i386/nptl/tls.h: ... here.
10753         * sysdeps/sh/Makefile [$(subdir) = csu]
10754         (gen-as-const-headers): Add tcb-offsets.sym.
10755         * nptl/sysdeps/sh/Makefile: File removed.
10756         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10757         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10758         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10759         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10760         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10761         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10762         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10763         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10764         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10765         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10766         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10767         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10768         * nptl/sysdeps/sh/tls.h: Moved ...
10769         * sysdeps/sh/nptl/tls.h: ... here.
10770         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10771         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10772         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10773         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10774         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10775         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10776         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10777         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10778         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10779         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10780         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10781         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10782         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10783         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10784         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10785         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10786         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10787         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10788         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10789         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10790         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10791         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10792         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10793         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10794         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10795         Moved ...
10796         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10797         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10798         Moved ...
10799         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10800         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10801         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10802         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10803         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10804         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10805         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10806         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10807         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10808         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10809         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10810         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10811         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10812         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10813         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10814         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10815         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10816         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10817         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10819 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10821         * posix/spawn_faction_addopen.c: Include string.h.
10823 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10825         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10826         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10827         * nptl/sysdeps/x86_64/Makefile: Moved ...
10828         * sysdeps/x86_64/nptl/Makefile: ... here.
10829         * nptl/sysdeps/x86_64/configure: Moved ...
10830         * sysdeps/x86_64/nptl/configure: ... here.
10831         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10832         * sysdeps/x86_64/nptl/configure.ac: ... here.
10833         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10834         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10835         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10836         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10837         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10838         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10839         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10840         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10841         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10842         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10843         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10844         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10845         * nptl/sysdeps/x86_64/tls.h: Moved ...
10846         * sysdeps/x86_64/nptl/tls.h: ... here.
10847         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10848         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10849         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10850         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10852         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10854 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10858 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10860         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10861         type.
10862         [POSIX] (off_t): Likewise.
10863         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10864         [POSIX] (S_ISBLK): Require macro.
10865         [POSIX] (S_ISCHR): Likewise.
10866         [POSIX] (S_ISDIR): Likewise.
10867         [POSIX] (S_ISFIFO): Likewise.
10868         [POSIX] (S_ISREG): Likewise.
10869         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10870         optional-macro.
10871         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10872         type.
10873         [POSIX] (time_t): Likewise.
10874         [POSIX] (timer_t): Likewise.
10876 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10878         [BZ #17048]
10879         * posix/spawn_int.h (struct __spawn_action): Make the path string
10880         non-const to support deallocation.
10881         * posix/spawn_faction_addopen.c
10882         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10883         * posix/spawn_faction_destroy.c
10884         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10885         path in all spawn_do_open actions.
10886         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10887         posix_spawn_file_actions_addopen.
10889 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10891         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10892         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10893         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10894         conditional code always true.
10895         (__libc_vfork): New alias.
10897 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10899         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10900         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10902         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10904         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10905         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10907         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10908         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10910         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10911         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10913 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10915         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10916         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10917         multiarch strcmp for PPC64.
10918         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10919         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10921         multiarch optimizations.
10922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10923         (__libc_ifunc_impl_list): Likewise.
10925 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10927         * benchtests/scripts/validate_benchout.py: New script.
10928         * benchtests/Makefile (bench-func): Call it.
10929         * benchtests/scripts/benchout.schema.json: New file.
10931 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10933         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10934         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10935         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10936         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10937         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10938         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10939         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10940         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10941         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10942         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10943         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10944         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10945         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10946         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10947         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10948         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10950         Moved ...
10951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10952         ... here.
10953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10954         Moved ...
10955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10957         Moved ...
10958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10959         ... here.
10960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10961         Moved ...
10962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10963         ... here.
10964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10965         Moved ...
10966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10968         Moved ...
10969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10970         ... here.
10971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10972         Moved ...
10973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10974         ... here.
10975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10976         Moved ...
10977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10979         Moved ...
10980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10981         ... here.
10982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10983         Moved ...
10984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10985         ... here.
10986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10987         Moved ...
10988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10989         ... here.
10990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10991         Moved ...
10992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10994         Moved ...
10995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10996         ... here.
10997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10998         Moved ...
10999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11000         ... here.
11001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11002         Moved ...
11003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11004         ... here.
11005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11006         Moved ...
11007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11009         Moved ...
11010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11011         ... here.
11012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11013         Moved ...
11014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11015         ... here.
11016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11017         Moved ...
11018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11020         Moved ...
11021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11022         ... here.
11023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11024         Moved ...
11025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11027         Moved ...
11028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11030         Moved ...
11031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11032         ... here.
11033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11034         Moved ...
11035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11036         ... here.
11037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11038         Moved ...
11039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11040         ... here.
11041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11042         Moved ...
11043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11045         Moved ...
11046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11047         ... here.
11048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11049         Moved ...
11050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11051         ... here.
11052         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11053         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11054         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11055         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11056         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11057         Moved ...
11058         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11059         ... here.
11060         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11061         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11062         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11063         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11064         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11065         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11066         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11067         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11068         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11069         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11070         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11071         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11072         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11073         Moved ...
11074         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11075         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11076         Moved ...
11077         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11078         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11079         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11080         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11081         Moved ...
11082         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11083         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11084         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11085         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11086         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11087         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11088         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11090 2014-06-10  Wilco  <wdijkstr@arm.com>
11092         * math/test-fenv-return.c: New file.
11093         * math/Makefile: Add new test test-fenv-return.
11095 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
11097         [BZ #17042]
11098         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11099         when x - 1 is zero.
11100         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11101         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11102         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11103         0.0L for an argument of 1.0L.
11104         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11105         Likewise.
11106         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11107         value when x - 1 is zero.
11108         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11109         * sysdeps/i386/fpu/libm-test-ulps: Update.
11110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11112 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
11114         [BZ #15119]
11115         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11117 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11119         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11120         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11122 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11124         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11125         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11127         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11128         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11130         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11131         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11133         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11134         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11136         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11137         if not already defined.
11138         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11139         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11140         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11141         (TLS_INIT_TP): Use it.
11142         (TLS_DEFINE_INIT_TP): New macro.
11143         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11145 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
11147         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11148         constant.
11149         [POSIX] (IXANY): Likewise.
11150         [POSIX] (OLCUC): Likewise.
11151         [POSIX || POSIX2008] (CBAUD): Do not allow.
11152         [POSIX || POSIX2008] (DEFECHO): Likewise.
11153         [POSIX || POSIX2008] (ECHOCTL): Likewise.
11154         [POSIX || POSIX2008] (ECHOKE): Likewise.
11155         [POSIX || POSIX2008] (ECHOPRT): Likewise.
11156         [POSIX || POSIX2008] (EXTA): Likewise.
11157         [POSIX || POSIX2008] (EXTB): Likewise.
11158         [POSIX || POSIX2008] (FLUSHO): Likewise.
11159         [POSIX || POSIX2008] (LOBLK): Likewise.
11160         [POSIX || POSIX2008] (PENDIN): Likewise.
11161         [POSIX || POSIX2008] (SWTCH): Likewise.
11162         [POSIX || POSIX2008] (VDISCARD): Likewise.
11163         [POSIX || POSIX2008] (VDSUSP): Likewise.
11164         [POSIX || POSIX2008] (VLNEXT): Likewise.
11165         [POSIX || POSIX2008] (VREPRINT): Likewise.
11166         [POSIX || POSIX2008] (VSTATUS): Likewise.
11167         [POSIX || POSIX2008] (VWERASE): Likewise.
11168         (B*): Change to B[0123456789]*.
11169         * conform/data/time.h-data [POSIX || UNIX98]
11170         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11171         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11172         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11173         [POSIX] (tm_*): Do not allow.
11175 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
11177         * Makefile (install): Don't set LANGUAGE.
11178         * Makefile.in (install): Likewise.
11179         * assert/Makefile (test-assert-ENV): Remove variable.
11180         (test-assert-perr-ENV): Likewise.
11181         * elf/Makefile (neededtest4-ENV): Likewise.
11182         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11183         [$(cross-compiling) = no]: Don't set LANGUAGE.
11184         * io/ftwtest-sh (LANG): Remove variable.
11185         * libio/Makefile (tst-widetext-ENV): Likewise.
11186         * manual/install.texi (Running make install): Don't refer to
11187         environment settings for make install.
11188         * INSTALL: Regenerated.
11189         * nptl/tst-tls6.sh: Don't set LANG.
11190         * posix/globtest.sh (LANG): Remove variable.
11191         * string/Makefile (tester-ENV): Likewise.
11192         (inl-tester-ENV): Likewise.
11193         (noinl-tester-ENV): Likewise.
11194         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11195         [$(cross-compiling) = no]: Don't set LANGUAGE.
11196         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11197         without explicit environment settings.
11199 2014-06-06  Roland McGrath  <roland@hack.frob.com>
11201         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11202         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11203         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11204         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11206 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
11208         * crypt/crypt-private.h [DOS]: Add some includes taken from the
11209         other files in the crypt directory.
11210         * crypt/crypt.c: Remove duplicate includes.
11211         * crypt/crypt-entry.c: Likewise.
11212         * crypt/crypt_util.c: Likewise.
11214 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
11216         * Makeconfig (run-program-env): New variable.
11217         (run-program-prefix-before-env): Likewise.
11218         (run-program-prefix-after-env): Likewise.
11219         (run-program-prefix): Define in terms of new variables.
11220         (built-program-cmd-before-env): New variable.
11221         (built-program-cmd-after-env): Likewise.
11222         (built-program-cmd): Define in terms of new variables.
11223         (test-program-prefix-before-env): New variable.
11224         (test-program-prefix-after-env): Likewise.
11225         (test-program-prefix): Define in terms of new variables.
11226         (test-program-cmd-before-env): New variable.
11227         (test-program-cmd-after-env): Likewise.
11228         (test-program-cmd): Define in terms of new variables.
11229         * Rules (make-test-out): Use $(run-program-env).
11230         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11231         (help): Do not mention environment variables.  Mention
11232         --timeoutfactor option.
11233         (timeoutfactor): New variable.
11234         (blacklist_exports): Remove function.
11235         (exports): Remove variable.
11236         (command): Do not include ${exports}.
11237         * manual/install.texi (Configuring and compiling): Do not mention
11238         test wrappers preserving environment variables.  Mention that last
11239         assignment to a variable must take precedence.
11240         * INSTALL: Regenerated.
11241         * benchtests/Makefile (run-bench): Use $(run-program-env).
11242         * catgets/Makefile ($(objpfx)test1.cat): Use
11243         $(built-program-cmd-before-env), $(run-program-env) and
11244         $(built-program-cmd-after-env).
11245         ($(objpfx)test2.cat): Do not specify environment variables
11246         explicitly.
11247         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11248         $(run-program-env) and $(built-program-cmd-after-env).
11249         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11250         $(run-program-env) and $(test-program-cmd-after-env).
11251         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11252         explicitly.
11253         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11254         run_program_env and test_program_cmd_after_env arguments.
11255         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11256         * elf/tst-pathopt.sh: Use run_program_env argument.
11257         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11258         $(test-wrapper-env) and $(run-program-env).
11259         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11260         run_program_env arguments.
11261         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11262         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11263         $(test-program-prefix-before-env), $(run-program-env) and
11264         $(test-program-prefix-after-env).
11265         ($(objpfx)tst-gettext2.out): Likewise.
11266         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11267         run_program_env and test_program_prefix_after_env arguments.
11268         * intl/tst-gettext2.sh: Likewise.
11269         * intl/tst-gettext4.sh: Do not set environment variables
11270         explicitly.
11271         * intl/tst-gettext6.sh: Likewise.
11272         * intl/tst-translit.sh: Likewise.
11273         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11274         $(test-program-prefix-before-env), $(run-program-env) and
11275         $(test-program-prefix-after-env).
11276         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11277         run_program_env and test_program_prefix_after_env arguments.
11278         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11279         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11280         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11281         explicitly with each use of ${test_wrapper_env}.
11282         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11283         $(test-program-prefix-before-env), $(run-program-env) and
11284         $(test-program-prefix-after-env).
11285         * posix/tst-getconf.sh: Do not set environment variables
11286         explicitly.
11287         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11288         run_program_env and test_program_prefix_after_env arguments.
11289         * stdio-common/tst-printf.sh: Do not set environment variables
11290         explicitly.
11291         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11292         $(test-program-prefix-before-env), $(run-program-env) and
11293         $(test-program-prefix-after-env).
11294         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11295         run_program_env and test_program_prefix_after_env arguments.
11296         Split $test calls into $test_pre and $test.
11297         * timezone/Makefile (build-testdata): Use
11298         $(built-program-cmd-before-env), $(run-program-env) and
11299         $(built-program-cmd-after-env).
11301 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11303         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11304         strlen for non SHARED builds.
11306 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11308         * nptl/allocatestack.c (check_list): Inlined function...
11309         (__reclaim_stacks): ... here.
11311 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11313         [BZ #15698]
11314         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11315         memory overrun.
11317 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11319         * Rules (make-test-out): Include
11320         LOCPATH=$(common-objpfx)localedata in default environment.
11321         * debug/Makefile (tst-chk1-ENV): Remove variable.
11322         (tst-chk2-ENV): Likewise.
11323         (tst-chk3-ENV): Likewise.
11324         (tst-chk4-ENV): Likewise.
11325         (tst-chk5-ENV): Likewise.
11326         (tst-chk6-ENV): Likewise.
11327         (tst-lfschk1-ENV): Likewise.
11328         (tst-lfschk2-ENV): Likewise.
11329         (tst-lfschk3-ENV): Likewise.
11330         (tst-lfschk4-ENV): Likewise.
11331         (tst-lfschk5-ENV): Likewise.
11332         (tst-lfschk6-ENV): Likewise.
11333         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11334         (tst-iconv7-ENV): Likewise.
11335         * intl/Makefile (LOCPATH-ENV): Likewise.
11336         (tst-codeset-ENV): Likewise.
11337         (tst-gettext3-ENV): Likewise.
11338         (tst-gettext5-ENV): Likewise.
11339         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11340         (tst-fopenloc-ENV): Likewise.
11341         (tst-fgetws-ENV): Remove variable.
11342         (tst-ungetwc1-ENV): Likewise.
11343         (tst-ungetwc2-ENV): Likewise.
11344         (bug-ungetwc2-ENV): Likewise.
11345         (tst-swscanf-ENV): Likewise.
11346         (bug-ftell-ENV): Likewise.
11347         (tst-fgetwc-ENV): Likewise.
11348         (tst-fseek-ENV): Likewise.
11349         (tst-ftell-partial-wide-ENV): Likewise.
11350         (tst-ftell-active-handler-ENV): Likewise.
11351         (tst-ftell-append-ENV): Likewise.
11352         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11353         (tst-regexloc-ENV): Likewise.
11354         (bug-regex1-ENV): Likewise.
11355         (tst-regex-ENV): Likewise.
11356         (tst-regex2-ENV): Likewise.
11357         (bug-regex5-ENV): Likewise.
11358         (bug-regex6-ENV): Likewise.
11359         (bug-regex17-ENV): Likewise.
11360         (bug-regex18-ENV): Likewise.
11361         (bug-regex19-ENV): Likewise.
11362         (bug-regex20-ENV): Likewise.
11363         (bug-regex22-ENV): Likewise.
11364         (bug-regex23-ENV): Likewise.
11365         (bug-regex25-ENV): Likewise.
11366         (bug-regex26-ENV): Likewise.
11367         (bug-regex30-ENV): Likewise.
11368         (bug-regex32-ENV): Likewise.
11369         (bug-regex33-ENV): Likewise.
11370         (bug-regex34-ENV): Likewise.
11371         (bug-regex35-ENV): Likewise.
11372         (tst-rxspencer-ENV): Likewise.
11373         (tst-rxspencer-no-utf8-ENV): Likewise.
11374         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11375         (tst-sscanf-ENV): Likewise.
11376         (tst-swprintf-ENV): Likewise.
11377         (tst-swscanf-ENV): Likewise.
11378         (test-vfprintf-ENV): Likewise.
11379         (scanf13-ENV): Likewise.
11380         (bug14-ENV): Likewise.
11381         (tst-grouping-ENV): Likewise.
11382         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11383         (tst-strtod3-ENV): Likewise.
11384         (tst-strtod4-ENV): Likewise.
11385         (tst-strtod5-ENV): Likewise.
11386         (testmb2-ENV): Likewise./
11387         * string/Makefile (tst-strxfrm-ENV): Likewise.
11388         (tst-strxfrm2-ENV): Likewise.
11389         (bug-strcoll1-ENV): Likewise.
11390         (test-strcasecmp-ENV): Likewise.
11391         (test-strncasecmp-ENV): Likewise.
11392         * time/Makefile (tst-strptime-ENV): Likewise.
11393         (tst-ftime_l-ENV): Likewise.
11394         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11395         (tst-mbrtowc-ENV): Likewise.
11396         (tst-wcrtomb-ENV): Likewise.
11397         (tst-mbrtowc2-ENV): Likewise.
11398         (tst-c16c32-1-ENV): Likewise.
11399         (tst-mbsnrtowcs-ENV): Likewise.
11401 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11403         * manual/resource.texi (How to get information about the memory
11404         subsystem?): Fix typo.
11405         Reported by Peon de la Parra Ivan <peon@keba.com>
11407 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11409         [BZ #16882]
11410         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11411         (pthread_spin_lock): Branch out of spin loop to proper location.
11412         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11413         (pthread_spin_lock): Likewise.
11415         * nptl/tst-spin4.c: New test.
11416         * nptl/Makefile (tests): Add tst-spin4.
11418 2014-06-03  Andreas Schwab  <schwab@suse.de>
11420         [BZ #15946]
11421         * resolv/res_send.c (send_dg): Reload file descriptor after
11422         calling reopen.
11424 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11426         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11428 2014-06-03  Richard Henderson  <rth@redhat.com>
11430         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11431         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11432         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11433         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
11434         in the SAVE_PID block.
11435         (__libc_vfork): New alias.
11436         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11438         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11439         child in registers, not on the stack.  Remove RESET_PID conditionals.
11440         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11442 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11444         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11446 2014-06-03  Wilco  <wdijkstr@arm.com>
11448         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11449         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11450         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11451         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11452         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11453         Likewise.
11455 2014-06-03  Wilco  <wdijkstr@arm.com>
11457         * sysdeps/aarch64/fpu/math_private.h
11458         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11459         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11460         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11461         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11462         Fix declarations.
11464 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11466         * crypt/crypt-private.h: Include ufc-crypt.h.
11467         (__b64_from_24bit): Declare extern.
11468         * crypt/crypt_util.c(__b64_from_24bit): New function.
11469         (b64t): New static const variable.
11470         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11471         (b64t): Remove variable.
11472         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11473         * crypt/sha256-crypt.c: Include crypt-private.h.
11474         (b64t): Remove variable.
11475         (__sha256_crypt_r): Remove b64_from_24bit and replace
11476         with __b64_from_24bit.
11477         * crypt/sha512-crypt.c: Likewise.
11479 2014-06-02  Roland McGrath  <roland@hack.frob.com>
11481         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11482         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11483         Label the code __libc_vfork rather than __vfork.
11484         [!NOT_IN_libc] (vfork): Define as weak alias.
11485         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11486         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11487         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11489 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11491         * malloc/malloc.c (malloc_info): Fix format specifier for
11492         n_mmaps.
11494 2014-06-02  Wilco  <wdijkstr@arm.com>
11496         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11497         FPCR write.
11499 2014-06-02  Wilco  <wdijkstr@arm.com>
11501         [BZ #17009]
11502         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11503         Rewrite to reduce FPCR/FPSR accesses.
11505 2014-06-01  David S. Miller  <davem@davemloft.net>
11507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11509 2014-05-31  David S. Miller  <davem@davemloft.net>
11511         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11512         to occur in round to nearest mode when |x| >= 2.0
11514 2014-05-30  Richard Henderson  <rth@twiddle.net>
11516         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11517         (PSEUDO_RET_NOERRNO): Remove.
11518         (ret): Don't redefine.
11519         (ret_NOERRNO): Define in terms of ret.
11520         (ret_ERRVAL): Likewise.
11522         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11523         use of PSEUDO_RET; perform the error check directly.
11525 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11527         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11528         with __int128_t.
11530 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11532         * malloc/malloc (malloc_info): Fix formatting.
11534 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11535             Roland McGrath  <roland@hack.frob.com>
11537         * malloc/malloc (malloc_info): Also print mmapped statistics.
11539 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11541         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11542         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11544 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11546         * malloc/malloc.c (malloc_info): Inline mi_arena.
11548 2014-05-29  Richard Henderson  <rth@twiddle.net>
11550         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11551         Remove comma before expanding ASM_ARGS_##nr.
11552         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11553         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11554         of ASM_ARGS_##nr.
11555         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11556         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11557         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11558         (ASM_ARGS_1): Add leading comma.
11560         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11561         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11562         to __errno_location.
11563         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11564         Remove the expected plt for __errno_location.
11566         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11567         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11568         call to __read_tp.
11570         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11571         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11572         it and break it down.
11573         (DOCARGS_0, DOCARGS_1): Do nothing.
11574         (DOCARGS_2): Update to store into the new stack frame.
11575         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11576         (UNDOCARGS_1): Update to restore from the new stack frame.
11577         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11578         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11580         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11581         (SINGLE_THREAD_P): New parameter for result regno.
11582         (PSEUDO): Update to match; use cbz instead of beq.
11584         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11585         Use ENTRY to define the _nocancel entry point.  Share the syscall
11586         and syscall error check paths with the cancel path.
11587         (PSEUDO_END): New.
11589         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11590         whitespace; tabs before and after asm mnemonics.
11592 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11594         [BZ #15132]
11595         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11596         Call fstat64 or stat64 internally, depending on arguments passed.
11597         Replace stat buffer argument with file descriptor argument.
11598         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11599         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11600         Pass fd to __internal_statvfs instead of calling fstat64.
11601         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11602         Pass fd to __internal_statvfs64 instead of calling fstat64.
11603         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11604         Pass -1 to __internal_statvfs instead of calling stat64.
11605         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11606         Pass -1 to __internal_statvfs64 instead of calling stat64.
11608 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11610         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11611         that was previously under [RESET_PID].
11612         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11614         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11615         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11617 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11619         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11621         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11622         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11624 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11626         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11628 2014-05-27  Andreas Schwab  <schwab@suse.de>
11630         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11631         TLS_INIT_TP macro.
11632         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11633         * elf/rtld.c (init_tls, dl_main): Likewise.
11634         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11635         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11636         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11637         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11638         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11639         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11640         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11641         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11642         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11643         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11644         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11645         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11646         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11647         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11648         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11649         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11650         * sysdeps/generic/tls.h: Update description.
11652 2014-05-27  Will Newton  <will.newton@linaro.org>
11654         [BZ #16990]
11655         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11656         and restore r2 rather than just restoring.
11658 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11660         [BZ #16724]
11661         * libio/tst-ftell-append.c: New test case.
11662         * libio/Makefile (tests): Add test case.
11663         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11664         append mode.
11665         * libio/wfileops.c (do_ftell_wide): Likewise.
11667 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11671         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11672         ...
11673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11675         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11676         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11677         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11678         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11679         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11680         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11681         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11682         Moved ...
11683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11684         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11685         Moved ...
11686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11687         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11688         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11689         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11690         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11691         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11692         ...
11693         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11694         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11695         Moved ...
11696         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11697         here.
11698         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11699         ...
11700         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11701         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11702         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11704         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11705         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11706         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11707         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11710         merge into ...
11711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11712         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11713         ...
11714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11715         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11716         ...
11717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11718         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11719         Moved ...
11720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11721         here.
11722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11723         Moved ...
11724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11725         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11726         Moved ...
11727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11730         conditional [RESET_PID].
11731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11732         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11733         removed.
11734         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11735         removed.
11737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11738         <tcb-offsets.h>.
11739         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11740         (__libc_vfork): New strong alias.
11741         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11742         removed.
11743         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11744         Removed.
11746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11747         <tcb-offsets.h>.
11748         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11749         (__libc_vfork): New strong alias.
11750         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11751         removed.
11752         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11753         removed.
11755 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11757         * malloc/malloc.c (mi_arena): New function.
11758         (malloc_info): Remove nested function mi_arena. Call non-nosted
11759         function mi_arena.
11761 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11763         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11764         by insrwi.
11765         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11766         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11767         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11768         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11769         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11770         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11771         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11773 2014-05-26  Andreas Schwab  <schwab@suse.de>
11775         [BZ #16984]
11776         * locale/programs/repertoire.c (repertoire_read): Add slash
11777         between I18NPATH element and file name.
11778         * locale/programs/locfile.c (locfile_read): Likewise.
11780 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11782         * nptl/pthread_mutexattr_settype.c
11783         (__pthread_mutexattr_settype):
11784         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11786 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11788         * nptl/tst-mutex5 (do_test):
11789         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11791 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11793         * benchtests/README: Document 'init' directive.
11794         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11795         BENCH_INIT.
11796         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11797         (parse_file): Recognize 'init' directive.
11799 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11801         [BZ #16796]
11802         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11803         alignment of struct pthread.
11805 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11807         [BZ #16878]
11808         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11809         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11810         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11811         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11813 2014-05-25  Richard Henderson  <rth@twiddle.net>
11815         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11816         (SINGLE_THREAD_P_PIC): Remove.
11817         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11818         (SINGLE_THREAD_P_PIC): Remove.
11820         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11821         branch to syscall error ...
11822         (PSEUDO): ... here.
11823         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11824         from __local_syscall_error to .Lsyscall_error.
11825         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11826         (SYSCALL_ERROR): Update label name.
11828         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11829         Do not use DOARGS/UNDOARGS.
11830         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11831         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11832         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11833         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11834         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11836         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11837         block comment.
11839         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11840         define if !NOT_IN_libc.
11841         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11842         define with non-default symbol versions.
11844 2014-05-23  Richard Henderson  <rth@twiddle.net>
11846         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11847         (vfork, __vfork): Define via compat_symbol.
11849         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11850         [!HAVE_IFUNC] (vfork_compat): Remove.
11851         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11853 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11855         [BZ #16978]
11856         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11857         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11858         variable.
11860 2014-05-23  Richard Henderson  <rth@twiddle.net>
11862         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11863         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11864         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11865         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11867         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11868         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11869         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11870         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11871         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11872         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11873         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11874         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11875         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11876         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11877         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11878         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11879         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11880         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11881         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11882         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11883         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11884         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11885         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11886         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11887         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11888         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11889         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11890         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11891         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11892         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11893         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11894         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11895         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11896         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11897         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11898         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11899         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11900         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11901         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11902         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11903         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11904         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11905         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11906         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11907         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11908         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11909         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11910         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11911         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11912         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11913         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11914         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11915         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11916         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11917         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11918         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11919         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11920         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11921         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11922         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11924         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11925         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11926         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11927         before exiting on error.
11928         (__libc_vfork): New strong alias.
11929         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11930         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11932         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11933         that was previously under [RESET_PID].
11934         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11936         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11938 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11940         [BZ #16977]
11941         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11942         value when x - 1 is zero.
11943         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11944         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11945         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11946         0.0L for an argument of 1.0L.
11947         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11948         Likewise.
11949         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11950         value when x - 1 is zero.
11951         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11952         * sysdeps/i386/fpu/libm-test-ulps: Update.
11953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11955 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11957         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11958         alphasort and versionsort.
11960 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11962         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11963         macro.
11964         [copysignf]: Likewise.
11966 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11968         * crypt/md5-crypt.c: Fix formatting.
11970 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11972         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11973         (b64_from_24bit): New function.
11975 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11977         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11978         libc_hidden_builtin_def to ifunc.
11979         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11980         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11982 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11984         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11985         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11987 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11989         * nscd/Depend (linuxthreads): Remove.
11990         (nptl): Add.
11991         * resolv/Depend (linuxthreads): Remove.
11992         * rt/Depend (linuxthreads): Remove.
11994         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11995         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11996         $(common-objpfx)elf/.
11997         (link-libc-before-gnulib): Likewise.
11998         (elfobjdir): Remove variable.
11999         * Makefile (install): Use $(elf-objpfx) instead of
12000         $(common-objpfx)elf/.
12001         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12002         $(elfobjdir)/.
12003         (link-libc-deps): Likewise.
12004         ($(common-objpfx)libc.so): Likewise.
12005         ($(common-objpfx)linkobj/libc.so): Likewise.
12006         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12007         instead of $(common-objpfx)elf/.
12008         (symbolic-link-list): Likewise.
12009         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12010         [$(cross-compiling) = no]: Likewise.
12011         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12012         $(elfobjdir)/.
12013         (static-gnulib-arch): Likewise.
12014         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12015         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12016         $(common-objpfx)elf/.
12018 2014-05-21  Richard Henderson  <rth@redhat.com>
12020         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12021         (SINGLE_THREAD_P): Use the correct width load.  Fold
12022         into the ldr offset.
12024         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12025         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12027 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
12029         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12030         (libgcc_s_resume): Use __attribute_used__.
12031         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12032         Likewise.
12034 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12036         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12037         optimization when used with float constants.
12039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12041 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
12043         [BZ #16915]
12044         * locale/nl_langinfo_l.c: Make direct reference to every
12045         _nl_current_CATEGORY symbol.
12046         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12047         (tests-static): Add tst-langinfo-static.
12048         (tests-special): Add tst-langinfo-static.out.
12049         ($(objpfx)tst-langinfo.out): Redirect output.
12050         ($(objpfx)tst-langinfo-static.out): New.
12051         * localedata/tst-langinfo.sh: Send output to stdout.
12052         * localedata/tst-langinfo-static.c: New file.
12054         [BZ #16965]
12055         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12056         when the shift amount is modulo the limb size.
12058 2014-05-20  Richard Henderson  <rth@redhat.com>
12060         [BZ #16967]
12061         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12062         Change type of sa_flags from unsigned int to int.
12064         [BZ #16966]
12065         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12067         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12069 2014-05-20  Will Newton  <will.newton@linaro.org>
12071         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12072         Test the return value of the system call in the nocancel case.
12074 2014-05-20  Will Newton  <will.newton@linaro.org>
12075             Yvan Roux  <yvan.roux@linaro.org>
12077         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12078         #include of asm/ptrace.h.
12079         (PTRACE_GET_THREAD_AREA): Remove #undef.
12080         (PTRACE_GETHBPREGS): Likewise.
12081         (PTRACE_SETHBPREGS): Likewise.
12082         (struct user_regs_struct): New structure.
12083         (struct user_fpsimd_struct): New structure.
12084         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12085         #include of asm/ptrace.h and second #include of sys/user.h.
12086         (PTRACE_GET_THREAD_AREA): Remove #undef.
12087         (PTRACE_GETHBPREGS): Likewise.
12088         (PTRACE_SETHBPREGS): Likewise.
12089         (ELF_NGREG): Use new struct user_regs_struct.
12090         (elf_fpregset_t): Use new struct user_fpsimd_struct.
12092 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12094         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12095         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12097 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12099         [BZ #16958]
12100         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12101         membar to avoid block loads/stores to overlap previous stores.
12103 2014-05-17  Richard Henderson  <rth@redhat.com>
12105         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12106         Create the __##syscall_name##_nocancel entry point.
12107         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12108         Remove; let the sysdep-cancel.h code create it.
12110 2014-05-17  David S. Miller  <davem@davemloft.net>
12112         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12113         Protect with __USE_GNU.
12114         (TIOCSET_TEMPT): Likewise.
12115         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12116         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12117         these are already provided in bits/ioctl-types.h
12119 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12121         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12122         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12124         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12125         Use wait4 regardless of [__NR_waitpid].
12127 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12129         PR libgcc/60166
12130         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12131         (_FP_NANSIGN_Q): Set the quiet bit.
12133 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
12135         * benchtests/Makefile
12136         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12137         not $(common-objpfx)math/libm.so.
12138         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12139         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12140         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12141         $(common-objpfx)dlfcn/libdl.so.
12142         ($(objpfx)tst-audit8): Depend on $(libm), not
12143         $(common-objpfx)math/libm.so.
12144         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12145         not $(common-objpfx)dlfcn/libdl.so.
12146         * math/Makefile
12147         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12148         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
12149         [$(build-shared) = yes].
12150         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12151         $(common-objpfx)nptl/libpthread.so.
12152         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12153         $(common-objpfx)math/libm.so$(libm.so-version) or
12154         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12155         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12156         $(common-objpfx)dlfcn/libdl.so.
12157         * setjmp/Makefile (link-libm): Remove variable.
12158         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12159         * stdio-common/Makefile (link-libm): Remove variable.
12160         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12161         * stdlib/Makefile (link-libm): Remove variable.
12162         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12163         ($(objpfx)tst-strtod-round): Likewise.
12164         ($(objpfx)tst-tininess): Likewise.
12165         ($(objpfx)tst-strtod-underflow): Likewise.
12166         ($(objpfx)tst-strtod6): Likewise.
12167         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12168         $(libdl), not $(common-objpfx)nptl/libpthread.so and
12169         $(common-objpfx)dlfcn/libdl.so.
12171 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12173         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12174         BSD terminal modes definitions.
12176 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12178         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12179         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12181         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12182         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12183         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12184         Don't do #include_next.
12185         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12186         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12187         Don't do #include_next.
12188         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12189         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12190         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12191         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12193 2014-05-16  Allan McRae  <allan@archlinux.org>
12195         * po/sv.po: Update Swedish translation from translation project.
12197         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12198         in sed expression.
12200 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
12202         [BZ #16917]
12203         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12204         errno if the TIOCGPTN ioctl fails with an error different than
12205         EINVAL.
12206         * login/tst-ptsname.c: New file.
12207         * login/Makefile (tests): Add tst-ptsname.
12209         [BZ #16943]
12210         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12211         and prlimit64.
12213 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12215         [BZ #16849]
12216         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12217         herrno to return EAI_AGAIN.
12219 2014-05-14  Roland McGrath  <roland@hack.frob.com>
12221         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12222         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12223         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12224         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12225         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12226         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12227         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12228         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12229         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12230         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12231         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12232         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12233         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12234         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12235         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12236         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12237         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12238         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12239         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12240         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12241         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12242         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12243         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12244         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12245         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12246         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12247         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12248         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12249         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12250         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12252         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12254         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12256         Moved ...
12257         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12259         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12261         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12263         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12265         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12267         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12269         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12271         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12273         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12275         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12277         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12279         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12281         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12283         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12285         Moved ...
12286         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12288         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12290         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12292         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12294         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12296         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12298         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12300         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12302         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12304         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12306         Moved ...
12307         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12308         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12309         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12311         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12312         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12313         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12314         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12315         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12316         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12317         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12318         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12319         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12320         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12321         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12322         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12323         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12324         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12325         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12326         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12327         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12328         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12329         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12330         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12331         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12332         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12333         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12334         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12335         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12336         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12337         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12338         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12339         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12340         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12341         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12343         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12344         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12346         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12347         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12348         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12349         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12350         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12351         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12352         Moved ...
12353         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12354         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12355         Moved ...
12356         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12357         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12358         Moved ...
12359         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12360         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12361         Moved ...
12362         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12363         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12364         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12365         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12366         Moved ...
12367         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12368         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12369         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12370         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12371         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12372         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12373         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12374         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12375         Moved ...
12376         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12377         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12378         Moved ...
12379         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12380         ... here.
12381         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12382         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12383         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12384         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12385         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12386         Moved ...
12387         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12388         ... here.
12389         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12390         Moved ...
12391         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12392         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12393         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12394         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12395         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12396         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12397         Moved ...
12398         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12399         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12400         Moved ...
12401         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12402         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12403         Moved ...
12404         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12405         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12406         Moved ...
12407         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12408         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12409         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12410         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12411         Moved ...
12412         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12413         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12414         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12415         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12416         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12417         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12418         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12419         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12420         Moved ...
12421         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12422         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12423         Moved ...
12424         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12425         ... here.
12426         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12427         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12428         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12429         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12430         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12431         Moved ...
12432         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12433         ... here.
12434         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12435         Moved ...
12436         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12437         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12438         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12439         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12440         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12441         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12442         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12443         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12444         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12445         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12446         Moved ...
12447         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12448         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12449         Moved ...
12450         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12451         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12452         Moved ...
12453         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12454         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12455         Moved ...
12456         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12457         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12458         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12459         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12460         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12461         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12462         Moved ...
12463         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12464         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12465         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12466         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12467         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12468         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12469         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12470         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12471         Moved ...
12472         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12473         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12474         Moved ...
12475         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12476         ... here.
12477         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12478         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12479         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12480         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12481         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12482         Moved ...
12483         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12484         ... here.
12485         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12486         Moved ...
12487         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12488         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12489         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12490         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12491         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12492         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12493         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12494         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12495         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12496         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12497         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12499         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12500         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12502         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12503         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12505         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12506         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12507         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12508         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12509         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12510         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12511         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12512         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12513         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12514         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12515         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12516         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12517         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12518         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12519         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12520         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12521         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12522         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12523         Moved ...
12524         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12525         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12526         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12528         Moved ...
12529         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12531         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12532         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12533         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12534         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12535         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12536         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12537         Moved ...
12538         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12539         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12540         Moved ...
12541         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12542         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12543         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12544         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12545         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12546         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12547         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12548         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12549         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12550         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12551         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12552         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12553         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12554         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12555         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12556         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12557         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12559         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12560         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12561         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12562         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12563         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12565         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12566         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12567         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12568         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12569         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12570         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12571         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12572         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12573         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12574         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12576         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12577         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12579         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12580         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12581         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12582         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12583         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12584         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12585         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12586         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12587         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12588         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12589         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12590         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12591         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12592         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12593         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12594         Update #include.
12595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12596         Likewise.
12597         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12598         Likewise.
12599         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12600         Likewise.
12601         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12602         Likewise.
12603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12604         Likewise.
12605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12606         Likewise.
12607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12608         Likewise.
12609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12610         Likewise.
12611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12612         Likewise.
12613         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12614         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12615         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12616         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12617         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12618         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12619         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12620         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12621         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12622         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12623         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12624         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12625         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12626         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12627         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12629         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12630         that was previously under [RESET_PID].
12631         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12632         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12633         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12635         * sysdeps/i386/nptl/Implies: New file.
12636         * sysdeps/x86_64/nptl/Implies: New file.
12637         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12638         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12639         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12640         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12642         * sysdeps/unix/sysv/linux/i386/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/i386/vfork.S: File removed.
12646         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12648         * sysdeps/unix/sysv/linux/x86_64/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         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12652         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12654         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12655         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12656         (__libc_vfork): New strong alias.
12657         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12658         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12659         * nptl/pt-vfork.c: New file.
12660         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12661         (libpthread: GLIBC_2.20): New version set (empty).
12663 2014-05-14  Will Newton  <will.newton@linaro.org>
12665         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12666         rather than #if.
12668 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12670         [BZ #16564]
12671         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12672         arguments with exponent 65 or above.
12673         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12674         arguments 0x1p113L or above.
12675         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12676         to arguments 0x1p107L or above.
12677         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12678         positive arguments with exponent 65 or above.
12679         * math/auto-libm-test-in: Add more tests of log1p.
12680         * math/auto-libm-test-out: Regenerated.
12682         [BZ #16928]
12683         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12684         non-finite arguments is +0.
12685         * math/s_cacosf.c (__cacosf): Likewise.
12686         * math/s_cacosl.c (__cacosl): Likewise.
12687         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12688         * sysdeps/i386/fpu/libm-test-ulps: Update.
12689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12691         [BZ #16927]
12692         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12693         value.
12694         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12695         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12696         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12697         for explicit high bit of mantissa when testing for argument equal
12698         to 1.
12699         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12700         * sysdeps/i386/fpu/libm-test-ulps: Update.
12701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12703         [BZ #16516]
12704         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12705         (__erf): Scale by 16 instead of 8 in potentially underflowing
12706         case.  Ensure exception if result actually underflows.
12707         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12708         (__erff): Scale by 16 instead of 8 in potentially underflowing
12709         case.  Ensure exception if result actually underflows.
12710         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12711         (efx8): Remove variable.
12712         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12713         case.  Ensure exception if result actually underflows.
12714         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12715         (efx8): Remove variable.
12716         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12717         case.  Ensure exception if result actually underflows.
12718         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12719         (efx8): Remove variable.
12720         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12721         case.  Ensure exception if result actually underflows.
12722         * math/auto-libm-test-in: Add more tests of erf.
12723         * math/auto-libm-test-out: Regenerated.
12725 2014-05-14  Andreas Schwab  <schwab@suse.de>
12727         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12728         Remove code conditionalized on USE___THREAD.
12730         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12731         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12732         not definedness.
12734 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12736         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12737         Define unconditionally.
12738         (__ASSUME_O_CLOEXEC): Likewise.
12739         (__ASSUME_SOCK_CLOEXEC): Likewise.
12740         (__ASSUME_IN_NONBLOCK): Likewise.
12741         (__ASSUME_PIPE2): Likewise.
12742         (__ASSUME_EVENTFD2): Likewise.
12743         (__ASSUME_SIGNALFD4): Likewise.
12744         (__ASSUME_DUP3): Likewise.
12745         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12746         (__ASSUME_DUP3): Do not define.
12747         (__ASSUME_EVENTFD2): Likewise.
12748         (__ASSUME_IN_NONBLOCK): Likewise.
12749         (__ASSUME_O_CLOEXEC): Likewise.
12750         (__ASSUME_PIPE2): Likewise.
12751         (__ASSUME_SIGNALFD4): Likewise.
12752         (__ASSUME_SOCK_CLOEXEC): Likewise.
12753         (__ASSUME_UTIMES): Undefine.
12754         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12755         (__ASSUME_UTIMES): Do not define.
12756         (__ASSUME_O_CLOEXEC): Likewise.
12757         (__ASSUME_SOCK_CLOEXEC): Likewise.
12758         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12759         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12760         0x020621].
12761         (__ASSUME_PIPE2): Likewise.
12762         (__ASSUME_EVENTFD2): Likewise.
12763         (__ASSUME_SIGNALFD4): Likewise.
12764         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12765         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12766         Do not define.
12767         (__ASSUME_EVENTFD2): Likewise.
12768         (__ASSUME_SIGNALFD4): Likewise.
12769         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12770         (__ASSUME_32BITUIDS): Likewise.
12771         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12772         (__ASSUME_IPC64): Likewise.
12773         (__ASSUME_ST_INO_64_BIT): Likewise.
12774         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12775         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12776         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12777         (__ASSUME_UTIMES): Do not define.
12778         (__ASSUME_PSELECT): Likewise.
12779         (__ASSUME_PPOLL): Likewise.
12780         (__ASSUME_O_CLOEXEC): Likewise.
12781         (__ASSUME_SOCK_CLOEXEC): Likewise.
12782         (__ASSUME_IN_NONBLOCK): Likewise.
12783         (__ASSUME_PIPE2): Likewise.
12784         (__ASSUME_EVENTFD2): Likewise.
12785         (__ASSUME_SIGNALFD4): Likewise.
12786         (__ASSUME_DUP3): Likewise.
12787         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12788         (__ASSUME_UTIMES): Likewise.
12789         (__ASSUME_O_CLOEXEC): Likewise.
12790         (__ASSUME_SOCK_CLOEXEC): Likewise.
12791         (__ASSUME_IN_NONBLOCK): Likewise.
12792         (__ASSUME_PIPE2): Likewise.
12793         (__ASSUME_EVENTFD2): Likewise.
12794         (__ASSUME_SIGNALFD4): Likewise.
12795         (__ASSUME_DUP3): Likewise.
12796         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12797         (__ASSUME_UTIMES): Likewise.
12798         (__ASSUME_O_CLOEXEC): Likewise.
12799         (__ASSUME_SOCK_CLOEXEC): Likewise.
12800         (__ASSUME_IN_NONBLOCK): Likewise.
12801         (__ASSUME_PIPE2): Likewise.
12802         (__ASSUME_EVENTFD2): Likewise.
12803         (__ASSUME_SIGNALFD4): Likewise.
12804         (__ASSUME_DUP3): Likewise.
12805         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12806         Likewise.
12807         (__ASSUME_UTIMES): Likewise.
12808         (__ASSUME_EVENTFD2): Likewise.
12809         (__ASSUME_SIGNALFD4): Likewise.
12810         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12811         (__ASSUME_O_CLOEXEC): Likewise.
12812         (__ASSUME_SOCK_CLOEXEC): Likewise.
12813         (__ASSUME_IN_NONBLOCK): Likewise.
12814         (__ASSUME_PIPE2): Likewise.
12815         (__ASSUME_EVENTFD2): Likewise.
12816         (__ASSUME_SIGNALFD4): Likewise.
12817         (__ASSUME_DUP3): Likewise.
12818         (__ASSUME_UTIMES): Undefine.
12820         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12821         feclearexcept.  Remove symbol versioning code.
12822         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12823         symbol versioning code.
12824         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12825         symbol versioning code.
12826         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12827         feupdateenv.  Remove symbol versioning code.
12828         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12829         fegetexceptflag.  Remove symbol versioning code.
12830         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12831         fesetexceptflag.  Remove symbol versioning code.
12832         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12833         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12834         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12835         (__posix_fadvise64_l32): Remove prototype.
12836         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12837         code.
12839 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12841         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12842         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12843         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12844         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12846 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12848         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12849         current working directory
12851 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12853         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12854         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12855         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12856         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12857         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12858         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12859         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12860         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12861         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12862         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12863         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12864         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12865         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12866         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12867         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12868         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12869         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12870         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12871         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12872         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12873         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12874         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12875         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12876         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12877         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12878         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12879         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12880         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12881         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12882         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12883         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12884         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12885         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12886         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12887         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12888         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12889         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12890         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12891         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12892         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12893         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12894         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12896         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12897         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12899         * sysdeps/unix/sysv/linux/arm/Makefile
12900         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12901         Add rt-aeabi_unwind_cpp_pr1.
12902         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12903         Add nptl-aeabi_unwind_cpp_pr1.
12904         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12905         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12906         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12907         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12908         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12909         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12911         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12912         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12913         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12914         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12916         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12917         Deconditionalize the code that was previously under [RESET_PID].
12918         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12920         * sysdeps/generic/exit-thread.h: New file.
12921         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12922         * include/unistd.h (__exit_thread): Remove declaration.
12923         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12924         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12925         * csu/libc-start.c: Include <exit-thread.h>.
12926         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12927         * nptl/pthread_create.c: Include <exit-thread.h>.
12928         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12929         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12930         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12931         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12932         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12933         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12934         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12935         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12936         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12937         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12938         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12939         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12940         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12941         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12942         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12943         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12944         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12946 2014-05-13  Andreas Schwab  <schwab@suse.de>
12948         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12950 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12952         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12953         (__ASSUME_UTIMES): Do not condition on kernel version.
12954         (__ASSUME_PSELECT): Define unconditionally.
12955         (__ASSUME_PPOLL): Likewise.
12956         (__ASSUME_ATFCTS): Likewise.
12957         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12958         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12959         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12960         (__ASSUME_UTIMENSAT): Define unconditionally.
12961         (__ASSUME_PRIVATE_FUTEX): Likewise.
12962         (__ASSUME_FALLOCATE): Likewise.
12963         (__ASSUME_O_CLOEXEC): Likewise.
12964         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12965         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12966         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12967         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12968         (__ASSUME_IN_NONBLOCK): Likewise.
12969         (__ASSUME_PIPE2): Likewise.
12970         (__ASSUME_EVENTFD2): Likewise.
12971         (__ASSUME_SIGNALFD4): Likewise.
12972         (__ASSUME_DUP3): Likewise.
12973         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12974         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12975         (__ASSUME_AT_RANDOM): Likewise.
12976         (__ASSUME_PREADV): Likewise.
12977         (__ASSUME_PWRITEV): Likewise.
12978         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12979         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12980         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12981         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12982         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12983         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12984         (__ASSUME_O_CLOEXEC): Define unconditionally.
12985         (__ASSUME_PSELECT): Do not undefine conditionally.
12986         (__ASSUME_PPOLL): Likewise.
12987         (__ASSUME_ATFCTS): Likewise.
12988         (__ASSUME_SET_ROBUST_LIST): Likewise.
12989         (__ASSUME_UTIMENSAT): Likewise.
12990         (__ASSUME_FDATASYNC): Define unconditionally.
12991         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12992         (__ASSUME_SIGFRAME_V2): Likewise.
12993         )__ASSUME_EVENTFD2): Likewise.
12994         (__ASSUME_SIGNALFD4): Likewise.
12995         (__ASSUME_PSELECT): Do not undefine conditionally.
12996         (__ASSUME_PPOLL): Likewise.
12997         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12998         (__ASSUME_PSELECT): Define unconditionally.
12999         (__ASSUME_PPOLL): Likewise.
13000         (__ASSUME_O_CLOEXEC): Likewise.
13001         (__ASSUME_SOCK_CLOEXEC): Likewise.
13002         (__ASSUME_IN_NONBLOCK): Likewise.
13003         (__ASSUME_PIPE2): Likewise.
13004         (__ASSUME_EVENTFD2): Likewise.
13005         (__ASSUME_SIGNALFD4): Likewise.
13006         (__ASSUME_DUP3): Likewise.
13007         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13008         (__ASSUME_O_CLOEXEC): Likewise.
13009         (__ASSUME_SOCK_CLOEXEC): Likewise.
13010         (__ASSUME_IN_NONBLOCK): Likewise.
13011         (__ASSUME_PIPE2): Likewise.
13012         (__ASSUME_EVENTFD2): Likewise.
13013         (__ASSUME_SIGNALFD4): Likewise.
13014         (__ASSUME_DUP3): Likewise.
13015         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13016         (__ASSUME_EVENTFD2): Likewise.
13017         (__ASSUME_SIGNALFD4): Likewise.
13018         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13020 2014-05-12  Andreas Schwab  <schwab@suse.de>
13022         [BZ #16932]
13023         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13024         (_nss_nis_gethostbyname4_r): Return error if item length is larger
13025         than maximum RPC packet size.
13026         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13027         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13028         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13029         (_nss_nis_getservbyport_r): Likewise.
13031 2014-05-12  Will Newton  <will.newton@linaro.org>
13033         * malloc/Makefile (tests): Add tst-mallopt.
13034         * malloc/tst-mallopt.c: New file.
13036 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13038         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13039         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13041 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13043         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13044         (tst-tlsmod6.so): Likewise.
13046 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13048         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13050 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
13052         [BZ #16064]
13053         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13054         and <dl-procinfo.h>.
13055         (__fegetenv): Save SSE state in envp->__eip if supported.
13056         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13057         envp->__eip if supported.
13058         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13059         and <dl-procinfo.h>.
13060         (__fesetenv): Always set __eip, __cs_selector, __opcode,
13061         __data_offset and __data_selector in environment to 0.  Set SSE
13062         state if supported.
13063         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13064         test-fenv-sse.
13065         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13066         -mfpmath=sse.
13067         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13069 2014-05-09  Will Newton  <will.newton@linaro.org>
13071         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13072         and libc_relro_required for ARM.
13073         * sysdeps/arm/preconfigure: Regenerate.
13075 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
13076             Stefan Liebler  <stli@linux.vnet.ibm.com>
13078         * config.make.in (enable-lock-elision): New Makefile variable.
13079         * configure.ac: Likewise.
13080         * configure: Regenerate.
13081         * sysdeps/s390/configure.ac:
13082         Add check for gcc transactions support.
13083         * sysdeps/s390/configure: Regenerate.
13084         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13085         Build elision files if enabled.
13086         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13087         Add lock elision support for s390.
13088         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13089         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13090         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13091         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13092         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13093         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13094         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13095         Likewise.
13096         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13097         Likewise.
13098         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13099         Likewise.
13100         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13101         Likewise.
13102         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13103         (__lll_timedlock_elision, __lll_lock_elision)
13104         (__lll_unlock_elision, __lll_trylock_elision)
13105         (lll_timedlock_elision, lll_lock_elision)
13106         (lll_unlock_elision, lll_trylock_elision): Add.
13107         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13108         (pthread_mutex_t): Add lock elision support for s390.
13110 2014-05-14  Wilco  <wdijkstr@arm.com>
13112         * sysdeps/arm/fclrexcpt.c: Cleanup.
13113         * sysdeps/arm/fedisblxcpt.c: Cleanup.
13114         * sysdeps/arm/feenablxcpt.c: Cleanup.
13115         * sysdeps/arm/fegetenv.c: Cleanup.
13116         * sysdeps/arm/fegetexcept.c: Cleanup.
13117         * sysdeps/arm/fegetround.c: Cleanup.
13118         * sysdeps/arm/feholdexcpt.c: Cleanup.
13119         * sysdeps/arm/fesetenv.c: Cleanup.
13120         * sysdeps/arm/fesetround.c: Cleanup.
13121         * sysdeps/arm/feupdateenv.c: Cleanup.
13122         * sysdeps/arm/fgetexcptflg.c: Cleanup.
13123         * sysdeps/arm/fraiseexcpt.c: Cleanup.
13124         * sysdeps/arm/fsetexcptflg.c: Cleanup.
13125         * sysdeps/arm/ftestexcept.c: Cleanup.
13126         * sysdeps/arm/get-rounding-mode.h: Cleanup.
13127         * sysdeps/arm/setfpucw.c: Cleanup.
13129 2014-05-09  Will Newton  <will.newton@linaro.org>
13131         * sysdeps/arm/armv7/strcmp.S: New file.
13132         * NEWS: Mention addition of ARMv7 optimized strcmp.
13134 2014-05-08  Roland McGrath  <roland@hack.frob.com>
13136         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13137         look for %.ac rather than %.in.
13139         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13140         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13141         * sysdeps/mach/hurd/configure: Regenerated.
13142         * sysdeps/unix/sysv/linux/configure: Regenerated.
13144         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13146 2014-05-07  Steve Ellcey  <sellcey@mips.com>
13148         [BZ# 16922]
13149         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13150         (LONG_SUB): Ditto.
13151         (PTR_SUB): Ditto.
13153 2014-05-07  Andreas Schwab  <schwab@suse.de>
13155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13156         when skipping over non-matching result from nscd.
13158 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
13160         [BZ #16876]
13161         * nptl/sockperf.c (client): Check socket return value.
13163         [BZ #16877]
13164         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13165         nscd security class.
13167 2014-05-06  Roland McGrath  <roland@hack.frob.com>
13169         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13170         * sysdeps/arm/unwind.h: ... here.
13172 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
13174         [BZ# 16916]
13175         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13176         Define.
13178 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13180         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13181         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13182         multiarch strncpy for PPC64.
13183         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13184         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13186         multiarch optimizations.
13187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13188         (__libc_ifunc_impl_list): Likewise.
13189         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13190         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13191         multiarch stpncpy for PPC64.
13192         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13193         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13195 2014-05-06  Andreas Schwab  <schwab@suse.de>
13197         [BZ #16912]
13198         * gmon/mcount.c (_MCOUNT_DECL): Use
13199         atomic_compare_and_exchange_bool_acq instead of
13200         catomic_compare_and_exchange_bool_acq.
13202 2014-05-05  Roland McGrath  <roland@hack.frob.com>
13204         * elf/Makefile (others, install-bin): Remove pldd.
13205         (pldd-modules): Variable removed.
13206         ($(objpfx)pldd): Target removed.
13207         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13208         (others, install-bin): Append pldd here.
13209         ($(objpfx)pldd): New target.
13211         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13212         to 0, so the first #if test emitted later doesn't see it undefined.
13213         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13214         * sysdeps/gnu/errlist.c: Regenerated.
13216 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13218         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13219         [libc_hidden_builtin_def]: Define to empty value.
13220         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13221         [libc_hidden_builtin_def]: Likewise.
13222         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13223         [libc_hidden_builtin_def]: Likewise.
13224         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13225         [libc_hidden_builtin_def]: Likewise.
13226         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13227         __redirect_memcpy and define ifunc as default hidden symbol.
13228         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13229         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13231 2014-05-04  Adam Conrad  <adconrad@0c3.net>
13233         * locale/iso-4217.def: Reintroduce XDR currency.
13235 2014-05-04  Allan McRae  <allan@archlinux.org>
13237         * po/eo.po: Update Esperanto translation from translation project.
13239 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
13241         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13242         and FEATURE_INDEX_MAX to 1.
13243         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13245 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13247         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13248         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13249         * iconvdata/big5.c (ONE_DIRECTION): Define.
13250         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13251         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13252         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13253         * iconvdata/cp932.c (ONE_DIRECTION): Define.
13254         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13255         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13256         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13257         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13258         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13259         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13260         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13261         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13262         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13263         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13264         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13265         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13266         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13267         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13268         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13269         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13270         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13271         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13272         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13273         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13274         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13275         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13276         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13277         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13278         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13279         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13280         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13281         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13282         * iconvdata/johab.c (ONE_DIRECTION): Define.
13283         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13284         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13285         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13286         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13287         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13288         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13289         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13290         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13291         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13292         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13294 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13296         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13297         (_IO_JUMPS_OFFSET): Define to 0.
13299         * nptl/sysdeps/pthread/bits/libc-lock.h
13300         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13301         (__libc_lock_define_initialized_recursive): Always define using
13302         initializer.  Modern compilers treat uninitialized (implicit zero) and
13303         explicit zero initializers the same (i.e. put the datum in bss).
13305 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13307         * nscd/nscd-client.h: Include <string.h>.
13309 2014-05-01  David S. Miller  <davem@davemloft.net>
13311         [BZ #16885]
13312         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13313         multiple zero bytes exist at the end of a string.
13314         Reported by Aurelien Jarno <aurelien@aurel32.net>
13316         * string/test-strcmp.c (check): Add explicit test for situations where
13317         there are multiple zero bytes after the first.
13319 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13321         [BZ #16890]
13322         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13323         when compiling wprintf.
13324         * stdio-common/tstdiomisc.c (t3): New function.
13325         (main): Call it.
13327 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13329         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13330         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13331         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13332         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13334 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13336         * stdlib/longlong.h: Updated from GCC.
13338 2014-05-01  Will Newton  <will.newton@linaro.org>
13339             Bernard Ogden  <bernie.ogden@linaro.org>
13341         * NEWS: Update fixed bug list.
13343         [BZ #15119]
13344         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13346 2014-04-30  David S. Miller  <davem@davemloft.net>
13348         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13349         (libc_feholdexcept_setround_sparc_ctx): New function.
13350         (libc_fesetenv_sparc_ctx): Likewise.
13351         (libc_feupdateenv_sparc_ctx): Likewise.
13352         (libc_feholdsetround_sparc_ctx): Likewise.
13353         (libc_feholdexcept_setround_ctx): Define.
13354         (libc_feholdexcept_setroundf_ctx): Likewise.
13355         (libc_feholdexcept_setroundl_ctx): Likewise.
13356         (libc_fesetenv_ctx): Likewise.
13357         (libc_fesetenvf_ctx): Likewise.
13358         (libc_fesetenvl_ctx): Likewise.
13359         (libc_feupdateenv_ctx): Likewise.
13360         (libc_feupdateenvf_ctx): Likewise.
13361         (libc_feupdateenvl_ctx): Likewise.
13362         (libc_feresetround_ctx): Likewise.
13363         (libc_feresetroundf_ctx): Likewise.
13364         (libc_feresetroundl_ctx): Likewise.
13365         (libc_feholdsetround_ctx): Likewise.
13366         (libc_feholdsetroundf_ctx): Likewise.
13367         (libc_feholdsetroundl_ctx): Likewise.
13369         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13370         with __USE_GNU instead of XOPEN cpp guards.
13372         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13373         0.
13375         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13376         with XOPEN cpp guards.
13378 2014-04-30  Julian Brown  <julian@codesourcery.com>
13380         [BZ #16888]
13381         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13382         handling.
13384 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13386         [BZ #9894]
13387         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13388         Change to 2.6.32.
13389         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13390         * sysdeps/unix/sysv/linux/configure: Regenerated.
13391         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13392         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13393         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13394         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13395         * README: Update reference to required Linux kernel version.
13396         * manual/install.texi (Linux): Update reference to required Linux
13397         kernel headers version.
13398         * INSTALL: Regenerated.
13400         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13401         header inclusion.
13402         [POSIX] (limits.h): Likewise.
13403         [POSIX] (math.h): Likewise.
13404         [POSIX] (sys/wait.h): Likewise.
13405         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13406         function.
13407         [POSIX] (stddef.h): Do not allow header inclusion.
13409 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13411         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13413 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13415         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13416         Return immediately after lll_futex_wake.
13418 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13420         [BZ #16791]
13421         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13422         structure.
13423         (datahead_init_pos): Call datahead_init_common early.
13424         (datahead_init_neg): Likewise.
13426         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13427         datahead_init_neg): New functions.
13428         * nscd/aicache.c (addhstaiX): Use them.
13429         * nscd/grpcache.c (cache_addgr): Likewise.
13430         * nscd/hstcache.c (cache_addhst): Likewise.
13431         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13432         * nscd/netgroupcache.c (do_notfound): Likewise.
13433         (addgetnetgrentX): Likewise.
13434         (addinnetgrX): Likewise.
13435         * nscd/pwdcache.c (cache_addpw): Likewise.
13436         * nscd/servicescache.c (cache_addserv): Likewise.
13438 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13439             Atsushi Onoe  <atsushi@onoe.org>
13441         [BZ #14308]
13442         [BZ #12994]
13443         [BZ #13651]
13444         * resolv/res_query.c (__libc_res_nsearch): Return if at least
13445         one response is valid.
13446         * resolv/res_send.c (send_dg): Check for validity of other
13447         response if the current response is a referral.
13449 2014-04-29  Steve Ellcey  <sellcey@mips.com>
13451         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13453 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
13455         [BZ #16823]
13456         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13457         Always divide by positive zero when computing -Inf result.
13458         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13459         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13461 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13463         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13464         FPSCR if value do not change.
13465         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13466         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13467         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13468         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13469         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13470         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13471         function.
13473 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
13475         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13476         * sysdeps/unix/sysv/linux/hppa: Move directory from
13477         ports/systeps/unix/sysv/linux/hppa.
13478         * README: Update listing for hppa-*-linux-gnu.
13480 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
13482         [BZ #16754]
13483         * manual/stdio.texi (Hook functions): Fix types of stream hook
13484         functions.
13485         [BZ #16854]
13486         * socket/sys/socket.h: Fix typo in comment.
13488 2014-04-28  Wilco  <wdijkstr@arm.com>
13490         * sysdeps/arm/fenv_private.h: New file.
13491         * sysdeps/arm/math_private.h: New file.
13492         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13494 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
13496         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13497         with __int128_t.
13498         (La_x86_64_retval): Likewise.
13500 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
13502         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13503         fpsr if value didn't change.
13504         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13505         to fpcr if value didn't change.
13506         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13507         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13508         fpsr or fpcr if value didn't change.
13509         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13510         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13511         fpcr if value didn't change.
13512         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13513         to fpsr if value didn't change.
13515 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13517         * nptl/tst-sem3.c: Use test-skeleton.c
13518         (main): Rename to do_test.  Use return instead of
13519         exit.
13520         * nptl/tst-sem4.c: Use test-skeleton.c
13521         (main): Rename to do_test.
13523 2014-04-22  David S. Miller  <davem@davemloft.net>
13525         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13526         (struct sigaction): New struct member __glibc_reserved0, change
13527         type of sa_flags to int.
13529 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13531         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13532         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13534 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13536         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13537         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13539 2014-04-22  Will Newton  <will.newton@linaro.org>
13540             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13542         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13543         (__longjmp): Add longjmp and longjmp_target SystemTap
13544         probes.
13545         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13546         (__sigsetjmp): Add setjmp SystemTap probe.
13548 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13550         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13551         match manual order.
13553 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13555         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13557         * sysdeps/powerpc/fpu/fenv_private.h
13558         (libc_feholdexcept_setroundl_ctx): Define to
13559         libc_feholdexcept_setround_ppc_ctx.
13560         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13561         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13562         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13563         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13565 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13567         * sysdeps/aarch64/math-tests.h: New file.
13569 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13571         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13572         New.
13573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13574         Check and set bit_AVX2_Usable.
13575         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13576         macro.
13577         (bit_AVX2): Likewise.
13578         (index_AVX2_Usable): Likewise.
13579         (CPUID_AVX2): Likewise.
13580         (HAS_AVX2): Likewise.
13582 2014-04-17  Will Newton  <will.newton@linaro.org>
13584         * manual/setjmp.texi (System V contexts): Add note that
13585         calling setcontext on a context created by a call to a
13586         signal handler is undefined.  Update text to note that
13587         setcontext from a signal handler is possible but not
13588         recommended.
13590         [BZ #16629]
13591         * stdlib/tst-setcontext.c: Include signal.h.
13592         (main): Check that the signal stack before and
13593         after swapcontext is the same.
13595         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13596         Re-implement to restore registers in user code and avoid
13597         rt_sigreturn system call.
13599 2014-04-17  Wilco  <wdijkstr@arm.com>
13601         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13602         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13603         * math/test-fenv.c: Skip exception trap tests on targets which only
13604         support non-stop mode.
13606 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13607             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13609         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13610         (libc_feholdsetround_aarch64_ctx)
13611         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13612         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13613         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13614         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13615         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13616         (libc_feresetround_noexl_ctx): Define.
13618 2014-04-16  Richard Henderson  <rth@redhat.com>
13620         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13622         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13623         unwind tables.
13625         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13626         const from the non-libc, non-ldso copy.
13628         * sysdeps/alpha/libm-test-ulps: Regenerate.
13630 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13631             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13633         * sysdeps/aarch64/fpu/math_private.h: New file.
13635 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13637         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13639 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13641         [BZ #16275]
13642         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13643         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13644         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13645         Intel MPX bound registers before _dl_profile_fixup.
13646         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13647         registers after _dl_profile_fixup.  Save and restore bound
13648         registers bnd0/bnd1 when calling _dl_call_pltexit.
13649         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13650         (LR_BND_OFFSET): Likewise.
13651         (LRV_BND0_OFFSET): Likewise.
13652         (LRV_BND1_OFFSET): Likewise.
13654 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13656         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13657         to...
13658         * sysdeps/mach/hurd/i386/tls.h: ... here.
13659         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13660         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13661         fields.
13663 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13665         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13667 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13669         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13671 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13673         [BZ #14770]
13674         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13675         * sysdeps/s390/configure: Regenerate.
13677         [BZ #16824]
13678         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13679         Set round-to-nearest internally to reduce error accumulation.
13681 2014-04-16  Alan Modra  <amodra@gmail.com>
13683         [BZ #16740]
13684         [BZ #16619]
13685         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13686         * math/libm-test.inc (frexp_test_data): Add tests.
13687         * NEWS: Update fixed bug list.
13689 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13691         * benchtests/Makefile: Depend on libraries in build directory.
13692         (bench-math): Separate out math tests.
13693         (bench-pthread): Separate out pthread tests.
13694         (bench): Include math and pthread tests.
13696 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13698         [BZ #16831]
13699         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13700         _dl_debug_initialize.
13702         * configure.ac: Remove SELinux header check.
13703         * configure: Regenerate.
13704         * nscd/selinux.c (perms): Array of const char* to permission names.
13705         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13706         default policy. Call string_to_security_class and string_to_av_perm to
13707         translate strings. Enforce default policy and call avs_has_perm with
13708         results of translated strings.
13710 2014-04-13  David S. Miller  <davem@davemloft.net>
13712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13714 2014-04-12  Allan McRae  <allan@archlinux.org>
13716         [BZ #16838]
13717         * manual/string.texi (Collation Functions): Fix qsort argument
13718         order in example.
13719         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13721 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13723         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13724         Make the test a no-op if there are no exceptions defined.
13726 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13728         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13729         enable-hardcoded-path-in-tests
13731 2014-04-11  Will Newton  <will.newton@linaro.org>
13733         * benchtests/Makefile (extra-objs): Add json-lib.o.
13734         (bench-func): Tidy up JSON output.
13735         * benchtests/bench-skeleton.c: Include json-lib.h.
13736         (main): Use JSON library functions to do output of
13737         benchmark results.
13738         * benchtests/bench-timing-type.c (main): Output the
13739         timing type simply, leaving formatting to the user.
13740         * benchtests/json-lib.c: New file.
13741         * benchtests/json-lib.h: Likewise.
13743 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13745         [BZ #15215]
13746         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13747         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13748         memory barriers.  Add comments.
13749         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13750         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13751         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13752         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13753         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13754         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13756 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13758         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13759         * sysdeps/s390/s390-64/configure.ac: ... this ...
13760         * sysdeps/s390/configure.ac: ... to here.
13761         * sysdeps/s390/s390-32/configure: Delete file.
13762         * sysdeps/s390/s390-64/configure: Delete file.
13763         * sysdeps/s390/configure: Regenerate.
13765 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13767         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13769 2014-04-11  Will Newton  <will.newton@linaro.org>
13771         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13772         to zero if it is not defined elsewhere.  (mtrim): Test
13773         the value of MALLOC_DEBUG with #if rather than #ifdef.
13775 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13777         * benchtests/pthread_once-inputs: New file.
13778         * benchtests/pthread_once-source.c: New file.
13779         * benchtests/README: Update documentation.
13781 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13782             H.J. Lu  <hongjiu.lu@intel.com>
13784         [BZ #16275]
13785         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13786         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13787         * sysdeps/x86_64/configure: Regenerated.
13788         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13789         macro.
13790         (REGISTER_SAVE_RAX): Likewise.
13791         (REGISTER_SAVE_RCX): Likewise.
13792         (REGISTER_SAVE_RDX): Likewise.
13793         (REGISTER_SAVE_RSI): Likewise.
13794         (REGISTER_SAVE_RDI): Likewise.
13795         (REGISTER_SAVE_R8): Likewise.
13796         (REGISTER_SAVE_R9): Likewise.
13797         (REGISTER_SAVE_BND0): Likewise.
13798         (REGISTER_SAVE_BND1): Likewise.
13799         (REGISTER_SAVE_BND2): Likewise.
13800         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13801         bound registers when calling _dl_fixup.
13803 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13805         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13806         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13807         of its definition.
13808         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13809         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13810         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13811         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13812         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13813         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13814         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13816 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13818         [BZ #15514]
13819         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13820         pathconf(_PC_NAME_MAX).
13822 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13824         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13825         Remove macro usage.
13826         (__PTHREAD_SPINS): Move definition to ...
13827         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13828         (__PTHREAD_SPINS): ... here.
13829         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13830         (__PTHREAD_SPIN): Likewise.
13831         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13832         (__PTHREAD_SPIN): Likewise.
13833         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13834         (__PTHREAD_SPIN): Likewise.
13835         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13836         (__PTHREAD_SPIN): Likewise.
13837         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13838         (__PTHREAD_SPIN): Likewise.
13839         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13840         (__PTHREAD_SPIN): Likewise.
13841         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13842         (__PTHREAD_SPIN): Likewise.
13843         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13844         (__PTHREAD_SPIN): Likewise.
13845         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13846         (__PTHREAD_SPIN): Likewise.
13847         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13848         (__PTHREAD_SPIN): Likewise.
13849         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13850         (__PTHREAD_SPIN): Likewise.
13851         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13852         (__PTHREAD_SPIN): Likewise.
13854         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13855         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13856         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13857         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13858         imply folder.
13859         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13860         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13861         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13862         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13863         correct imply path.
13864         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13865         strlen symbol for non multi-arch builds.
13866         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13867         missing hidden_def and weak_alias.
13869 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13871         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13873 2014-04-07  Will Newton  <will.newton@linaro.org>
13875         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13876         and contents.  [!_LIBC] Remove #ifndef and contents.
13877         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13878         * string/memccpy.c (__memccpy): Use ANSI prototype.
13879         * string/memfrob.c (memfrob): Likewise.
13880         * string/strcoll.c (STRCOLL): Likewise.
13881         * string/strlen.c (strlen): Likewise.
13882         * string/strtok.c (STRTOK): Likewise.
13883         * string/strcat.c: Remove unused #include of memcopy.h.
13884         (strcat): Use ANSI prototype.
13885         * string/strchr.c: Remove unused #include of memcopy.h.
13886         (strchr): Use ANSI prototype.
13887         * string/strcmp.c: Remove unused #include of memcopy.h.
13888         (strcmp): Use ANSI prototype.
13889         * string/strcpy.c: Remove unused #include of memcopy.h.
13890         (strcpy): Use ANSI prototype.
13892 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13894         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13895         * config.make.in (config-extra-cppflags): Set it from
13896         libc_extra_cppflags.
13897         * configure.ac (libc_extra_cflags): Make it accumulate over
13898         configure fragments.
13899         (libc_extra_cppflags): New flag.
13900         * configure. Regenerate.
13901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13902         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13903         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13906         [BZ #16815]
13907         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13908         result for FE_DOWNWARD rounding mode.
13909         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13910         Likewise.
13911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13913 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13915         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13916         in function argument name.
13918 2014-04-03  David Svoboda  <svoboda@cert.org>
13920         [BZ #5666]
13921         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13922         explicitly.
13924 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13926         * elf/dl-unmap-segments.h: New file.
13927         * sysdeps/generic/ldsodefs.h
13928         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13929         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13930         * elf/dl-fptr.c: Likewise.
13931         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13932         * sysdeps/aarch64/tlsdesc.c: Likewise.
13933         * sysdeps/arm/tlsdesc.c: Likewise.
13934         * sysdeps/i386/tlsdesc.c: Likewise.
13935         * sysdeps/tile/dl-runtime.c: Likewise.
13936         * sysdeps/x86_64/tlsdesc.c: Likewise.
13937         * elf/dl-load.h: New file.
13938         * elf/dl-load.c: Include it.
13939         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13940         Macros moved to dl-load.h.
13941         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13942         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13943         Use _dl_unmap_segments in place of __munmap.
13944         Break out segment-mapping loop into ...
13945         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13947 2014-04-03  Will Newton  <will.newton@linaro.org>
13949         * elf/dl-lookup.c (do_lookup_x): Remove comment
13950         referring to nested function and move variable
13951         declarations down to before first use.
13953 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13955         [BZ #16799]
13956         [BZ #16800]
13957         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13958         with 0 numerator.
13959         * math/s_catanf.c (__catanf): Likewise.
13960         * math/s_catanh.c (__catanh): Likewise.
13961         * math/s_catanhf.c (__catanhf): Likewise.
13962         * math/s_catanhl.c (__catanhl): Likewise.
13963         * math/s_catanl.c (__catanl): Likewise.
13964         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13965         by positive zero when computing -Inf result.
13966         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13967         (catanh_test): Likewise.
13968         * sysdeps/i386/fpu/libm-test-ulps: Update.
13969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13971         [BZ #16789]
13972         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13973         instead of using underflowing value in computing result.
13974         * math/s_clog10.c (__clog10): Likewise.
13975         * math/s_clog10f.c (__clog10f): Likewise.
13976         * math/s_clog10l.c (__clog10l): Likewise.
13977         * math/s_clogf.c (__clogf): Likewise.
13978         * math/s_clogl.c (__clogl): Likewise.
13979         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13980         (clog10_test): Likewise.
13981         * sysdeps/i386/fpu/libm-test-ulps: Update.
13982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13984 2014-04-02  Alan Modra  <amodra@gmail.com>
13986         [BZ #16739]
13987         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13988         output when value is near a power of two.  Use int64_t for lx and
13989         remove casts.  Use decimal rather than hex exponent constants.
13990         Don't use long double multiplication when double will suffice.
13991         * math/libm-test.inc (nextafter_test_data): Add tests.
13992         * NEWS: Add 16739 and 16786 to bug list.
13994         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13996         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13998 2014-04-01  Will Newton  <will.newton@linaro.org>
14000         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14001         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
14003 2014-04-01  Florian Weimer  <fweimer@redhat.com>
14005         [BZ #13347]
14006         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14007         * nptl/tst-setuid2.c: New file.
14008         * nptl/Makefile (xtests): Add tst-setuid2.
14010 2014-04-01  Alan Modra  <amodra@gmail.com>
14012         [BZ #16786]
14013         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14015 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14017         [BZ #6803]
14018         [BZ #6804]
14019         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14020         set errno as appropriate.
14021         * math/w_scalbf.c (__scalbf): Likewise.
14022         * math/w_scalbl.c (__scalbl): Likewise.
14023         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14024         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14025         * math/libm-test.inc (scalb_test_data): Add errno expectations.
14026         Add more NaN tests.
14028         [BZ #16349]
14029         * math/w_atan2.c: Include <errno.h>.
14030         (__atan2): Set errno for result underflowing to zero.
14031         * math/w_atan2f.c: Include <errno.h>.
14032         (__atan2f): Set errno for result underflowing to zero.
14033         * math/w_atan2l.c: Include <errno.h>.
14034         (__atan2l): Set errno for result underflowing to zero.
14035         * math/auto-libm-test-in: Don't allow missing errno for some atan2
14036         tests.
14037         * math/auto-libm-test-out: Regenerated.
14039 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14041         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14042         Encode instruction correctly in little endian.
14043         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14044         Likewise.
14045         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14046         Likewise.
14047         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14048         Likewise.
14049         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14050         Likewise.
14052 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14054         [BZ #9894]
14055         * sysdeps/unix/sysv/linux/kernel-features.h
14056         [__sparc__ && !__arch64__ && !__sparc_v9__]
14057         (__ASSUME_SET_ROBUST_LIST): Do not define.
14058         [__sparc__ && !__arch64__ && !__sparc_v9__]
14059         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14060         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14061         Likewise.
14062         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14063         (__ASSUME_FUTEX_LOCK_PI): Undefine.
14064         (__ASSUME_REQUEUE_PI): Likewise.
14065         (__ASSUME_SET_ROBUST_LIST): Likewise.
14066         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14067         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14068         Undefine.
14069         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14070         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14071         Likewise.
14072         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14073         Likewise.
14074         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14075         Likewise.
14076         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14077         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14078         Undefine.
14079         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14080         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14081         Likewise.
14083         [BZ #16648]
14084         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14085         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14086         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14088 2014-03-31  Will Newton  <will.newton@linaro.org>
14090         * benchtests/Makefile (bench): Add ffs and ffsll to list
14091         of tests.
14092         * benchtests/ffs-inputs: New file.
14093         * benchtests/ffsll-inputs: Likewise.
14095 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
14097         [BZ #16770]
14098         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14099         too large before casting to int.
14100         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14101         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14102         * math/libm-test.inc (scalb_test_data): Add more tests.
14104 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14106         * benchtests/Makefile (DETAILED_OPT): New make option.
14107         (bench-func): Run benchmark program with -d if DETAILED_OPT is
14108         set.
14109         * benchtests/bench-skeleton.c: Include stdbool.h.
14110         (main): Store and print timings per input.
14111         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14112         member to each argument value.
14113         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14114         (_print_arg_data): Initialize per-input timing to 0.
14116         * benchtests/Makefile (timing-type): New binary.
14117         (bench-clean): Also remove bench-timing-type.
14118         (bench): New target for timing-type.
14119         (bench-func): Print output in JSON format.
14120         * benchtests/bench-skeleton.c (main): Print output in JSON
14121         format.
14122         * benchtests/bench-timing-type.c: New file.
14123         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14124         (TIMING_PRINT_STATS): Remove.
14125         * benchtests/scripts/bench.py (_print_arg_data): Store variant
14126         name separately.
14128         * benchtests/bench-modf.c: Remove.
14129         * benchtests/modf-inputs: New inputs file.
14131 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
14133         [BZ #16362]
14134         * math/s_clog10.c (M_PI_LOG10E): New macro.
14135         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14136         imaginary parts are 0.
14137         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14138         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14139         imaginary parts are 0.
14140         * math/s_clog10l.c (M_PI_LOG10El): New macro.
14141         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14142         imaginary parts are 0.
14143         * math/libm-test.inc (clog10_test_data): Update expected results
14144         for when real and imaginary parts are 0.
14146 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
14148         * elf/dl-load.c: Finish conversion of __builtin_expect into
14149         __glibc_{un}likely.
14151 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
14153         [BZ #16348]
14154         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14155         1+x for argument with exponent below -67.
14156         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14157         Likewise.
14158         * math/auto-libm-test-in: Add more tests of exp.
14159         * math/auto-libm-test-out: Regenerated.
14161 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14163         [BZ #16759]
14164         * inet/getnetgrent_r.c (get_nonempty_val): New function.
14165         (nscd_getnetgrent): Use it.
14167         [BZ #16760]
14168         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14169         of stpcpy.
14171 2014-03-27  Andi Kleen  <ak@linux.intel.com>
14173         * nptl/sysdeps/unix/sysv/linux/x86_64/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.
14179         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14180         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14181         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14182         (lll_robust_unlock): Remove out of line section. Use cfi
14183         intrinsics.
14184         (LLL_STUB_UNWIND_INFO*): Remove.
14186 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14188         [BZ #16758]
14189         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14190         blank values.
14192 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14194         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14196 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
14198         [BZ #16198]
14199         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14200         fnstenv.
14201         * math/test-fenv-preserve.c: New file.
14202         * math/Makefile (tests): Add test-fenv-preserve.
14204 2014-03-26  Will Newton <will.newton@linaro.org>
14206         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14208 2014-03-25  Roland McGrath  <roland@hack.frob.com>
14210         * scripts/versionlist.awk: Partition the version sets and emit all
14211         GLIBC_* (sorted) before all others (sorted).
14213 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14215         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14216         GLIBC_2.2.5 version.
14218 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14220         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14221         calls.
14223         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14224         previous change.
14226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14228 2014-03-25  Andreas Schwab  <schwab@suse.de>
14230         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14231         label to be used after in6ailist is initialized.
14233 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14235         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14236         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14238 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14240         [BZ #16357]
14241         [BZ #16599]
14242         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14243         min_plus_half.
14244         (fp_formats): Update initializers.
14245         (init_fp_formats): Initialize new field.
14246         (output_for_one_input_case): Allow underflow for results up to
14247         min_plus_half.
14248         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14249         * math/auto-libm-test-in: Don't mark some underflows from asin and
14250         atanh as spurious.
14251         * math/auto-libm-test-out: Regenerated.
14252         * sysdeps/i386/fpu/libm-test-ulps: Update.
14253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14255 2014-03-25  Andreas Schwab  <schwab@suse.de>
14257         * libio/Makefile (tst-ftell-partial-wide-ENV)
14258         (tst-ftell-active-handler-ENV): Define.
14260 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14262         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14264 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14266         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14268 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14270         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14271         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14272         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14274 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14276         [BZ #16634]
14277         * elf/dl-load.c (open_verify): Add mode parameter.
14278         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14279         (open_path): Change from boolean 'secure' to complete flag 'mode'
14280         (_dl_map_object): Adjust.
14281         * elf/Makefile (tests): Add tst-dlopen-aout.
14282         * elf/tst-dlopen-aout.c: New test.
14284 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14286         [BZ #16714]
14287         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14288         (struct stat): Rename member pad0 to __glibc_reserved0.
14290         [BZ #16712]
14291         * sysdeps/s390/s390-32/bits/wordsize.h
14292         (__WORDSIZE32_SIZE_ULONG): New define.
14293         * sysdeps/s390/s390-64/bits/wordsize.h
14294         (__WORDSIZE32_SIZE_ULONG): Likewise.
14295         * sysdeps/generic/stdint.h (SIZE_MAX):
14296         Define as UL if __WORDSIZE32_SIZE_ULONG.
14298         [BZ #16713]
14299         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14300         (__glibc_reserved0): New variable.
14301         (sa_flags): Change type to int.
14303         * posix/Makefile (before-compile): Use += before-compile instead
14304         of a :=.
14306         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14307         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14309 2014-03-20  Andreas Schwab  <schwab@suse.de>
14311         [BZ #16743]
14312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14313         non-matching result from nscd.
14315 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14317         * scripts/bench.py: Moved to ...
14318         * benchtests/scripts/bench.py: ... here.
14319         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14321 2014-03-24  Andreas Schwab  <schwab@suse.de>
14323         [BZ #16002]
14324         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14325         alloca_account and account alloca use for struct in6ailist.
14327 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14329         [BZ #16284]
14330         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14331         rounding mode to recompute results that overflow to infinity or
14332         underflow to zero.
14333         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14334         bug 16284.
14335         * math/auto-libm-test-out: Regenerated.
14336         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14337         (ccosh_test): Likewise.
14338         (csin_test_data): Use plus_oflow.
14339         (csin_test): Use ALL_RM_TEST.
14340         (csinh_test_data): Use plus_oflow.
14341         (csinh_test): Use ALL_RM_TEST.
14342         * sysdeps/i386/fpu/libm-test-ulps: Update.
14343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14345 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14347         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14348         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14349         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14351         [BZ #16731]
14352         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14353         when x - 1 is zero.
14354         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14355         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14356         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14357         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14358         argument is 1.
14359         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14360         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14361         zero.
14362         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14363         * sysdeps/i386/fpu/libm-test-ulps: Update.
14364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14366 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14368         * scripts/bench.pl: Remove file.
14369         * scripts/bench.py: New benchmark script.
14370         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14371         * benchtests/README: Mention python dependency.
14372         * scripts/pylintrc: New file.
14373         * scripts/pylint: New file.
14375         * bits/mathdef.h: Use #ifdef instead of #if.
14376         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14377         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14378         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14379         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14380         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14381         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14383 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14384             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14386         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14387         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14388         and strpbrk-ppc64 objects.
14389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14390         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14391         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14392         multiarch strpbrk for POWER7.
14393         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14394         multiarch strpbrk for PPC64.
14395         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14396         ifunc selector.
14397         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14398         strpbrk for POWER7.
14400 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14402         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14403         (atan_test): Likewise.
14404         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14405         (atanh_test): Use ALL_RM_TEST.
14406         (atan2_test_data): Likewise.
14407         (cabs_test): Likewise.
14408         (cacosh_test): Likewise.
14409         (carg_test): Likewise.
14410         (casin_test): Likewise.
14411         (casinh_test): Likewise.
14412         (cbrt_test): Likewise.
14413         (csqrt_test): Likewise.
14414         (erf_test): Likewise.
14415         (erfc_test): Likewise.
14416         (pow10_test): Likewise.
14417         (exp2_test): Likewise.
14418         (hypot_test): Likewise.
14419         (j0_test): Likewise.
14420         (j1_test): Likewise.
14421         (lgamma_test): Likewise.
14422         (gamma_test): Likewise.
14423         (sincos_test): Likewise.
14424         (tanh_test): Likewise.
14425         (y0_test): Likewise.
14426         (y1_test): Likewise.
14427         * sysdeps/i386/fpu/libm-test-ulps: Update.
14428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14430 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14432         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14434         and strcspn-ppc64 objects.
14435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14436         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14437         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14438         multiarch strcspn for POWER7.
14439         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14440         multiarch strcspn for PPC64.
14441         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14442         ifunc selector.
14443         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14444         strcspn for POWER7.
14446 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14448         * math/gen-libm-test.pl (generate_testfile): Expect only function
14449         name as argument to AUTO_TESTS_* and pass results for all rounding
14450         modes to parse_args.
14451         (parse_auto_input): Separate inputs of automatic tests from
14452         outputs before storing in %auto_tests.
14453         * math/libm-test.inc (acos_test_data): Update call to
14454         AUTO_TESTS_f_f.
14455         (acos_test): Use ALL_RM_TEST.
14456         (acos_tonearest_test_data): Remove.
14457         (acos_test_tonearest): Likewise.
14458         (acos_towardzero_test_data): Likewise.
14459         (acos_test_towardzero): Likewise.
14460         (acos_downward_test_data): Likewise.
14461         (acos_test_downward): Likewise.
14462         (acos_upward_test_data): Likewise.
14463         (acos_test_upward): Likewise.
14464         (acosh_test_data): Update call to AUTO_TESTS_f_f.
14465         (asin_test_data): Likewise.
14466         (asin_test): Use ALL_RM_TEST.
14467         (asin_tonearest_test_data): Remove.
14468         (asin_test_tonearest): Likewise.
14469         (asin_towardzero_test_data): Likewise.
14470         (asin_test_towardzero): Likewise.
14471         (asin_downward_test_data): Likewise.
14472         (asin_test_downward): Likewise.
14473         (asin_upward_test_data): Likewise.
14474         (asin_test_upward): Likewise.
14475         (asinh_test_data): Update call to AUTO_TESTS_f_f.
14476         (atan_test_data): Likewise.
14477         (atanh_test_data): Likewise.
14478         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14479         (cabs_test_data): Update call to AUTO_TESTS_c_f.
14480         (carg_test_data): Likewise.
14481         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14482         (ccos_test_data): Update call to AUTO_TESTS_c_c.
14483         (ccosh_test_data): Likewise.
14484         (cexp_test_data): Likewise.
14485         (clog_test_data): Likewise.
14486         (clog10_test_data): Likewise.
14487         (cos_test_data): Update call to AUTO_TESTS_f_f.
14488         (cos_test): Use ALL_RM_TEST.
14489         (cos_tonearest_test_data): Remove.
14490         (cos_test_tonearest): Likewise.
14491         (cos_towardzero_test_data): Likewise.
14492         (cos_test_towardzero): Likewise.
14493         (cos_downward_test_data): Likewise.
14494         (cos_test_downward): Likewise.
14495         (cos_upward_test_data): Likewise.
14496         (cos_test_upward): Likewise.
14497         (cosh_test_data): Update call to AUTO_TESTS_f_f.
14498         (cosh_test): Use ALL_RM_TEST.
14499         (cosh_tonearest_test_data): Remove.
14500         (cosh_test_tonearest): Likewise.
14501         (cosh_towardzero_test_data): Likewise.
14502         (cosh_test_towardzero): Likewise.
14503         (cosh_downward_test_data): Likewise.
14504         (cosh_test_downward): Likewise.
14505         (cosh_upward_test_data): Likewise.
14506         (cosh_test_upward): Likewise.
14507         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14508         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14509         (ctan_test_data): Likewise.
14510         (ctan_test): Use ALL_RM_TEST.
14511         (ctan_tonearest_test_data): Remove.
14512         (ctan_test_tonearest): Likewise.
14513         (ctan_towardzero_test_data): Likewise.
14514         (ctan_test_towardzero): Likewise.
14515         (ctan_downward_test_data): Likewise.
14516         (ctan_test_downward): Likewise.
14517         (ctan_upward_test_data): Likewise.
14518         (ctan_test_upward): Likewise.
14519         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14520         (ctanh_test): Use ALL_RM_TEST.
14521         (ctanh_tonearest_test_data): Remove.
14522         (ctanh_test_tonearest): Likewise.
14523         (ctanh_towardzero_test_data): Likewise.
14524         (ctanh_test_towardzero): Likewise.
14525         (ctanh_downward_test_data): Likewise.
14526         (ctanh_test_downward): Likewise.
14527         (ctanh_upward_test_data): Likewise.
14528         (ctanh_test_upward): Likewise.
14529         (erf_test_data): Update call to AUTO_TESTS_f_f.
14530         (erfc_test_data): Likewise.
14531         (exp_test_data): Likewise.
14532         (exp_test): Use ALL_RM_TEST.
14533         (exp_tonearest_test_data): Remove.
14534         (exp_test_tonearest): Likewise.
14535         (exp_towardzero_test_data): Likewise.
14536         (exp_test_towardzero): Likewise.
14537         (exp_downward_test_data): Likewise.
14538         (exp_test_downward): Likewise.
14539         (exp_upward_test_data): Likewise.
14540         (exp_test_upward): Likewise.
14541         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14542         (exp10_test): Use ALL_RM_TEST.
14543         (exp10_tonearest_test_data): Remove.
14544         (exp10_test_tonearest): Likewise.
14545         (exp10_towardzero_test_data): Likewise.
14546         (exp10_test_towardzero): Likewise.
14547         (exp10_downward_test_data): Likewise.
14548         (exp10_test_downward): Likewise.
14549         (exp10_upward_test_data): Likewise.
14550         (exp10_test_upward): Likewise.
14551         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14552         (expm1_test_data): Likewise.
14553         (expm1_test): Use ALL_RM_TEST.
14554         (expm1_tonearest_test_data): Remove.
14555         (expm1_test_tonearest): Likewise.
14556         (expm1_towardzero_test_data): Likewise.
14557         (expm1_test_towardzero): Likewise.
14558         (expm1_downward_test_data): Likewise.
14559         (expm1_test_downward): Likewise.
14560         (expm1_upward_test_data): Likewise.
14561         (expm1_test_upward): Likewise.
14562         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14563         (fma_test): Use ALL_RM_TEST.
14564         (fma_towardzero_test_data): Remove.
14565         (fma_test_towardzero): Likewise.
14566         (fma_downward_test_data): Likewise.
14567         (fma_test_downward): Likewise.
14568         (fma_upward_test_data): Likewise.
14569         (fma_test_upward): Likewise.
14570         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14571         (j0_test_data): Update call to AUTO_TESTS_f_f.
14572         (j1_test_data): Likewise.
14573         (jn_test_data): Update call to AUTO_TESTS_if_f.
14574         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14575         (log_test_data): Update call to AUTO_TESTS_f_f.
14576         (log10_test_data): Likewise.
14577         (log1p_test_data): Likewise.
14578         (log2_test_data): Likewise.
14579         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14580         (pow_tonearest_test_data): Likewise.
14581         (sin_test_data): Update call to AUTO_TESTS_f_f.
14582         (sin_test): Use ALL_RM_TEST.
14583         (sin_tonearest_test_data): Remove.
14584         (sin_test_tonearest): Likewise.
14585         (sin_towardzero_test_data): Likewise.
14586         (sin_test_towardzero): Likewise.
14587         (sin_downward_test_data): Likewise.
14588         (sin_test_downward): Likewise.
14589         (sin_upward_test_data): Likewise.
14590         (sin_test_upward): Likewise.
14591         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14592         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14593         (sinh_test): Use ALL_RM_TEST.
14594         (sinh_tonearest_test_data): Remove.
14595         (sinh_test_tonearest): Likewise.
14596         (sinh_towardzero_test_data): Likewise.
14597         (sinh_test_towardzero): Likewise.
14598         (sinh_downward_test_data): Likewise.
14599         (sinh_test_downward): Likewise.
14600         (sinh_upward_test_data): Likewise.
14601         (sinh_test_upward): Likewise.
14602         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14603         (sqrt_test): Use ALL_RM_TEST.
14604         (sqrt_tonearest_test_data): Remove.
14605         (sqrt_test_tonearest): Likewise.
14606         (sqrt_towardzero_test_data): Likewise.
14607         (sqrt_test_towardzero): Likewise.
14608         (sqrt_downward_test_data): Likewise.
14609         (sqrt_test_downward): Likewise.
14610         (sqrt_upward_test_data): Likewise.
14611         (sqrt_test_upward): Likewise.
14612         (tan_test_data): Update call to AUTO_TESTS_f_f.
14613         (tan_test): Use ALL_RM_TEST.
14614         (tan_tonearest_test_data): Remove.
14615         (tan_test_tonearest): Likewise.
14616         (tan_towardzero_test_data): Likewise.
14617         (tan_test_towardzero): Likewise.
14618         (tan_downward_test_data): Likewise.
14619         (tan_test_downward): Likewise.
14620         (tan_upward_test_data): Likewise.
14621         (tan_test_upward): Likewise.
14622         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14623         (tgamma_test_data): Likewise.
14624         (y0_test_data): Likewise.
14625         (y1_test_data): Likewise.
14626         (yn_test_data): Update call to AUTO_TESTS_if_f.
14627         (main): Do not call removed functions.
14629 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14631         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14632         (ldexp_test_data): Remove.
14633         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14634         scalbn_test_data.
14635         (scalb_test): Use ALL_RM_TEST.
14637 2014-03-19  Andreas Schwab  <schwab@suse.de>
14639         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14641 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14643         [BZ #16649]
14644         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14645         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14646         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14647         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14648         (__ASSUME_PREADV): Undefine.
14649         (__ASSUME_PWRITEV): Likewise.
14651 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14653         * bits/mman-linux.h: Add comment about non-Linux use.
14654         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14655         bits/mman-linux.h resting place.
14657         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14658         * bits/mman-linux.h: ... here.
14660 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14662         * conform/conformtest.pl: Add standard definition when calling C
14663         preprocessor on data files.
14664         (checknamespace): Remove unused variable.
14666 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14668         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14669         minus_oflow, plus_uflow and minus_uflow in expected results.
14670         * math/libm-test.inc (scalbn_test_data): Add more tests of
14671         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14672         minus_uflow.
14673         (scalbn_test): Use ALL_RM_TEST.
14674         (scalbln_test_data): Add more tests of negative arguments.  Use
14675         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14676         (scalbln_test): Use ALL_RM_TEST.
14678 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14680         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14682 2014-03-18  Will Newton  <will.newton@linaro.org>
14684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14685         inaccurate comment.
14687 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14689         * Makerules [!subdir] (check-abi): Exit with error status if a
14690         test failed.
14692 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14694         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14695         for rint.  Include results for all rounding modes.
14696         (nearbyint_test): Use ALL_RM_TEST.
14697         (rint_test_data): Include all tests used for nearbyint.
14699 2014-03-17  Will Newton  <will.newton@linaro.org>
14701         * nptl/sysdeps/pthread/pthread.h: Revert previous
14702         change.
14704         * sysdeps/generic/ldsodefs.h: Revert previous
14705         change.
14707         * libio/genops.c: Revert previous change.
14708         * libio/libioP.h: Likewise.
14709         * stdio-common/vfprintf.c: Likewise.
14711         * sysdeps/generic/math_private.h: Revert previous
14712         change.
14714         * sysdeps/generic/math_private.h: Check whether
14715         HAVE_RM_CTX is defined with #ifdef rather
14716         than #if.
14718         * argp/argp-fmtstream.h: Check whether
14719         __STRICT_ANSI__ is defined with #ifdef rather
14720         than #if.
14721         * argp/argp.h: Likewise.
14723         * libio/genops.c: Check whether
14724         _IO_JUMPS_OFFSET is defined with #ifdef rather
14725         than #if.
14726         * libio/libioP.h: Likewise.
14727         * stdio-common/vfprintf.c: Likewise.
14729         * sysdeps/generic/ldsodefs.h: Check whether
14730         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14731         than #if.
14733         * nptl/sysdeps/pthread/pthread.h: Check
14734         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14735         its value.
14737 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14739         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14740         setting O_APPEND.
14741         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14742         test case.
14744         [BZ #16680]
14745         * libio/fileops.c (_IO_file_open): Seek to end of file but
14746         don't cache the offset.
14747         (get_file_offset): Remove function.
14748         (do_ftell): Use cached offset when available.
14749         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14750         don't cache the offset.
14751         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14752         case.
14753         (do_one_test): Call it.
14754         (do_ftell_test): Fix up expected old offset for a+ mode.
14755         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14756         available.
14758         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14759         up test status with function return status.
14760         (do_write_test): Likewise.
14761         (do_append_test): Likewise.
14763         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14764         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14765         Remove.
14767 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14769         * math/gen-libm-test.pl (parse_args): Handle results specified for
14770         each rounding mode separately.
14771         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14772         tests and results from lrint_tonearest_test_data,
14773         lrint_towardzero_test_data, lrint_downward_test_data and
14774         lrint_upward_test_data.
14775         (lrint_test): Use ALL_RM_TEST.
14776         (lrint_tonearest_test_data): Remove.
14777         (lrint_test_tonearest): Likewise.
14778         (lrint_towardzero_test_data): Likewise.
14779         (lrint_test_towardzero): Likewise.
14780         (lrint_downward_test_data): Likewise.
14781         (lrint_test_downward): Likewise.
14782         (lrint_upward_test_data): Likewise.
14783         (lrint_test_upward): Likewise.
14784         (llrint_test_data): Merge in per-rounding-mode tests and results
14785         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14786         llrint_downward_test_data and llrint_upward_test_data.
14787         (llrint_test): Use ALL_RM_TEST.
14788         (llrint_tonearest_test_data): Remove.
14789         (llrint_test_tonearest): Likewise.
14790         (llrint_towardzero_test_data): Likewise.
14791         (llrint_test_towardzero): Likewise.
14792         (llrint_downward_test_data): Likewise.
14793         (llrint_test_downward): Likewise.
14794         (llrint_upward_test_data): Likewise.
14795         (llrint_test_upward): Likewise.
14796         (rint_test_data): Merge in per-rounding-mode tests and results
14797         from rint_tonearest_test_data, rint_towardzero_test_data,
14798         rint_downward_test_data and rint_upward_test_data.  Add
14799         per-rounding-mode results for tests not in those arrays.
14800         (rint_test): Use ALL_RM_TEST.
14801         (rint_tonearest_test_data): Remove.
14802         (rint_test_tonearest): Likewise.
14803         (rint_towardzero_test_data): Likewise.
14804         (rint_test_towardzero): Likewise.
14805         (rint_downward_test_data): Likewise.
14806         (rint_test_downward): Likewise.
14807         (rint_upward_test_data): Likewise.
14808         (rint_test_upward): Likewise.
14809         (main): Don't call removed functions.
14811 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14813         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14814         "Compiled on ..." crapola.  It is anti-useful.
14816 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14818         * scripts/evaluate-test.sh: Handle fourth argument to determine
14819         whether test run should stop on failure.
14820         * Makeconfig (stop-on-test-failure): New variable.
14821         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14822         $(stop-on-test-failure).
14823         * Makefile (tests): Give a summary of results from testing and
14824         exit with failure status if they include an ERROR or FAIL.
14825         (xtests): Likewise.
14826         * manual/install.texi (Configuring and compiling): Mention
14827         stop-on-test-failure=y.
14828         * INSTALL: Regenerated.
14830 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14832         * scripts/versionlist.awk: New file.
14833         * Makerules [$(build-shared) = yes]
14834         (postclean-generated): Add Versions.def, not Versions.def.v and
14835         Versions.def.v.i.
14836         ($(common-objpfx)Versions.def.v.i): Target removed.
14837         ($(common-objpfx)Versions.def): New target.
14838         ($(common-objpfx)Versions.all): Depend on that rather that
14839         $(common-objpfx)Versions.def.v.
14840         * Versions.def: File removed.
14842         * Makeconfig (+gccwarn): Add -Wundef.
14843         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14844         a dl-sysdep.h breaking its contract.
14845         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14846         * include/stackinfo.h: New file.
14847         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14848         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14849         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14850         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14851         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14852         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14853         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14854         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14855         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14856         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14857         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14858         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14859         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14860         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14861         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14863 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14865         [BZ #16707]
14866         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14867         implementation.
14868         * math/libm-test.inc (round_test_data): Add more tests.
14870         [BZ #16706]
14871         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14872         implementation.
14873         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14875         [BZ #16701]
14876         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14877         implementation.
14878         * math/libm-test.inc (ceil_test_data): Add more tests.
14880         * math/libm-test.inc (trunc_test_data): Add more tests related to
14881         BZ#16414.
14883 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14885         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14886         with #if rather than #ifdef.
14887         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14889 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14891         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14892         first.  Disable AVX-512 GCC support if assembler doesn't support
14893         it.
14894         * sysdeps/x86_64/configure: Regenerated.
14896 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14898         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14899         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14900         (__old_pthread_attr_setstack): Likewise.
14901         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14902         [!_STACK_GROWS_DOWN]: Likewise.
14904 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14906         * config.make.in (have-bash2): Delete.
14907         * configure.ac (libc_cv_have_bash2): Delete.
14908         * configure: Regenerate.
14909         * elf/Makefile (common-ldd-rewrite): Rename to ...
14910         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14911         (sh-ldd-rewrite): Delete.
14912         (bash-ldd-rewrite): Delete.
14913         (have-bash2): Delete checks.
14914         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14915         ldd-rewrite.
14917         * config.make.in (have-ksh): Delete.
14918         (KSH): Delete.
14919         * configure.ac (libc_cv_have_ksh): Delete.
14920         * configure: Regenerate.
14922         * elf/Makefile: Delete $(have-ksh) check.
14923         ($(objpfx)sotruss): Change KSH to BASH.
14924         * elf/sotruss.ksh: Rename to ...
14925         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14926         function style to match POSIX.  Drop ksh vim mode setting.
14928         * manual/time.texi (Specifying the Time Zone with TZ): Change
14929         Tuesday to Thursday.
14931         * debug/tst-longjmp_chk2.c: Update header comment.
14932         (stackoverflow_handler): Add comment.  Call assert on pass value.
14934 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14936         [BZ #16194]
14937         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14938         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14939         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14940         (La_x86_64_vector): Add zmm.
14941         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14942         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14943         ($(objpfx)tst-audit10): New target.
14944         ($(objpfx)tst-audit10.out): Likewise.
14945         (tst-audit10-ENV): New.
14946         (AVX512-CFLAGS): Likewise.
14947         (CFLAGS-tst-audit10.c): Likewise.
14948         (CFLAGS-tst-auditmod10a.c): Likewise.
14949         (CFLAGS-tst-auditmod10b.c): Likewise.
14950         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14951         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14952         * sysdeps/x86_64/configure: Regenerated.
14953         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14954         AVX-512 zmm register support.
14955         (_dl_x86_64_save_sse): Likewise.
14956         (_dl_x86_64_restore_sse): Likewise.
14957         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14958         size vector registers.
14959         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14960         (ZMM_SIZE): Likewise.
14961         * sysdeps/x86_64/tst-audit10.c: New file.
14962         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14963         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14965 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14967         * configure.ac (HAVE_EHDR_START): New check.
14968         * configure: Regenerated.
14969         * config.h.in (HAVE_EHDR_START): New #undef.
14970         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14971         assuming the lowest-addressed segment maps the start of the file.
14973 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14975         * INSTALL: Regenerated.
14977 2014-03-13  Will Newton  <will.newton@linaro.org>
14979         * manual/setjmp.texi (System V contexts): Improve
14980         clarity and grammar of documentation.
14982 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14984         [BZ #16381]
14985         * elf/Makefile (tests): Add tst-pie2.
14986         (tests-pie): Add tst-pie2.
14987         * elf/tst-pie2.c: New file.
14988         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14989         for ET_EXEC.
14990         * elf/rtld.c (map_doit): Load executable as lt_executable.
14991         (dl_main): Likewise.
14993 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14995         [BZ #16642]
14996         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14997         (__ASSUME_PSELECT): Undefine.
14999 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15001         [BZ #16689]
15002         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15003         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15004         static build.
15005         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15006         selector for static builds.
15008 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15010         [BZ #16695]
15011         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15012         key in the buffer.
15014 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15016         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15017         IFUNC selector for static builds.
15019 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
15021         * sysdeps/mips/math_private.h [__mips_hard_float]
15022         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15023         libc_feresetround_mips_ctx.
15024         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15025         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15026         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15028         [BZ #16677]
15029         * math/s_nextafter.c (__nextafter): Do not return value from
15030         overflowing computation.
15031         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15032         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15033         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15034         Likewise.
15035         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15036         Likewise.
15037         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15038         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15040 2014-03-11  Roland McGrath  <roland@hack.frob.com>
15042         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15043         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15044         Move sfi_sp use from the load-multiple (that no longer sets sp) to
15045         the new mov targetting sp.
15047 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15049         [BZ #16683]
15050         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15051         Define it for static builds as well.
15052         (NO_BZERO_IMPL): Likewise.
15054 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15056         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15057         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15058         multiarch strspn for PPC64.
15059         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15060         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15062         (__libc_ifunc_impl_list): Likewise.
15063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15064         multiarch optimizations
15065         * string/strspn.c (strspn): Using macro to redefine symbol name.
15067 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15068             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15070         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15071         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15072         multiarch strncat for PPC64.
15073         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15074         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15076         (__libc_ifunc_impl_list): Likewise.
15077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15078         multiarch optimizations
15080 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15082         [BZ #16639]
15083         * nscd/nscd.service: Make service type forking.
15085 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15087         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15088         sign in non default rounding modes.
15089         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15091 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
15093         * math/libm-test.inc (ALL_RM_TEST): New macro.
15094         (ceil_test): Use ALL_RM_TEST.
15095         (cimag_test): Likewise.
15096         (conj_test): Likewise.
15097         (copysign_test): Likewise.
15098         (cproj_test): Likewise.
15099         (creal_test): Likewise.
15100         (fabs_test): Likewise.
15101         (floor_test): Likewise.
15102         (fmax_test): Likewise.
15103         (fmin_test): Likewise.
15104         (fmod_test): Likewise.
15105         (fpclassify_test): Likewise.
15106         (frexp_test): Likewise.
15107         (ilogb_test): Likewise.
15108         (isfinite_test): Likewise.
15109         (finite_test): Likewise.
15110         (isgreater_test): Likewise.
15111         (isgreaterequal_test): Likewise.
15112         (isinf_test): Likewise.
15113         (isless_test): Likewise.
15114         (islessequal_test): Likewise.
15115         (islessgreater_test): Likewise.
15116         (isnan_test): Likewise.
15117         (isnormal_test): Likewise.
15118         (issignaling_test): Likewise.
15119         (isunordered_test): Likewise.
15120         (logb_test): Likewise.
15121         (logb_downward_test_data): Remove.
15122         (logb_test_downward): Likewise.
15123         (lround_test): Use ALL_RM_TEST.
15124         (llround_test): Likewise.
15125         (modf_test): Likewise.
15126         (nexttoward_test): Likewise.
15127         (remainder_test): Likewise.
15128         (drem_test): Likewise.
15129         (remainder_tonearest_test_data): Likewise.
15130         (remainder_test_tonearest): Likewise.
15131         (drem_test_tonearest): Likewise.
15132         (remainder_towardzero_test_data): Likewise.
15133         (remainder_test_towardzero): Likewise.
15134         (drem_test_towardzero): Likewise.
15135         (remainder_downward_test_data): Likewise.
15136         (remainder_test_downward): Likewise.
15137         (drem_test_downward): Likewise.
15138         (remainder_upward_test_data): Likewise.
15139         (remainder_test_upward): Likewise.
15140         (drem_test_upward): Likewise.
15141         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
15142         (round_test): Use ALL_RM_TEST.
15143         (signbit_test): Likewise.
15144         (trunc_test): Likewise.
15145         (significand_test): Likewise.
15146         (main): Don't call removed functions.
15148 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15150         [BZ #16674]
15151         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15152         || __USE_XOPEN2K8].
15153         (ILL_ILLOPN): Likewise.
15154         (ILL_ILLADR): Likewise.
15155         (ILL_ILLTRP): Likewise.
15156         (ILL_PRVOPC): Likewise.
15157         (ILL_PRVREG): Likewise.
15158         (ILL_COPROC): Likewise.
15159         (ILL_BADSTK): Likewise.
15160         (FPE_INTDIV): Likewise.
15161         (FPE_INTOVF): Likewise.
15162         (FPE_FLTDIV): Likewise.
15163         (FPE_FLTOVF): Likewise.
15164         (FPE_FLTUND): Likewise.
15165         (FPE_FLTRES): Likewise.
15166         (FPE_FLTINV): Likewise.
15167         (FPE_FLTSUB): Likewise.
15168         (SEGV_MAPERR): Likewise.
15169         (SEGV_ACCERR): Likewise.
15170         (BUS_ADRALN): Likewise.
15171         (BUS_ADRERR): Likewise.
15172         (BUS_OBJERR): Likewise.
15173         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15174         (TRAP_TRACE): Likewise.
15175         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15176         __USE_XOPEN2K8].
15177         (CLD_KILLED): Likewise.
15178         (CLD_DUMPED): Likewise.
15179         (CLD_TRAPPED): Likewise.
15180         (CLD_STOPPED): Likewise.
15181         (CLD_CONTINUED): Likewise.
15182         (POLL_IN): Likewise.
15183         (POLL_OUT): Likewise.
15184         (POLL_MSG): Likewise.
15185         (POLL_ERR): Likewise.
15186         (POLL_PRI): Likewise.
15187         (POLL_HUP): Likewise.
15188         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15189         Likewise.
15190         (ILL_ILLOPN): Likewise.
15191         (ILL_ILLADR): Likewise.
15192         (ILL_ILLTRP): Likewise.
15193         (ILL_PRVOPC): Likewise.
15194         (ILL_PRVREG): Likewise.
15195         (ILL_COPROC): Likewise.
15196         (ILL_BADSTK): Likewise.
15197         (FPE_INTDIV): Likewise.
15198         (FPE_INTOVF): Likewise.
15199         (FPE_FLTDIV): Likewise.
15200         (FPE_FLTOVF): Likewise.
15201         (FPE_FLTUND): Likewise.
15202         (FPE_FLTRES): Likewise.
15203         (FPE_FLTINV): Likewise.
15204         (FPE_FLTSUB): Likewise.
15205         (SEGV_MAPERR): Likewise.
15206         (SEGV_ACCERR): Likewise.
15207         (BUS_ADRALN): Likewise.
15208         (BUS_ADRERR): Likewise.
15209         (BUS_OBJERR): Likewise.
15210         (BUS_MCEERR_AR): Likewise.
15211         (BUS_MCEERR_AO): Likewise.
15212         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15213         (TRAP_TRACE): Likewise.
15214         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15215         __USE_XOPEN2K8].
15216         (CLD_KILLED): Likewise.
15217         (CLD_DUMPED): Likewise.
15218         (CLD_TRAPPED): Likewise.
15219         (CLD_STOPPED): Likewise.
15220         (CLD_CONTINUED): Likewise.
15221         (POLL_IN): Likewise.
15222         (POLL_OUT): Likewise.
15223         (POLL_MSG): Likewise.
15224         (POLL_ERR): Likewise.
15225         (POLL_PRI): Likewise.
15226         (POLL_HUP): Likewise.
15227         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15228         (ILL_ILLOPN): Likewise.
15229         (ILL_ILLADR): Likewise.
15230         (ILL_ILLTRP): Likewise.
15231         (ILL_PRVOPC): Likewise.
15232         (ILL_PRVREG): Likewise.
15233         (ILL_COPROC): Likewise.
15234         (ILL_BADSTK): Likewise.
15235         (FPE_INTDIV): Likewise.
15236         (FPE_INTOVF): Likewise.
15237         (FPE_FLTDIV): Likewise.
15238         (FPE_FLTOVF): Likewise.
15239         (FPE_FLTUND): Likewise.
15240         (FPE_FLTRES): Likewise.
15241         (FPE_FLTINV): Likewise.
15242         (FPE_FLTSUB): Likewise.
15243         (SEGV_MAPERR): Likewise.
15244         (SEGV_ACCERR): Likewise.
15245         (BUS_ADRALN): Likewise.
15246         (BUS_ADRERR): Likewise.
15247         (BUS_OBJERR): Likewise.
15248         (BUS_MCEERR_AR): Likewise.
15249         (BUS_MCEERR_AO): Likewise.
15250         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15251         (TRAP_TRACE): Likewise.
15252         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15253         __USE_XOPEN2K8].
15254         (CLD_KILLED): Likewise.
15255         (CLD_DUMPED): Likewise.
15256         (CLD_TRAPPED): Likewise.
15257         (CLD_STOPPED): Likewise.
15258         (CLD_CONTINUED): Likewise.
15259         (POLL_IN): Likewise.
15260         (POLL_OUT): Likewise.
15261         (POLL_MSG): Likewise.
15262         (POLL_ERR): Likewise.
15263         (POLL_PRI): Likewise.
15264         (POLL_HUP): Likewise.
15265         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15266         Likewise.
15267         (ILL_ILLOPN): Likewise.
15268         (ILL_ILLADR): Likewise.
15269         (ILL_ILLTRP): Likewise.
15270         (ILL_PRVOPC): Likewise.
15271         (ILL_PRVREG): Likewise.
15272         (ILL_COPROC): Likewise.
15273         (ILL_BADSTK): Likewise.
15274         (ILL_BADIADDR): Likewise.
15275         (ILL_BREAK): Likewise.
15276         (FPE_INTDIV): Likewise.
15277         (FPE_INTOVF): Likewise.
15278         (FPE_FLTDIV): Likewise.
15279         (FPE_FLTOVF): Likewise.
15280         (FPE_FLTUND): Likewise.
15281         (FPE_FLTRES): Likewise.
15282         (FPE_FLTINV): Likewise.
15283         (FPE_FLTSUB): Likewise.
15284         (FPE_DECOVF): Likewise.
15285         (FPE_DECDIV): Likewise.
15286         (FPE_DECERR): Likewise.
15287         (FPE_INVASC): Likewise.
15288         (FPE_INVDEC): Likewise.
15289         (SEGV_MAPERR): Likewise.
15290         (SEGV_ACCERR): Likewise.
15291         (SEGV_PSTKOVF): Likewise.
15292         (BUS_ADRALN): Likewise.
15293         (BUS_ADRERR): Likewise.
15294         (BUS_OBJERR): Likewise.
15295         (BUS_MCEERR_AR): Likewise.
15296         (BUS_MCEERR_AO): Likewise.
15297         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15298         (TRAP_TRACE): Likewise.
15299         (TRAP_BRANCH): Likewise.
15300         (TRAP_HWBKPT): Likewise.
15301         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15302         __USE_XOPEN2K8].
15303         (CLD_KILLED): Likewise.
15304         (CLD_DUMPED): Likewise.
15305         (CLD_TRAPPED): Likewise.
15306         (CLD_STOPPED): Likewise.
15307         (CLD_CONTINUED): Likewise.
15308         (POLL_IN): Likewise.
15309         (POLL_OUT): Likewise.
15310         (POLL_MSG): Likewise.
15311         (POLL_ERR): Likewise.
15312         (POLL_PRI): Likewise.
15313         (POLL_HUP): Likewise.
15314         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15315         (ILL_ILLOPN): Likewise.
15316         (ILL_ILLADR): Likewise.
15317         (ILL_ILLTRP): Likewise.
15318         (ILL_PRVOPC): Likewise.
15319         (ILL_PRVREG): Likewise.
15320         (ILL_COPROC): Likewise.
15321         (ILL_BADSTK): Likewise.
15322         (FPE_INTDIV): Likewise.
15323         (FPE_INTOVF): Likewise.
15324         (FPE_FLTDIV): Likewise.
15325         (FPE_FLTOVF): Likewise.
15326         (FPE_FLTUND): Likewise.
15327         (FPE_FLTRES): Likewise.
15328         (FPE_FLTINV): Likewise.
15329         (FPE_FLTSUB): Likewise.
15330         (SEGV_MAPERR): Likewise.
15331         (SEGV_ACCERR): Likewise.
15332         (BUS_ADRALN): Likewise.
15333         (BUS_ADRERR): Likewise.
15334         (BUS_OBJERR): Likewise.
15335         (BUS_MCEERR_AR): Likewise.
15336         (BUS_MCEERR_AO): Likewise.
15337         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15338         (TRAP_TRACE): Likewise.
15339         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15340         __USE_XOPEN2K8].
15341         (CLD_KILLED): Likewise.
15342         (CLD_DUMPED): Likewise.
15343         (CLD_TRAPPED): Likewise.
15344         (CLD_STOPPED): Likewise.
15345         (CLD_CONTINUED): Likewise.
15346         (POLL_IN): Likewise.
15347         (POLL_OUT): Likewise.
15348         (POLL_MSG): Likewise.
15349         (POLL_ERR): Likewise.
15350         (POLL_PRI): Likewise.
15351         (POLL_HUP): Likewise.
15352         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15353         (ILL_ILLOPN): Likewise.
15354         (ILL_ILLADR): Likewise.
15355         (ILL_ILLTRP): Likewise.
15356         (ILL_PRVOPC): Likewise.
15357         (ILL_PRVREG): Likewise.
15358         (ILL_COPROC): Likewise.
15359         (ILL_BADSTK): Likewise.
15360         (FPE_INTDIV): Likewise.
15361         (FPE_INTOVF): Likewise.
15362         (FPE_FLTDIV): Likewise.
15363         (FPE_FLTOVF): Likewise.
15364         (FPE_FLTUND): Likewise.
15365         (FPE_FLTRES): Likewise.
15366         (FPE_FLTINV): Likewise.
15367         (FPE_FLTSUB): Likewise.
15368         (SEGV_MAPERR): Likewise.
15369         (SEGV_ACCERR): Likewise.
15370         (BUS_ADRALN): Likewise.
15371         (BUS_ADRERR): Likewise.
15372         (BUS_OBJERR): Likewise.
15373         (BUS_MCEERR_AR): Likewise.
15374         (BUS_MCEERR_AO): Likewise.
15375         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15376         (TRAP_TRACE): Likewise.
15377         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15378         __USE_XOPEN2K8].
15379         (CLD_KILLED): Likewise.
15380         (CLD_DUMPED): Likewise.
15381         (CLD_TRAPPED): Likewise.
15382         (CLD_STOPPED): Likewise.
15383         (CLD_CONTINUED): Likewise.
15384         (POLL_IN): Likewise.
15385         (POLL_OUT): Likewise.
15386         (POLL_MSG): Likewise.
15387         (POLL_ERR): Likewise.
15388         (POLL_PRI): Likewise.
15389         (POLL_HUP): Likewise.
15390         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15391         (ILL_ILLOPN): Likewise.
15392         (ILL_ILLADR): Likewise.
15393         (ILL_ILLTRP): Likewise.
15394         (ILL_PRVOPC): Likewise.
15395         (ILL_PRVREG): Likewise.
15396         (ILL_COPROC): Likewise.
15397         (ILL_BADSTK): Likewise.
15398         (FPE_INTDIV): Likewise.
15399         (FPE_INTOVF): Likewise.
15400         (FPE_FLTDIV): Likewise.
15401         (FPE_FLTOVF): Likewise.
15402         (FPE_FLTUND): Likewise.
15403         (FPE_FLTRES): Likewise.
15404         (FPE_FLTINV): Likewise.
15405         (FPE_FLTSUB): Likewise.
15406         (SEGV_MAPERR): Likewise.
15407         (SEGV_ACCERR): Likewise.
15408         (BUS_ADRALN): Likewise.
15409         (BUS_ADRERR): Likewise.
15410         (BUS_OBJERR): Likewise.
15411         (BUS_MCEERR_AR): Likewise.
15412         (BUS_MCEERR_AO): Likewise.
15413         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15414         (TRAP_TRACE): Likewise.
15415         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15416         __USE_XOPEN2K8].
15417         (CLD_KILLED): Likewise.
15418         (CLD_DUMPED): Likewise.
15419         (CLD_TRAPPED): Likewise.
15420         (CLD_STOPPED): Likewise.
15421         (CLD_CONTINUED): Likewise.
15422         (POLL_IN): Likewise.
15423         (POLL_OUT): Likewise.
15424         (POLL_MSG): Likewise.
15425         (POLL_ERR): Likewise.
15426         (POLL_PRI): Likewise.
15427         (POLL_HUP): Likewise.
15428         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15429         (ILL_ILLOPN): Likewise.
15430         (ILL_ILLADR): Likewise.
15431         (ILL_ILLTRP): Likewise.
15432         (ILL_PRVOPC): Likewise.
15433         (ILL_PRVREG): Likewise.
15434         (ILL_COPROC): Likewise.
15435         (ILL_BADSTK): Likewise.
15436         (ILL_DBLFLT): Likewise.
15437         (ILL_HARDWALL): Likewise.
15438         (FPE_INTDIV): Likewise.
15439         (FPE_INTOVF): Likewise.
15440         (FPE_FLTDIV): Likewise.
15441         (FPE_FLTOVF): Likewise.
15442         (FPE_FLTUND): Likewise.
15443         (FPE_FLTRES): Likewise.
15444         (FPE_FLTINV): Likewise.
15445         (FPE_FLTSUB): Likewise.
15446         (SEGV_MAPERR): Likewise.
15447         (SEGV_ACCERR): Likewise.
15448         (BUS_ADRALN): Likewise.
15449         (BUS_ADRERR): Likewise.
15450         (BUS_OBJERR): Likewise.
15451         (BUS_MCEERR_AR): Likewise.
15452         (BUS_MCEERR_AO): Likewise.
15453         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15454         (TRAP_TRACE): Likewise.
15455         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15456         __USE_XOPEN2K8].
15457         (CLD_KILLED): Likewise.
15458         (CLD_DUMPED): Likewise.
15459         (CLD_TRAPPED): Likewise.
15460         (CLD_STOPPED): Likewise.
15461         (CLD_CONTINUED): Likewise.
15462         (POLL_IN): Likewise.
15463         (POLL_OUT): Likewise.
15464         (POLL_MSG): Likewise.
15465         (POLL_ERR): Likewise.
15466         (POLL_PRI): Likewise.
15467         (POLL_HUP): Likewise.
15468         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15469         (ILL_ILLOPN): Likewise.
15470         (ILL_ILLADR): Likewise.
15471         (ILL_ILLTRP): Likewise.
15472         (ILL_PRVOPC): Likewise.
15473         (ILL_PRVREG): Likewise.
15474         (ILL_COPROC): Likewise.
15475         (ILL_BADSTK): Likewise.
15476         (FPE_INTDIV): Likewise.
15477         (FPE_INTOVF): Likewise.
15478         (FPE_FLTDIV): Likewise.
15479         (FPE_FLTOVF): Likewise.
15480         (FPE_FLTUND): Likewise.
15481         (FPE_FLTRES): Likewise.
15482         (FPE_FLTINV): Likewise.
15483         (FPE_FLTSUB): Likewise.
15484         (SEGV_MAPERR): Likewise.
15485         (SEGV_ACCERR): Likewise.
15486         (BUS_ADRALN): Likewise.
15487         (BUS_ADRERR): Likewise.
15488         (BUS_OBJERR): Likewise.
15489         (BUS_MCEERR_AR): Likewise.
15490         (BUS_MCEERR_AO): Likewise.
15491         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15492         (TRAP_TRACE): Likewise.
15493         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15494         __USE_XOPEN2K8].
15495         (CLD_KILLED): Likewise.
15496         (CLD_DUMPED): Likewise.
15497         (CLD_TRAPPED): Likewise.
15498         (CLD_STOPPED): Likewise.
15499         (CLD_CONTINUED): Likewise.
15500         (POLL_IN): Likewise.
15501         (POLL_OUT): Likewise.
15502         (POLL_MSG): Likewise.
15503         (POLL_ERR): Likewise.
15504         (POLL_PRI): Likewise.
15505         (POLL_HUP): Likewise.
15506         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15507         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15509         [BZ #16670]
15510         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15511         before #include of <time.h>.
15512         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15513         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15514         (test-xfail-UNIX98/sched.h/conform): Likewise.
15516 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15518         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15519         error absence of trapping exception support.
15520         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15522 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15524         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15525         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15526         * timezone/Makefile (testdata): Move definition above include of
15527         Rules.
15528         (test-zones): New variable.
15529         (tests-special): Add zone files.
15530         (build-testdata): Use $(evaluate-test).
15532         * elf/Makefile (tests-special): Rename tests to end with .out.
15533         ($(objpfx)noload-mem): Likewise.
15534         ($(objpfx)tst-leaks1-mem): Likewise.
15535         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15536         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15537         $(objpfx)test-iconvconfig.out.
15538         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15539         set -e inside subshell and redirect output to file.
15540         * iconvdata/Makefile (generated): Rename tests to end with .out.
15541         Correct type.
15542         (tests-special): Rename tests to end with .out.
15543         ($(objpfx)mtrace-tst-loading): Likewise.
15544         * intl/Makefile (generated): Likewise.
15545         (tests-special): Likewise.
15546         ($(objpfx)mtrace-tst-gettext): Likewise.
15547         * misc/Makefile (generated): Likewise.
15548         (tests-special): Likewise.
15549         ($(objpfx)tst-error1-mem): Likewise.
15550         * nptl/Makefile (tests-special): Likewise.
15551         ($(objpfx)tst-stack3-mem): Likewise.
15552         (generated): Likewise.
15553         * posix/Makefile (generated): Likewise.
15554         (tests-special): Likewise.
15555         (xtests-special): Likewise.
15556         ($(objpfx)tst-fnmatch-mem): Likewise.
15557         ($(objpfx)bug-regex2-mem): Likewise.
15558         ($(objpfx)bug-regex14-mem): Likewise.
15559         ($(objpfx)bug-regex21-mem): Likewise.
15560         ($(objpfx)bug-regex31-mem): Likewise.
15561         ($(objpfx)tst-vfork3-mem): Likewise.
15562         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15563         ($(objpfx)tst-pcre-mem): Likewise.
15564         ($(objpfx)tst-boost-mem): Likewise.
15565         ($(objpfx)bug-ga2-mem): Likewise.
15566         ($(objpfx)bug-glob2-mem): Likewise.
15567         * resolv/Makefile (generate): Likewise.
15568         (tests-special): Likewise.
15569         (xtests-special): Likewise.
15570         (generated): Likewise.
15571         ($(objpfx)mtrace-tst-leaks): Likewise.
15572         ($(objpfx)mtrace-tst-leaks2): Likewise.
15574         * scripts/merge-test-results.sh: New file.
15575         * Makefile (tests-special-notdir): New variable.
15576         (tests): Run merge-test-results.sh.
15577         (xtests): Likewise.
15578         * Rules (tests-special-notdir): New variable.
15579         (xtests-special-notdir): Likewise.
15580         (tests): Run merge-test-results.sh
15581         (xtests): Likewise.
15583         * Makeconfig (test-xfail-name): New variable.
15584         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15585         compute variable name for expected failures.
15586         * conform/Makefile (conformtest-headers-data): New variable.
15587         (conformtest-standards): Likewise.
15588         (conformtest-headers-ISO): Likewise.
15589         (conformtest-headers-ISO99): Likewise.
15590         (conformtest-headers-ISO11): Likewise.
15591         (conformtest-headers-POSIX): Likewise.
15592         (conformtest-headers-XPG3): Likewise.
15593         (conformtest-headers-XPG4): Likewise.
15594         (conformtest-headers-UNIX98): Likewise.
15595         (conformtest-headers-XOPEN2K): Likewise.
15596         (conformtest-headers-POSIX2008): Likewise.
15597         (conformtest-headers-XOPEN2K8): Likewise.
15598         (conformtest-header-list-base): Likewise.
15599         (conformtest-header-list-tests): Likewise.
15600         (conformtest-header-base): Likewise.
15601         (conformtest-header-tests): Likewise.
15602         (tests-special): Add $(conformtest-header-list-tests).  If
15603         [$(fast-check) && !$(cross-compiling)], add
15604         $(conformtest-header-tests) instead of
15605         $(objpfx)run-conformtest.out.
15606         (generated): Add $(conformtest-header-list-base).  If
15607         [$(fast-check) && !$(cross-compiling)], add
15608         $(conformtest-header-base).  Remove previous setting.
15609         ($(conformtest-header-list-tests)): New target.
15610         (test-xfail-run-conformtest): Remove variable.
15611         ($(objpfx)run-conformtest.out): Remove target.
15612         (test-xfail-ISO11/complex.h/conform): New variable.
15613         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15614         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15615         (test-xfail-XPG3/varargs.h/conform): Likewise.
15616         (test-xfail-XPG4/varargs.h/conform): Likewise.
15617         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15618         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15619         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15620         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15621         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15622         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15623         (test-xfail-XPG3/ftw.h/conform): Likewise.
15624         (test-xfail-XPG3/grp.h/conform): Likewise.
15625         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15626         (test-xfail-XPG3/limits.h/conform): Likewise.
15627         (test-xfail-XPG3/pwd.h/conform): Likewise.
15628         (test-xfail-XPG3/search.h/conform): Likewise.
15629         (test-xfail-XPG3/signal.h/conform): Likewise.
15630         (test-xfail-XPG3/stdio.h/conform): Likewise.
15631         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15632         (test-xfail-XPG3/string.h/conform): Likewise.
15633         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15634         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15635         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15636         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15637         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15638         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15639         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15640         (test-xfail-XPG3/termios.h/conform): Likewise.
15641         (test-xfail-XPG3/time.h/conform): Likewise.
15642         (test-xfail-XPG3/unistd.h/conform): Likewise.
15643         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15644         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15645         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15646         (test-xfail-XPG4/netdb.h/conform): Likewise.
15647         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15648         (test-xfail-XPG4/signal.h/conform): Likewise.
15649         (test-xfail-XPG4/stdio.h/conform): Likewise.
15650         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15651         (test-xfail-XPG4/stropts.h/conform): Likewise.
15652         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15653         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15654         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15655         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15656         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15657         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15658         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15659         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15660         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15661         (test-xfail-XPG4/termios.h/conform): Likewise.
15662         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15663         (test-xfail-XPG4/unistd.h/conform): Likewise.
15664         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15665         (test-xfail-POSIX/sched.h/conform): Likewise.
15666         (test-xfail-POSIX/signal.h/conform): Likewise.
15667         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15668         (test-xfail-POSIX/tar.h/conform): Likewise.
15669         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15670         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15671         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15672         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15673         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15674         (test-xfail-UNIX98/sched.h/conform): Likewise.
15675         (test-xfail-UNIX98/signal.h/conform): Likewise.
15676         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15677         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15678         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15679         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15680         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15681         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15682         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15683         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15684         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15685         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15686         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15687         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15688         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15689         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15690         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15691         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15692         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15693         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15694         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15695         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15696         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15697         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15698         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15699         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15700         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15701         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15702         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15703         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15704         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15705         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15706         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15707         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15708         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15709         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15710         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15711         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15712         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15713         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15714         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15715         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15716         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15717         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15718         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15719         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15720         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15721         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15722         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15723         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15724         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15725         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15726         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15727         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15728         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15729         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15730         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15731         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15732         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15733         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15734         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15735         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15736         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15737         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15738         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15739         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15740         (conformtest-cc-flags): Likewise.
15741         ($(conformtest-header-tests): New target.
15742         * conform/check-header-lists.sh: New file.
15743         * conform/run-conformtest.sh: Remove.
15745         * conform/conformtest.pl: Allow ' and \ in values given for
15746         constants.
15747         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15748         inclusion.
15749         [POSIX] (sys/types.h): Likewise.
15750         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15751         inclusion.
15752         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15753         inclusion.
15754         * conform/data/signal.h-data (SIGIO): Remove expectation.
15755         [XPG3] (SIGBUS): Do not expect.
15756         [POSIX || XPG3] (SIGPOLL): Likewise.
15757         [POSIX || XPG3] (SIGPROF): Likewise.
15758         [POSIX || XPG3] (SIGSYS): Likewise.
15759         [XPG3] (SIGTRAP): Likewise.
15760         [POSIX || XPG3] (SIGURG): Likewise.
15761         [POSIX || XPG3] (SIGVTALRM): Likewise.
15762         [POSIX || XPG3] (SIGXCPU): Likewise.
15763         [POSIX || XPG3] (SIGXFSZ): Likewise.
15764         [POSIX] (SA_SIGINFO): Expect.
15765         [XPG3] (siginfo_t): Do not expect type or contents.
15766         [POSIX] (si_pid): Do not expect element.
15767         [POSIX] (si_uid): Likewise.
15768         [POSIX] (si_addr): Likewise.
15769         [POSIX] (si_status): Likewise.
15770         [POSIX] (si_band): Likewise.
15771         [XPG4] (si_value): Likewise.
15772         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15773         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15774         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15775         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15776         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15777         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15778         [POSIX || XPG3] (ILL_COPROC): Likewise.
15779         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15780         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15781         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15782         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15783         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15784         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15785         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15786         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15787         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15788         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15789         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15790         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15791         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15792         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15793         [POSIX || XPG3] (CLD_EXITED): Likewise.
15794         [POSIX || XPG3] (CLD_KILLED): Likewise.
15795         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15796         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15797         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15798         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15799         [POSIX || XPG3] (POLL_IN): Likewise.
15800         [POSIX || XPG3] (POLL_OUT): Likewise.
15801         [POSIX || XPG3] (POLL_MSG): Likewise.
15802         [POSIX || XPG3] (POLL_ERR): Likewise.
15803         [POSIX || XPG3] (POLL_PRI): Likewise.
15804         [POSIX || XPG3] (POLL_HUP): Likewise.
15805         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15806         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15807         (SIG*): Do not allow.
15808         [XPG3] (si_*): Likewise.
15809         [XPG3] (SI_*): Likewise.
15810         [XPG3 || XPG4] (sigev_*): Likewise.
15811         [XPG3 || XPG4] (SIGEV_*): Likewise.
15812         [XPG3 || XPG4] (sival_*): Likewise.
15813         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15814         [POSIX || XPG3] (BUS_*): Likewise.
15815         [POSIX || XPG3] (CLD_*): Likewise.
15816         [POSIX || XPG3] (FPE_*): Likewise.
15817         [POSIX || XPG3] (ILL_*): Likewise.
15818         [POSIX || XPG3] (POLL_*): Likewise.
15819         [POSIX || XPG3] (SEGV_*): Likewise.
15820         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15821         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15822         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15823         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15824         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15825         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15826         Specify type and value.
15827         (TVERSLEN): Likewise.
15828         (REGTYPE): Likewise.
15829         (AREGTYPE): Likewise.
15830         (LNKTYPE): Likewise.
15831         (SYMTYPE): Likewise.
15832         (CHRTYPE): Likewise.
15833         (BLKTYPE): Likewise.
15834         (DIRTYPE): Likewise.
15835         (FIFOTYPE): Likewise.
15836         (CONTTYPE): Likewise.
15837         (TSUID): Likewise.
15838         (TSGID): Likewise.
15839         (TSVTX): Likewise.
15840         (TUREAD): Likewise.
15841         (TUWRITE): Likewise.
15842         (TUEXEC): Likewise.
15843         (TGREAD): Likewise.
15844         (TGWRITE): Likewise.
15845         (TGEXEC): Likewise.
15846         (TOREAD): Likewise.
15847         (TOWRITE): Likewise.
15848         (TOEXEC): Likewise.
15849         [POSIX] (TSVTX): Expect constant.
15851 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15853         * Makefile (tests): Change dependencies to ....
15854         (tests-special): ... additions to this variable.
15855         (tests): Depend on $(tests-special).
15856         * Makerules (check-abi-list): New variable.
15857         (check-abi): Depend on $(check-abi-list).
15858         [$(subdir) = elf] (tests-special): Add
15859         $(objpfx)check-abi-libc.out.
15860         [$(build-shared) = yes && subdir] (tests-special): Add
15861         $(check-abi-list).
15862         [$(build-shared) = yes && subdir] (tests): Do not depend on
15863         check-abi.
15864         * Rules (tests): Depend on $(tests-special).
15865         (xtests): Depend on $(xtests-special).
15866         * catgets/Makefile (tests): Change dependencies to ....
15867         (tests-special): ... additions to this variable.
15868         * conform/Makefile (tests): Change dependencies to ....
15869         (tests-special): ... additions to this variable.
15870         * elf/Makefile (tests): Change dependencies to ....
15871         (tests-special): ... additions to this variable.
15872         * grp/Makefile (tests): Change dependencies to ....
15873         (tests-special): ... additions to this variable.
15874         * iconv/Makefile (xtests): Change dependencies to ....
15875         (xtests-special): ... additions to this variable.
15876         * iconvdata/Makefile (tests): Change dependencies to ....
15877         (tests-special): ... additions to this variable.
15878         * intl/Makefile (tests): Change dependencies to ....
15879         (tests-special): ... additions to this variable.  Also add
15880         $(objpfx)tst-gettext.out.
15881         * io/Makefile (tests): Change dependencies to ....
15882         (tests-special): ... additions to this variable.
15883         * libio/Makefile (tests): Change dependencies to ....
15884         (tests-special): ... additions to this variable.
15885         * malloc/Makefile (tests): Change dependencies to ....
15886         (tests-special): ... additions to this variable.
15887         * misc/Makefile (tests): Change dependencies to ....
15888         (tests-special): ... additions to this variable.
15889         * nptl/Makefile (tests): Change dependencies to ....
15890         (tests-special): ... additions to this variable.
15891         * nptl_db/Makefile (tests): Change dependencies to ....
15892         (tests-special): ... additions to this variable.
15893         * posix/Makefile (tests): Change dependencies to ....
15894         (tests-special): ... additions to this variable.
15895         (xtests): Change dependencies to ....
15896         (xtests-special): ... additions to this variable.
15897         * resolv/Makefile (tests): Change dependencies to ....
15898         (tests-special): ... additions to this variable.
15899         (xtests): Change dependencies to ....
15900         (xtests-special): ... additions to this variable.
15901         * stdio-common/Makefile (tests): Change dependencies to ....
15902         (tests-special): ... additions to this variable.
15903         (do-tst-unbputc): Remove target.
15904         (do-tst-printf): Likewise.
15905         * stdlib/Makefile (tests): Change dependencies to ....
15906         (tests-special): ... additions to this variable.
15907         * string/Makefile (tests): Change dependencies to ....
15908         (tests-special): ... additions to this variable.
15909         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15910         (tests-special): ... additions to this variable.
15912         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15913         whole file.
15914         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15915         whole file.
15916         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15917         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15919         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15920         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15921         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15922         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15923         * conform/data/libgen.h-data [XPG3]: Likewise.
15924         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15925         * conform/data/ndbm.h-data [XPG3]: Likewise.
15926         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15927         * conform/data/netdb.h-data [XPG3]: Likewise.
15928         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15929         * conform/data/poll.h-data [XPG3]: Likewise.
15930         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15931         * conform/data/strings.h-data [XPG3]: Likewise.
15932         * conform/data/stropts.h-data [XPG3]: Likewise.
15933         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15934         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15935         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15936         Likewise.
15937         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15938         * conform/data/sys/time.h-data [XPG3]: Likewise.
15939         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15940         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15941         * conform/data/sys/un.h-data [XPG3]: Likewise.
15942         * conform/data/syslog.h-data [XPG3]: Likewise.
15943         * conform/data/ucontext.h-data [XPG3]: Likewise.
15944         * conform/data/utmpx.h-data [XPG3]: Likewise.
15945         * conform/data/varargs.h-data [UNIX98]: Enable file.
15947         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15949         * math/libm-test.inc (struct test_f_f_data): Move expected results
15950         into structure for each rounding mode.
15951         (struct test_ff_f_data): Likewise.
15952         (struct test_ff_f_data_nexttoward): Likewise.
15953         (struct test_fi_f_data): Likewise.
15954         (struct test_fl_f_data): Likewise.
15955         (struct test_if_f_data): Likewise.
15956         (struct test_fff_f_data): Likewise.
15957         (struct test_c_f_data): Likewise.
15958         (struct test_f_f1_data): Likewise.
15959         (struct test_fF_f1_data): Likewise.
15960         (struct test_ffI_f1_data): Likewise.
15961         (struct test_c_c_data): Likewise.
15962         (struct test_cc_c_data): Likewise.
15963         (struct test_f_i_data): Likewise.
15964         (struct test_ff_i_data): Likewise.
15965         (struct test_f_l_data): Likewise.
15966         (struct test_f_L_data): Likewise.
15967         (struct test_fFF_11_data): Likewise.
15968         (RM_): New macro.
15969         (RM_FE_DOWNWARD): Likewise.
15970         (RM_FE_TONEAREST): Likewise.
15971         (RM_FE_TOWARDZERO): Likewise.
15972         (RM_FE_UPWARD): Likewise.
15973         (RUN_TEST_LOOP_f_f): Update references to expected results.
15974         (RUN_TEST_LOOP_2_f): Likewise.
15975         (RUN_TEST_LOOP_fff_f): Likewise.
15976         (RUN_TEST_LOOP_c_f): Likewise.
15977         (RUN_TEST_LOOP_f_f1): Likewise.
15978         (RUN_TEST_LOOP_fF_f1): Likewise.
15979         (RUN_TEST_LOOP_fI_f1): Likewise.
15980         (RUN_TEST_LOOP_ffI_f1): Likewise.
15981         (RUN_TEST_LOOP_c_c): Likewise.
15982         (RUN_TEST_LOOP_cc_c): Likewise.
15983         (RUN_TEST_LOOP_f_i): Likewise.
15984         (RUN_TEST_LOOP_f_i_tg): Likewise.
15985         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15986         (RUN_TEST_LOOP_f_b): Likewise.
15987         (RUN_TEST_LOOP_f_b_tg): Likewise.
15988         (RUN_TEST_LOOP_f_l): Likewise.
15989         (RUN_TEST_LOOP_f_L): Likewise.
15990         (RUN_TEST_LOOP_fFF_11): Likewise.
15991         * math/gen-libm-test.pl (parse_args): Output four copies of
15992         expected results for each test.
15994         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15995         (__ASSUME_UTIMES): Remove.
15996         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15997         (__ASSUME_UTIMES): Likewise.
15999         * math/gen-auto-libm-tests.c: Update comment on output format.
16000         (output_for_one_input_case): Generate before-rounding and
16001         after-rounding information as conditions on output flags not
16002         floating-point format.
16003         * math/auto-libm-test-out: Regenerated.
16004         * math/gen-libm-test.pl (cond_value): New function.
16005         (or_cond_value): Use cond_value.
16006         (generate_testfile): Handle conditional exceptions.
16008 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
16010         * math/libm-test.inc (max_valid_error): New variable.
16011         (init_max_error): Take new argument specifying whether function
16012         results are exactly determined.  Set max_valid_error and bound
16013         other variables for errors based on this argument.
16014         (set_max_error): Do not record results above max_valid_error.
16015         (check_float_internal): Only accept errors of up to 0.5ulps if
16016         also at most max_valid_error.
16017         (START): Take new argument EXACT and pass it to init_max_error.
16018         (acos_test): Update call to START.
16019         (acos_test_tonearest): Likewise.
16020         (acos_test_towardzero): Likewise.
16021         (acos_test_downward): Likewise.
16022         (acos_test_upward): Likewise.
16023         (acosh_test): Likewise.
16024         (asin_test): Likewise.
16025         (asin_test_tonearest): Likewise.
16026         (asin_test_towardzero): Likewise.
16027         (asin_test_downward): Likewise.
16028         (asin_test_upward): Likewise.
16029         (asinh_test): Likewise.
16030         (atan_test): Likewise.
16031         (atanh_test): Likewise.
16032         (atan2_test): Likewise.
16033         (cabs_test): Likewise.
16034         (cacos_test): Likewise.
16035         (cacosh_test): Likewise.
16036         (carg_test): Likewise.
16037         (casin_test): Likewise.
16038         (casinh_test): Likewise.
16039         (catan_test): Likewise.
16040         (catanh_test): Likewise.
16041         (cbrt_test): Likewise.
16042         (ccos_test): Likewise.
16043         (ccosh_test): Likewise.
16044         (ceil_test): Likewise.
16045         (cexp_test): Likewise.
16046         (cimag_test): Likewise.
16047         (clog_test): Likewise.
16048         (clog10_test): Likewise.
16049         (conj_test): Likewise.
16050         (copysign_test): Likewise.
16051         (cos_test): Likewise.
16052         (cos_test_tonearest): Likewise.
16053         (cos_test_towardzero): Likewise.
16054         (cos_test_downward): Likewise.
16055         (cos_test_upward): Likewise.
16056         (cosh_test): Likewise.
16057         (cosh_test_tonearest): Likewise.
16058         (cosh_test_towardzero): Likewise.
16059         (cosh_test_downward): Likewise.
16060         (cosh_test_upward): Likewise.
16061         (cpow_test): Likewise.
16062         (cproj_test): Likewise.
16063         (creal_test): Likewise.
16064         (csin_test): Likewise.
16065         (csinh_test): Likewise.
16066         (csqrt_test): Likewise.
16067         (ctan_test): Likewise.
16068         (ctan_test_tonearest): Likewise.
16069         (ctan_test_towardzero): Likewise.
16070         (ctan_test_downward): Likewise.
16071         (ctan_test_upward): Likewise.
16072         (ctanh_test): Likewise.
16073         (ctanh_test_tonearest): Likewise.
16074         (ctanh_test_towardzero): Likewise.
16075         (ctanh_test_downward): Likewise.
16076         (ctanh_test_upward): Likewise.
16077         (erf_test): Likewise.
16078         (erfc_test): Likewise.
16079         (exp_test): Likewise.
16080         (exp_test_tonearest): Likewise.
16081         (exp_test_towardzero): Likewise.
16082         (exp_test_downward): Likewise.
16083         (exp_test_upward): Likewise.
16084         (exp10_test): Likewise.
16085         (exp10_test_tonearest): Likewise.
16086         (exp10_test_towardzero): Likewise.
16087         (exp10_test_downward): Likewise.
16088         (exp10_test_upward): Likewise.
16089         (pow10_test): Likewise.
16090         (exp2_test): Likewise.
16091         (expm1_test): Likewise.
16092         (expm1_test_tonearest): Likewise.
16093         (expm1_test_towardzero): Likewise.
16094         (expm1_test_downward): Likewise.
16095         (expm1_test_upward): Likewise.
16096         (fabs_test): Likewise.
16097         (fdim_test): Likewise.
16098         (floor_test): Likewise.
16099         (fma_test): Likewise.
16100         (fma_test_towardzero): Likewise.
16101         (fma_test_downward): Likewise.
16102         (fma_test_upward): Likewise.
16103         (fmax_test): Likewise.
16104         (fmin_test): Likewise.
16105         (fmod_test): Likewise.
16106         (fpclassify_test): Likewise.
16107         (frexp_test): Likewise.
16108         (hypot_test): Likewise.
16109         (ilogb_test): Likewise.
16110         (isfinite_test): Likewise.
16111         (finite_test): Likewise.
16112         (isgreater_test): Likewise.
16113         (isgreaterequal_test): Likewise.
16114         (isinf_test): Likewise.
16115         (isless_test): Likewise.
16116         (islessequal_test): Likewise.
16117         (islessgreater_test): Likewise.
16118         (isnan_test): Likewise.
16119         (isnormal_test): Likewise.
16120         (issignaling_test): Likewise.
16121         (isunordered_test): Likewise.
16122         (j0_test): Likewise.
16123         (j1_test): Likewise.
16124         (jn_test): Likewise.
16125         (ldexp_test): Likewise.
16126         (lgamma_test): Likewise.
16127         (gamma_test): Likewise.
16128         (lrint_test): Likewise.
16129         (lrint_test_tonearest): Likewise.
16130         (lrint_test_towardzero): Likewise.
16131         (lrint_test_downward): Likewise.
16132         (lrint_test_upward): Likewise.
16133         (llrint_test): Likewise.
16134         (llrint_test_tonearest): Likewise.
16135         (llrint_test_towardzero): Likewise.
16136         (llrint_test_downward): Likewise.
16137         (llrint_test_upward): Likewise.
16138         (log_test): Likewise.
16139         (log10_test): Likewise.
16140         (log1p_test): Likewise.
16141         (log2_test): Likewise.
16142         (logb_test): Likewise.
16143         (logb_test_downward): Likewise.
16144         (lround_test): Likewise.
16145         (llround_test): Likewise.
16146         (modf_test): Likewise.
16147         (nearbyint_test): Likewise.
16148         (nextafter_test): Likewise.
16149         (nexttoward_test): Likewise.
16150         (pow_test): Likewise.
16151         (pow_test_tonearest): Likewise.
16152         (pow_test_towardzero): Likewise.
16153         (pow_test_downward): Likewise.
16154         (pow_test_upward): Likewise.
16155         (remainder_test): Likewise.
16156         (drem_test): Likewise.
16157         (remainder_test_tonearest): Likewise.
16158         (drem_test_tonearest): Likewise.
16159         (remainder_test_towardzero): Likewise.
16160         (drem_test_towardzero): Likewise.
16161         (remainder_test_downward): Likewise.
16162         (drem_test_downward): Likewise.
16163         (remainder_test_upward): Likewise.
16164         (drem_test_upward): Likewise.
16165         (remquo_test): Likewise.
16166         (rint_test): Likewise.
16167         (rint_test_tonearest): Likewise.
16168         (rint_test_towardzero): Likewise.
16169         (rint_test_downward): Likewise.
16170         (rint_test_upward): Likewise.
16171         (round_test): Likewise.
16172         (scalb_test): Likewise.
16173         (scalbn_test): Likewise.
16174         (scalbln_test): Likewise.
16175         (signbit_test): Likewise.
16176         (sin_test): Likewise.
16177         (sin_test_tonearest): Likewise.
16178         (sin_test_towardzero): Likewise.
16179         (sin_test_downward): Likewise.
16180         (sin_test_upward): Likewise.
16181         (sincos_test): Likewise.
16182         (sinh_test): Likewise.
16183         (sinh_test_tonearest): Likewise.
16184         (sinh_test_towardzero): Likewise.
16185         (sinh_test_downward): Likewise.
16186         (sinh_test_upward): Likewise.
16187         (sqrt_test): Likewise.
16188         (sqrt_test_tonearest): Likewise.
16189         (sqrt_test_towardzero): Likewise.
16190         (sqrt_test_downward): Likewise.
16191         (sqrt_test_upward): Likewise.
16192         (tan_test): Likewise.
16193         (tan_test_tonearest): Likewise.
16194         (tan_test_towardzero): Likewise.
16195         (tan_test_downward): Likewise.
16196         (tan_test_upward): Likewise.
16197         (tanh_test): Likewise.
16198         (tgamma_test): Likewise.
16199         (trunc_test): Likewise.
16200         (y0_test): Likewise.
16201         (y1_test): Likewise.
16202         (yn_test): Likewise.
16203         (significand_test): Likewise.
16205         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16206         individual tests in comment.
16207         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16208         (prev_max_error): New variable.
16209         (prev_real_max_error): Likewise.
16210         (prev_imag_max_error): Likewise.
16211         (compare_ulp_data): Don't refer to test names in comment.
16212         (find_test_ulps): Remove function.
16213         (find_function_ulps): Likewise.
16214         (find_complex_function_ulps): Likewise.
16215         (init_max_error): Take function name as argument.  Look up ulps
16216         for that function.
16217         (print_ulps): Remove function.
16218         (print_max_error): Use prev_max_error instead of calling
16219         find_function_ulps.
16220         (print_complex_max_error): Use prev_real_max_error and
16221         prev_imag_max_error instead of calling find_complex_function_ulps.
16222         (check_float_internal): Take max_ulp parameter instead of calling
16223         find_test_ulps.  Don't call print_ulps.
16224         (check_float): Update call to check_float_internal.
16225         (check_complex): Update calls to check_float_internal.
16226         (START): Pass argument to init_max_error.
16227         * math/gen-libm-test.pl (%results): Don't include "kind"
16228         information.
16229         (parse_ulps): Don't handle ulps of individual tests.
16230         (print_ulps_file): Likewise.
16231         (output_ulps): Likewise.
16232         * math/README.libm-test: Update.
16233         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16234         individual tests.
16235         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16236         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16237         * sysdeps/arm/libm-test-ulps: Likewise.
16238         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16239         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16240         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16241         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16242         * sysdeps/microblaze/libm-test-ulps: Likewise.
16243         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16244         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16245         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16246         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16247         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16248         * sysdeps/sh/libm-test-ulps: Likewise.
16249         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16250         * sysdeps/tile/libm-test-ulps: Likewise.
16251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16253 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
16255         * math/libm-test.inc (print_complex_max_error): Check separately
16256         whether real and imaginary errors are within allowed range and
16257         pass 0 to print_complex_function_ulps instead of value within
16258         allowed range.
16260 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16262         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16263         formatting.
16264         (get_handles_fopen): Likewise.
16265         (do_write_test): Likewise.
16267         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16269         * libio/fileops.c (do_ftell): Use cached offset when
16270         available.
16271         * libio/iofwide.c (do_ftell_wide): Likewise.
16272         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16273         _IO_file_attach.
16274         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16276         [BZ #16532]
16277         * libio/libioP.h (get_file_offset): New function.
16278         * libio/fileops.c (get_file_offset): Likewise.
16279         (do_ftell): Likewise.
16280         (_IO_new_file_seekoff): Split out ftell logic.
16281         * libio/wfileops.c (do_ftell_wide): Likewise.
16282         (_IO_wfile_seekoff): Split out ftell logic.
16283         * libio/tst-ftell-active-handler.c: New test case.
16284         * libio/Makefile (tests): Add it.
16286 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16288         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16289         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16291 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16293         [BZ #16639]
16294         * nscd/connections.c (nscd_init): Call do_exit.
16295         (start_threads): Call do_exit and notify_parent.
16296         (begin_drop_privileges): Call do_exit.
16297         (finish_drop_privileges): Likewise.
16298         * nscd/selinux.c (preserve_capabilities): Likewise.
16299         (install_real_capabilities): Likewise.
16300         (nscd_selinux_enabled): Likewise.
16301         (avc_create_thread): Likewise.
16302         (avc_alloc_lock): Likewise.
16303         (nscd_avc_init): Likewise.
16304         * nscd/nscd.c (parent_fd): New static variable.
16305         (main): Create a pipe between parent and child processes.
16306         Skip closing parent_fd.
16307         (monitor_child): New function.
16308         (do_exit): Likewise.
16309         (notify_parent): Likewise.
16310         * nscd/nscd.h (notify_parent): Likewise.
16311         (do_exit): Likewise.
16313 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16315         * malloc/malloc.c (__libc_calloc): Revert last change.
16317 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16321 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16323         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16325         implementation.
16326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16327         (__libc_ifunc_impl_list): Likewise.
16328         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16329         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16330         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16331         * string/strrchr.c: Define STRRCHR.
16333 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16335         * benchtest/bench-strtok.c (simple_strtok): Delete.
16336         (strtok_string): Use as benchmark.
16337         * string/strtok (STRTOK): New macro.
16339 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16341         * manual/threads.texi: Add header and standard comments to all
16342         functions.
16344         * elf/dl-lookup.c (check_match): New function.
16345         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16346         (do_lookup_x): Remove nested function check_match. Use non-nested
16347         function check_match.
16349 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16351         * csu/Makefile (generated, before-compile): Use += rather than =.
16352         * catgets/Makefile (generated, generated-dirs): Likewise.
16353         * debug/Makefile (generated): Likewise.
16354         * dlfcn/Makefile (generated): Likewise.
16355         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16356         * iconvdata/Makefile (before-compile, generated): Likewise.
16357         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16358         * libio/Makefile (generated): Likewise.
16359         * malloc/Makefile (generated): Likewise.
16360         * manual/Makefile (generated, generated-dirs): Likewise.
16361         * misc/Makefile (generated): Likewise.
16362         * posix/Makefile (generated): Likewise.
16363         * resolv/Makefile (generated): Likewise.
16364         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16365         * timezone/Makefile (generated, generated-dirs): Likewise.
16367         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16369 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16371         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16372         power8 implementation.
16373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16374         file: POWER8 llround ifunc implementation.
16375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16376         (__lllround): Add POWER8 implementation.
16377         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16378         POWER8 llround implementation.
16380         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16381         power8 implementation.
16382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16383         file: POWER8 llrint ifunc implementation.
16384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16385         Add POWER8 implementation.
16386         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16387         POWER8 llrint implementation.
16389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16390         power8 implementation.
16391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16392         file: POWER8 finite ifunc implementation.
16393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16394         Add POWER8 implementation.
16395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16396         Likewise.
16397         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16398         POWER8 finite implementation.
16399         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16401         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16402         power8 implementation.
16403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16404         file: POWER8 isinf ifunc implementation.
16405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16406         POWER8 implementation.
16407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16408         Likewise.
16409         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16410         isinf implementation.
16411         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16413         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16414         (INIT_ARCH): Add hwcap2 initialization.
16415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16416         power8 implementation.
16417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16418         file: POWER8 isnan ifunc implementation.
16419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16420         POWER8 implementation.
16421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16422         Likewise.
16423         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16424         isnan implementation.
16425         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16427 2014-02-27  Joey Ye  <joey.ye@arm.com>
16429         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16430         (_FP_NANFRAC_Q): Set to zero.
16432 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16434         [BZ #16623]
16435         * math/auto-libm-test-in: New test inputs.
16436         * math/auto-libm-test-out: Regenerate.
16437         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16438         and DA.
16439         (__cos): Likewise.
16440         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16442 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
16444         * scripts/evaluate-test.sh: Take new argument indicating whether
16445         failure is expected.
16446         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16447         indicating whether failure is expected.
16448         * conform/Makefile (test-xfail-run-conformtest): New variable.
16449         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16450         level.
16451         * posix/Makefile (test-xfail-annexc): New variable.
16452         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16454 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
16456         * argp/Makefile: Include Makeconfig immediately after defining
16457         subdir.
16458         * assert/Makefile: Likewise.
16459         * benchtests/Makefile: Likewise.
16460         * catgets/Makefile: Likewise.
16461         * conform/Makefile: Likewise.
16462         * crypt/Makefile: Likewise.
16463         * csu/Makefile: Likewise.
16464         (all): Remove target.
16465         * ctype/Makefile: Include Makeconfig immediately after defining
16466         subdir.
16467         * debug/Makefile: Likewise.
16468         * dirent/Makefile: Likewise.
16469         * dlfcn/Makefile: Likewise.
16470         * gmon/Makefile: Likewise.
16471         * gnulib/Makefile: Likewise.
16472         * grp/Makefile: Likewise.
16473         * gshadow/Makefile: Likewise.
16474         * hesiod/Makefile: Likewise.
16475         * hurd/Makefile: Likewise.
16476         (all): Remove target.
16477         * iconvdata/Makefile: Include Makeconfig immediately after
16478         defining subdir.
16479         * inet/Makefile: Likewise.
16480         * intl/Makefile: Likewise.
16481         * io/Makefile: Likewise.
16482         * libio/Makefile: Likewise.
16483         (all): Remove target.
16484         * locale/Makefile: Include Makeconfig immediately after defining
16485         subdir.
16486         * login/Makefile: Likewise.
16487         * mach/Makefile: Likewise.
16488         (all): Remove target.
16489         * malloc/Makefile: Include Makeconfig immediately after defining
16490         subdir.
16491         (all): Remove target.
16492         * manual/Makefile: Include Makeconfig immediately after defining
16493         subdir.
16494         * math/Makefile: Likewise.
16495         * misc/Makefile: Likewise.
16496         * nis/Makefile: Likewise.
16497         * nss/Makefile: Likewise.
16498         * po/Makefile: Likewise.
16499         (all): Remove target.
16500         * posix/Makefile: Include Makeconfig immediately after defining
16501         subdir.
16502         * pwd/Makefile: Likewise.
16503         * resolv/Makefile: Likewise.
16504         * resource/Makefile: Likewise.
16505         * rt/Makefile: Likewise.
16506         * setjmp/Makefile: Likewise.
16507         * shadow/Makefile: Likewise.
16508         * signal/Makefile: Likewise.
16509         * socket/Makefile: Likewise.
16510         * soft-fp/Makefile: Likewise.
16511         * stdio-common/Makefile: Likewise.
16512         * stdlib/Makefile: Likewise.
16513         * streams/Makefile: Likewise.
16514         * string/Makefile: Likewise.
16515         * sunrpc/Makefile: Likewise.
16516         (all): Remove target.
16517         * sysvipc/Makefile: Include Makeconfig immediately after defining
16518         subdir.
16519         * termios/Makefile: Likewise.
16520         * time/Makefile: Likewise.
16521         * timezone/Makefile: Likewise.
16522         (all): Remove target.
16523         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16524         subdir.
16525         * wctype/Makefile: Likewise.
16527 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16529         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16530         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16531         (libc_feholdexcept_setround_mips): Ditto.
16532         (libc_feholdsetround): New.
16533         (libc_feholdsetroundf): New.
16534         (libc_feholdsetroundl): New.
16535         (libc_feupdateenv_test_mips): New.
16536         (libc_feupdateenv_test): New.
16537         (libc_feupdateenv_testf): New.
16538         (libc_feupdateenv_testl): New.
16539         (libc_feresetround): New.
16540         (libc_feresetroundf): New.
16541         (libc_feresetroundl): New.
16542         (libc_fetestexcept_mips): New.
16543         (libc_fetestexcept): New.
16544         (libc_fetestexceptf): New.
16545         (libc_fetestexceptl): New.
16546         (HAVE_RM_CTX): New.
16547         (libc_feholdexcept_setround_mips_ctx): New.
16548         (libc_feholdexcept_setround_ctx): New.
16549         (libc_feholdexcept_setroundf_ctx): New.
16550         (libc_feholdexcept_setroundl_ctx): New.
16551         (libc_fesetenv_mips_ctx): New.
16552         (libc_fesetenv_ctx): New.
16553         (libc_fesetenv_ctxf): New.
16554         (libc_fesetenv_ctxl): New.
16555         (libc_feupdateenv_mips_ctx): New.
16556         (libc_feupdateenv_ctx): New.
16557         (libc_feupdateenvf_ctx): New.
16558         (libc_feupdateenvl_ctx): New.
16559         (libc_feholdsetround_mips_ctx): New.
16560         (libc_feholdsetround_ctx): New.
16561         (libc_feholdsetroundf_ctx): New.
16562         (libc_feholdsetroundl_ctx): New.
16563         (libc_feresetround_mips_ctx): New.
16564         (libc_feresetround_ctx): New.
16565         (libc_feresetroundf_ctx): New.
16566         (libc_feresetroundl_ctx): New.
16568 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16570         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16572         * manual/ipc.texi: New file.
16573         * manual/Makefile (chapters): Add ipc.
16574         * manual/job.texi: Add "Inter-Process Communication" to next.
16575         * manual/process.texi: Add "Inter-Process Communication" to prev.
16577 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16581 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16583         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16585         * manual/arith.texi: Fix spaces after sentences.
16586         * manual/charset.texi: Likewise.
16587         * manual/errno.texi: Likewise.
16588         * manual/install.texi: Likewise.
16589         * manual/llio.texi: Likewise.
16590         * manual/locale.texi: Likewise.
16591         * manual/maint.texi: Likewise.
16592         * manual/math.texi: Likewise.
16593         * manual/memory.texi: Likewise.
16594         * manual/message.texi: Likewise.
16595         * manual/probes.texi: Likewise.
16596         * manual/resource.texi: Likewise.
16597         * manual/signal.texi: Likewise.
16598         * manual/socket.texi: Likewise.
16599         * manual/stdio.texi: Likewise.
16600         * manual/string.texi: Likewise.
16601         * manual/time.texi: Likewise.
16602         * manual/users.texi: Likewise.
16604 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16606         [BZ #16632]
16607         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16608         _DEFAULT_SOURCE is defined.
16610 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16611             Carlos O'Donell  <carlos@redhat.com>
16613         [BZ #16613]
16614         * elf/dl-tls.c (_dl_count_modids): New function.
16615         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16616         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16617         audit library and increment generation counter.
16618         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16619         * elf/tst-audit9.c: New file.
16620         * elf/tst-auditmod9a.c: New file.
16621         * elf/tst-auditmod9b.c: New file.
16622         * elf/Makefile: Add rules to build and run tst-audit9.
16624 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16626         [BZ #15347]
16627         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16629 2014-02-25  Will Newton  <will.newton@linaro.org>
16631         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16632         (__longjmp): Restore sp and lr before restoring callee
16633         saved registers.  Add longjmp and longjmp_target
16634         SystemTap probe point.
16635         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16636         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16637         Define to zero to match jmpbuf layout.
16638         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16639         (__sigsetjmp): Save sp and lr before saving callee
16640         saved registers.  Add setjmp SystemTap probe point.
16642 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16644         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16646 2014-02-24  Andreas Schwab  <schwab@suse.de>
16648         [BZ #15804]
16649         * elf/pldd.c (wait_for_ptrace_stop): New function.
16650         (main): Call it after attaching.
16652 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16654         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16655         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16656         Versions files is now verboten.
16657         * hurd/Versions (libc: GLIBC_2.0):
16658         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16659         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16660         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16661         * mach/Versions: Likewise.
16663         * csu/Versions: Remove unused %include.
16664         * resolv/Versions: Likewise.
16666 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16668         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16669         ($(objpfx)check-local-headers.out): Likewise.
16670         ($(objpfx)begin-end-check.out): Likewise.
16671         * Makerules (check-abi-%.out): Likewise.
16672         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16673         ($(objpfx)test2.cat): Likewise.
16674         ($(objpfx)de/libc.cat): Likewise.
16675         ($(objpfx)test-gencat.out): Likewise.
16676         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16677         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16678         ($(objpfx)noload-mem): Likewise.
16679         ($(objpfx)tst-pathopt.out): Likewise.
16680         ($(objpfx)tst-rtld-load-self.out): Likewise.
16681         ($(objpfx)tst-array1-cmp.out): Likewise.
16682         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16683         ($(objpfx)tst-array2-cmp.out): Likewise.
16684         ($(objpfx)tst-array3-cmp.out): Likewise.
16685         ($(objpfx)tst-array4-cmp.out): Likewise.
16686         ($(objpfx)tst-array5-cmp.out): Likewise.
16687         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16688         ($(objpfx)check-textrel.out): Likewise.
16689         ($(objpfx)check-execstack.out): Likewise.
16690         ($(objpfx)check-localplt.out): Likewise.
16691         ($(objpfx)order2-cmp.out): Likewise.
16692         ($(objpfx)tst-leaks1-mem): Likewise.
16693         ($(objpfx)tst-leaks1-static-mem): Likewise.
16694         ($(objpfx)tst-initorder-cmp.out): Likewise.
16695         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16696         ($(objpfx)tst-unused-dep.out): Likewise.
16697         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16698         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16699         * iconv/Makefile (test-iconvconfig): Likewise.
16700         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16701         ($(objpfx)iconv-test.out): Likewise.
16702         ($(objpfx)tst-tables.out): Likewise.
16703         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16704         ($(objpfx)tst-gettext.out): Likewise.
16705         ($(objpfx)tst-translit.out): Likewise.
16706         ($(objpfx)tst-gettext2.out): Likewise.
16707         ($(objpfx)tst-gettext4.out): Likewise.
16708         ($(objpfx)tst-gettext6.out): Likewise.
16709         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16710         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16711         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16712         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16713         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16714         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16715         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16716         ($(objpfx)wordexp-tst.out): Likewise.
16717         ($(objpfx)annexc.out): Likewise.
16718         ($(objpfx)tst-fnmatch-mem): Likewise.
16719         ($(objpfx)bug-regex2-mem): Likewise.
16720         ($(objpfx)bug-regex14-mem): Likewise.
16721         ($(objpfx)bug-regex21-mem): Likewise.
16722         ($(objpfx)bug-regex31-mem): Likewise.
16723         ($(objpfx)tst-vfork3-mem): Likewise.
16724         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16725         ($(objpfx)tst-pcre-mem): Likewise.
16726         ($(objpfx)tst-boost-mem): Likewise.
16727         ($(objpfx)tst-getconf.out): Likewise.
16728         ($(objpfx)bug-ga2-mem): Likewise.
16729         ($(objpfx)bug-glob2-mem): Likewise.
16730         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16731         ($(objpfx)mtrace-tst-leaks2): Likewise.
16732         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16733         ($(objpfx)tst-printf.out): Likewise.
16734         ($(objpfx)tst-setvbuf1.out): Likewise.
16735         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16736         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16737         ($(objpfx)tst-fmtmsg.out): Likewise.
16738         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16739         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16741         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16742         * bits/sigaction.h [__USE_MISC]: Likewise.
16743         * bits/waitstatus.h: Update #endif comments.
16744         * ctype/ctype.h: Likewise.
16745         * dirent/dirent.h: Likewise.
16746         [__USE_MISC]: Remove redundant conditionals.
16747         * grp/grp.h: Update #endif comments.
16748         [__USE_GNU]: Remove redundant conditionals.
16749         [__USE_MISC]: Likewise.
16750         * inet/netinet/in.h [__USE_GNU]: Likewise.
16751         * io/sys/stat.h [__USE_MISC]: Likewise.
16752         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16753         * libio/bits/stdio.h: Update #endif comments.
16754         [__USE_MISC]: Remove redundant conditionals.
16755         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16756         * libio/stdio.h: Update #endif comments.
16757         [__USE_MISC]: Remove redundant conditionals.
16758         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16759         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16760         * math/math.h: Update #else and #endif comments.
16761         [__USE_MISC]: Remove redundant conditionals.
16762         * misc/sys/uio.h: Update #endif comments.
16763         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16764         * posix/glob.h [__USE_MISC]: Likewise.
16765         * posix/sys/types.h: Update #endif comments.
16766         [__USE_MISC]: Remove redundant conditionals.
16767         * posix/sys/wait.h: Update #endif comments.
16768         [__USE_MISC]: Remove redundant conditionals.
16769         * posix/unistd.h: Update #endif comments.
16770         [__USE_MISC]: Remove redundant conditionals.
16771         * pwd/pwd.h [__USE_GNU]: Likewise.
16772         [__USE_MISC]: Likewise.
16773         * resolv/netdb.h [__USE_GNU]: Likewise.
16774         * signal/signal.h: Update #endif comments.
16775         [__USE_MISC]: Remove redundant conditionals.
16776         * stdlib/stdlib.h: Update #else and #endif comments.
16777         [__USE_MISC]: Remove redundant conditionals.
16778         [__USE_GNU]: Likewise.
16779         * string/bits/string2.h [__USE_MISC]: Likewise.
16780         * string/string.h: Update #endif comments.
16781         [__USE_MISC]: Remove redundant conditionals.
16782         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16783         Likewise.
16784         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16785         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16786         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16787         Likewise.
16788         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16789         Likewise.
16790         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16791         comments.
16792         [__USE_MISC]: Remove redundant conditionals.
16793         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16794         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16795         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16796         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16797         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16798         Likewise.
16799         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16800         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16801         Likewise.
16802         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16803         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16804         Likewise.
16805         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16806         Likewise.
16807         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16808         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16809         Likewise.
16810         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16811         Likewise.
16812         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16813         * sysdeps/x86/bits/string.h: Update #endif comments.
16814         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16815         conditionals.
16816         * time/sys/time.h: Update #endif comments.
16817         * time/time.h: Likewise.
16818         [__USE_MISC]: Remove redundant conditionals.
16820 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16822         [BZ #16600]
16823         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16825 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16827         * Versions.def (librt): Add GLIBC_2.17.
16829 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16831         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16832         synonym for _SYS_AUXV_H to allow direct inclusion.
16833         * sysdeps/sparc/bits/hwcap.h: Likewise.
16834         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16835         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16836         * sysdeps/sparc/sysdep.h: Likewise.
16838 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16840         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16842 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16844         * benchtests/bench-strrchr.c: Print length instead of position.
16846 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16848         [BZ #16611]
16849         * sysdeps/unix/sysv/linux/kernel-features.h
16850         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16851         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16852         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16853         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16854         Likewise.
16855         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16856         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16857         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16858         (__ASSUME_SENDMMSG): Define instead of using previous
16859         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16860         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16861         (__ASSUME_SENDMMSG_SYSCALL): Define.
16862         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16863         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16864         Likewise.
16865         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16866         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16867         Likewise.
16868         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16869         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16870         Likewise.
16871         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16872         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16873         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16874         [__ASSUME_SENDMMSG]: Change conditionals to
16875         [__ASSUME_SENDMMSG_SOCKETCALL].
16876         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16877         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16878         Define.
16879         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16880         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16881         Likewise.
16882         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16883         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16884         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16885         [!__ASSUME_SENDMMSG]: Change conditional to
16886         [!__ASSUME_SENDMMSG_SOCKETCALL].
16887         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16888         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16889         Define.
16891         [BZ #16610]
16892         * sysdeps/unix/sysv/linux/kernel-features.h
16893         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16894         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16895         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16896         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16897         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16898         [__i386__ || __sparc__]
16899         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16900         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16901         (__ASSUME_RECVMMSG): Define instead of using previous
16902         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16903         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16904         (__ASSUME_RECVMMSG_SYSCALL): Define.
16905         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16906         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16907         Likewise.
16908         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16909         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16910         Likewise.
16911         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16912         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16913         Likewise.
16914         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16915         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16916         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16917         [__ASSUME_RECVMMSG]: Change condition to
16918         [__ASSUME_RECVMMSG_SOCKETCALL].
16919         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16920         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16921         Define.
16922         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16923         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16924         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16925         Likewise.
16926         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16927         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16928         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16929         [!__ASSUME_RECVMMSG]: Change condition to
16930         [!__ASSUME_RECVMMSG_SOCKETCALL].
16931         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16932         (__ASSUME_RECVMMSG_SYSCALL): Define.
16934         [BZ #16609]
16935         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16936         __powerpc__ || __s390__ || __sh__ || __sparc__]
16937         (__ASSUME_SOCKETCALL): Define.
16938         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16939         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16940         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16941         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16942         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16943         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16944         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16945         (__ASSUME_ACCEPT4): Define instead of using previous
16946         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16947         __powerpc__ || __sparc__ || __s390__)] condition.
16948         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16949         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16950         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16951         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16952         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16953         [!__ASSUME_ACCEPT4]: Change condition to
16954         [!__ASSUME_ACCEPT4_SOCKETCALL].
16955         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16956         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16957         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16958         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16959         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16960         __ASSUME_ACCEPT4_SYSCALL.
16961         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16962         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16963         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16964         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16965         __ASSUME_ACCEPT4_SYSCALL.
16966         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16967         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16968         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16969         [__ASSUME_ACCEPT4]: Change condition to
16970         [__ASSUME_ACCEPT4_SOCKETCALL].
16971         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16972         (__ASSUME_SOCKETCALL): Define.
16973         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16974         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16975         (__ASSUME_SOCKETCALL): Define.
16976         (__ASSUME_ACCEPT4): Remove.
16977         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16978         Define.
16979         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16980         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16981         Likewise.
16982         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16983         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16985         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16986         macro.
16987         (HWCAP_ARM_LPAE): Likewise.
16988         (HWCAP_ARM_EVTSTRM): Likewise.
16989         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16990         Add vpfd32, lpae and evtstrm.
16991         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16992         Increase to 22.
16994 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16996         * math/auto-libm-test-in: Add tests of clog10.
16997         * math/auto-libm-test-out: Regenerated.
16998         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16999         * sysdeps/i386/fpu/libm-test-ulps: Update.
17000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17002 2014-02-18  Andreas Schwab  <schwab@suse.de>
17004         [BZ #16574]
17005         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17006         Store non-zero if the second buffer was newly allocated.
17007         (send_dg): Likewise.
17008         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17009         to send_vc and send_dg.
17010         (res_nsend): Pass NULL for ansp2_malloced.
17011         * resolv/res_query.c (__libc_res_nquery): Add parameter
17012         answerp2_malloced and pass it down to __libc_res_nsend.
17013         (res_nquery): Pass additional NULL to __libc_res_nquery.
17014         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17015         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
17016         second answer buffer if answerp2_malloced was set.
17017         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17018         (__libc_res_nquerydomain): Add parameter
17019         answerp2_malloced and pass it down to __libc_res_nquery.
17020         (res_nquerydomain): Pass additional NULL to
17021         __libc_res_nquerydomain.
17022         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17023         additional NULL to __libc_res_nsend and __libc_res_nquery.
17024         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17025         additional NULL to __libc_res_nsearch.
17026         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
17027         parameter of __libc_res_nsearch to check for separately allocated
17028         second buffer.
17029         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17030         __libc_res_nquery.
17031         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17032         additional NULL to __libc_res_nquery.
17033         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17034         __libc_res_nsearch.
17035         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17036         * include/resolv.h: Update prototypes of __libc_res_nquery,
17037         __libc_res_nsearch, __libc_res_nsend.
17039 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
17041         * math/auto-libm-test-in: Add tests of fma.
17042         * math/auto-libm-test-out: Regenerated.
17043         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17044         (fma_towardzero_test_data): Likewise.
17045         (fma_downward_test_data): Likewise.
17046         (fma_upward_test_data): Likewise.
17047         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17048         mpc_mode.
17049         (rounding_modes): Add values for new field.
17050         (func_calc_method): Add value mpfr_fff_f.
17051         (func_calc_desc): Add mpfr_fff_f union field.
17052         (test_function): Add field exact_args.
17053         (FUNC): Add macro argument EXACT_ARGS.
17054         (FUNC_mpfr_f_f): Update call to FUNC.
17055         (FUNC_mpfr_f_f): Likewise.
17056         (FUNC_mpfr_ff_f): Likewise.
17057         (FUNC_mpfr_if_f): Likewise.
17058         (FUNC_mpc_c_f): Likewise.
17059         (FUNC_mpc_c_c): Likewise.
17060         (test_functions): Add fma.  Update calls to FUNC.
17061         (handle_input_arg): Add argument exact_args.
17062         (add_test): Update call to handle_input_arg.
17063         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
17064         (output_for_one_input_case): Update call to calc_generic_results.
17065         Recalculate exact zero results in each rounding mode.
17067         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17068         non-negative before setting low bit.
17069         * math/auto-libm-test-in: Mark one asin test possibly having
17070         spurious underflow.
17071         * math/auto-libm-test-out: Regenerated.
17072         * sysdeps/i386/fpu/libm-test-ulps: Update.
17073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17075 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
17077         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17078         * sysdeps/unix/sysv/linux/microblaze: Move directory from
17079         ports/sysdeps/unix/sysv/linux/microblaze.
17080         * README: Add missing listing for microblaze*-*-linux-gnu.
17082 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
17084         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17085         duplicate code
17087 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
17089         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17090         * sysdeps/unix/sysv/linux/ia64: Move directory from
17091         ports/sysdeps/unix/sysv/linux/ia64.
17092         * README: Update listing for ia64-*-linux-gnu.
17094 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
17095             Joseph Myers  <joseph@codesourcery.com>
17097         * Makeconfig (test-name): New variable.
17098         (evaluate-test): Likewise.
17099         * Makerules (do-test-clean): Remove .test-result files.
17100         (common-mostlyclean): Likewise.
17101         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17102         * scripts/evaluate-test.sh: New file.
17104 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
17106         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17107         separate $(objpfx)tst-fopenloc-cmp.out and
17108         $(objpfx)tst-fopenloc-mem.out targets.
17109         (tests): Update dependencies.
17110         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17111         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17112         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17113         (tst-rxspencer-no-utf8-ARGS): New variable.
17114         (tst-rxspencer-no-utf8-ENV): Likewise.
17115         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17116         instead of $(objpfx)tst-rxspencer-mem.
17117         ($(objpfx)tst-rxspencer-mem): Change target to
17118         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
17119         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17120         * posix/tst-rxspencer-no-utf8.c: New file.
17122         * elf/Makefile ($(objpfx)order.out): Remove rule.
17123         [$(run-built-tests) = yes] (tests): Depend on
17124         $(objpfx)order-cmp.out.
17125         ($(objpfx)order-cmp.out): New rule.
17126         [$(run-built-tests) = yes] (tests): Depend on
17127         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17128         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17129         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17130         $(objpfx)tst-array5-static-cmp.out.
17131         ($(objpfx)tst-array1.out): Remove rule.
17132         ($(objpfx)tst-array1-cmp.out): New rule.
17133         ($(objpfx)tst-array1-static.out): Remove rule.
17134         ($(objpfx)tst-array1-static-cmp.out): New rule.
17135         ($(objpfx)tst-array2.out): Remove rule.
17136         ($(objpfx)tst-array2-cmp.out): New rule.
17137         ($(objpfx)tst-array3.out): Remove rule.
17138         ($(objpfx)tst-array3-cmp.out): New rule.
17139         ($(objpfx)tst-array4.out): Remove rule.
17140         ($(objpfx)tst-array4-cmp.out): New rule.
17141         ($(objpfx)tst-array5.out): Remove rule.
17142         ($(objpfx)tst-array5-cmp.out): New rule.
17143         ($(objpfx)tst-array5-static.out): Remove rule.
17144         ($(objpfx)tst-array5-static-cmp.out): New rule.
17145         [$(run-built-tests) = yes] (tests): Depend on
17146         $(objpfx)order2-cmp.out.
17147         ($(objpfx)order2.out): Remove rule.
17148         ($(objpfx)order2-cmp.out): New rule.
17149         ($(objpfx)tst-initorder.out): Remove rule.
17150         [$(run-built-tests) = yes] (tests): Depend on
17151         $(objpfx)tst-initorder-cmp.out.
17152         ($(objpfx)tst-initorder-cmp.out): New rule.
17153         ($(objpfx)tst-initorder2.out): Remove rule.
17154         [$(run-built-tests) = yes] (tests): Depend on
17155         $(objpfx)tst-initorder2-cmp.out.
17156         ($(objpfx)tst-initorder2-cmp.out): New rule.
17157         [$(run-built-tests) = yes] (tests): Depend on
17158         $(objpfx)tst-unused-dep-cmp.out.
17159         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17160         ($(objpfx)tst-unused-dep-cmp.out): New rule.
17161         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17162         on $(objpfx)tst-setvbuf1-cmp.out.
17163         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17164         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17165         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17166         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17167         ($(objpfx)tst-svc.out): Remove rule.
17168         ($(objpfx)tst-svc-cmp.out): New rule.
17170 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
17172         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17173         * ctype/ctype.h [__USE_MISC]: Likewise.
17174         * dirent/dirent.h [__USE_MISC]: Likewise.
17175         * grp/grp.h [__USE_MISC]: Likewise.
17176         * io/fcntl.h [__USE_MISC]: Likewise.
17177         * io/sys/stat.h [__USE_MISC]: Likewise.
17178         * libio/stdio.h [__USE_MISC]: Likewise.
17179         * posix/unistd.h [__USE_MISC]: Likewise.
17180         * pwd/pwd.h [__USE_MISC]: Likewise.
17181         * stdlib.h [__USE_MISC]: Likewise.
17182         * string/bits/string2.h [__USE_MISC]: Likewise.
17183         * string/string.h [__USE_MISC]: Likewise.
17184         * time/time.h [__USE_MISC]: Likewise.
17186 2014-02-13  Andreas Schwab  <schwab@suse.de>
17188         [BZ #16574]
17189         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17190         second answer buffer if it was separately allocated.
17192 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
17194         * sysdeps/mips/math-tests.h: Include <features.h>.
17195         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17196         (ROUNDING_TESTS_long_double): Do not define.
17197         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17198         (EXCEPTION_TESTS_long_double): Likewise.
17199         * sysdeps/mips/mips64/libm-test-ulps: Update.
17201         * include/features.h (__USE_BSD): Remove macro definitions.
17202         (__USE_SVID): Likewise.
17203         (_BSD_SOURCE): Likewise.
17204         (_SVID_SOURCE): Likewise.
17205         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17206         from definition of _DEFAULT_SOURCE.
17207         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17208         [_DEFAULT_SOURCE].
17209         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17210         * bits/mman.h [__USE_BSD]: Likewise.
17211         * bits/termios.h [__USE_BSD]: Likewise.
17212         * bits/waitstatus.h [__USE_BSD]: Likewise.
17213         * ctype/ctype.h [__USE_SVID]: Likewise.
17214         * dirent/dirent.h [__USE_BSD]: Likewise.
17215         * grp/grp.h [__USE_SVID]: Likewise.
17216         [__USE_BSD]: Likewise.
17217         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17218         * io/fcntl.h [__USE_BSD]: Likewise.
17219         * io/ftw.h [__USE_BSD]: Likewise.
17220         * io/sys/stat.h [__USE_BSD]: Likewise.
17221         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17222         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17223         * libio/stdio.h [__USE_SVID]: Likewise.
17224         [__USE_BSD]: Likewise.
17225         * math/math.h [__USE_SVID]: Likewise.
17226         [__USE_BSD]: Likewise.
17227         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17228         * misc/bits/syslog.h [__USE_BSD]: Likewise.
17229         * misc/search.h [__USE_SVID]: Likewise.
17230         * misc/sys/mman.h [__USE_BSD]: Likewise.
17231         * misc/sys/syslog.h [__USE_BSD]: Likewise.
17232         * misc/sys/uio.h [__USE_BSD]: Likewise.
17233         * posix/bits/unistd.h [__USE_BSD]: Likewise.
17234         * posix/glob.h [__USE_BSD]: Likewise.
17235         * posix/regex.h [__USE_BSD]: Likewise.
17236         * posix/sys/types.h [__USE_BSD]: Likewise.
17237         [__USE_SVID]: Likewise.
17238         * posix/sys/utsname.h [__USE_SVID]: Likewise.
17239         * posix/sys/wait.h [__USE_BSD]: Likewise.
17240         [__USE_SVID]: Likewise.
17241         * posix/unistd.h [__USE_BSD]: Likewise.
17242         [__USE_SVID]: Likewise.
17243         * pwd/pwd.h [__USE_SVID]: Likewise.
17244         * resolv/netdb.h [__USE_BSD]: Likewise.
17245         * setjmp/setjmp.h [__USE_BSD]: Likewise.
17246         * signal/signal.h [__USE_BSD]: Likewise.
17247         [__USE_SVID]: Likewise.
17248         * socket/sys/socket.h [__USE_BSD]: Likewise.
17249         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17250         * stdlib/stdlib.h [__USE_BSD]: Likewise.
17251         [__USE_SVID]: Likewise.
17252         * string/bits/string2.h [__USE_BSD]: Likewise.
17253         [__USE_SVID]: Likewise.
17254         * string/bits/string3.h [__USE_BSD]: Likewise.
17255         * string/endian.h [__USE_BSD]: Likewise.
17256         * string/string.h [__USE_SVID]: Likewise.
17257         [__USE_BSD]: Likewise.
17258         * string/strings.h [__USE_BSD]: Likewise.
17259         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17260         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17261         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17262         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17263         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17264         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17265         Likewise.
17266         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17267         Likewise.
17268         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17269         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17270         Likewise.
17271         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17272         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17273         Likewise.
17274         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17275         Likewise.
17276         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17277         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17278         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17279         Likewise.
17280         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17281         Likewise.
17282         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17283         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17284         * termios/termios.h [__USE_BSD]: Likewise.
17285         * time/sys/time.h [__USE_BSD]: Likewise.
17286         * time/time.h [__USE_BSD]: Likewise.
17287         [__USE_SVID]: Likewise.
17289         * Makefile (subdir_targets): Remove subdir_lint.out.
17291         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17292         (do-tst-printf): Likewise.
17293         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17294         $(objpfx)tst-printf.out.
17296         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17298         * Makerules (check-abi-%): Change target to
17299         $(objpfx)check-abi-%.out.
17300         (check-abi target): Update dependencies.
17301         (check-abi-pattern variable): Redirect output of diff to $@.
17302         (check-abi variable): Likewise.
17303         * elf/Makefile (check-abi): Update dependencies.
17305         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17306         unused.
17307         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17308         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17309         subnormal range.
17310         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17311         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17312         value has largest subnormal exponent.
17313         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17314         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17315         * sysdeps/aarch64/soft-fp/sfp-machine.h
17316         (_FP_TININESS_AFTER_ROUNDING): New macro.
17317         * sysdeps/alpha/soft-fp/sfp-machine.h
17318         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17319         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17320         Likewise.
17321         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17322         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17323         * sysdeps/mips/soft-fp/sfp-machine.h
17324         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17325         * sysdeps/powerpc/soft-fp/sfp-machine.h
17326         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17327         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17328         Likewise.
17329         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17330         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17331         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17332         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17333         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17334         Likewise.
17336 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17338         [BZ #16545]
17339         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17340         model 1.
17342 2014-02-12  Richard Henderson  <rth@redhat.com>
17344         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17345         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17346         * sysdeps/unix/sysv/linux/alpha: Move directory from
17347         ports/sysdeps/unix/sysv/linux/alpha.
17348         * README: Update listing for alpha-*-linux-gnu.
17350 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17352         * include/features.h: Update comment documenting feature test
17353         macros.
17354         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17355         _DEFAULT_SOURCE.
17356         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17357         (_SVID_SOURCE): Likewise.
17358         (_DEFAULT_SOURCE): Update description of default features.
17359         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17360         with _GNU_SOURCE.
17361         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17362         (S_ISVTX): Likewise.
17363         * manual/math.texi (Mathematical Constants): Likewise.
17364         * manual/signal.texi (Interrupted Primitives): Likewise.
17365         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17366         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17367         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17368         Don't refer to _SVID_SOURCE in warning text.
17370         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17372         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17373         already defined.
17374         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17375         * sysdeps/mips/dl-lookup.c: Remove.
17376         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17378 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17380         [BZ #16447]
17381         * math/auto-libm-test-in: Add testcase for expl.
17382         * math/auto-libm-test-out: Regenerate.
17383         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17384         calculation of unsafe.
17385         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17387 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17389         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17390         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17391         ports/sysdeps/unix/sysv/linux/aarch64.
17392         * README: Update listing for aarch64*-*-linux-gnu.
17394 2014-02-11  Will Newton  <will.newton@linaro.org>
17396         * manual/probes.texi (Mathematical Function Probes): Use
17397         "triggered" instead of "hit".
17399         * manual/probes.texi (Internal Probes): Add documentation
17400         of setjmp, longjmp and longjmp_target probes.
17402         * include/stap-probe.h: Add comment about probe argument
17403         format.
17405         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17406         definition.  (tr_where, tr_freehook, tr_mallochook,
17407         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17409 2014-02-11  David S. Miller  <davem@davemloft.net>
17411         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17412         processing int_tests.
17414 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17416         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17417         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17418         * sysdeps/unix/sysv/linux/mips: Move directory from
17419         ports/sysdeps/unix/sysv/linux/mips.
17420         * README: Update listing for mips-*-linux-gnu and
17421         mips64-*-linux-gnu.
17423 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17425         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17426         * sysdeps/unix/sysv/linux/m68k: Move directory from
17427         ports/sysdeps/unix/sysv/linux/m68k.
17428         * README: Update listing for m68k-*-linux-gnu.
17430 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17432         * sysdeps/tile: Move directory from ports/sysdeps/tile.
17433         * sysdeps/unix/sysv/linux/generic: Move directory from
17434         ports/sysdeps/unix/sysv/linux/generic.
17435         * sysdeps/unix/sysv/linux/tile: Move directory from
17436         ports/sysdeps/unix/sysv/linux/tile.
17437         * README: Update listing for tile*-*-linux-gnu.
17439 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
17441         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17442         __builtin_expect.
17443         * benchtests/bench-memmem.c (simple_memmem): Likewise.
17444         * catgets/open_catalog.c (__open_catalog): Likewise.
17445         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17446         * debug/confstr_chk.c: Likewise.
17447         * debug/fread_chk.c (__fread_chk): Likewise.
17448         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17449         * debug/getgroups_chk.c: Likewise.
17450         * debug/mbsnrtowcs_chk.c: Likewise.
17451         * debug/mbsrtowcs_chk.c: Likewise.
17452         * debug/mbstowcs_chk.c: Likewise.
17453         * debug/memcpy_chk.c: Likewise.
17454         * debug/memmove_chk.c: Likewise.
17455         * debug/mempcpy_chk.c: Likewise.
17456         * debug/memset_chk.c: Likewise.
17457         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17458         * debug/strcat_chk.c (__strcat_chk): Likewise.
17459         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17460         * debug/strncat_chk.c (__strncat_chk): Likewise.
17461         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17462         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17463         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17464         * debug/wcpncpy_chk.c: Likewise.
17465         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17466         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17467         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17468         * debug/wcsncpy_chk.c: Likewise.
17469         * debug/wcsnrtombs_chk.c: Likewise.
17470         * debug/wcsrtombs_chk.c: Likewise.
17471         * debug/wcstombs_chk.c: Likewise.
17472         * debug/wmemcpy_chk.c: Likewise.
17473         * debug/wmemmove_chk.c: Likewise.
17474         * debug/wmempcpy_chk.c: Likewise.
17475         * debug/wmemset_chk.c: Likewise.
17476         * dirent/scandirat.c (SCANDIRAT): Likewise.
17477         * dlfcn/dladdr1.c (dladdr1): Likewise.
17478         * dlfcn/dladdr.c (dladdr): Likewise.
17479         * dlfcn/dlclose.c (dlclose_doit): Likewise.
17480         * dlfcn/dlerror.c (__dlerror): Likewise.
17481         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17482         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17483         * dlfcn/dlopen.c (dlopen_doit): Likewise.
17484         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17485         * dlfcn/dlsym.c (dlsym_doit): Likewise.
17486         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17487         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17488         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17489         Likewise.
17490         * elf/dl-conflict.c: Likewise.
17491         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17492         * elf/dl-dst.h: Likewise.
17493         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17494         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17495         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17496         * elf/dl-init.c (call_init, _dl_init): Likewise.
17497         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17498         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17499         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17500         Likewise.
17501         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17502         Likewise.
17503         * elf/dl-minimal.c (__libc_memalign): Likewise.
17504         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17505         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17506         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17507         * elf/dl-sym.c (do_sym): Likewise.
17508         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17509         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17510         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17511         * elf/dl-writev.h (_dl_writev): Likewise.
17512         * elf/ldconfig.c (search_dir): Likewise.
17513         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17514         (dl_main): Likewise.
17515         * elf/setup-vdso.h (setup_vdso): Likewise.
17516         * grp/compat-initgroups.c (compat_call): Likewise.
17517         * grp/fgetgrent.c (fgetgrent): Likewise.
17518         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17519         * grp/putgrent.c (putgrent): Likewise.
17520         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17521         Likewise.
17522         * hurd/hurdinit.c: Likewise.
17523         * iconvdata/8bit-gap.c (struct): Likewise.
17524         * iconvdata/ansi_x3.110.c : Likewise.
17525         * iconvdata/big5.c : Likewise.
17526         * iconvdata/big5hkscs.c : Likewise.
17527         * iconvdata/cp1255.c: Likewise.
17528         * iconvdata/cp1258.c : Likewise.
17529         * iconvdata/cp932.c : Likewise.
17530         * iconvdata/euc-cn.c: Likewise.
17531         * iconvdata/euc-jisx0213.c : Likewise.
17532         * iconvdata/euc-jp.c: Likewise.
17533         * iconvdata/euc-jp-ms.c : Likewise.
17534         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17535         * iconvdata/gb18030.c : Likewise.
17536         * iconvdata/gbbig5.c (const): Likewise.
17537         * iconvdata/gbgbk.c: Likewise.
17538         * iconvdata/gbk.c : Likewise.
17539         * iconvdata/ibm1364.c : Likewise.
17540         * iconvdata/ibm930.c : Likewise.
17541         * iconvdata/ibm932.c: Likewise.
17542         * iconvdata/ibm933.c : Likewise.
17543         * iconvdata/ibm935.c : Likewise.
17544         * iconvdata/ibm937.c : Likewise.
17545         * iconvdata/ibm939.c : Likewise.
17546         * iconvdata/ibm943.c: Likewise.
17547         * iconvdata/iso_11548-1.c: Likewise.
17548         * iconvdata/iso-2022-cn.c : Likewise.
17549         * iconvdata/iso-2022-cn-ext.c : Likewise.
17550         * iconvdata/iso-2022-jp-3.c: Likewise.
17551         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17552         * iconvdata/iso-2022-kr.c : Likewise.
17553         * iconvdata/iso646.c (gconv_end): Likewise.
17554         * iconvdata/iso_6937-2.c : Likewise.
17555         * iconvdata/iso_6937.c : Likewise.
17556         * iconvdata/iso8859-1.c: Likewise.
17557         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17558         * iconvdata/shift_jisx0213.c : Likewise.
17559         * iconvdata/sjis.c : Likewise.
17560         * iconvdata/t.61.c : Likewise.
17561         * iconvdata/tcvn5712-1.c : Likewise.
17562         * iconvdata/tscii.c: Likewise.
17563         * iconvdata/uhc.c : Likewise.
17564         * iconvdata/unicode.c (gconv_end): Likewise.
17565         * iconvdata/utf-16.c (gconv_end): Likewise.
17566         * iconvdata/utf-32.c (gconv_end): Likewise.
17567         * iconvdata/utf-7.c (base64): Likewise.
17568         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17569         * iconv/gconv_close.c (__gconv_close): Likewise.
17570         * iconv/gconv_open.c (__gconv_open): Likewise.
17571         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17572         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17573         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17574         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17575         (ucs4le_internal_loop_single): Likewise.
17576         * iconv/iconv.c (iconv): Likewise.
17577         * iconv/iconv_close.c: Likewise.
17578         * iconv/loop.c (SINGLE): Likewise.
17579         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17580         * include/atomic.h: Likewise.
17581         * inet/inet6_option.c (option_alloc): Likewise.
17582         * intl/bindtextdom.c (set_binding_values): Likewise.
17583         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17584         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17585         * intl/localealias.c (read_alias_file): Likewise.
17586         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17587         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17588         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17589         * libio/fmemopen.c (fmemopen): Likewise.
17590         * libio/iofgets.c (_IO_fgets): Likewise.
17591         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17592         * libio/iofgetws.c (fgetws): Likewise.
17593         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17594         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17595         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17596         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17597         * locale/findlocale.c (_nl_find_locale): Likewise.
17598         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17599         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17600         Likewise.
17601         * locale/setlocale.c (setlocale): Likewise.
17602         * login/programs/pt_chown.c (main): Likewise.
17603         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17604         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17605         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17606         (mmap, mmap64, mremap, munmap): Likewise.
17607         * math/e_exp2l.c: Likewise.
17608         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17609         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17610         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17611         * math/s_catan.c (__catan): Likewise.
17612         * math/s_catanf.c (__catanf): Likewise.
17613         * math/s_catanh.c (__catanh): Likewise.
17614         * math/s_catanhf.c (__catanhf): Likewise.
17615         * math/s_catanhl.c (__catanhl): Likewise.
17616         * math/s_catanl.c (__catanl): Likewise.
17617         * math/s_ccosh.c (__ccosh): Likewise.
17618         * math/s_ccoshf.c (__ccoshf): Likewise.
17619         * math/s_ccoshl.c (__ccoshl): Likewise.
17620         * math/s_cexp.c (__cexp): Likewise.
17621         * math/s_cexpf.c (__cexpf): Likewise.
17622         * math/s_cexpl.c (__cexpl): Likewise.
17623         * math/s_clog10.c (__clog10): Likewise.
17624         * math/s_clog10f.c (__clog10f): Likewise.
17625         * math/s_clog10l.c (__clog10l): Likewise.
17626         * math/s_clog.c (__clog): Likewise.
17627         * math/s_clogf.c (__clogf): Likewise.
17628         * math/s_clogl.c (__clogl): Likewise.
17629         * math/s_csin.c (__csin): Likewise.
17630         * math/s_csinf.c (__csinf): Likewise.
17631         * math/s_csinh.c (__csinh): Likewise.
17632         * math/s_csinhf.c (__csinhf): Likewise.
17633         * math/s_csinhl.c (__csinhl): Likewise.
17634         * math/s_csinl.c (__csinl): Likewise.
17635         * math/s_csqrt.c (__csqrt): Likewise.
17636         * math/s_csqrtf.c (__csqrtf): Likewise.
17637         * math/s_csqrtl.c (__csqrtl): Likewise.
17638         * math/s_ctan.c (__ctan): Likewise.
17639         * math/s_ctanf.c (__ctanf): Likewise.
17640         * math/s_ctanh.c (__ctanh): Likewise.
17641         * math/s_ctanhf.c (__ctanhf): Likewise.
17642         * math/s_ctanhl.c (__ctanhl): Likewise.
17643         * math/s_ctanl.c (__ctanl): Likewise.
17644         * math/w_pow.c: Likewise.
17645         * math/w_powf.c: Likewise.
17646         * math/w_powl.c: Likewise.
17647         * math/w_scalb.c (sysv_scalb): Likewise.
17648         * math/w_scalbf.c (sysv_scalbf): Likewise.
17649         * math/w_scalbl.c (sysv_scalbl): Likewise.
17650         * misc/error.c (error_tail): Likewise.
17651         * misc/pselect.c (__pselect): Likewise.
17652         * nis/nis_callback.c (__nis_create_callback): Likewise.
17653         * nis/nis_call.c (__nisfind_server): Likewise.
17654         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17655         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17656         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17657         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17658         * nis/nis_lookup.c (nis_lookup): Likewise.
17659         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17660         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17661         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17662         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17663         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17664         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17665         * nis/nss_compat/compat-initgroups.c (add_group)
17666         (internal_getgrent_r): Likewise.
17667         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17668         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17669         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17670         (internal_getspnam_r): Likewise.
17671         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17672         (_nss_nis_getaliasbyname_r): Likewise.
17673         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17674         (_nss_nis_getntohost_r): Likewise.
17675         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17676         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17677         (_nss_nis_getgrgid_r): Likewise.
17678         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17679         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17680         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17681         (_nss_nis_gethostbyname4_r): Likewise.
17682         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17683         (initgroups_netid): Likewise.
17684         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17685         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17686         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17687         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17688         (_nss_nis_getprotobynumber_r): Likewise.
17689         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17690         (_nss_nis_getsecretkey): Likewise.
17691         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17692         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17693         (_nss_nis_getpwuid_r): Likewise.
17694         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17695         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17696         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17697         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17698         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17699         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17700         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17701         Likewise.
17702         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17703         (_nss_nisplus_getntohost_r): Likewise.
17704         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17705         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17706         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17707         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17708         Likewise.
17709         * nis/nss_nisplus/nisplus-initgroups.c
17710         (_nss_nisplus_initgroups_dyn): Likewise.
17711         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17712         (_nss_nisplus_getnetbyaddr_r): Likewise.
17713         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17714         (_nss_nisplus_getprotobynumber_r): Likewise.
17715         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17716         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17717         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17718         Likewise.
17719         * nis/nss_nisplus/nisplus-service.c
17720         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17721         (_nss_nisplus_getservbyport_r): Likewise.
17722         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17723         (_nss_nisplus_getspnam_r): Likewise.
17724         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17725         Likewise.
17726         * nscd/aicache.c (addhstaiX): Likewise.
17727         * nscd/cache.c (cache_search, prune_cache): Likewise.
17728         * nscd/connections.c (register_traced_file, send_ro_fd)
17729         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17730         (main_loop_epoll): Likewise.
17731         * nscd/grpcache.c (addgrbyX): Likewise.
17732         * nscd/hstcache.c (addhstbyX): Likewise.
17733         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17734         * nscd/mem.c (gc, mempool_alloc): Likewise.
17735         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17736         (addinnetgrX): Likewise.
17737         * nscd/nscd-client.h (__nscd_acquire_maplock)
17738         (__nscd_drop_map_ref): Likewise.
17739         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17740         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17741         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17742         Likewise.
17743         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17744         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17745         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17746         (__nscd_get_map_ref): Likewise.
17747         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17748         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17749         Likewise.
17750         * nscd/pwdcache.c (addpwbyX): Likewise.
17751         * nscd/selinux.c (preserve_capabilities): Likewise.
17752         * nscd/servicescache.c (addservbyX): Likewise.
17753         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17754         * posix/fnmatch.c (fnmatch): Likewise.
17755         * posix/getopt.c (_getopt_internal_r): Likewise.
17756         * posix/glob.c (glob, glob_in_dir): Likewise.
17757         * posix/wordexp.c (exec_comm_child): Likewise.
17758         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17759         (getanswer_r, gaih_getanswer_slice): Likewise.
17760         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17761         * resolv/res_init.c: Likewise.
17762         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17763         * resolv/res_query.c (__libc_res_nquery): Likewise.
17764         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17765         Likewise.
17766         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17767         * stdio-common/perror.c (perror): Likewise.
17768         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17769         * stdio-common/tmpnam.c (tmpnam): Likewise.
17770         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17771         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17772         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17773         Likewise.
17774         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17775         * stdlib/putenv.c (putenv): Likewise.
17776         * stdlib/setenv.c (__add_to_environ): Likewise.
17777         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17778         * stdlib/strtol_l.c (INTERNAL): Likewise.
17779         * string/memmem.c (memmem): Likewise.
17780         * string/strerror.c (strerror): Likewise.
17781         * string/strnlen.c (__strnlen): Likewise.
17782         * string/test-memmem.c (simple_memmem): Likewise.
17783         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17784         * sunrpc/pm_getport.c (__get_socket): Likewise.
17785         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17786         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17787         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17788         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17789         Likewise.
17790         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17791         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17792         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17793         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17794         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17795         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17796         Likewise.
17797         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17798         Likewise.
17799         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17800         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17801         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17802         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17803         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17804         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17805         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17806         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17807         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17808         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17809         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17810         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17811         Likewise.
17812         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17813         Likewise.
17814         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17815         Likewise.
17816         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17817         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17818         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17819         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17820         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17821         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17822         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17823         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17824         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17825         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17826         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17828         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17829         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17830         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17831         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17832         Likewise.
17833         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17834         Likewise.
17835         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17836         Likewise.
17837         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17838         Likewise.
17839         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17840         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17841         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17842         Likewise.
17843         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17844         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17845         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17846         * sysdeps/posix/sleep.c: Likewise.
17847         * sysdeps/posix/tempname.c: Likewise.
17848         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17849         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17850         Likewise.
17851         * sysdeps/powerpc/powerpc32/dl-machine.h
17852         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17853         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17854         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17855         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17856         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17857         Likewise.
17858         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17859         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17860         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17861         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17862         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17863         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17864         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17865         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17866         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17867         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17868         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17869         (elf_machine_lazy_rel): Likewise.
17870         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17871         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17872         (elf_machine_lazy_rel): Likewise.
17873         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17874         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17875         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17876         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17877         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17878         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17879         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17880         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17881         Likewise.
17882         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17883         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17884         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17885         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17886         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17887         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17888         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17889         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17890         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17891         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17892         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17893         Likewise.
17894         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17895         (__posix_fallocate64_l64): Likewise.
17896         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17897         (posix_fallocate): Likewise.
17898         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17899         Likewise.
17900         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17901         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17902         (getifaddrs_internal): Likewise.
17903         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17904         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17905         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17906         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17907         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17908         (__posix_fallocate64_l64): Likewise.
17909         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17910         Likewise.
17911         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17912         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17913         (__get_clockfreq): Likewise.
17914         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17915         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17916         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17918         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17919         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17920         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17921         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17922         Likewise.
17923         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17924         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17925         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17926         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17927         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17928         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17929         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17930         Likewise.
17931         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17932         (posix_fallocate): Likewise.
17933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17934         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17935         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17936         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17937         (elf_machine_rela, elf_machine_rela_relative)
17938         (elf_machine_lazy_rel): Likewise.
17939         * time/asctime.c (asctime_internal): Likewise.
17940         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17941         * time/tzset.c (__tzset_parse_tz): Likewise.
17942         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17943         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17944         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17945         * wcsmbs/wcsmbsload.h: Likewise.
17947         [BZ #15894]
17948         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17950         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17951         (arena_get2): Remove THREAD_STATS conditionals.
17952         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17953         (__malloc_stats, int): Likewise.
17955 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17957         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17958         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17960         * manual/setjmp.texi: Fix typos/grammar errors.
17962         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17963         Only return early when n is <= 0.  Delete unused return statement.
17965         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17966         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17967         * debug/tst-longjmp_chk3.c: New file.
17969         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17970         (test_main): Replace code with set_fortify_handler call.
17971         * debug/test-strcpy_chk.c: Likewise.
17972         * debug/tst-chk1.c: Likewise.
17973         * debug/tst-longjmp_chk.c: Likewise.
17974         * test-skeleton.c: Include fcntl.h & paths.h
17975         (set_fortify_handler): Define.
17977         * debug/tst-longjmp_chk.c: Add header comment and include
17978         ../test-skeleton.c.
17979         (do_test): Mark static.
17980         (TEST_FUNCTION): Define.
17982         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17983         (IP_PMTUDISC_INTERFACE): Likewise.
17984         (IP_MULTICAST_IF): Likewise.
17985         (IP_MULTICAST_TTL): Likewise.
17986         (IP_MULTICAST_LOOP): Likewise.
17987         (IP_ADD_MEMBERSHIP): Likewise.
17988         (IP_DROP_MEMBERSHIP): Likewise.
17989         (IP_UNBLOCK_SOURCE): Likewise.
17990         (IP_BLOCK_SOURCE): Likewise.
17991         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17992         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17993         (IP_MSFILTER): Likewise.
17994         (MCAST_JOIN_GROUP): Likewise.
17995         (MCAST_BLOCK_SOURCE): Likewise.
17996         (MCAST_UNBLOCK_SOURCE): Likewise.
17997         (MCAST_LEAVE_GROUP): Likewise.
17998         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17999         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18000         (MCAST_MSFILTER): Likewise.
18001         (IP_MULTICAST_ALL): Likewise.
18002         (IP_UNICAST_IF): Likewise.
18004         * timezone/Makefile: Delete $(have-ksh) check.
18005         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18006         * timezone/tzselect.ksh: Add +x mode bits.
18008         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18009         (ANON_INODE_FS_MAGIC): Likewise.
18010         (BDEVFS_MAGIC): Likewise.
18011         (BINFMTFS_MAGIC): Likewise.
18012         (BTRFS_TEST_MAGIC): Likewise.
18013         (CRAMFS_MAGIC_WEND): Likewise.
18014         (DEBUGFS_MAGIC): Likewise.
18015         (ECRYPTFS_SUPER_MAGIC): Likewise.
18016         (EXT3_SUPER_MAGIC): Likewise.
18017         (EXT4_SUPER_MAGIC): Likewise.
18018         (FUTEXFS_SUPER_MAGIC): Likewise.
18019         (HOSTFS_SUPER_MAGIC): Likewise.
18020         (HUGETLBFS_MAGIC): Likewise.
18021         (MINIX3_SUPER_MAGIC): Likewise.
18022         (MTD_INODE_FS_MAGIC): Likewise.
18023         (NILFS_SUPER_MAGIC): Likewise.
18024         (OPENPROM_SUPER_MAGIC): Likewise.
18025         (PIPEFS_MAGIC): Likewise.
18026         (PSTOREFS_MAGIC): Likewise.
18027         (QNX6_SUPER_MAGIC): Likewise.
18028         (RAMFS_MAGIC): Likewise.
18029         (REISERFS_SUPER_MAGIC_STRING): Likewise.
18030         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18031         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18032         (SECURITYFS_MAGIC): Likewise.
18033         (SELINUX_MAGIC): Likewise.
18034         (SMACK_MAGIC): Likewise.
18035         (SOCKFS_MAGIC): Likewise.
18036         (SQUASHFS_MAGIC): Likewise.
18037         (STACK_END_MAGIC): Likewise.
18038         (TMPFS_MAGIC): Likewise.
18039         (USBDEVICE_SUPER_MAGIC): Likewise.
18040         (V9FS_MAGIC): Likewise.
18041         (XENFS_SUPER_MAGIC): Likewise.
18042         (CRAMFS_MAGIC): Fix typo in comment.
18043         (EXT2_SUPER_MAGIC): Update comment.
18044         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18046 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
18048         * sysdeps/arm: Move directory from ports/sysdeps/arm.
18049         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18050         * sysdeps/unix/sysv/linux/arm: Move directory from
18051         ports/sysdeps/unix/sysv/linux/arm.
18052         * README: Update listing for arm-*-linux-gnueabi.
18054         * README: Remove mention of am33.
18056 2014-02-07  Roland McGrath  <roland@hack.frob.com>
18058         * bits/sigset.h (__sigemptyset): Use a statement expression rather
18059         than the comma operator, to avoid "rhs of comma has no effect"
18060         compiler warnings.
18061         (__sigfillset, __sigandset, __sigorset): Likewise.
18062         * include/signal.h (__sigemptyset): Likewise.
18063         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18065 2014-02-07  Allan McRae  <allan@archlinux.org>
18067         * version.h (RELEASE): Set to "development".
18068         (VERSION): Set to "2.19.90"
18069         * NEWS: Add 2.20 section.
18071 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
18073         [BZ #16529]
18074         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18076 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18078         * manual/contrib.texi: Update entry for Carlos O'Donell,
18079         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18081 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
18083         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18085         * sysdeps/unix/sysv/linux/kernel-features.h
18086         [__LINUX_KERNEL_VERSION >= 0x020621]
18087         (__ASSUME_PROC_PID_TASK_COMM): Define.
18089 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18091         [BZ #16398]
18092         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18093         conversion when destination buffer does not have enough space.
18094         * libio/tst-ftell-partial-wide.c: New test case.
18095         * libio/Makefile (tests): Add tst-ftell-partial-wide.
18097         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18098         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
18099         Leonard and Allan McRae.
18101 2014-02-04  David S. Miller  <davem@davemloft.net>
18103         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18104         32-bit.
18106 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18109         New file
18110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18111         New file
18112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18113         New file.
18114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18115         New file.
18116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18117         New file.
18118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18119         New file.
18120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18121         New file.
18122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18123         New file.
18124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18125         New file.
18126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18127         New file.
18128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18129         New file.
18130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18131         New file.
18132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18133         New file.
18135 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18137         * nptl/shlib-versions: Change powerpc*le start to 2.17.
18138         * shlib-versions: Likewise.
18140 2014-02-04  Roland McGrath  <roland@hack.frob.com>
18141             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18143         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18144         (abilist-pattern): New variable, set to %-le.abilist.
18146         * Makerules (abilist-pattern): New variable.
18147         (vpath): Use $(abilist-pattern) in place of %.abilist.
18148         (check-abi-% pattern rule): Likewise.
18149         (check-abi, update-abi): Likewise.
18151 2014-02-04  Eric Wong  <normalperson@yhbt.net>
18153         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18155 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
18157         * manual/startup.texi: Add next, previous, and top entries for
18158         the `Program Arguments' and `Environment Variables' nodes.
18160 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
18162         * manual/macros.texi: Add comments before MTASC-safety macros.
18164         * manual/users.texi: Document MTASC-safety properties.
18166         * manual/threads.texi (pthread_key_create, pthread_key_delete)
18167         (pthread_getspecific, pthread_setspecific): Format with
18168         @deftypefun, and add @safety note.
18169         * manual/signal.texi: Move comments that analyze the above
18170         functions to their home place.
18172 2014-02-03  Allan McRae  <allan@archlinux.org>
18174         * po/sl.po: Update Slovenian translation from translation project.
18176 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
18178         * manual/time.texi (timegm): Add missing blank after @c.
18179         Reported by Joseph Myers <joseph@codesourcery.com>.
18181 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
18183         * manual/check-safety.sh: New.
18184         * manual/Makefile ($(objpfx)stamp-summary): Run it.
18186         * manual/terminal.texi: Document MTASC-safety properties.
18188         * manual/filesys.texi: Document MTASC-safety properties.
18190         * manual/errno.texi: Document MTASC-safety properties.
18192         * manual/intro.texi: Document safety identifiers and
18193         conditionals.
18195         * manual/string.texi (wcstok): Fix prototype.
18196         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18198         * manual/time.texi: Document MTASC-safety properties.
18200         * manual/string.texi: Document MTASC-safety properties.
18202         * manual/threads.texi: Document MTASC-safety properties.
18204         * manual/stdio.texi: Document MTASC-safety properties.
18206         * manual/syslog.texi: Document MTASC-safety properties.
18208         * manual/sysinfo.texi: Document MTASC-safety properties.
18210         * manual/startup.texi: Document MTASC-safety properties.
18212         * manual/socket.texi: Document MTASC-safety properties.
18214         * manual/signal.texi: Document MTASC-safety properties.
18216 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
18218         * manual/setjmp.texi: Document MTASC-safety properties.
18220         * manual/search.texi: Document MTASC-safety properties.
18222         * manual/resource.texi: Document MTASC-safety properties.
18224         * manual/process.texi: Document MTASC-safety properties.
18226         * manual/platform.texi: Document MTASC-safety properties.
18228         * manual/pipe.texi: Document MTASC-safety properties.
18230         * manual/pattern.texi: Document MTASC-safety properties.
18232         * manual/message.texi: Document MTASC-safety properties.
18234         [BZ #12751]
18235         * manual/memory.texi: Document MTASC-safety properties.
18237         * manual/math.texi: Document MTASC-safety properties.
18239         * manual/locale.texi: Document MTASC-safety properties.
18241         * manual/llio.texi: Document MTASC-safety properties.
18243         * manual/libdl.texi: New.
18245         * manual/lang.texi: Document MTASC-safety properties.
18247         * manual/job.texi: Document MTASC-safety properties.
18249         * manual/getopt.texi: Document MTASC-safety properties.
18251         * manual/ctype.texi: Document MTASC-safety properties.
18253 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
18255         [BZ #16046]
18256         * csu/libc-tls.c (static_map): Remove variable.
18257         (__libc_setup_tls): Use main executable's link map for TLS data.
18258         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18259         casing for LM_ID_BASE and GL(dl_nns).
18260         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18261         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18262         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18263         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18264         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18265         member.
18266         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18267         l_phnum members.
18269 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18271         * manual/debug.texi: Document MTASC-safety properties.
18273 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18275         [BZ #16510]
18276         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18277         of __x86_64__ when disabling x87 inline functions.
18279 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18281         * manual/charset.texi: Document MTASC-safety properties.
18283         * manual/crypt.texi: Document MTASC-safety properties.
18285         * manual/conf.texi: Document MTASC-safety properties.
18287         * manual/arith.texi: Document MTASC-safety properties.
18289         * manual/argp.texi: Document MTASC-safety properties.
18291         * manual/macros.texi: Introduce macros to document multi
18292         thread, asynchronous signal and asynchronous cancellation
18293         safety properties.
18294         * manual/intro.texi: Introduce the properties themselves.
18296 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18298         * sysdeps/sh/sh4/Makefile: New file.
18300 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18302         * math/gen-libm-test.pl ($srcdir): New variable.
18303         ($auto_input): Use it.
18305 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18307         [BZ #16506]
18308         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18309         access beyond array bounds when parsing netgroups file.
18311         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18312         the old buffer before realloc.
18314 2014-01-27  Allan McRae  <allan@archlinux.org>
18316         * po/fr.po: Update French translation from translation project.
18318 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18320         * sysdeps/sh/libm-test-ulps: Regenerate.
18322 2014-01-24  David S. Miller  <davem@davemloft.net>
18324         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18326 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18328         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18329         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18331 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18333         [BZ #16474]
18334         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18335         string pointers after reallocation.
18337 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18339         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18340         __SH4A__ instead of __SH_FPU_ANY__.
18342 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18344         * sysdeps/sh/fpu_control.h: New file.
18345         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18346         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18347         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18348         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18349         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18350         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18351         * sysdeps/sh/sys/ucontext.h: Remove.
18352         * sysdeps/sh/sys: Remove directory.
18354 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18356         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18357         s390/sys/ucontext.h.
18358         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18359         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18361 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18363         [BZ #15605]
18364         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18366 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18368         [BZ#16431]
18369         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18370         Adjust the vDSO correctly for internal calls.
18371         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18373 2014-01-20  Allan McRae  <allan@archlinux.org>
18375         * po/ca.po: Update Catalan translation from translation project.
18377 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18379         * sysdeps/s390/sotruss-lib.c: New file.
18381 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18383         [BZ#16430]
18384         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18385         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18386         local calls issues by not having a PLT stub required for IFUNC calls.
18387         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18389 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18391         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18392         * math/test-fpucw-static.c: Likewise.
18394 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18396         [BZ #16453]
18397         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18399 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18401         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18402         implementation for powerpc.
18404 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18406         [BZ #14782]
18407         * sysdeps/posix/system.c (__libc_system): Do not enable
18408         asynchronous cancellation.
18410 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18412         [BZ #16427]
18413         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18414         handling only for numbers special also in the IEEE case.
18416 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18418         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18420 2014-01-11  Allan McRae  <allan@archlinux.org>
18422         * po/bg.po: Update Bulgarian translation from translation project.
18424         * po/de.po: Update German translation from translation project.
18426 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18428         * sysdeps/generic/gcc-compat.h: New file.
18430 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18432         * benchtests/asin-inputs: Correct slow inputs.
18433         * benchtests/acos-inputs: Likewise.
18435 2014-01-10  Allan McRae  <allan@archlinux.org>
18437         * po:sv.po: Update Swedish translation from translation project.
18439         * po/vi.po: Update Vietnamese translation from translation project.
18441         * po/eo.po: Update Esperanto translation from translation project.
18443         * po/cs.po: Update Czech translation from translation project.
18445         * po/nl.po: Update Dutch translation from translation project.
18447         * po/pl.po: Update Polish translation from translation project.
18449         * po/ru.po: Update Russian translation from translation project.
18451         * po/uk.po: Update Ukrainian translation from translation project.
18453 2014-01-08  Brooks Moses  <bmoses@google.com>
18455         * elf/dl-load.c: Fix comment typo.
18457 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
18459         * po/header.pot: Rename to...
18460         * po/pot.header: ... this.
18461         * po/Makefile: Use pot.header.
18463 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
18464             Maxim Kuvyrkov  <maxim@kugelworks.com>
18466         [BZ #16394]
18467         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18468         SRC and DEST against LEN.
18470 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18472         [BZ #16414]
18473         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18474         implementation.
18475         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18477 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18481 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
18483         [BZ #16408]
18484         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18485         for large positive arguments.
18487 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
18489         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18491         * math/auto-libm-test-in: Mark various tests with
18492         xfail-rounding:ldbl-128ibm.
18493         * math/auto-libm-test-out: Regenerated.
18495         [BZ #16407]
18496         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18497         Increase overflow threshold.
18499 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
18501         [BZ #14286]
18502         * stdio-common/vfprintf.c: Check for integer overflow.
18504 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18506         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18507         the first argument and return value of __tls_get_addr_internal.
18509 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18511         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18512         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18514 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18516         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18517         * sysdeps/s390/rtld-global-offsets.sym: New file.
18518         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18519         GLIBC_2.19 symbol.
18520         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18521         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18522         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18523         ... this.
18524         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18525         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18526         ... this.
18527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18528         Regenerate.
18529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18530         Regenerate.
18531         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18532         halfs of GPRs for high_gprs contexts.
18533         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18534         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18535         field.
18536         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18537         uc_flags field.
18538         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18539         64 bit versions:
18540         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18541         for high GPRs (uc_high_gprs) and for future extensions
18542         (__reserved).
18543         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18544         for future extensions (__reserved).
18545         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18546         64 bit versions:
18547         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18548         SC_HIGHGPRS offset definition.
18549         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18550         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18552         * Versions.def: Add GLIBC_2.19 for libpthread.
18553         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18554         siglongjmp for libpthread with GLIBC_2.19 symver.
18555         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18556         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18557         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18558         * sysdeps/s390/__longjmp.c: New file.
18559         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18560         * sysdeps/s390/longjmp.c: New file.
18561         * sysdeps/s390/setjmp.S: New file.
18562         * sysdeps/s390/sigjmp.S: New file.
18563         * sysdeps/s390/v1-longjmp.c: New file.
18564         * sysdeps/s390/v1-setjmp.h: New file.
18565         * sysdeps/s390/v1-sigjmp.c: New file.
18566         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18567         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18568         GLIBC_2.19 version.
18569         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18570         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18571         versioned symbols for ____longjmp_chk.
18572         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18573         Likewise.
18574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18575         Regenerate.
18576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18577         Regenerate.
18578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18579         Regenerate.
18580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18581         Regenerate.
18582         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18583         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18584         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18585         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18586         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18587         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18588         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18589         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18590         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18591         * sysdeps/s390/rtld-__longjmp.c: New file.
18592         * sysdeps/s390/rtld-setjmp.S: New file.
18594 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18596         [BZ #16400]
18597         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18598         Return -__logl (x) for small positive arguments without evaluating
18599         a polynomial.
18601 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18603         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18604         Rename to ...
18605         (__ptrace_peeksiginfo_args): ... this.
18606         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18607         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18608         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18610 2014-01-06  Allan McRae  <allan@archlinux.org>
18612         * inet/netinet/in.h: Fix typo in comment.
18614 2014-01-05  Andreas Jaeger  <aj@suse.de>
18616         * sysdeps/i386/fpu/libm-test-ulps: Update.
18618 2014-01-05  Allan McRae  <allan@archlinux.org>
18620         * po/libc.pot: Regenerated.
18622         * malloc/memusagestat.c: Fix gettext call formatting.
18624 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18626         * nscd/nscd.c: Improve usage() output.
18628 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18630         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18631         * sysdeps/unix/sysv/linux/configure: Regenerated.
18632         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18633         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18635 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18637         [BZ #16390]
18638         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18639         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18641 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18643         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18644         extra tokens at end of #undef directive.
18645         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18646         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18647         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18649 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18651         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18653         * math/auto-libm-test-in: Mark various tests with
18654         xfail-rounding:ldbl-128ibm.
18655         * math/auto-libm-test-out: Regenerated.
18657 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18659         [BZ #16386]
18660         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18661         numbers with subnormal high part when calculating exponent.
18663         [BZ #16385]
18664         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18665         fabs.
18667         [BZ #16384]
18668         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18669         M_LN2l.
18670         (__ieee754_acoshl): Use __log1pl not __log1p.
18672 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18674         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18675         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18676         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18677         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18678         (reused_arena, arena_get2): Convert to GNU style.
18679         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18680         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18681         (memalign_check, __malloc_set_state): Likewise.
18682         * malloc/mallocbug.c (main): Likewise.
18683         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18684         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18685         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18686         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18687         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18688         (__posix_memalign, malloc_info): Likewise.
18689         * malloc/malloc.h: Likewise.
18690         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18691         (mallochook, memalignhook, reallochook, mabort): Likewise.
18692         * malloc/mcheck.h: Likewise.
18693         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18694         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18695         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18696         * malloc/morecore.c (__default_morecore): Likewise.
18697         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18698         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18699         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18700         (print_and_abort): Likewise.
18701         * malloc/obstack.h: Likewise.
18702         * malloc/set-freeres.c (__libc_freeres): Likewise.
18703         * malloc/tst-mallocstate.c (main): Likewise.
18704         * malloc/tst-mtrace.c (main): Likewise.
18705         * malloc/tst-realloc.c (do_test): Likewise.
18707 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18709         [BZ #16366]
18710         * nscd/netgroupcache.c (do_notfound): New function.
18711         (addgetnetgrentX): Use it.
18713         [BZ # 16365]
18714         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18715         NSS_STATUS_NOTFOUND.
18717 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18719         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18722 2014-01-01  Allan McRae  <allan@archlinux.org>
18724         * scripts/update-copyrights: Update configure input file suffix.
18726         * NEWS: Update copyright year.
18727         * catgets/gencat.c: Likewise.
18728         * csu/version.c: Likewise.
18729         * debug/catchsegv.sh: Likewise.
18730         * debug/pcprofiledump.c: Likewise.
18731         * debug/xtrace.sh: Likewise.
18732         * elf/ldconfig.c: Likewise.
18733         * elf/ldd.bash.in: Likewise.
18734         * elf/pldd.c: Likewise.
18735         * elf/sotruss.ksh: Likewise.
18736         * elf/sprof.c: Likewise.
18737         * iconv/iconv_prog.c: Likewise.
18738         * iconv/iconvconfig.c: Likewise.
18739         * locale/programs/locale.c: Likewise.
18740         * locale/programs/localedef.c: Likewise.
18741         * login/programs/pt_chown.c: Likewise.
18742         * malloc/memusage.sh: Likewise.
18743         * malloc/memusagestat.c: Likewise.
18744         * malloc/mtrace.pl: Likewise.
18745         * manual/libc.texinfo: Likewise.
18746         * nscd/nscd.c: Likewise.
18747         * nss/getent.c: Likewise.
18748         * nss/makedb.c: Likewise.
18749         * posix/getconf.c: Likewise.
18750         * scripts/test-installation.pl: Likewise.
18752         * All files with FSF copyright notices: Update copyright dates
18753         using scripts/update-copyrights.
18754         * intl/plural.c: Regenerated.
18755         * locale/programs/charmap-kw.h: Likewise.
18756         * locale/programs/locfile-kw.h: Likewise.
18758 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18760         * sysdeps/unix/sysv/linux/configure: Regenerated.
18761         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18762         the linux/fanotify.h header.
18763         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18764         HAVE_LINUX_FANOTIFY_H is defined.
18766 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18768         * benchtests/cos-inputs: New inputs.
18769         * benchtests/sin-inputs: Likewise.
18771         * benchtests/atan-inputs: New inputs. Fix name of multiple
18772         precision fallback inputs.
18774         * benchtests/atanh-inputs: New inputs.
18775         * benchtests/tanh-inputs: Likewise.
18777         * benchtests/acosh-inputs: New inputs.
18778         * benchtests/asinh-inputs: Likewise.
18780         * benchtests/cosh-inputs: New inputs.
18781         * benchtests/sinh-inputs: Likewise.
18783         * benchtests/acos-inputs: Add more inputs.
18784         * benchtests/asin-inputs: Likewise.
18786 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18788         [BZ #16375]
18789         * manual/arith.texi: Fix spelling.
18790         * manual/charset.texi: Likewise.
18791         * manual/errno.texi: Likewise.
18792         * manual/filesys.texi: Likewise.
18793         * manual/lang.texi: Likewise.
18794         * manual/llio.texi: Likewise.
18795         * manual/locale.texi: Likewise.
18796         * manual/message.texi: Likewise.
18797         * manual/resource.texi: Likewise.
18798         * manual/search.texi: Likewise.
18799         * manual/setjmp.texi: Likewise.
18800         * manual/stdio.texi: Likewise.
18801         * manual/string.texi: Likewise.
18802         * manual/sysinfo.texi: Likewise.
18803         * manual/time.texi: Likewise.
18805 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18807         * po/sl.po: New file.
18809 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18811         * .gitignore: Add core/.gdbinit/.gdb_history.
18813 2013-12-27  Allan McRae  <allan@archlinux.org>
18815         [BZ #16369]
18816         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18817         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18819 2013-12-24  Brooks Moses  <bmoses@google.com>
18821         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18822         all compilers that claim C++98 compliance, not just GCC.
18823         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18824         Likewise.
18826 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18828         * NEWS: Restore accidentally deleted bug-fix entries.
18830 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18831             Ondřej Bílka  <neleai@seznam.cz>
18833         [BZ #15073]
18834         * malloc/malloc.c (_int_free): Perform sanity check only if we
18835         have_lock.
18837 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18839         [BZ #12986]
18840         * manual/stdio.texi (String Input Conversions): Clarify that character
18841         classes are not supported.
18843 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18847 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18849         [BZ #16337]
18850         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18851         Calculate results for small negative arguments directly rather
18852         than using reflection formula with special underflow handling.
18854         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18855         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18856         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18857         (fchflags): Likewise.
18858         (revoke): Likewise.
18859         (setlogin): Likewise.
18860         (sigaltstack): Likewise.
18861         (wait4): Likewise.
18862         (sigblock): Remove.
18863         (sigsetmask): Likewise.
18864         (wait3): Likewise.
18865         (waitpid): Likewise.
18866         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18867         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18868         file.
18869         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18870         * sysdeps/unix/bsd/Makefile: ... here.
18871         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18872         * sysdeps/unix/bsd/Versions: ... here.
18873         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18874         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18875         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18876         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18877         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18878         * sysdeps/unix/bsd/sigblock.c: ... here.
18879         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18880         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18881         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18882         * sysdeps/unix/bsd/sigvec.c: ... here.
18883         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18884         * sysdeps/unix/bsd/tcdrain.c: ... here.
18885         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18886         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18887         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18888         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18889         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18890         * sysdeps/unix/bsd/wait.c: ... here.
18891         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18892         * sysdeps/unix/bsd/wait3.c: ... here.
18893         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18894         * sysdeps/unix/bsd/waitpid.c: ... here.
18896 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18898         [BZ #16356]
18899         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18900         round-to-nearest for [!USE_AS_EXPM1L].
18901         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18902         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18903         more tests of exp and exp10.  Expect some exp10 tests to miss
18904         exceptions or fail in directed rounding modes.
18905         * math/auto-libm-test-out: Regenerated.
18906         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18907         (exp10_test_tonearest): New function.
18908         (exp10_towardzero_test_data): New array.
18909         (exp10_test_towardzero): New function.
18910         (exp10_downward_test_data): New array.
18911         (exp10_test_downward): New function.
18912         (exp10_upward_test_data): New array.
18913         (exp10_test_upward): New function.
18914         (main): Call the new functions.
18915         * sysdeps/i386/fpu/libm-test-ulps: Update.
18916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18918 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18920         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18921         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18922         * math/auto-libm-test-out: Regenerated.
18923         * math/libm-test.inc (acosh_test_data): Add more tests.
18924         (atanh_test_data): Likewise.
18925         (ceil_test_data): Likewise.
18926         (copysign_test_data): Likewise.
18927         * sysdeps/i386/fpu/libm-test-ulps: Update.
18928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18930         * timezone/checktab.awk: Update from tzcode 2013i.
18931         * timezone/private.h: Likewise.
18932         * timezone/scheck.c: Likewise.
18933         * timezone/tzfile.h: Likewise.
18934         * timezone/tzselect.ksh: Likewise.
18935         * timezone/zdump.c: Likewise.
18936         * timezone/zic.c: Likewise.
18938         * math/auto-libm-test-in: Add tests of cpow.
18939         * math/auto-libm-test-out: Regenerated.
18940         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18941         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18942         mpc_cc_c.
18943         (func_calc_desc): Add mpc_cc_c union field.
18944         (test_functions): Add cpow.
18945         (special_fill_2pi): New function.
18946         (special_real_inputs): Add 2pi.
18947         (calc_generic_results): Handle mpc_cc_c.
18948         * sysdeps/i386/fpu/libm-test-ulps: Update.
18949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18951         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18952         csqrt, ctan and ctanh.
18953         * math/auto-libm-test-out: Regenerated.
18954         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18955         (TEST_COND_x86): Likewise.
18956         (ccos_test_data): Use AUTO_TESTS_c_c.
18957         (ccosh_test_data): Likewise.
18958         (cexp_test_data): Likewise.
18959         (clog_test_data): Likewise.
18960         (csqrt_test_data): Likewise.
18961         (ctan_test_data): Likewise.
18962         (ctan_tonearest_test_data): Likewise.
18963         (ctan_towardzero_test_data): Likewise.
18964         (ctan_downward_test_data): Likewise.
18965         (ctan_upward_test_data): Likewise.
18966         (ctanh_test_data): Likewise.
18967         (ctanh_tonearest_test_data): Likewise.
18968         (ctanh_towardzero_test_data): Likewise.
18969         (ctanh_downward_test_data): Likewise.
18970         (ctanh_upward_test_data): Likewise.
18971         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18972         mpc_c_c.
18973         (func_calc_desc): Add mpc_c_c union field.
18974         (FUNC_mpc_c_c): New macro.
18975         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18976         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18977         ctanh.
18978         (special_fill_min_subnorm_p120): New function.
18979         (special_real_inputs): Add min_subnorm_p120.
18980         (calc_generic_results): Handle mpc_c_c.
18981         * sysdeps/i386/fpu/libm-test-ulps: Update.
18982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18984 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18986         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18987         (do_sin_slow): New functions.
18988         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18989         (cslow2, csloww1, csloww2): Use the new functions.
18991         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18992         Use M to change sign of result instead of X.  Assume X is
18993         positive.
18994         (csloww1): Likewise.
18995         (__sin): Adjust.
18996         (__cos): Adjust.
18998         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18999         arguments A and DA.
19000         (__sin): Adjust.
19001         (__cos): Likewise.
19003         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19004         (__cos): Likewise.
19005         (sloww1): Don't adjust sign of DX.
19006         (csloww1): Likewise.
19007         (sloww2): Use X directly and don't adjust sign of DX.
19008         (csloww2): Likewise.
19010 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19012         * math/auto-libm-test-in: Add tests of cabs and carg.
19013         * math/auto-libm-test-out: Regenerated.
19014         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19015         (carg_test_data): Likewise.
19016         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19017         mpc_c_f.
19018         (func_calc_desc): Add mpc_c_f union field.
19019         (test_functions): Add cabs and carg.
19020         (calc_generic_results): Handle mpc_c_f.
19022         * sysdeps/powerpc/powerpc32/libgcc-compat.S
19023         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19024         as a macro and a compat symbol.
19025         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19026         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19027         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19028         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19029         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19030         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19031         not use .hidden.
19032         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19033         Likewise.
19034         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19035         Likewise.
19036         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19037         Likewise.
19038         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19039         Likewise.
19040         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19041         Likewise.
19042         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19043         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19044         from GLIBC_2.3.2.
19046 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19050 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19052         * manual/texinfo.tex: Update to version 2013-11-26.10 with
19053         trailing whitespace removed.
19054         * scripts/config.guess: Update to version 2013-11-29.
19055         * scripts/config.sub: Update to version 2013-10-01.
19057         * math/auto-libm-test-in: Add tests of sincos.
19058         * math/auto-libm-test-out: Regenerated.
19059         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19060         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19061         mpfr_f_11.
19062         (func_calc_desc): Add mpfr_f_11 union field.
19063         (test_functions): Add sincos.
19064         (calc_generic_results): Handle mpfr_f_11.
19065         * sysdeps/i386/fpu/libm-test-ulps: Update.
19066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19068 2013-12-19  Andreas Schwab  <schwab@suse.de>
19070         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19071         CALL_MCOUNT.
19072         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19073         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19074         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19076 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19078         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19079         * sysdeps/i386/fpu/libm-test-ulps: Update.
19080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19082         [BZ #16293]
19083         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19084         round-to-nearest mode when using frndint.
19085         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19086         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19087         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19088         Likewise.
19089         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
19090         sinh test to fail.
19091         * math/auto-libm-test-out: Regenerated.
19092         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19093         (TEST_COND_x86): Likewise.
19094         (expm1_tonearest_test_data): New array.
19095         (expm1_test_tonearest): New function.
19096         (expm1_towardzero_test_data): New array.
19097         (expm1_test_towardzero): New function.
19098         (expm1_downward_test_data): New array.
19099         (expm1_test_downward): New function.
19100         (expm1_upward_test_data): New array.
19101         (expm1_test_upward): New function.
19102         (main): Run the new test functions.
19103         * sysdeps/i386/fpu/libm-test-ulps: Update.
19104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19106         * include/features.h: Update comment documenting feature test
19107         macros.  Mention _DEFAULT_SOURCE in comment.
19108         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19109         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19110         _BSD_SOURCE and _SVID_SOURCE.
19111         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19112         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19113         !_SVID_SOURCE]: Likewise.
19114         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19115         (__USE_POSIX_IMPLICITLY): Define.
19116         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19117         (_POSIX_SOURCE): Undefine and redefine.
19118         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19119         (_POSIX_C_SOURCE): Likewise.
19120         * manual/creature.texi (_DEFAULT_SOURCE): Document.
19121         (Feature Test Macros): Update documentation of default features.
19123 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19125         * benchtests/Makefile: Add bench-strtok.
19126         * benchtests/bench-strtok.c: New file: strtok benchtest.
19128 2013-12-19  Allan McRae  <allan@archlinux.org>
19130         * manual/install.texi: Suppress menu for plain text output.
19131         * INSTALL: Regenerated.
19133 2013-12-18  Brooks Moses  <bmoses@google.com>
19135         [BZ #15846]
19136         * misc/getauxval.c: Include errno.h.
19137         (__getauxval): Set errno to ENOENT if the requested type is not
19138         found.
19139         * misc/sys/auxv.h (getauxval): Document that it may set errno;
19140         don't declare with __attribute_const__.
19141         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19142         * manual/startup.texi: Document that getauxval sets errno.
19144 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19146         * math/auto-libm-test-in: Add tests of jn and yn.
19147         * math/auto-libm-test-out: Regenerated.
19148         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19149         (yn_test_data): Likewise.
19150         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19151         mpfr_if_f.
19152         (func_calc_desc): Add mpfr_if_f union field.
19153         (FUNC_mpfr_if_f): New macro.
19154         (test_functions): Add jn and yn.
19155         (calc_generic_results): Assert type of second input for
19156         mpfr_ff_f.  Handle mpfr_if_f.
19157         (output_for_one_input_case): Disable all checking for arguments
19158         fitting floating-point types in case of an integer argument.
19159         * sysdeps/i386/fpu/libm-test-ulps: Update.
19160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19163         Don't expect fegetround reference in libm.so.
19165 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19167         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19168         $(config-cflags-nofma).
19170 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19172         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19173         * math/auto-libm-test-out: Regenerated.
19175         [BZ #16338]
19176         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19177         to determine exponent and adjust argument to have exponent of -1.
19178         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19179         log2.
19180         * math/auto-libm-test-out: Regenerated.
19181         * sysdeps/i386/fpu/libm-test-ulps: Update.
19182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19184 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
19186         * manual/probes.texi: Remove cases when per-thread arenas are
19187         disabled.
19189 2013-12-18  Andreas Schwab  <schwab@suse.de>
19191         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19192         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19193         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19194         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19195         * sysdeps/i386/i686/multiarch/Makefile: Update.
19196         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19198 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19200         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19201         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19203 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
19205         [BZ #15968]
19206         Support TZ transition times < 00:00:00.
19207         This is needed for version-3 tz-format files; it supports time
19208         stamps past 2037 for America/Godthab (the only entry in the tz
19209         database for which this change is relevant).
19210         * manual/time.texi (TZ Variable): Document transition times
19211         from -167:59:59 through -00:00:01.
19212         * time/tzset.c (tz_rule): Time of day is now signed.
19213         (__tzset_parse_tz): Parse negative time of day.
19215         Document TZ transition times >= 25:00:00.
19216         * manual/time.texi (TZ Variable): Document transition times from
19217         25:00:00 through 167:59:59.  These are already supported, and this
19218         support will help with version-3 tz-format files.
19220         * manual/time.texi (TZ Variable): Modernize North America example
19221         to reflect current (i.e., 2007-and-later) daylight saving rules.
19223         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19225 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19227         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19228         * sysdeps/unix/bsd/bits/stat.h: Likewise.
19229         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19230         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19231         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19232         * sysdeps/unix/bsd/bsdstat.h: Likewise.
19233         * sysdeps/unix/bsd/clock.c: Likewise.
19234         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19235         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19236         * sysdeps/unix/bsd/init-posix.c: Likewise.
19237         * sysdeps/unix/bsd/poll.c: Likewise.
19238         * sysdeps/unix/bsd/ptsname.c: Likewise.
19239         * sysdeps/unix/bsd/seekdir.c: Likewise.
19240         * sysdeps/unix/bsd/setegid.c: Likewise.
19241         * sysdeps/unix/bsd/seteuid.c: Likewise.
19242         * sysdeps/unix/bsd/setgid.c: Likewise.
19243         * sysdeps/unix/bsd/setrgid.c: Likewise.
19244         * sysdeps/unix/bsd/setruid.c: Likewise.
19245         * sysdeps/unix/bsd/setsid.c: Likewise.
19246         * sysdeps/unix/bsd/setuid.c: Likewise.
19247         * sysdeps/unix/bsd/sigaction.c: Likewise.
19248         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19249         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19250         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19251         * sysdeps/unix/bsd/telldir.c: Likewise.
19252         * sysdeps/unix/bsd/times.c: Likewise.
19253         * sysdeps/unix/bsd/usleep.c: Likewise.
19255         * misc/Makefile (install-lib): Remove libbsd-compat.a.
19256         ($(objpfx)libbsd-compat.a): Remove rule.
19258         * include/features.h (__FAVOR_BSD): Do not define.
19259         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19260         features conflicting with POSIX.
19261         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19262         (_BSD_SOURCE): Remove description of not being a subset of other
19263         feature test macros.
19264         * manual/job.texi (getpgrp): Do not document BSD version.
19265         (getpgid): Do not document by reference to BSD getpgrp.
19266         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19267         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19268         * signal/signal.h [__FAVOR_BSD]: Likewise.
19269         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19270         instead of making contents conditional on [__FAVOR_BSD].
19271         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19273 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19277 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19279         [BZ #16314]
19280         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19281         values below 2**-450, not 2**-500.
19282         * math/auto-libm-test-in: Don't allow spurious underflow from
19283         hypot.
19284         * math/auto-libm-test-out: Regenerated.
19286         [BZ #16316]
19287         [BZ #16330]
19288         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19289         values of ha and hb and sort them after adjusting subnormal
19290         arguments.
19291         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19292         Likewise.
19293         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19294         values of ea and eb and sort them after adjusting subnormal
19295         arguments.
19296         * math/auto-libm-test-in: Do not expect some hypot tests of
19297         subnormals to fail.  Add more hypot tests.
19298         * math/auto-libm-test-out: Regenerated.
19300 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19302         [BZ #13304]
19303         * sysdeps/sh/s_fma.c: New file.
19304         * sysdeps/sh/s_fmaf.c: New file.
19305         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19306         version.
19307         * sysdeps/sh/Implies: Add sh/soft-fp.
19309 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19311         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19312         level of indirection to members `objname', `errstring', `malloced'.
19313         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19314         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19315         it as the __longjmp argument (just pass 1 instead).
19316         (_dl_catch_error): Initialize C with argument pointers and address of
19317         volatile local ERRCODE rather than copying values out of C at return.
19319 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19321         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19322         * math/auto-libm-test-out: Regenerated.
19323         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19324         (hypot_test_data): Likewise.
19325         (pow_test_data): Likewise.
19326         (pow_tonearest_test_data): Likewise.
19327         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19328         mpfr_ff_f.
19329         (func_calc_desc): Add mpfr_ff_f union field.
19330         (FUNC_mpfr_ff_f): New macro.
19331         (test_functions): Add atan2, hypot and pow.
19332         (special_fill_min): New function.
19333         (special_fill_minus_min): Likewise.
19334         (special_fill_min_subnorm): Likewise.
19335         (special_fill_minus_min_subnorm): Likewise.
19336         (special_real_inputs): Add min, -min, min_subnorm and
19337         -min_subnorm.
19338         (calc_generic_results): Handle mpfr_ff_f.
19339         * sysdeps/i386/fpu/libm-test-ulps: Update.
19340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19342 2013-12-16  Will Newton  <will.newton@linaro.org>
19344         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19345         (Aligned Memory Blocks): Add documentation for aligned_alloc
19346         and suggest it as an alternative to posix_memalign.
19347         (Hooks for Malloc): Document __memalign_hook is also called
19348         for aligned_alloc.  (Summary of Malloc): Add summary for
19349         aligned alloc.  Document __memalign_hook is also called
19350         for aligned_alloc.
19352 2013-12-16  Will Newton  <will.newton@linaro.org>
19354         * manual/memory.texi (Malloc Examples): Clarify default
19355         alignment documentation.  Suggest posix_memalign rather
19356         than memalign or valloc.
19357         (Aligned Memory Blocks): Remove suggestion to use memalign
19358         or valloc.  Remove obsolete comment about BSD.
19359         Document memalign errno values and mark the function obsolete.
19360         Document posix_memalign returned error codes.  Mark valloc
19361         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19362         called for posix_memalign and valloc.
19363         (Summary of Malloc): Add posix_memalign to function summary.
19364         __memalign_hook is also called for posix_memalign and valloc.
19366 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19368         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19369         TAYLOR_SIN.
19370         (__sin): Adjust.
19371         (__cos): Likewise.
19372         (sloww): Use mynumber union.  Expand ternary operator into
19373         if-else statements.
19374         (cslow): use mynumber union.
19376 2013-12-16  Allan McRae  <allan@archlinux.org>
19378         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19379         * configure: Regenerated.
19381         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19383         [BZ #14120]
19384         * configure.ac: Added --enable-maintainer-mode. Check for
19385         autoconf when enabled.
19386         * configure: Regenerated.
19388         * nscd/nscd.service: New file.
19389         * nscd/nscd.tmpfiles: New file.
19391 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19393         [BZ #12100]
19394         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19395         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19396         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19397         (strstr): Add __strstr_sse2_unaligned ifunc.
19398         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19399         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19400         (strcasestr): Remove __strcasestr_sse42 ifunc.
19401         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19402         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19405 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19407         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19408         * sysdeps/sh/bits/fenv.h: ... here.
19409         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19411 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19413         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19416         hypotf multiarch implementations.
19417         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19418         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19419         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19420         multiarch hypot for PPC64.
19421         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19422         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19423         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19424         multiarch hypotf for PPC64.
19426         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19427         modff multiarch implementations.
19428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19431         multiarch modf for PPC64.
19432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19435         multiarch modff for PPC64.
19437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19438         and logl multiarch implementations.
19439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19442         multiarch logb for PPC64.
19443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19446         multiarch logb for PPC64.
19447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19450         multiarch logb for PPC64.
19452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19453         isinff multiarch implementation.
19454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19455         file.
19456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19458         multiarch isinf for PPC64.
19459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19460         file.
19461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19462         multiarch isinff for PPC64.
19464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19465         finitef multiarch implementation.
19466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19467         file.
19468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19470         multiarch finite for PPC64.
19471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19472         file.
19473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19474         multiarch finitef for PPC64.
19476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19477         lrint multiarch implementation.
19478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19479         file.
19480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19482         multiarch llrint for PPC64.
19483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19484         multiarch lrint for PPC64.
19486         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19487         copysignf multiarch implementation.
19488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19489         file.
19490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19491         file.
19492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19493         multiarch copysign for PPC64.
19494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19495         multiarch copysignf for PPC64.
19497         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19498         multiarch implementation.
19499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19500         file.
19501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19502         file.
19503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19504         file.
19505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19506         file.
19507         multiarch llround for PPC64.
19508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19509         multiarch trunc for PPC64.
19510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19511         multiarch truncf for PPC64.
19513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19514         multiarch implementation.
19515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19516         file.
19517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19518         file.
19519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19520         file.
19521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19522         file.
19523         multiarch llround for PPC64.
19524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19525         multiarch round for PPC64.
19526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19527         multiarch roundf for PPC64.
19529         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19530         multiarch implementation.
19531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19532         file.
19533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19534         file.
19535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19536         file.
19537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19538         file.
19539         multiarch llround for PPC64.
19540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19541         multiarch floor for PPC64.
19542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19543         multiarch floorf for PPC64.
19545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19546         multiarch implementation.
19547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19548         file.
19549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19550         file.
19551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19552         file.
19553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19554         file.
19555         multiarch llround for PPC64.
19556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19557         multiarch ceil for PPC64.
19558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19559         multiarch ceilf for PPC64.
19561         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19562         multiarch implementation.
19563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19564         file.
19565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19566         file.
19567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19568         file.
19569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19570         multiarch llround for PPC64.
19571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19572         multiarch lround for PPC64.
19574         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19575         multiarch implementation.
19576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19579         file.
19580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19583         multiarch isnan for PPC64.
19584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19585         multiarch isnanf for PPC64.
19587         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19588         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19589         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19590         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19591         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19594         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19595         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19596         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19597         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19600         multiarch implementations.
19601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19602         (__libc_ifunc_impl_list): Likewise.
19603         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19604         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19605         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19606         multiarch stpcpy for PPC64.
19608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19609         multiarch implementations.
19610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19611         (__libc_ifunc_impl_list): Likewise.
19612         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19613         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19614         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19615         multiarch strcpy for PPC64.
19617         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19618         redefine function name.
19619         (_wordcopy_fwd_dest_aligned): Likewise.
19620         (_wordcopy_bwd_aligned): Likewise.
19621         (_wordcopy_bwd_dest_aligned): Likewise.
19622         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19623         multiarch implementations.
19624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19625         (__libc_ifunc_impl_list): Likewise.
19626         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19627         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19628         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19629         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19630         multiarch wcscpy for PPC64.
19632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19633         multiarch implementations.
19634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19635         (__libc_ifunc_impl_list): Likewise.
19636         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19637         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19638         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19639         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19640         multiarch wcscpy for PPC64.
19642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19643         multiarch implementations.
19644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19645         (__libc_ifunc_impl_list): Likewise.
19646         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19647         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19648         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19649         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19650         multiarch wcsrchr for PPC64.
19652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19653         multiarch implementations.
19654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19655         (__libc_ifunc_impl_list): Likewise.
19656         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19657         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19658         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19659         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19660         multiarch wcschr for PPC64.
19662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19663         multiarch implementations.
19664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19665         (__libc_ifunc_impl_list): Likewise.
19666         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19667         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19668         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19669         multiarch strchrnul for PPC64.
19671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19672         implementations.
19673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19674         (__libc_ifunc_impl_list): Likewise.
19675         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19676         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19677         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19678         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19679         strchr for PPC64.
19681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19682         implementations.
19683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19684         (__libc_ifunc_impl_list): Likewise.
19685         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19686         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19687         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19688         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19689         strncmp for PPC64.
19691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19692         multiarch implementations.
19693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19694         (__libc_ifunc_impl_list): Likewise.
19695         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19696         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19697         strncasecmp for PPC64.
19698         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19699         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19700         multiarch strncasecmp_l for PPC64.
19702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19703         multiarch implementations.
19704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19705         (__libc_ifunc_impl_list): Likewise.
19706         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19707         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19708         multiarch strcasecmp for PPC64.
19709         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19710         file.
19711         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19712         multiarch strcasecmp_l for PPC64.
19714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19715         implementations.
19716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19717         (__libc_ifunc_impl_list): Likewise.
19718         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19719         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19720         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19721         strnlen for PPC64.
19723         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19724         implementations.
19725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19726         (__libc_ifunc_impl_list): Likewise.
19727         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19728         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19729         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19730         strlen for PPC64.
19732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19733         implementations.
19734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19735         (__libc_ifunc_impl_list): Likewise.
19736         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19737         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19738         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19739         rawmemrchr for PPC64.
19741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19742         implementation.
19743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19744         (__libc_ifunc_impl_list): Likewise.
19745         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19746         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19747         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19748         memrchr for PPC64.
19750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19751         implementation.
19752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19753         (__libc_ifunc_impl_list): Likewise.
19754         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19755         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19756         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19757         memchr for PPC64.
19759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19760         implementation.
19761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19762         (__libc_ifunc_impl_list): Likewise.
19763         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19764         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19765         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19766         mempcpy for PPC64.
19768         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19769         avoid cretion of __bzero symbol.
19770         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19771         Likewise.
19772         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19773         Likewise.
19774         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19775         Likewise.
19776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19777         multiarch implementations.
19778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19779         (__libc_ifunc_impl_list): Likewise.
19780         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19781         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19782         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19783         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19784         bzero for PPC32.
19785         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19786         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19787         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19788         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19789         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19790         memset for PPC64.
19791         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19793         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19794         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19795         implementations.
19796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19797         (__libc_ifunc_impl_list): Likewise.
19798         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19799         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19800         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19801         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19802         memcmp for PPC64.
19804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19805         multiarch for POWER/PPC64.
19806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19807         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19808         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19809         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19810         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19811         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19812         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19813         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19814         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19815         memcpy for PPC64.
19817         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19818         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19819         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19820         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19821         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19822         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19823         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19824         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19825         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19826         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19827         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19828         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19829         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19830         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19831         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19840 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19842         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19844 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19846         * benchtests/Makefile (bench): Add exp2 and log2.
19847         (LDLIBS-bench-exp2): Add -lm.
19848         (LDLIBS-bench-log2): Likewise.
19849         * benchtests/exp2-inputs: New inputs file.
19850         * benchtests/log2-inputs: New inputs file.
19851         * benchtests/log-inputs: Add new inputs.
19852         * benchtests/tan-inputs: Likewise.
19854 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19856         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19857         definition...
19858         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19859         (csloww2): ... from here.
19861         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19862         instead of structures.
19863         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19864         (POLYNOMIAL): Likewise.
19865         (TAYLOR_SLOW): Likewise.
19866         (__sin): Likewise.
19867         (__cos): Likewise.
19868         (slow1): Likewise.
19869         (slow2): Likewise.
19870         (sloww): Likewise.
19871         (sloww1); Likewise.
19872         (sloww2): Likewise.
19873         (bsloww1): Likewise.
19874         (bsloww2): Likewise.
19875         (cslow2): Likewise.
19876         (csloww): Likewise.
19877         (csloww1): Likewise.
19878         (csloww2): Likewise.
19880 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19882         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19883         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19884         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19885         * malloc/hooks.c (realloc_check): Likewise.
19887         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19888         * malloc/arena.c: Remove PER_THREAD conditional.
19889         [!PER_THREAD]: Remove code.
19890         (ptmalloc_unlock_all2): Likewise.
19891         (ptmalloc_init): Likewise.
19892         (_int_new_arena): Likewise.
19893         (arena_get2): Likewise.
19894         * malloc/hooks.c (__malloc_get_state): Likewise.
19895         (__malloc_set_state): Likewise.
19896         * malloc/malloc.c: Likewise.
19897         (struct malloc_state): Likewise.
19898         (struct malloc_par): Likewise.
19899         (__libc_realloc): Likewise.
19900         (__libc_mallopt): Likewise.
19902 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19904         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19906 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19908         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19909         macro to a function.  Check for zero perturb_byte.
19910         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19912         * malloc/malloc.c: (force_reg): Remove.
19913         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19914         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19915         force_reg by atomic_forced_read.
19916         * malloc/arena.c (ptmalloc_init): Likewise.
19917         * malloc/hooks.c (top_check): Likewise.
19919 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19923 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19925         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19927 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19929         * math/auto-libm-test-in: Add tests of lgamma.
19930         * math/auto-libm-test-out: Regenerated.
19931         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19932         (M_LOG_2_SQRT_PIl): Likewise.
19933         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19934         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19935         mpfr_f_f1.
19936         (func_calc_desc): Add mpfr_f_f1 union field.
19937         (ARGS1): New macro.
19938         (ARGS2): Likewise.
19939         (ARGS3): Likewise.
19940         (ARGS4): Likewise.
19941         (RET1): Likewise.
19942         (RET2): Likewise.
19943         (CALC): Likewise.
19944         (FUNC): Likewise.
19945         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19946         (test_functions): Add lgamma.
19947         (calc_generic_results): Handle mpfr_f_f1.
19948         * sysdeps/i386/fpu/libm-test-ulps: Update.
19949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19951 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19953         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19954         __mpn_add_n for PowerPC64/POWER7.
19955         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19956         __mpn_sub_n for PowerPC64/POWER7.
19958         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19959         __mpn_addmul_1 for PowerPC64.
19960         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19961         __mpn_submul_1 for PowerPC64.
19962         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19963         for PowerPC64.
19964         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19965         for PowerPC64.
19967 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19969         [BZ #15089]
19970         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19972 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19974         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19976         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19977         add multiarch folders.
19978         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19979         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19980         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19981         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19982         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19983         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19984         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19985         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19986         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19987         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19988         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19997         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19999         New file.
20000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20001         New file.
20002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20003         multiarch __ieee754_hypot for PowerPC32.
20004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20005         New file.
20006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20007         New file.
20008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20009         multiarch __ieee754_hypotf for PowerPC32.
20011         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20012         long_double_symbol only if __logbl is defined.
20013         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20014         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20015         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20016         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20017         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20018         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20019         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20020         path for implementation.
20021         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20022         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20024         logb, and logbl multiarch implementations for PowerPC32.
20025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20026         file.
20027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20028         file.
20029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20030         multiarch logb for PowerPC32.
20031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20032         file.
20033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20034         file.
20035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20036         multiarch logbf for PowerPC32.
20037         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20039         file.
20040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20041         multiarch logbl implementation for PowerPC32.
20043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20044         and modff multiarch implementations.
20045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20046         New file.
20047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20048         New file.
20049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20050         multiarch modf for PowerPC32.
20051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20052         New file.
20053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20054         New file.
20055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20056         multiarch modff for PowerPC32.
20058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20059         and lrintf multiarch implementations.
20060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20061         New file.
20062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20063         New file.
20064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20065         multiarch lrint for PowerPC32.
20066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20067         file: multiarch lrintf for PowerPC32.
20069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20070         and lroundf multiarch implementations.
20071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20072         New file.
20073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20074         New file.
20075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20076         New file.
20077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20078         multiarch lround for PowerPC32.
20079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20080         file: multiarch lroundf for PowerPC32.
20082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20083         copysign and copysignf multiarch implementations.
20084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20085         New file.
20086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20087         New file.
20088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20089         file: multiarch copysign for PowerPC32.
20090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20091         file: multiarch copysignf for PowerPC32.
20093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20094         and truncf multiarch implementations.
20095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20096         New file.
20097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20098         file.
20099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20100         multiarch trunc for PowerPC32.
20101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20102         New file.
20103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20104         New file.
20105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20106         multiarch truncf for PowerPC32.
20108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20109         and roundf multiarch implementations.
20110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20111         New file.
20112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20113         file.
20114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20115         multiarch round for PowerPC32.
20116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20117         New file.
20118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20119         New file.
20120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20121         multiarch roundf for PowerPC32.
20123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20124         and floorf multiarch implementations.
20125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20126         New file.
20127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20128         file.
20129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20130         multiarch floor for PowerPC32.
20131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20132         New file.
20133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20134         New file.
20135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20136         multiarch floorf for PowerPC32.
20138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20139         and ceilf multiarch implementations.
20140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20141         New file.
20142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20143         file.
20144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20145         multiarch ceil for PowerPC32.
20146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20147         New file.
20148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20149         file.
20150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20151         multiarch ceilf for PowerPC32.
20153         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20154         is defined.
20155         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20156         FINITEF is defined.
20157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20158         and finitef multiarch implementations.
20159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20160         New file.
20161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20162         file.
20163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20164         multiarch finite for PowerPC32.
20165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20166         New file.
20167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20168         file: multiarch finitef for PowerPC32.
20170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20171         and isinff multiarch implementations.
20172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20173         file.
20174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20175         file.
20176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20177         multiarch isinf for PowerPC32.
20178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20179         New file.
20180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20181         multiarch isinff for PowerPC32.
20183         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20184         alias when __isnan is defined.
20185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20186         and isnanf multiarch implementations.
20187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20188         file.
20189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20190         file.
20191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20192         file.
20193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20194         file.
20195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20196         multiarch isnan for PowerPC32.
20197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20198         New file.
20199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20200         New file.
20201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20202         multiarch isnanf for PowerPC32.
20204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20205         and sqrtf multiarch implementations.
20206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20207         file.
20208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20209         file.
20210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20211         multiarch sqrt for PowerPC32.
20212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20213         file.
20214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20215         file.
20216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20217         multiarch sqrtf for PowerPC32.
20219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20220         and llroundf multiarch implementations.
20221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20222         New file.
20223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20224         New file.
20225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20226         New file.
20227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20228         file: multiarch llround for PowerPC32.
20229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20230         file: multiarch llroundf for PowerPC32.
20232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20233         multiarch PowerPC32 fpu implementations.
20234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20235         New file.
20236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20237         New file.
20238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20239         multiarch llrint for PowerPC32.
20240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20241         New file.
20242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20243         New file.
20244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20245         file.
20247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20249         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20250         file.
20251         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20252         file.
20253         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20254         file.
20255         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20256         multiarch wordcopy for PPC32.
20257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20258         wordcopy objects.
20259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20260         (__libc_ifunc_impl_list): Likewise.
20261         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20262         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20263         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20264         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20265         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20266         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20268         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20269         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20270         file.
20271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20272         file.
20273         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20274         file.
20275         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20276         multiarch wcscpy for PPC32.
20277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20278         multiarch objects.
20279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20280         (__libc_ifunc_impl_list): Likewise.
20281         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20282         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20283         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20284         sysdeps/powerpc/power6/wcscpy.c.
20286         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20287         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20288         file.
20289         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20290         file.
20291         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20292         file.
20293         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20294         multiarch wcsrchr for PPC32.
20295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20296         multiarch objects.
20297         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20298         (__libc_ifunc_impl_list): Likewise.
20299         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20300         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20301         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20302         sysdeps/powerpc/power6/wcsrchr.c.
20304         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20305         file.
20306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20307         file.
20308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20310         multiarch wcschr for PPc32.
20311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20312         multiarch objects.
20313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20314         (__libc_ifunc_impl_list): Likewise.
20315         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20316         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20317         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20318         sysdeps/powerpc/power6/wcschr.c.
20320         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20321         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20322         file.
20323         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20324         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20325         file: multiarch strchr for PPC32.
20326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20327         multiarch objects.
20328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20329         (__libc_ifunc_impl_list): Likewise.
20331         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20332         name.
20333         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20334         file.
20335         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20336         file.
20337         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20338         multiarch strchrnul for PPC32.
20339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20340         multiarch objects.
20341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20342         (__libc_ifunc_impl_list): Likewise.
20344         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20345         file.
20346         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20347         multiarch strncasecmp for PPC32.
20348         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20349         file.
20350         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20351         multiarch strncasecmp_l for PPC32.
20352         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20353         strncasecmp multiarch objects.
20354         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20355         (__libc_ifunc_impl_list): Likewise.
20357         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20358         file.
20359         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20360         multiarch strncasecmp for PPC32.
20361         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20362         New file.
20363         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20364         multiarch strcasecmp_l for PPC32.
20365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20366         multiarch objects.
20367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20368         (__libc_ifunc_impl_list): Likewise.
20370         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20371         file.
20372         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20373         file.
20374         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20375         multiarch strncmp for PPC32.
20376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20377         multiarch objects.
20378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20379         (__libc_ifunc_impl_list): Likewise.
20381         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20382         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20383         file.
20384         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20385         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20387         multiarch objects.
20388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20389         (__libc_ifunc_impl_list): Likewise.
20391         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20392         file.
20393         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20394         file.
20395         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20397         multiarch objects.
20398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20399         (__libc_ifunc_impl_list): Likewise.
20401         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20402         file.
20403         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20404         file.
20405         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20406         multiarch rawmemchr for PPC32.
20407         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20408         multiarch objects.
20409         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20410         (__libc_ifunc_impl_list): Likewise.
20412         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20413         file.
20414         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20415         file.
20416         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20417         file: memrchr multiarch for PPC32.
20418         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20419         multiarch objects.
20420         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20421         (__libc_ifunc_impl_list): Likewise.
20423         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20424         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20425         file.
20426         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20427         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20428         multiarch memchr for PPC32.
20429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20430         multiarch objects.
20431         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20432         (__libc_ifunc_impl_list): Likewise.
20434         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20435         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20436         file.
20437         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20438         file.
20439         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20440         file: multiarch mempcpy for PPC32.
20441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20442         multiarch objects.
20443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20444         (__libc_ifunc_impl_list): Likewise.
20446         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20447         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20448         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20449         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20450         multiarch bzero for PPC32.
20451         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20452         file.
20453         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20454         file.
20455         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20456         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20457         file: multiarch memset for PPC32.
20458         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20459         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20460         memset multiarch objects.
20461         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20462         (__libc_ifunc_impl_list): Likewise.
20464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20465         file.
20466         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20467         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20468         memcmp for PPC32.
20469         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20470         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20471         multiarch objects.
20472         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20473         (__libc_ifunc_impl_list): Likewise.
20475         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20476         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20477         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20478         file.
20479         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20480         file.
20481         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20482         file.
20483         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20484         multiarch memcpy for PPC32.
20485         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20486         multiarch objects.
20487         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20488         (__libc_ifunc_impl_list): Likewise.
20490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20491         support multiarch for POWER/PPC32.
20492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20493         Likewise.
20494         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20496         Implies file to make multiarch folder appers before the fpu and
20497         default folder for power4 configuration.
20499 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20501         * scripts/bench.pl: Append volatile keyword to type.
20503 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20505         * sysdeps/sh/sotruss-lib.c: New file.
20506         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20508 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20512 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20514         [BZ #6810]
20515         * math/w_tgamma.c: Include <errno.h>.
20516         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20517         * math/w_tgammaf.c: Include <errno.h>.
20518         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20519         * math/w_tgammal.c: Include <errno.h>.
20520         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20521         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20522         underflow.  Add more tgamma tests.
20523         * math/auto-libm-test-out: Regenerated.
20524         * sysdeps/i386/fpu/libm-test-ulps: Update.
20525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20527         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20528         sin, sinh, tan, tanh, tgamma, y0 and y1.
20529         * math/auto-libm-test-out: Regenerated.
20530         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20531         (TEST_COND_x86): Likewise.
20532         (M_E2l): Remove macro.
20533         (M_E3l): Likewise.
20534         (M_2_SQRT_PIl): Likewise.
20535         (M_SQRT_PIl): Likewise.
20536         (M_1_DIV_El): Likewise.
20537         (log_test_data): Use AUTO_TESTS_f_f.
20538         (log10_test_data): Likewise.
20539         (log1p_test_data): Likewise.
20540         (log2_test_data): Likewise.
20541         (sin_test_data): Likewise.
20542         (sin_tonearest_test_data): Likewise.
20543         (sin_towardzero_test_data): Likewise.
20544         (sin_downward_test_data): Likewise.
20545         (sin_upward_test_data): Likewise.
20546         (sinh_test_data): Likewise.
20547         (sinh_tonearest_test_data): Likewise.
20548         (sinh_towardzero_test_data): Likewise.
20549         (sinh_downward_test_data): Likewise.
20550         (sinh_upward_test_data): Likewise.
20551         (tan_test_data): Likewise.
20552         (tan_tonearest_test_data): Likewise.
20553         (tan_towardzero_test_data): Likewise.
20554         (tan_downward_test_data): Likewise.
20555         (tan_upward_test_data): Likewise.
20556         (tanh_test_data): Likewise.
20557         (tgamma_test_data): Likewise.
20558         (y0_test_data): Likewise.
20559         (y1_test_data): Likewise.
20560         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20561         (special_real_inputs): Add pi/4.
20562         * sysdeps/i386/fpu/libm-test-ulps: Update.
20563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20565 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20567         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20568         "longjmp_target" static probes.
20569         (__longjmp): Rename to __longjmp_symbol.
20570         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20571         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20572         on which longjmp to generate.
20573         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20574         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20575         probe.
20576         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20577         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20578         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20579         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20580         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20581         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20583         __longjmp_symbol based on which __longjmp to generate.
20584         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20585         probe.
20586         (setjmp): Rename to setjmp_symbol.
20587         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20588         (_setjmp): Rename to _setjmp_symbol.
20589         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20590         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20591         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20592         which setjmp to generate.
20593         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20594         "longjmp_target" static probes.
20596 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20598         * benchtests/README: Add note about output arguments.
20599         * benchtests/bench-sincos.c: Remove file.
20600         * benchtests/sincos-inputs: New file.
20601         * scripts/bench.pl: Identify output arguments and define
20602         static variables for them.
20604         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20606         [BZ #15941]
20607         * Makefile (INSTALL): Add install-plain.texi as the primary
20608         dependency.
20609         * manual/install-plain.texi: New file.
20610         * manual/install.texi: Include node directive only for
20611         non-plaintext output.
20613 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20615         * stdlib/longlong.h: Update from GCC.
20617         [BZ #6807]
20618         [BZ #15901]
20619         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20620         * math/w_j0f.c (y0f): Likewise.
20621         * math/w_j0l.c (__y0l): Likewise.
20622         * math/w_j1.c (y1): Likewise.
20623         * math/w_j1f.c (y1f): Likewise.
20624         * math/w_j1l.c (__y1l): Likewise
20625         * math/w_jn.c (yn): Likewise.
20626         * math/w_jnf.c (ynf): Likewise.
20627         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20628         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20629         value for Bessel function domain errors outside _SVID_ mode.
20630         Adjust sign of return value for yn (negative integer, 0).
20631         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20632         by zero in return for negative x and set sign appropriately for
20633         negative n.
20634         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20635         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20636         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20637         expectations in error cases.
20638         (y1_test_data): Likewise.
20639         (yn_test_data): Likewise.
20640         * sysdeps/i386/fpu/libm-test-ulps: Update.
20641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20643 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20645         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20646         "64" to "64-v1".  Add "64-v2".
20647         (abi-64-options): Rename to ...
20648         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20649         (abi-64-condition): Rename to ...
20650         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20651         (abi-64-ld-soname): Rename to ...
20652         (abi-64-v1-ld-soname): ... this.
20653         (abi-64-v2-options): Define.
20654         (abi-64-v2-condition): Likewise.
20655         (abi-64-v2-ld-soname): Likewise.
20656         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20657         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20662 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20663             Alan Modra  <amodra@gmail.com>
20665         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20666         New versions for use with the ELFv2 ABI.
20667         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20668         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20669         declaration.
20670         (struct La_ppc64v2_retval): Likewise.
20671         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20672         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20673         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20674         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20675         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20676         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20677         Do not save or restore CR.
20678         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20679         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20680         return values for ELFv2 ABI.  Fix location of FPR return registers.
20681         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20682         updated values for _CALL_ELF == 2.
20683         (La_regs, La_retval, int_retval): Likewise.
20685 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20687         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20688         (FRAME_MIN_SIZE_PARM): Likewise.
20689         (FRAME_BACKCHAIN): Likewise.
20690         (FRAME_CR_SAVE): Likewise.
20691         (FRAME_LR_SAVE): Likewise.
20692         (FRAME_TOC_SAVE): Likewise.
20693         (FRAME_PARM_SAVE): Likewise.
20694         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20695         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20696         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20697         (call_mcount_parm_offset): New macro.
20698         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20699         (PROF): Use symbolic stack frame offsets.
20700         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20701         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20702         Redefine in terms of FRAME_MIN_SIZE.
20703         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20704         (_dl_profile_resolve): Likewise.  Update comment.
20705         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20706         symbols stack frame offsets.
20707         (__sigsetjmp): Likewise.
20708         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20709         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20710         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20711         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20714         (FRAME_BACKCHAIN): Remove.
20715         (FRAME_CR_SAVE): Likewise.
20716         (FRAME_LR_SAVE): Likewise.
20717         (FRAME_COMPILER_DW): Likewise.
20718         (FRAME_LINKER_DW): Likewise.
20719         (FRAME_TOC_SAVE): Likewise.
20720         (FRAME_PARM_SAVE): Likewise.
20721         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20722         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20723         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20725         (CHECK_SP): Use symbolic stack frame offsets.
20726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20727         zone" instead of caller's parameter save area for temp storage.
20728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20729         Likewise.  Also, use symbolic stack frame offsets.
20730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20731         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20732         our own stack frame instead of the caller's.
20733         (__socket): Use symbolic stack frame offsets.
20735 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20736             Alan Modra  <amodra@gmail.com>
20738         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20739         Define.
20740         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20741         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20742         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20743         New function.
20744         (elf_machine_fixup_plt): Call it.
20745         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20746         reloc arguments.
20747         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20748         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20749         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20750         r2 before calling target.
20752 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20753             Alan Modra  <amodra@gmail.com>
20755         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20756         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20757         versions of macros to support ELFv2 ABI.
20758         (LOCALENTRY): New macro.
20759         (ENTRY, EALIGN): Use it.
20760         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20761         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20762         fall through into ENTRY entry point.
20763         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20764         Only define if _CALL_ELF != 2.
20766         (elf_machine_matches_host): Verify ABI version matches.
20767         (RTLD_START): Use LOCALENTRY.
20768         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20769         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20770         (PLT_ENTRY_WORDS): New macro.
20771         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20772         (elf_machine_runtime_setup): Support ELFv2 ABI.
20773         (elf_machine_fixup_plt): Likewise.
20774         (elf_machine_plt_conflict): Likewise.
20775         (resolve_ifunc): Likewise.
20776         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20777         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20778         Likewise.
20779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20780         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20782         (makecontext): Support ELFv2 ABI.
20783         * elf/elf.h (EF_PPC64_ABI): Define.
20785 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20787         * sysdeps/powerpc/powerpc64/sysdep.h
20788         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20789         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20790         (ENTRY) [ASSEMBLER]: ... but instead here ...
20791         (EALIGN) [ASSEMBLER]: ... and here.
20792         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20793         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20794         (ENTRY_2) [!ASSEMBLER]: Use it.
20795         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20796         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20797         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20798         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20799         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20801         Use PPC64_LOAD_FUNCPTR.
20803         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20805 2013-12-04  Alan Modra  <amodra@gmail.com>
20807         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20808         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20809         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20810         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20812         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20813         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20814         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20815         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20816         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20817         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20819 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20822         (__makecontext): Fix incorrect CFI when backtracing out of
20823         context created via makecontext.
20824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20825         (__setcontext): Fix incorrect CFI during switch to new context.
20826         (__novec_setcontext): Likewise.
20828 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20830         [BZ #4772]
20831         * time/strptime_l.c (__strptime_internal): Allow modifiers
20832         in strptime.
20833         * time/tst-strptime.c (day_tests): Add testcase.
20835 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20837         * scripts/bench.pl: Skip over blank lines.
20839 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20841         [BZ #926]
20842         * manual/time.texi (Calendar Time): Clarify what timezone functions
20843         use.
20845 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20849 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20851         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20852         implementation.
20853         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20854         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20855         * debug/memset_chk.c (__memset_chk): Likewise.
20856         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20857         * debug/strncpy_chk.c: Likewise.
20859 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20861         [BZ #15268]
20862         [BZ #15425]
20863         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20864         (__ieee754_exp): For possibly underflowing results, check size of
20865         result and force underflow exception if required.
20866         * math/auto-libm-test-in: Add more tests of exp.
20867         * math/auto-libm-test-out: Regenerated.
20868         * sysdeps/i386/fpu/libm-test-ulps: Update.
20869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20871         [BZ #16283]
20872         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20873         * math/w_exp2f.c (__exp2f): Likewise.
20874         * math/w_exp2l.c (__exp2l): Likewise.
20875         * math/auto-libm-test-in: Do not allow missing errno on exp2
20876         underflow.
20877         * math/auto-libm-test-out: Regenerated.
20879 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20881         [BZ #16274]
20882         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20883         handle filename validation.
20884         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20885         (do_open): Delete.
20887 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20889         [BZ #6786]
20890         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20891         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20892         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20893         <float.h>.
20894         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20895         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20896         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20897         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20898         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20899         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20900         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20901         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20902         Add more erfc tests.
20903         * math/auto-libm-test-out: Regenerated.
20904         * sysdeps/i386/fpu/libm-test-ulps: Update.
20905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20907         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20908         exp2, expm1, j0 and j1.
20909         * math/auto-libm-test-out: Regenerated.
20910         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20911         (erfc_test_data): Likewise.
20912         (exp_test_data): Likewise.
20913         (exp_tonearest_test_data): Likewise.
20914         (exp_towardzero_test_data): Likewise.
20915         (exp_downward_test_data): Likewise.
20916         (exp_upward_test_data): Likewise.
20917         (exp10_test_data): Likewise.
20918         (exp2_test_data): Likewise.
20919         (expm1_test_data): Likewise.
20920         (j0_test_data): Likewise.
20921         (j1_test_data): Likewise.
20922         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20923         (input_flag_type): Add flag_xfail_rounding.
20924         (input_flags): Add xfail-rounding.
20925         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20926         (output_for_one_input_case): Handle flag_xfail_rounding.
20927         * sysdeps/i386/fpu/libm-test-ulps: Update.
20928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20930 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20932         [BZ #16289]
20933         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20934         division by 0.
20936 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20938         [BZ #16195]
20939         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20940         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20941         (STAP_PROBE0): New macro.
20942         (STAP_PROBE1): Likewise.
20943         (STAP_PROBE2): Likewise.
20944         (STAP_PROBE3): Likewise.
20945         (STAP_PROBE4): Likewise.
20947 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20949         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20951 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20953         * benchtests/Makefile (bench): Add sqrt.
20954         (LDLIBS-bench-sqrt): New.
20955         * benchtests/sqrt-input: New.
20957 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20959         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20960         (GAIH_EAI): Likewise.
20961         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20962         (gaih_inet): Likewise.
20963         (getaddrinfo): Don't use GAIH_EAI.
20965         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20966         (struct gaih): Remove definition.
20968 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20970         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20971         Use HERRNOP directly.
20973 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20977 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20979         * math/gen-auto-libm-tests.c (test_functions): Add more
20980         single-argument functions.
20981         (special_fill_pi_2): New function.
20982         (special_fill_minus_pi_2): Likewise.
20983         (special_fill_pi_6): Likewise.
20984         (special_fill_minus_pi_6): Likewise.
20985         (special_fill_pi_3): Likewise.
20986         (special_fill_2pi_3): Likewise.
20987         (special_fill_e): Likewise.
20988         (special_fill_1_e): Likewise.
20989         (special_fill_e_minus_1): Likewise.
20990         (special_real_inputs): Add more special inputs.
20991         (output_for_one_input_case): Do not require ERANGE on underflow to
20992         zero if round-to-nearest result does not underflow to zero, unless
20993         exact results required.
20994         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20995         atan, atanh, cbrt, cos and cosh.
20996         * math/auto-libm-test-out: Regenerated.
20997         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20998         (acos_tonearest_test_data): Likewise.
20999         (acos_towardzero_test_data): Likewise.
21000         (acos_downward_test_data): Likewise.
21001         (acos_upward_test_data): Likewise.
21002         (acosh_test_data): Likewise.
21003         (asin_test_data): Likewise.
21004         (asin_tonearest_test_data): Likewise.
21005         (asin_towardzero_test_data): Likewise.
21006         (asin_upward_test_data): Likewise.
21007         (asinh_test_data): Likewise.
21008         (atan_test_data): Likewise.
21009         (atanh_test_data): Likewise.
21010         (cbrt_test_data): Likewise.
21011         (cos_test_data): Likewise.
21012         (cos_tonearest_test_data): Likewise.
21013         (cos_towardzero_test_data): Likewise.
21014         (cos_downward_test_data): Likewise.
21015         (cos_upward_test_data): Likewise.
21016         (cosh_test_data): Likewise.
21017         (cosh_tonearest_test_data): Likewise.
21018         (cosh_towardzero_test_data): Likewise.
21019         (cosh_downward_test_data): Likewise.
21020         (cosh_upward_test_data): Likewise.
21021         * sysdeps/i386/fpu/libm-test-ulps: Update.
21022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21024 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
21026         [BZ #6787]
21027         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21028         * math/w_exp10f.c (__exp10f): Likewise.
21029         * math/w_exp10l.c (__exp10l): Likewise.
21030         * math/libm-test.inc (exp10_test_data): Add more tests and expect
21031         errno settings in existing tests.
21033         [BZ #14032]
21034         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21035         precision control set to double precision.
21036         * sysdeps/i386/fpu/w_sqrt.c: New file.
21037         * math/auto-libm-test-in: Add more tests.
21038         * math/auto-libm-test-out: Update.
21040         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21041         (sqrt_test_tonearest): New function.
21042         (sqrt_towardzero_test_data): New variable.
21043         (sqrt_test_towardzero): New function.
21044         (sqrt_downward_test_data): New variable.
21045         (sqrt_test_downward): New function.
21046         (sqrt_upward_test_data): New variable.
21047         (sqrt_test_upward): New function.
21048         (main): Call the new functions.
21050         * math/gen-auto-libm-tests.c: New file.
21051         * math/auto-libm-test-in: Likewise.
21052         * math/auto-libm-test-out: New generated file.
21053         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21054         variables.
21055         (%beautify): Add generated representations of zero.
21056         (top level): Set $auto_input and call parse_auto_input.
21057         (beautify): Remove trailing "f" from hex float constants.
21058         (parse_args): Handle XFAIL_TEST.
21059         (convert_condition): New function.
21060         (or_value): Likewise.
21061         (or_cond_value): Likewise.
21062         (generate_testfile): Handle AUTO_TESTS_* lines.
21063         (parse_auto_input): New function.
21064         * math/libm-test.inc (XFAIL_TEST): New macro.
21065         (ERRNO_UNCHANGED): Update value.
21066         (ERRNO_EDOM): Likewise.
21067         (ERRNO_ERANGE): Likewise.
21068         (IGNORE_RESULT): Likewise.
21069         (TEST_COND_flt_32): New macro.
21070         (TEST_COND_dbl_64): Likewise.
21071         (TEST_COND_ldbl_96_intel): Likewise.
21072         (TEST_COND_ldbl_96_m68k): Likewise.
21073         (TEST_COND_ldbl_128): Likewise.
21074         (TEST_COND_ldbl_128ibm): Likewise.
21075         (TEST_COND_long32): Likewise.
21076         (TEST_COND_long64): Likewise.
21077         (TEST_COND_before_rounding): Likewise.
21078         (TEST_COND_after_rounding): Likewise.
21079         (enable_test): Handle XFAIL_TEST flag.
21080         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21081         with finite results.
21082         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21083         auto-libm-test-out.
21085 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21086             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21088         [BZ #16214]
21089         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21090         __tls_get_addr_internal instead of __tls_get_offset in order to
21091         avoid GOT pointer dependency.  Make rtld export
21092         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21093         __tls_get_addr since we are a __tls_get_offset platform.
21094         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21095         GOT pointer being set up before.
21096         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21098 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
21100         * manual/math.texi (Errors in Math Functions): Document accuracy
21101         goals.
21103         [BZ #15004]
21104         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21105         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21106         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21107         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21108         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21109         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21110         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21111         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21112         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21113         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21114         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21115         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21116         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21117         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21118         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21119         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21121         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21122         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21123         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21124         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21125         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21126         Likewise.
21127         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21128         Likewise.
21129         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21130         Likewise.
21131         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21132         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21133         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21134         atomic-feupdateenv and flt-rounds.
21135         * sysdeps/powerpc/nofpu/Versions (libc): Add
21136         __atomic_feholdexcept, __atomic_feclearexcept,
21137         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21138         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21139         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21140         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21141         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21142         here.
21143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21144         Update.
21146         * manual/arith.texi (FP Exceptions): Document that exceptions may
21147         not be raised when matherr is used.
21148         (Math Error Reporting): Document overflow in directed rounding
21149         modes.  Document that errno may not be set when finite values are
21150         returned on overflow.  Document intent to set errno on underflow
21151         only for underflow to zero.
21153         [BZ #16271]
21154         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21155         round-to-nearest then adjust result for other rounding modes.
21156         * include/fenv.h (fegetround): Use libm_hidden_proto.
21157         * math/fegetround.c (fegetround): Use libm_hidden_def.
21158         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21159         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21160         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21161         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21162         Likewise.
21163         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21164         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21165         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21166         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21168 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21170         [BZ #16077]
21171         * nss/Versions (libnss_files): Add
21172         _nss_files_gethostbyname3_r.
21173         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21174         New function.
21175         (HOST_DB_LOOKUP): Remove macro.
21176         (_nss_files_gethostbyname_r): Implement function without the
21177         HOST_DB_LOOKUP macro.
21178         (_nss_files_gethostbyname2_r): Likewise.
21180 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
21182         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21184 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
21186         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21187         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21188         warning.
21190 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21192         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21193         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21194         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21195         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21196         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21197         __fe_nomask_env_priv and attribute_hidden.
21198         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21199         (libc_feupdateenv_test_ppc): Likewise.
21200         (libc_feresetround_ppc): Likewise.
21201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21202         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21203         compat_symbol macro.
21204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21205         (__fe_nomask_env): Likewise.
21206         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21208 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21210         * string/Makefile: Remove ifunc tests.
21211         * string/test-string.h: Define TEST_IFUNC.
21212         * string/test-bcopy-ifunc.c: Remove.
21213         * string/test-bzero-ifunc.c: Likewise.
21214         * string/test-memccpy-ifunc.c: Likewise.
21215         * string/test-memchr-ifunc.c: Likewise.
21216         * string/test-memcmp-ifunc.c: Likewise.
21217         * string/test-memcpy-ifunc.c: Likewise.
21218         * string/test-memmem-ifunc.c: Likewise.
21219         * string/test-memmove-ifunc.c: Likewise.
21220         * string/test-mempcpy-ifunc.c: Likewise.
21221         * string/test-memrchr-ifunc.c: Likewise.
21222         * string/test-memset-ifunc.c: Likewise.
21223         * string/test-rawmemchr-ifunc.c: Likewise.
21224         * string/test-stpcpy-ifunc.c: Likewise.
21225         * string/test-stpncpy-ifunc.c: Likewise.
21226         * string/test-strcasecmp-ifunc.c: Likewise.
21227         * string/test-strcasestr-ifunc.c: Likewise.
21228         * string/test-strcat-ifunc.c: Likewise.
21229         * string/test-strchr-ifunc.c: Likewise.
21230         * string/test-strchrnul-ifunc.c: Likewise.
21231         * string/test-strcmp-ifunc.c: Likewise.
21232         * string/test-strcpy-ifunc.c: Likewise.
21233         * string/test-strcspn-ifunc.c: Likewise.
21234         * string/test-strlen-ifunc.c: Likewise.
21235         * string/test-strncasecmp-ifunc.c: Likewise.
21236         * string/test-strncat-ifunc.c: Likewise.
21237         * string/test-strncmp-ifunc.c: Likewise.
21238         * string/test-strncpy-ifunc.c: Likewise.
21239         * string/test-strnlen-ifunc.c: Likewise.
21240         * string/test-strpbrk-ifunc.c: Likewise.
21241         * string/test-strrchr-ifunc.c: Likewise.
21242         * string/test-strspn-ifunc.c: Likewise.
21243         * string/test-strstr-ifunc.c: Likewise.
21245 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21247         * benchtests/Makefile: Remove ifunc tests.
21248         * benchtests/bench-string.h: Define TEST_IFUNC.
21249         * benchtests/bench-bcopy-ifunc.c: Remove.
21250         * benchtests/bench-bzero-ifunc.c: Likewise.
21251         * benchtests/bench-memccpy-ifunc.c: Likewise.
21252         * benchtests/bench-memchr-ifunc.c: Likewise.
21253         * benchtests/bench-memcmp-ifunc.c: Likewise.
21254         * benchtests/bench-memcpy-ifunc.c: Likewise.
21255         * benchtests/bench-memmem-ifunc.c: Likewise.
21256         * benchtests/bench-memmove-ifunc.c: Likewise.
21257         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21258         * benchtests/bench-memrchr-ifunc.c: Likewise.
21259         * benchtests/bench-memset-ifunc.c: Likewise.
21260         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21261         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21262         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21263         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21264         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21265         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21266         * benchtests/bench-strcat-ifunc.c: Likewise.
21267         * benchtests/bench-strchr-ifunc.c: Likewise.
21268         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21269         * benchtests/bench-strcmp-ifunc.c: Likewise.
21270         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21271         * benchtests/bench-strcpy-ifunc.c: Likewise.
21272         * benchtests/bench-strcspn-ifunc.c: Likewise.
21273         * benchtests/bench-strlen-ifunc.c: Likewise.
21274         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21275         * benchtests/bench-strncat-ifunc.c: Likewise.
21276         * benchtests/bench-strncmp-ifunc.c: Likewise.
21277         * benchtests/bench-strncpy-ifunc.c: Likewise.
21278         * benchtests/bench-strnlen-ifunc.c: Likewise.
21279         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21280         * benchtests/bench-strrchr-ifunc.c: Likewise.
21281         * benchtests/bench-strsep-ifunc.c: Likewise.
21282         * benchtests/bench-strspn-ifunc.c: Likewise.
21283         * benchtests/bench-strstr-ifunc.c: Likewise.
21285 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21287         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21289 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21291         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21292         * rt/aio.h: Likewise.
21293         * sysdeps/gnu/bits/utmp.h: Likewise.
21294         * sysdeps/gnu/bits/utmpx.h: Likewise.
21295         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21296         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21297         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21298         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21299         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21300         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21301         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21302         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21303         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21304         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21305         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21306         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21307         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21309         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21310         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21311         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21312         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21313         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21314         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21315         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21316         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21317         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21318         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21319         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21321         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21322         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21323         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21324         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21325         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21326         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21327         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21328         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21329         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21330         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21331         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21332         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21333         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21334         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21335         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21336         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21338 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21340         [BZ #16245]
21341         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21342         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21344 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21346         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21347         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21348         Likewise.
21350 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21352         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21353         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21354         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21355         (__fesetround): Remove define.
21356         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21357         rounding and exceptions handling.
21358         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21359         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21360         (__fe_nomask_env): Likewise.
21361         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21362         __fegetround instead of fegetround.
21363         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21364         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21366 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21368         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21369         it's there.
21371         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21373 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21375         [BZ #11157]
21376         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21377         (encrypt_r): Likewise.
21378         * malloc/obstack.h (obstack_free): Likewise.
21379         * posix/unistd.h (encrypt): Likewise.
21381 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21383         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21384         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21385         DL_CALL_DT_FINI() that call the functions directly.
21386         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21387         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21388         * elf/dl-fini.c: Likewise.
21390 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21392         * malloc/hooks.c (memalign_check): Add alignment rounding.
21393         * malloc/malloc.c (_mid_memalign): New function.
21394         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21395         Implement by calling _mid_memalign.
21396         * manual/probes.texi (Memory Allocation Probes): Remove
21397         memory_valloc_retry and memory_pvalloc_retry.
21399 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21401         * locale/programs/locarchive.c (open_archive): Add const
21402         qualifier to ARCHIVEFNAME and copy default fname to
21403         DEFAULT_FNAME.
21405         [BZ #15601]
21406         * libio/tst-widetext.input: Rename Oriya to Odia.
21407         * locale/iso-639.def: Likewise.
21409         * manual/probes.texi (Mathematical Function Probes): Add
21410         documentation for sin, cos, asin and acos probes.
21411         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21412         (__sin32): Add slowasin probe.
21413         (__cos32): Add slowacos probe.
21414         (__mpsin): Add slowsin probe.
21415         (__mpcos): Add slowcos probe.
21417 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21419         [BZ #15483]
21420         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21421         thread-local __sim_exceptions_thread and global
21422         __sim_exceptions_global.
21423         (__sim_disabled_exceptions): Change to thread-local
21424         __sim_disabled_exceptions_thread and global
21425         __sim_disabled_exceptions_global.
21426         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21427         and global __sim_round_mode_global.
21428         (__simulate_exceptions): Use thread-local floating-point state and
21429         set global state from it as needed.
21430         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21431         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21432         __sim_round_mode_thread.
21433         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21434         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21435         and global __sim_exceptions_global.
21436         (__sim_disabled_exceptions): Change to thread-local
21437         __sim_disabled_exceptions_thread and global
21438         __sim_disabled_exceptions_global.
21439         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21440         and global __sim_round_mode_global.
21441         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21442         (SIM_SET_GLOBAL): Likewise.
21443         * sysdeps/powerpc/soft-fp/sfp-machine.h
21444         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21445         __sim_round_mode_thread.
21446         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21447         __sim_disabled_exceptions_thread.
21448         (__sim_exceptions): Change to __sim_exceptions_thread.
21449         (__sim_disabled_exceptions): Change to
21450         __sim_disabled_exceptions_thread.
21451         (__sim_round_mode): Change to __sim_round_mode_thread.
21452         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21453         thread-local floating-point state and set global state from it as
21454         needed.
21455         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21456         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21457         (__sim_disabled_exceptions): Remove extern declaration.
21458         (feenableexcept): Use thread-local floating-point state and set
21459         global state from it as needed.
21460         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21461         extern declaration.
21462         (__sim_disabled_exceptions): Likewise.
21463         (__sim_round_mode): Likewise.
21464         (__fegetenv): Use thread-local floating-point state.
21465         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21466         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21467         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21468         floating-point state and set global state from it as needed.
21469         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21470         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21471         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21472         Likewise.
21473         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21474         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21475         Likewise.
21476         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21477         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21478         Use __sim_round_mode_thread.
21479         * math/test-fenv-tls.c: New file.
21480         * math/Makefile (tests): Add test-fenv-tls.
21481         ($(objpfx)test-fenv-tls): Depend on
21482         $(common-objpfx)nptl/libpthread.so.
21484 2013-11-19  Andreas Schwab  <schwab@suse.de>
21486         * locale/programs/locale.c (show_info): Decode wordarray elements.
21487         * locale/categories.def (LC_MONETARY): Add element for
21488         _NL_MONETARY_CRNCYSTR.
21489         * locale/C-monetary.c (conversion_rate): New variable.
21490         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21491         element.
21493 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
21495         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21496         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21498 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21500         * elf/Makefile (tst-auxv): New test.
21501         * elf/tst-auxv.c: New
21502         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21504 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21506         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21507         (hidden_proto): Caller changed.
21508         (hidden_tls_proto): New macro.
21509         (libc_hidden_tls_proto): Likewise.
21510         (rtld_hidden_tls_proto): Likewise.
21511         (libm_hidden_tls_proto): Likewise.
21512         (libresolv_hidden_tls_proto): Likewise.
21513         (librt_hidden_tls_proto): Likewise.
21514         (libdl_hidden_tls_proto): Likewise.
21515         (libnss_files_hidden_tls_proto): Likewise.
21516         (libnsl_hidden_tls_proto): Likewise.
21517         (libnss_nisplus_hidden_tls_proto): Likewise.
21518         (libutil_hidden_tls_proto): Likewise.
21520 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21522         [BZ #10253]
21523         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21524         (decompose_rpath): Defer expansion to fillin_rpath.
21525         (_dl_init_paths): Pass linkmap to fillin_rpath.
21527 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21529         * benchtests/Makefile: Add strsep.
21530         * benchtests/bench-strsep.c: New file: strsep benchtest.
21531         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21533 2013-11-18  Andreas Schwab  <schwab@suse.de>
21535         * locale/programs/locale.c (show_info) [case byte]: Check for
21536         '\377' instead of '\177'.
21537         * locale/C-monetary.c (not_available): Always use "\377".
21538         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21539         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21540         detect unavailable sign_posn locale elements.
21541         * locale/localeconv.c (__localeconv): For grouping and
21542         mon_grouping handle "\177" and "\377" like no grouping.
21543         (INT_ELEM): New macro.  Use it to set all numeric members.
21544         * locale/programs/ld-monetary.c (monetary_read)
21545         <tok_mon_grouping>: Normalize single -1 to the empty string.
21546         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21547         Likewise.
21549 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21551         [BZ #16055]
21552         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21553         when we match (nil).
21554         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21556 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21558         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21559         (NO_TEST_INLINE): Update value.
21560         (ERRNO_UNCHANGED): Likewise.
21561         (ERRNO_EDOM): Likewise.
21562         (ERRNO_ERANGE): Likewise.
21563         (IGNORE_RESULT): Likewise.
21564         (check_float_internal): Check signs of NaN results if
21565         TEST_NAN_SIGN used.
21566         (check_complex): Pass TEST_NAN_SIGN flag through to second
21567         check_float_internal call.
21568         (copysign_test_data): Add tests with quiet NaNs as second
21569         argument.  Use TEST_NAN_SIGN.
21570         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21571         TEST_NAN_SIGN.
21572         (signbit_test_data): Add tests of quiet NaN argument.
21573         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21575         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21576         $ignore_result.
21577         (parse_args): Handle function results specified as IGNORE.
21578         * math/libm-test.inc (IGNORE_RESULT): New macro.
21579         (check_float_internal): Do not check numerical result if flag
21580         IGNORE_RESULT set.
21581         (check_complex): Pass through IGNORE_RESULT to second
21582         check_float_internal call.
21583         (check_int): Do not check numerical result if flag IGNORE_RESULT
21584         set.
21585         (check_long): Likewise.
21586         (check_bool): Likewise.
21587         (check_longlong): Likewise.
21588         (lrint_test_data): Add tests of infinite and NaN arguments.
21589         (lrint_tonearest_test_data): Likewise.
21590         (lrint_towardzero_test_data): Likewise.
21591         (lrint_downward_test_data): Likewise.
21592         (lrint_upward_test_data): Likewise.
21593         (llrint_test_data): Likewise.
21594         (llrint_tonearest_test_data): Likewise.
21595         (llrint_towardzero_test_data): Likewise.
21596         (llrint_downward_test_data): Likewise.
21597         (llrint_upward_test_data): Likewise.
21598         (lround_test_data): Likewise.
21599         (llround_test_data): Likewise.
21601         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21602         (ERRNO_UNCHANGED): Update value.
21603         (ERRNO_EDOM): Likewise.
21604         (ERRNO_ERANGE): Likewise.
21605         (NO_TEST_INLINE_FLOAT): New macro.
21606         (NO_TEST_INLINE_DOUBLE): Likewise.
21607         (enable_test): New function.
21608         (RUN_TEST_f_f): Check enable_test before running test.
21609         (RUN_TEST_2_f): Likewise.
21610         (RUN_TEST_fff_f): Likewise.
21611         (RUN_TEST_c_f): Likewise.
21612         (RUN_TEST_f_f1): Likewise.
21613         (RUN_TEST_fF_f1): Likewise.
21614         (RUN_TEST_fI_f1): Likewise.
21615         (RUN_TEST_ffI_f1): Likewise.
21616         (RUN_TEST_c_c): Likewise.
21617         (RUN_TEST_cc_c): Likewise.
21618         (RUN_TEST_f_i): Likewise.
21619         (RUN_TEST_f_i_tg): Likewise.
21620         (RUN_TEST_ff_i_tg): Likewise.
21621         (RUN_TEST_f_b): Likewise.
21622         (RUN_TEST_f_b_tg): Likewise.
21623         (RUN_TEST_f_l): Likewise.
21624         (RUN_TEST_f_L): Likewise.
21625         (RUN_TEST_fFF_11): Likewise.
21626         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21627         conditionals.
21628         (cosh_test_data): Likewise.
21629         (exp_test_data): Likewise.
21630         (expm1_test_data): Likewise.
21631         (hypot_test_data): Likewise.
21632         (pow_test_data): Likewise.
21633         (sinh_test_data): Likewise.
21634         (tanh_test_data): Likewise.
21635         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21636         flags argument.
21638         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21639         tests with quiet NaN input and output.
21640         (acosh_test_data): Likewise.
21641         (asin_test_data): Likewise.
21642         (asinh_test_data): Likewise.
21643         (atan_test_data): Likewise.
21644         (atanh_test_data): Likewise.
21645         (atan2_test_data): Likewise.
21646         (cbrt_test_data): Likewise.
21647         (cos_test_data): Likewise.
21648         (cosh_test_data): Likewise.
21649         (erf_test_data): Likewise.
21650         (erfc_test_data): Likewise.
21651         (exp_test_data): Likewise.
21652         (exp10_test_data): Likewise.
21653         (exp2_test_data): Likewise.
21654         (expm1_test_data): Likewise.
21655         (hypot_test_data): Likewise.
21656         (j0_test_data): Likewise.
21657         (j1_test_data): Likewise.
21658         (jn_test_data): Likewise.
21659         (lgamma_test_data): Likewise.
21660         (log_test_data): Likewise.
21661         (log10_test_data): Likewise.
21662         (log1p_test_data): Likewise.
21663         (log2_test_data): Likewise.
21664         (pow_test_data): Likewise.
21665         (scalb_test_data): Likewise.
21666         (sin_test_data): Likewise.
21667         (sincos_test_data): Likewise.
21668         (sinh_test_data): Likewise.
21669         (tan_test_data): Likewise.
21670         (tanh_test_data): Likewise.
21671         (tgamma_test_data): Likewise.
21672         (y0_test_data): Likewise.
21673         (y1_test_data): Likewise.
21674         (yn_test_data): Likewise.
21676         [BZ #16167]
21677         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21678         argument being NaN and avoid computations with second argument in
21679         that case.
21680         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21681         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21682         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21684 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21686         * locale/iso-639.def: Add Chitwani Tharu (the).
21688 2013-11-14  Andreas Schwab  <schwab@suse.de>
21690         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21691         word instead of empty string.
21693 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21696         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21698         (__fe_nomask_env): Likewise.
21700 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21702         * benchtests/bench-timing.h: Include time.h.
21704 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21706         [BZ #15997]
21707         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21708         to 3.4.0 for x32.
21709         * sysdeps/unix/sysv/linux/configure: Regenerated.
21711 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21713         [BZ #16151]
21714         * stdlib/strtod_l.c (round_and_return): Do not consider
21715         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21716         exponent one less than half the least subnormal exponent.
21717         * stdlib/test-strtod-round-data: Add more tests.
21718         * stdlib/tst-strtod-round.c (tests): Regenerated.
21720 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21722         [BZ #14143]
21723         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21724         (__fe_mask_env): Likewise.
21725         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21726         libm_hidden_proto and add function prototype.
21727         (__fe_mask_env): Add function prototype.
21728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21729         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21731         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21733         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21735 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21737         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21738         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21740 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21742         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21743         of htab_find_slot().
21745 2013-11-11  David S. Miller  <davem@davemloft.net>
21747         [BZ #16150]
21748         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21749         symbol in the non-vis3 case in static builds.
21750         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21751         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21752         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21753         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21755 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21757         [BZ #387]
21758         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21759         it is empty.
21761 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21763         * benchtests/Makefile: Add bench-strtod.
21764         * benchtests/bench-strtod.c: New file: strtod benchtest
21766 2013-11-11  Andreas Schwab  <schwab@suse.de>
21768         [BZ #16153]
21769         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21770         terminating NUL in key length.
21772 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21774         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21775         Add artificial ODP entry for vDSO symbol for PPC64.
21776         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21777         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21779 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21781         [BZ #15374]
21782         * nss/getent.c (services_keys): Recognize services starting with digit.
21784 2013-11-06  David S. Miller  <davem@davemloft.net>
21786         [BZ #15985]
21787         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21788         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21790 2013-11-06  Will Newton  <will.newton@linaro.org>
21792         * manual/memory.texi (Malloc Examples): Remove register
21793         keyword from examples.
21795 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21797         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21799 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21801         [BZ #6981]
21802         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21803         depending on [__GCC_IEC_559 > 0].
21804         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21805         depending on [__GCC_IEC_559_COMPLEX > 0].
21807 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21809         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21810         to iso-639.def.
21812 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21814         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21816 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21818         [BZ #16112]
21819         * malloc/malloc (malloc_info): Do not handle first bin as
21820         special case.
21822 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21824         * locale/iso-639.def: Add Central Nahuatl (nhn).
21826 2013-11-01  Bruno Haible  <bruno@clisp.org>
21828         [BZ #7003]
21829         * manual/math.texi (BSD Random): Specify range upper bound as
21830         in POSIX.
21832 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21834         * locale/iso-639.def: Add Meadow Mari (mhr).
21836 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21838         [BZ #14752], [BZ #15763]
21839         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21840         Validate name.
21841         * rt/tst_shm.c: Add test for escaping directory.
21843 2013-10-31  Andreas Schwab  <schwab@suse.de>
21845         [BZ #15917]
21846         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21847         followed by 'x' as part of digit sequence.
21848         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21850 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21852         [BZ #16037]
21853         * configure.ac: allow GNU Make 4.0 and greater.
21854         * configure: Regenerated.
21856 2013-10-30  Will Newton  <will.newton@linaro.org>
21858         [BZ #16038]
21859         * malloc/hooks.c (memalign_check): Limit alignment to the
21860         maximum representable power of two.
21861         * malloc/malloc.c (__libc_memalign): Likewise.
21862         * malloc/tst-memalign.c (do_test): Add test for very
21863         large alignment values.
21864         * malloc/tst-posix_memalign.c (do_test): Likewise.
21866 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21868         [BZ #11087]
21869         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21870         (munmap_chunk): Likewise.
21871         (mremap_chunk): Likewise.
21873 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21875         [BZ #15799]
21876         * stdlib/div.c (div): Remove obsolete code.
21877         * stdlib/ldiv.c (ldiv): Likewise.
21878         * stdlib/lldiv.c (lldiv): Likewise.
21880 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21882         [BZ #16071]
21883         * nss/nss_files/files-XXX.c (get_contents_ret): New
21884         enumerator.
21885         (get_contents): New function.
21886         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21888 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21890         * configure.in: Moved to ...
21891         * configure.ac: ... here. Change reference to configure.in
21892         to configure.ac.
21893         * sysdeps/arm/preconfigure.ac: ... here.
21894         configure.in to configure.ac.
21895         * sysdeps/gnu/configure.in: Moved to ...
21896         * sysdeps/gnu/configure.ac: ... here.
21897         * sysdeps/i386/configure.in: Moved to ...
21898         * sysdeps/i386/configure.ac: ... here.
21899         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21900         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21901         * sysdeps/mach/configure.in: Moved to ...
21902         * sysdeps/mach/configure.ac: ... here.
21903         * sysdeps/mach/hurd/configure.in: Moved to ...
21904         * sysdeps/mach/hurd/configure.ac: ... here.
21905         * sysdeps/powerpc/configure.in: Moved to ...
21906         * sysdeps/powerpc/configure.ac: ... here.
21907         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21908         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21909         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21910         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21911         * sysdeps/s390/s390-32/configure.in: Moved to ...
21912         * sysdeps/s390/s390-32/configure.ac: ... here.
21913         * sysdeps/s390/s390-64/configure.in: Moved to ...
21914         * sysdeps/s390/s390-64/configure.ac: ... here.
21915         * sysdeps/sh/configure.in: Moved to ...
21916         * sysdeps/sh/configure.ac: ... here.
21917         * sysdeps/sparc/configure.in: Moved to ...
21918         * sysdeps/sparc/configure.ac: ... here.
21919         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21920         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21921         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21922         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21923         * sysdeps/x86_64/configure.in: Moved to ...
21924         * sysdeps/x86_64/configure.ac: ... here.
21925         * sysdeps/x86_64/preconfigure.in: Moved to ...
21926         * sysdeps/x86_64/preconfigure.ac: ... here.
21927         * aclocal.m4: Change reference to configure.in to configure.ac.
21928         * config.h.in: Likewise.
21929         * manual/install.texi: Likewise.
21930         * manual/maint.texi: Likewise.
21931         * Makefile: Likewise.
21932         * malloc/Makefile: Likewise.
21933         * nscd/Makefile: Likewise.
21934         * Makeconfig: Change reference to configure.in and
21935         preconfigure.in to configure.ac and preconfigure.ac
21936         respectively.
21937         * INSTALL: Regenerated.
21938         * configure: Likewise.
21939         * sysdeps/gnu/configure: Likewise.
21940         * sysdeps/i386/configure: Likewise.
21941         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21942         * sysdeps/mach/configure: Likewise.
21943         * sysdeps/mach/hurd/configure: Likewise.
21944         * sysdeps/powerpc/configure: Likewise.
21945         * sysdeps/powerpc/powerpc32/configure: Likewise.
21946         * sysdeps/powerpc/powerpc64/configure: Likewise.
21947         * sysdeps/s390/s390-32/configure: Likewise.
21948         * sysdeps/s390/s390-64/configure: Likewise.
21949         * sysdeps/sh/configure: Likewise.
21950         * sysdeps/sparc/configure: Likewise.
21951         * sysdeps/unix/sysv/linux/configure: Likewise.
21952         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21953         * sysdeps/x86_64/configure: Likewise.
21954         * sysdeps/x86_64/preconfigure: Likewise.
21956 2013-10-29  Andreas Schwab  <schwab@suse.de>
21958         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21960 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21962         * benchtests/pow-inputs: Add new inputs.
21964         * benchtests/exp-inputs: Add new inputs.
21966         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21967         conditional check for return value.
21968         (__cos32): Likewise.
21970 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21972         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21973         to provide a boost for large inputs with word alignment.
21974         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21975         implementation based on optimized PPC64 strcpy.
21976         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21977         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21978         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21979         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21981 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21983         [BZ #2801]
21984         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21986 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21988         [BZ #14876]
21989         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21990         * time/tst-strptime.c (day_tests): Add testcase.
21992 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21994         [BZ #14029]
21995         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21997 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21999         [BZ #16074]
22000         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22001         MAP_FAILED on error.
22003 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22005         [BZ #16072]
22006         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22007         heap for large requests.
22009 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
22011         [BZ #9954]
22012         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22013         result if the result has no associated interface.
22014         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22015         interface for all 127.X.Y.Z addresses.
22017 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
22019         * locale/iso-639.def: Add Ligurian (lij)
22021 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
22023         [BZ #15825]
22024         * sunrpc/rpc_main.c: Document rpcgen -5.
22026 2013-10-19  Michael Stahl  <mstahl@redhat.com>
22028         * elf/rtld.c (do_preload): Print the reason why preloading failed.
22030 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22032         [BZ #10278]
22033         * posix/glob.c: Match only directories when trailing slash is present.
22034         * posix/tst-gnuglob.c (my_opendir): Do not open files.
22035         (main): Add testcase.
22037 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22039         [BZ #15670]
22040         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22042 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
22044         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22045         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22046         AUTH_DES and cindex for FIPS 140-2.
22047         (DES Encryption): Add cindex FIPS 46-3.
22049         * locale/locarchive.h (struct locarhandle): Add fname.
22050         * locale/programs/localedef.c (main): Pass ARGV[remaining]
22051         if an optional argument was specified to --list-archive,
22052         otherwise NULL.
22053         * locale/programs/locarchive.c (show_archive_content): Take new
22054         argument fname and pass it via ah.fname to open_archive.
22055         * locale/programs/localedef.h: Update decl.
22056         (open_archive): If AH->fname is non-null, open that file
22057         rather than the default file name, and don't ignore ENOENT.
22058         (create_archive): Set AH.fname to NULL.
22059         (delete_locales_from_archive): Likewise.
22060         (add_locales_to_archive): Likewise.
22061         * locale/programs/locfile.c (write_all_categories): Likewise.
22063 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
22064             Aldy Hernandez  <aldyh@redhat.com>
22066         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22067         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22068         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22069         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22070         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22071         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22072         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22073         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22074         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22075         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22076         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22077         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22078         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22079         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22080         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22081         Likewise.
22082         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22083         Likewise.
22084         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22085         Likewise.
22086         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22087         Likewise.
22088         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22089         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22090         Likewise.
22091         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22092         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22093         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22094         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22095         Likewise.
22096         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22097         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22098         * sysdeps/powerpc/preconfigure: Likewise.
22099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22100         Likewise.
22101         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22102         Replace contents of file by #include of <fenv_libc.h>.
22103         * sysdeps/powerpc/soft-fp/sfp-machine.h
22104         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22105         and <sys/prctl.h>.
22106         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22107         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22108         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22109         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22110         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22111         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22113         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22114         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22115         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22116         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22117         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22119         Allow copysignl PLT reference to be missing.
22121 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
22122             Joseph Myers  <joseph@codesourcery.com
22124         [BZ #15948]
22125         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22126         single character.
22127         (add_to_tablewc): Assert sequence of wide characters is nonempty.
22129 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22131         * elf/tst-tls-dlinfo.c: Don't include tls.h.
22132         * elf/tst-tls1.c: Likewise.
22133         * elf/tst-tls10.h: Likewise.
22134         * elf/tst-tls14.c: Likewise.
22135         * elf/tst-tls2.c: Likewise.
22136         * elf/tst-tls3.c: Likewise.
22137         * elf/tst-tls4.c: Likewise.
22138         * elf/tst-tls5.c: Likewise.
22139         * elf/tst-tls6.c: Likewise.
22140         * elf/tst-tls7.c: Likewise.
22141         * elf/tst-tls8.c: Likewise.
22142         * elf/tst-tls9.c: Likewise.
22143         * elf/tst-tlsmod1.c: Likewise.
22144         * elf/tst-tlsmod13.c: Likewise.
22145         * elf/tst-tlsmod13a.c: Likewise.
22146         * elf/tst-tlsmod14a.c: Likewise.
22147         * elf/tst-tlsmod16a.c: Likewise.
22148         * elf/tst-tlsmod16b.c: Likewise.
22149         * elf/tst-tlsmod2.c: Likewise.
22150         * elf/tst-tlsmod3.c: Likewise.
22151         * elf/tst-tlsmod4.c: Likewise.
22152         * elf/tst-tlsmod5.c: Likewise.
22153         * elf/tst-tlsmod6.c: Likewise.
22155 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
22157         [BZ #12486]
22158         * malloc/malloc.c: remove checks for statistics.
22160 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22162         [BZ #15277]
22163         * inet/inet_net.c (inet_network): Detect additional invalid strings.
22164         * inet/tst-network.c: Add testcase.
22166 2013-10-17  Andreas Schwab  <schwab@suse.de>
22168         [BZ #15218]
22169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22170         to determine canonical name.
22172 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22174         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22175         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22176         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22177         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22178         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22179         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22180         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22181         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22182         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22183         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22184         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22185         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22186         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22187         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22188         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22189         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22190         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22191         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22192         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22193         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22194         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22195         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22196         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22197         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22198         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22199         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22200         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22201         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22202         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22203         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22204         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22205         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22206         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22207         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22208         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22209         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22210         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22211         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22212         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22213         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22214         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22215         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22216         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22217         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22218         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22219         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22220         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22221         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22222         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22223         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22224         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22225         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22226         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22227         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22228         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22229         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22230         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22231         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22233 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
22235         [BZ #16041]
22236         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22237         make result into a quiet NaN.
22239 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
22241         * soft-fp/adddf3.c: Fix horizontal whitespace.
22242         * soft-fp/addsf3.c: Likewise.
22243         * soft-fp/addtf3.c: Likewise.
22244         * soft-fp/divdf3.c: Likewise.
22245         * soft-fp/divsf3.c: Likewise.
22246         * soft-fp/divtf3.c: Likewise.
22247         * soft-fp/double.h: Likewise.
22248         * soft-fp/eqdf2.c: Likewise.
22249         * soft-fp/eqsf2.c: Likewise.
22250         * soft-fp/eqtf2.c: Likewise.
22251         * soft-fp/extenddftf2.c: Likewise.
22252         * soft-fp/extended.h: Likewise.
22253         * soft-fp/extendsfdf2.c: Likewise.
22254         * soft-fp/extendsftf2.c: Likewise.
22255         * soft-fp/extendxftf2.c: Likewise.
22256         * soft-fp/fixdfdi.c: Likewise.
22257         * soft-fp/fixdfsi.c: Likewise.
22258         * soft-fp/fixdfti.c: Likewise.
22259         * soft-fp/fixsfdi.c: Likewise.
22260         * soft-fp/fixsfsi.c: Likewise.
22261         * soft-fp/fixsfti.c: Likewise.
22262         * soft-fp/fixtfdi.c: Likewise.
22263         * soft-fp/fixtfsi.c: Likewise.
22264         * soft-fp/fixtfti.c: Likewise.
22265         * soft-fp/fixunsdfdi.c: Likewise.
22266         * soft-fp/fixunsdfsi.c: Likewise.
22267         * soft-fp/fixunsdfti.c: Likewise.
22268         * soft-fp/fixunssfdi.c: Likewise.
22269         * soft-fp/fixunssfsi.c: Likewise.
22270         * soft-fp/fixunssfti.c: Likewise.
22271         * soft-fp/fixunstfdi.c: Likewise.
22272         * soft-fp/fixunstfsi.c: Likewise.
22273         * soft-fp/fixunstfti.c: Likewise.
22274         * soft-fp/floatdidf.c: Likewise.
22275         * soft-fp/floatdisf.c: Likewise.
22276         * soft-fp/floatditf.c: Likewise.
22277         * soft-fp/floatsidf.c: Likewise.
22278         * soft-fp/floatsisf.c: Likewise.
22279         * soft-fp/floatsitf.c: Likewise.
22280         * soft-fp/floattidf.c: Likewise.
22281         * soft-fp/floattisf.c: Likewise.
22282         * soft-fp/floattitf.c: Likewise.
22283         * soft-fp/floatundidf.c: Likewise.
22284         * soft-fp/floatundisf.c: Likewise.
22285         * soft-fp/floatunditf.c: Likewise.
22286         * soft-fp/floatunsidf.c: Likewise.
22287         * soft-fp/floatunsisf.c: Likewise.
22288         * soft-fp/floatunsitf.c: Likewise.
22289         * soft-fp/floatuntidf.c: Likewise.
22290         * soft-fp/floatuntisf.c: Likewise.
22291         * soft-fp/floatuntitf.c: Likewise.
22292         * soft-fp/fmadf4.c: Likewise.
22293         * soft-fp/fmasf4.c: Likewise.
22294         * soft-fp/fmatf4.c: Likewise.
22295         * soft-fp/gedf2.c: Likewise.
22296         * soft-fp/gesf2.c: Likewise.
22297         * soft-fp/getf2.c: Likewise.
22298         * soft-fp/ledf2.c: Likewise.
22299         * soft-fp/lesf2.c: Likewise.
22300         * soft-fp/letf2.c: Likewise.
22301         * soft-fp/muldf3.c: Likewise.
22302         * soft-fp/mulsf3.c: Likewise.
22303         * soft-fp/multf3.c: Likewise.
22304         * soft-fp/negdf2.c: Likewise.
22305         * soft-fp/negsf2.c: Likewise.
22306         * soft-fp/negtf2.c: Likewise.
22307         * soft-fp/op-1.h: Likewise.
22308         * soft-fp/op-2.h: Likewise.
22309         * soft-fp/op-4.h: Likewise.
22310         * soft-fp/op-8.h: Likewise.
22311         * soft-fp/op-common.h: Likewise.
22312         * soft-fp/quad.h: Likewise.
22313         * soft-fp/single.h: Likewise.
22314         * soft-fp/soft-fp.h: Likewise.
22315         * soft-fp/sqrtdf2.c: Likewise.
22316         * soft-fp/sqrtsf2.c: Likewise.
22317         * soft-fp/sqrttf2.c: Likewise.
22318         * soft-fp/subdf3.c: Likewise.
22319         * soft-fp/subsf3.c: Likewise.
22320         * soft-fp/subtf3.c: Likewise.
22321         * soft-fp/truncdfsf2.c: Likewise.
22322         * soft-fp/trunctfdf2.c: Likewise.
22323         * soft-fp/trunctfsf2.c: Likewise.
22324         * soft-fp/trunctfxf2.c: Likewise.
22325         * soft-fp/unorddf2.c: Likewise.
22326         * soft-fp/unordsf2.c: Likewise.
22327         * soft-fp/unordtf2.c: Likewise.
22329 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22331         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22332         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22334 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22336         * elf/dl-libc.c: Clear initfini list after freeing.
22338 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22340         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22341         * soft-fp/addsf3.c: Likewise.
22342         * soft-fp/addtf3.c: Likewise.
22343         * soft-fp/divdf3.c: Likewise.
22344         * soft-fp/divsf3.c: Likewise.
22345         * soft-fp/divtf3.c: Likewise.
22346         * soft-fp/double.h: Likewise.
22347         * soft-fp/eqdf2.c: Likewise.
22348         * soft-fp/eqsf2.c: Likewise.
22349         * soft-fp/eqtf2.c: Likewise.
22350         * soft-fp/extenddftf2.c: Likewise.
22351         * soft-fp/extended.h: Likewise.
22352         * soft-fp/extendsfdf2.c: Likewise.
22353         * soft-fp/extendsftf2.c: Likewise.
22354         * soft-fp/extendxftf2.c: Likewise.
22355         * soft-fp/fixdfdi.c: Likewise.
22356         * soft-fp/fixdfsi.c: Likewise.
22357         * soft-fp/fixdfti.c: Likewise.
22358         * soft-fp/fixsfdi.c: Likewise.
22359         * soft-fp/fixsfsi.c: Likewise.
22360         * soft-fp/fixsfti.c: Likewise.
22361         * soft-fp/fixtfdi.c: Likewise.
22362         * soft-fp/fixtfsi.c: Likewise.
22363         * soft-fp/fixtfti.c: Likewise.
22364         * soft-fp/fixunsdfdi.c: Likewise.
22365         * soft-fp/fixunsdfsi.c: Likewise.
22366         * soft-fp/fixunsdfti.c: Likewise.
22367         * soft-fp/fixunssfdi.c: Likewise.
22368         * soft-fp/fixunssfsi.c: Likewise.
22369         * soft-fp/fixunssfti.c: Likewise.
22370         * soft-fp/fixunstfdi.c: Likewise.
22371         * soft-fp/fixunstfsi.c: Likewise.
22372         * soft-fp/fixunstfti.c: Likewise.
22373         * soft-fp/floatdidf.c: Likewise.
22374         * soft-fp/floatdisf.c: Likewise.
22375         * soft-fp/floatditf.c: Likewise.
22376         * soft-fp/floatsidf.c: Likewise.
22377         * soft-fp/floatsisf.c: Likewise.
22378         * soft-fp/floatsitf.c: Likewise.
22379         * soft-fp/floattidf.c: Likewise.
22380         * soft-fp/floattisf.c: Likewise.
22381         * soft-fp/floattitf.c: Likewise.
22382         * soft-fp/floatundidf.c: Likewise.
22383         * soft-fp/floatundisf.c: Likewise.
22384         * soft-fp/floatunsidf.c: Likewise.
22385         * soft-fp/floatunsisf.c: Likewise.
22386         * soft-fp/floatuntidf.c: Likewise.
22387         * soft-fp/floatuntisf.c: Likewise.
22388         * soft-fp/floatuntitf.c: Likewise.
22389         * soft-fp/fmadf4.c: Likewise.
22390         * soft-fp/fmasf4.c: Likewise.
22391         * soft-fp/fmatf4.c: Likewise.
22392         * soft-fp/gedf2.c: Likewise.
22393         * soft-fp/gesf2.c: Likewise.
22394         * soft-fp/getf2.c: Likewise.
22395         * soft-fp/ledf2.c: Likewise.
22396         * soft-fp/lesf2.c: Likewise.
22397         * soft-fp/letf2.c: Likewise.
22398         * soft-fp/muldf3.c: Likewise.
22399         * soft-fp/mulsf3.c: Likewise.
22400         * soft-fp/multf3.c: Likewise.
22401         * soft-fp/negdf2.c: Likewise.
22402         * soft-fp/negsf2.c: Likewise.
22403         * soft-fp/negtf2.c: Likewise.
22404         * soft-fp/op-1.h: Likewise.
22405         * soft-fp/op-2.h: Likewise.
22406         * soft-fp/op-4.h: Likewise.
22407         * soft-fp/op-8.h: Likewise.
22408         * soft-fp/op-common.h: Likewise.
22409         * soft-fp/quad.h: Likewise.
22410         * soft-fp/single.h: Likewise.
22411         * soft-fp/soft-fp.h: Likewise.
22412         * soft-fp/sqrtdf2.c: Likewise.
22413         * soft-fp/sqrtsf2.c: Likewise.
22414         * soft-fp/sqrttf2.c: Likewise.
22415         * soft-fp/subdf3.c: Likewise.
22416         * soft-fp/subsf3.c: Likewise.
22417         * soft-fp/subtf3.c: Likewise.
22418         * soft-fp/truncdfsf2.c: Likewise.
22419         * soft-fp/trunctfdf2.c: Likewise.
22420         * soft-fp/trunctfsf2.c: Likewise.
22421         * soft-fp/trunctfxf2.c: Likewise.
22422         * soft-fp/unorddf2.c: Likewise.
22423         * soft-fp/unordsf2.c: Likewise.
22424         * soft-fp/unordtf2.c: Likewise.
22426 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22428         [BZ #15672]
22429         * misc/error.c (error_tail): Fix possible buffer overflow.
22431 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
22433         [BZ #13028]
22434         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22435         address.
22437 2013-10-14  P. J. McDermott  <pj@pehjota.net>
22439         [BZ #832]
22440         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
22441         testing pipefail option.
22443 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22445         * soft-fp/double.h: Indent preprocessor directives inside #if.
22446         * soft-fp/extended.h: Likewise.
22447         * soft-fp/op-2.h: Likewise.
22448         * soft-fp/op-4.h: Likewise.
22449         * soft-fp/op-common.h: Likewise.
22450         * soft-fp/quad.h: Likewise.
22451         * soft-fp/single.h: Likewise.
22452         * soft-fp/soft-fp.h: Likewise.
22454 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
22456         * iconv/iconv_prog.c: Fix typos.
22457         * stdio-common/psiginfo-data.h: Likewise.
22459 2013-10-12   Reuben Thomas <rrt@sc3d.org>
22461         [BZ #15764]
22462         * locale/setlocale.c: Fix typo.
22464 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22466         [BZ #16036]
22467         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22468         signaling NaN arguments.
22469         * soft-fp/unordsf2.c (__unordsf2): Likewise.
22470         * soft-fp/unordtf2.c (__unordtf2): Likewise.
22472         [BZ #14910]
22473         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22474         unordered operands.
22475         * soft-fp/gesf2.c (__gesf2): Likewise.
22476         * soft-fp/getf2.c (__getf2): Likewise.
22477         * soft-fp/ledf2.c (__ledf2): Likewise.
22478         * soft-fp/lesf2.c (__lesf2): Likewise.
22479         * soft-fp/letf2.c (__letf2): Likewise.
22481         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22482         * soft-fp/eqsf2.c (__eqsf2): Likewise.
22483         * soft-fp/eqtf2.c (__eqtf2): Likewise.
22484         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22485         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22486         * soft-fp/fixdfti.c (__fixdfti): Likewise.
22487         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22488         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22489         * soft-fp/fixsfti.c (__fixsfti): Likewise.
22490         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22491         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22492         * soft-fp/fixtfti.c (__fixtfti): Likewise.
22493         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22494         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22495         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22496         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22497         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22498         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22499         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22500         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22501         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22502         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22503         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22504         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22505         * soft-fp/floattidf.c (__floattidf): Likewise.
22506         * soft-fp/floattisf.c (__floattisf): Likewise.
22507         * soft-fp/floattitf.c (__floattitf): Likewise.
22508         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22509         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22510         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22511         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22512         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22513         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22514         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22515         * soft-fp/gesf2.c (__gesf2): Likewise.
22516         * soft-fp/getf2.c (__getf2): Likewise.
22517         * soft-fp/ledf2.c (__ledf2): Likewise.
22518         * soft-fp/lesf2.c (__lesf2): Likewise.
22519         * soft-fp/letf2.c (__letf2): Likewise.
22521         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22522         Undefine and redefine.
22523         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22524         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22525         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22526         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22527         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22528         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22529         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22530         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22531         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22532         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22533         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22534         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22535         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22536         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22537         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22539         [BZ #16032]
22540         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22541         without decrementing exponent if mantissa >= that for the
22542         denominator, not >.
22543         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22544         denominator, not >.  Decrement exponent in < case instead of
22545         incrementing in >= case.
22546         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22547         without decrementing exponent if mantissa >= that for the
22548         denominator, not >.
22550         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22551         computing saturated result for unsigned overflow.
22553 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22554             Jeff Law  <law@redhat.com>
22556         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22557         (atan2Mp): Add systemtap probe marker.
22558         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22559         (__ieee754_log): Add systemtap probe marker.
22560         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22561         (atanMp): Add systemtap probe marker.
22562         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22563         (tanMp): Add systemtap probe marker.
22564         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22565         (__slowexp): Add systemtap probe marker.
22566         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22567         (__slowpow): Add systemtap probe marker.
22568         * manual/probes.texi: Document probes.
22570 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22572         [BZ #15362]
22573         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22574         written.
22575         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22576         written.
22577         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22578         written to buffer but not flushed.
22579         * libio/iofwrite_u.c:  Likewise.
22580         * libio/iopadn.c:  Return bytes returned even if EOF was
22581         encountered.
22582         * libio/iowpadn.c:  Likewise.
22583         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22584         if _IO_padn does not write the whole buffer.
22585         [!COMPILE_WPRINTF] (PAD): Likewise.
22587 2013-10-10  David S. Miller  <davem@davemloft.net>
22589         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22590         directory block.
22592 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22594         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22595         instead of FSF address.
22596         * soft-fp/fixdfti.c: Likewise.
22597         * soft-fp/fixsfti.c: Likewise.
22598         * soft-fp/fixtfti.c: Likewise.
22599         * soft-fp/fixunsdfti.c: Likewise.
22600         * soft-fp/fixunssfti.c: Likewise.
22601         * soft-fp/fixunstfti.c: Likewise.
22602         * soft-fp/floattidf.c: Likewise.
22603         * soft-fp/floattisf.c: Likewise.
22604         * soft-fp/floattitf.c: Likewise.
22605         * soft-fp/floatuntidf.c: Likewise.
22606         * soft-fp/floatuntisf.c: Likewise.
22607         * soft-fp/floatuntitf.c: Likewise.
22608         * soft-fp/trunctfxf2.c: Likewise.
22610         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22611         * soft-fp/fixdfti.c: Likewise.
22612         * soft-fp/fixsfti.c: Likewise.
22613         * soft-fp/fixtfti.c: Likewise.
22614         * soft-fp/fixunsdfti.c: Likewise.
22615         * soft-fp/fixunssfti.c: Likewise.
22616         * soft-fp/fixunstfti.c: Likewise.
22617         * soft-fp/floattidf.c: Likewise.
22618         * soft-fp/floattisf.c: Likewise.
22619         * soft-fp/floattitf.c: Likewise.
22620         * soft-fp/floatuntidf.c: Likewise.
22621         * soft-fp/floatuntisf.c: Likewise.
22622         * soft-fp/floatuntitf.c: Likewise.
22623         * soft-fp/trunctfxf2.c: Likewise.
22625 2013-10-10  David S. Miller  <davem@davemloft.net>
22627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22629 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22631         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22632         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22633         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22634         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22635         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22636         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22637         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22639         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22640         for NaNs before doing comparisons on argument.
22641         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22642         Likewise.
22644 2013-10-10  Will Newton  <will.newton@linaro.org>
22646         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22647         passed to _int_memalign does not overflow.
22649 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22651         * scripts/bench.pl: Add include-sources directive.
22652         * benchtests/README: Update documentation.
22654 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22656         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22657         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22658         instead of FP_INIT_ROUNDMODE.
22659         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22660         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22662         [BZ #16034]
22663         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22664         copy class of input value.
22665         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22666         not handle exceptions.
22667         * soft-fp/negsf2.c (__negsf2): Likewise.
22668         * soft-fp/negtf2.c (__negtf2): Likewise.
22669         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22671 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22673         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22674         semicolon.  From Linux kernel.
22676 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22678         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22680 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22682         [BZ #156]
22683         * manual/socket.texi: Added statement about buffer
22684         for gethostbyname2_r.
22686 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22688         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22689         Use .p2align directive instead, throughout.
22690         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22691         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22692         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22693         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22694         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22695         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22696         * sysdeps/x86_64/strchr.S: Likewise.
22697         * sysdeps/x86_64/strrchr.S: Likewise.
22699 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22701         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22703         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22705         * sysdeps/generic/math_private.h (__mpsin1): Remove
22706         declaration.
22707         (__mpcos1): Likewise.
22708         (__mpsin): New argument __range_reduce.
22709         (__mpcos): Likewise.
22710         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22711         (slow): Use __mpsin and __mpcos.
22712         (slow1): Likewise.
22713         (slow2): Likewise.
22714         (sloww): Likewise.
22715         (sloww1): Likewise.
22716         (sloww2): Likewise.
22717         (bsloww): Likewise.
22718         (bsloww1): Likewise.
22719         (bsloww2): Likewise.
22720         (cslow2): Likewise.
22721         (csloww): Likewise.
22722         (csloww1): Likewise.
22723         (csloww2): Likewise.
22724         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22725         range_reduce.  Merge in __mpsin1.
22726         (__mpcos): Likewise.
22727         (__mpsin1): Remove.
22728         (__mpcos1): Likewise.
22730 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22732         * locale/loadlocale.c (_nl_intern_locale_data): Use
22733         LOCFILE_ALIGNED_P.
22734         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22735         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22736         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22737         obstack data is appropriately aligned.
22738         (obstack_int32_grow_fast): Likewise.
22739         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22740         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22741         (add_locale_uint32_array): Likewise.
22743 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22745         * benchtests/Makefile: Remove ARGLIST and RET variables.
22746         ($(objpfx)bench-%.c): Pass only function name to the script.
22747         * benchtests/README: Update documentation.
22748         * benchtests/acos-inputs: Add new directives.
22749         * benchtests/acosh-inputs: Likewise.
22750         * benchtests/asin-inputs: Likewise.
22751         * benchtests/asinh-inputs: Likewise.
22752         * benchtests/atan-inputs: Likewise.
22753         * benchtests/atanh-inputs: Likewise.
22754         * benchtests/cos-inputs: Likewise.
22755         * benchtests/cosh-inputs: Likewise.
22756         * benchtests/exp-inputs: Likewise.
22757         * benchtests/log-inputs: Likewise.
22758         * benchtests/pow-inputs: Likewise.
22759         * benchtests/rint-inputs: Likewise.
22760         * benchtests/sin-inputs: Likewise.
22761         * benchtests/sinh-inputs: Likewise.
22762         * benchtests/tan-inputs: Likewise.
22763         * benchtests/tanh-inputs: Likewise.
22764         * scripts/bench.pl: Add support for new directives.
22766 2013-10-07  Alan Modra  <amodra@gmail.com>
22768         * README: Fix careless merge.
22770 2013-10-05  Alan Modra  <amodra@gmail.com>
22772         * NEWS: Mention powerpc64le support and bugs fixed.
22773         * README: Both big-endian and little-endian powerpc64 supported.
22775 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22777         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22778         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22779         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22780         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22782 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22784         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22785         match prototype.
22787 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22789         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22790         Move -mhard-float appending from
22791         ports/sysdeps/powerpc/powerpc32/Makefile.
22792         [$(with-fp) = yes] (ASFLAGS): Likewise.
22793         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22794         * sysdeps/powerpc/nofpu: Move directory from
22795         ports/sysdeps/powerpc/nofpu.
22796         * sysdeps/powerpc/soft-fp: Move directory from
22797         ports/sysdeps/powerpc/soft-fp.
22798         * sysdeps/powerpc/powerpc32/405: Move directory from
22799         ports/sysdeps/powerpc/powerpc32/405.
22800         * sysdeps/powerpc/powerpc32/440: Move directory from
22801         ports/sysdeps/powerpc/powerpc32/440.
22802         * sysdeps/powerpc/powerpc32/464: Move directory from
22803         ports/sysdeps/powerpc/powerpc32/464.
22804         * sysdeps/powerpc/powerpc32/476: Move directory from
22805         ports/sysdeps/powerpc/powerpc32/476.
22806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22807         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22809         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22811         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22813         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22815         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22816         * README: Update for powerpc-*-linux-gnu software floating point
22817         support in libc.
22819         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22820         case to powerpc/powerpc32*.
22821         * sysdeps/unix/sysv/linux/configure: Regenerated.
22823         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22824         (_FPU_MASK_OM): Define as 0x04.
22825         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22826         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22827         0x00c10080.
22828         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22829         0x0000003c.
22830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22833         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22834         getcontext_e500.
22835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22836         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22837         setcontext_e500.
22838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22839         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22840         and setcontext_e500.
22842 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22844         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22846 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22848         * manual/threads.texi (Default Thread Attributes): Fix typo.
22850 2013-10-04  Will Newton  <will.newton@linaro.org>
22852         * malloc/Makefile: Add tst-memalign.
22853         * malloc/tst-memalign.c: New file.
22855         * malloc/tst-posix_memalign.c: Add comments.
22856         (do_test): Add comments and call free on all potentially
22857         allocated pointers. Add space after cast.
22859         * malloc/tst-pvalloc.c: Add comments.
22860         (do_test): Add comments and call free on all potentially
22861         allocated pointers. Remove duplicate check for NULL pointer.
22862         Add space after cast.
22864         * malloc/tst-valloc.c: Add comments.
22865         (do_test): Add comments and call free on all potentially
22866         allocated pointers. Remove duplicate check for NULL pointer.
22867         Add space after cast.
22869 2013-10-04  Alan Modra  <amodra@gmail.com>
22871         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22872         Use stdint types in rather than __attribute__((mode())).
22873         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22875 2013-10-04  Alan Modra  <amodra@gmail.com>
22877         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22878         Correct handling of unaligned relocs for little-endian.
22879         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22881 2013-10-04  Alan Modra  <amodra@gmail.com>
22883         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22884         * configure: Regenerate.
22885         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22886         * shlib-versions: Likewise.
22888 2013-10-04  Alan Modra  <amodra@gmail.com>
22890         * string/tester.c (test_memrchr): Increment reported test cycle.
22892 2013-10-04  Alan Modra  <amodra@gmail.com>
22894         * string/test-memcpy.c (do_one_test): When reporting errors, print
22895         string address and don't overrun end of string.
22897 2013-10-04  Alan Modra  <amodra@gmail.com>
22899         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22900         insrdi.  Make better use of reg selection to speed exit slightly.
22901         Schedule entry path a little better.  Remove useless "are we done"
22902         checks on entry to main loop.  Handle wrapping around zero address.
22903         Correct main loop count.  Handle single left-over word from main
22904         loop inline rather than by using loop_small.  Remove extra word
22905         case in loop_small caused by wrong loop count.  Add little-endian
22906         support.
22907         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22908         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22909         cache hint.
22910         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22911         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22912         support.  Avoid rlwimi.
22913         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22915 2013-10-04  Alan Modra  <amodra@gmail.com>
22917         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22918         insrdi.  Formatting.
22919         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22920         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22921         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22922         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22923         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22924         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22926 2013-10-04  Alan Modra  <amodra@gmail.com>
22928         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22929         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22930         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22931         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22932         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22933         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22934         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22935         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22936         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22937         use of regs.  Use power7 mtocrf.  Tidy function tails.
22939 2013-10-04  Alan Modra  <amodra@gmail.com>
22941         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22942         Formatting.  Consistently use rXXX register defines or rN defines.
22943         Use early exit labels that avoid restoring unused non-volatile regs.
22944         Make cr field use more consistent with rWORDn compares.  Rename
22945         regs used as shift registers for unaligned loop, using rN defines
22946         for short lifetime/multiple use regs.
22947         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22948         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22949         addi 1,1,64 to pop stack frame.  Simplify return value code.
22950         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22952 2013-10-04  Alan Modra  <amodra@gmail.com>
22954         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22955         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22956         rather than rlwimi.
22957         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22958         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22959         little-endian support.  Correct typos.
22960         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22961         rather than rlwimi.
22962         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22963         in loop and entry code to keep "and." results.
22964         (strchr): Add little-endian support.  Comment.  Move cntlzd
22965         earlier in tail.
22966         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22968 2013-10-04  Alan Modra  <amodra@gmail.com>
22970         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22971         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22972         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22973         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22975 2013-10-04  Alan Modra  <amodra@gmail.com>
22977         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22978         (rTMP): Define as r11.
22979         (strcmp): Add little-endian support.  Optimise tail.
22980         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22981         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22982         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22983         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22984         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22985         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22986         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22988 2013-10-04  Alan Modra  <amodra@gmail.com>
22990         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22991         little-endian support.  Remove unnecessary "are we done" tests.
22992         Handle "s" wrapping around zero and extremely large "size".
22993         Correct main loop count.  Handle single left-over word from main
22994         loop inline rather than by using small_loop.  Correct comments.
22995         Delete "zero" tail, use "end_max" instead.
22996         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22998 2013-10-04  Alan Modra  <amodra@gmail.com>
23000         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23001         support.  Don't branch over align.
23002         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23003         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23004         support.  Rearrange tmp reg use to suit.  Comment.
23005         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23007 2013-10-04  Alan Modra  <amodra@gmail.com>
23009         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23011 2013-10-04  Alan Modra  <amodra@gmail.com>
23013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23014         conditional form of branch and link when obtaining pc.
23015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23017 2013-10-04  Alan Modra  <amodra@gmail.com>
23019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23020         HIWORD/LOWORD.
23021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23024 2013-10-04  Alan Modra  <amodra@gmail.com>
23026         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23027         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23028         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23029         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23030         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23031         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23032         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23033         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23034         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23035         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23037 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23038             Alistair Popple <alistair@ozlabs.au.ibm.com>
23039             Alan Modra <amodra@gmail.com>
23041         [BZ #15723]
23042         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23043         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23044         _dl_hwcap access for little-endian.
23045         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
23046         destroy vmx regs when saving unaligned.
23047         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23048         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
23049         destroy vmx regs when saving unaligned.
23051 2013-10-04  Alan Modra  <amodra@gmail.com>
23053         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23054         Don't use a union to pack hi/low value.
23056 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23058         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23059         for little-endian.
23060         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23061         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23062         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23063         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23064         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23066 2013-10-04  Alan Modra  <amodra@gmail.com>
23068         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23069         constants to usual value for .cst8 section, and remove redundant
23070         high address load.
23071         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23072         constant for 0x1p52.  Load little-endian words of double from
23073         correct stack offsets.
23075 2013-10-04  Alan Modra  <amodra@gmail.com>
23077         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23078         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23079         words of double from correct stack offsets.
23080         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23081         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23082         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23083         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23084         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23085         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23086         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23087         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23088         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23089         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23090         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23091         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23092         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23093         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23094         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23095         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23096         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23098 2013-10-04  Alan Modra  <amodra@gmail.com>
23100         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23101         64-bit int/double union.
23102         (_FPU_SETCW): Likewise.
23103         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23104         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23106 2013-10-04  Alan Modra  <amodra@gmail.com>
23108         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23109         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23111 2013-10-04  Alan Modra  <amodra@gmail.com>
23113         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23114         use vector int constants.
23115         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23117 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23119         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23120         array with long long.
23121         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23122         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23123         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23124         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23125         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23126         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23127         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23128         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23129         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23130         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23131         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23132         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23133         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23135 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23137         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23138         (__signbit): Likewise.  Correct for little-endian.
23139         (__signbitl): Call __signbit.
23140         (lrint): Correct for little-endian.
23141         (lrintf): Call lrint.
23143 2013-10-04  Alan Modra  <amodra@gmail.com>
23145         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23146         union 32-bit int array member with 64-bit int array.
23147         (t515, tm256): Double rather than long double.
23148         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23150 2013-10-04  Alan Modra  <amodra@gmail.com>
23152         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23153         Delete.
23154         (IEEE854_LONG_DOUBLE_BIAS): Delete.
23155         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23156         version of math_ldbl.h.
23158 2013-10-04  Alan Modra  <amodra@gmail.com>
23160         [BZ #15734], [BZ #15735]
23161         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23162         all uses of ieee875 long double macros and unions.  Simplify test
23163         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
23164         ldbl_extract_mantissa value for ix,iy exponents.  Properly
23165         normalize after ldbl_extract_mantissa, and don't add hidden bit
23166         already handled.  Don't treat low word of ieee854 mantissa like
23167         low word of IBM long double and mask off bit when testing for
23168         zero.
23169         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23170         all uses of ieee875 long double macros and unions.  Simplify tests
23171         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
23172         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
23173         two1022, instead use their values.  Recognise that tests for large
23174         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
23175         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23176         Rewrite all uses of ieee875 long double macros and unions.  Simplify
23177         test for 0.0L and nan.  Correct negation.
23178         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23179         ieee875 long double macros and unions.  Correct output for large
23180         magnitude x.  Correct absolute value calculation.
23181         (__erfcl): Likewise.
23182         * math/libm-test.inc: Add tests for errors discovered in IBM long
23183         double versions of fmodl, remainderl, erfl and erfcl.
23185 2013-10-04  Alan Modra  <amodra@gmail.com>
23187         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23188         all uses of ieee854 long double macros and unions.  Simplify tests
23189         for long doubles that are fully specified by the high double.
23190         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23191         Likewise.
23192         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23193         Remove dead code too.
23194         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23195         (__ieee754_ynl): Likewise.
23196         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23197         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23198         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23199         Remove dead code too.
23200         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23201         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23202         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23203         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23204         Simplify.
23205         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23206         Simplify.
23207         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23208         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23209         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23210         Comment on variable precision.
23211         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23212         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23213         Likewise.
23214         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23215         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23216         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23217         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23218         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23220 2013-10-04  Alan Modra  <amodra@gmail.com>
23222         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23223         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23224         all uses of ieee854 long double macros and unions.
23225         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23226         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23227         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23228         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23229         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23230         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23231         Likewise.
23232         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23233         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23234         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23235         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23236         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23237         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23238         Simplify sign and nan test too.
23239         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23240         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23241         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23242         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23243         Likewise.
23244         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23245         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23246         Likewise.
23247         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23248         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23249         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23250         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23251         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23252         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23254 2013-10-04  Alan Modra  <amodra@gmail.com>
23256         * stdio-common/printf_size.c (__printf_size): Don't use
23257         union ieee854_long_double in fpnum union.
23258         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23259         signbit macro to retrieve sign from long double.
23260         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23261         retrieve sign from long double.
23262         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23263         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23264         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23265         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23266         * math/test-misc.c (main): Don't use union ieee854_long_double.
23268 2013-10-04  Alan Modra  <amodra@gmail.com>
23270         [BZ #15680]
23271         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23272         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23273         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23274         calculation.  Remove unnecessary test for denormal exponent.
23275         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23276         Correct handling of denormals.  Avoid undefined shift behaviour.
23277         Correct normalisation of low mantissa when low double is denormal.
23278         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23279         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23280         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23281         Correct normalisation of low mantissa.  Test for overflow of high
23282         mantissa and normalise.
23283         (ldbl_nearbyint): Use more readable constant for two52.
23284         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23285         (__mpn_construct_long_double): Fix test for overflow of high
23286         mantissa and correct normalisation.  Avoid undefined shift.
23288 2013-10-04  Alan Modra  <amodra@gmail.com>
23290         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23291         (union ibm_extended_long_double): Define as an array of ieee754_double.
23292         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23293         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23294         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23295         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23296         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23297         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23298         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23299         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23300         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23301         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23302         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23304 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23306         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23307         page size instead of calling getpagesize.
23309         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23310         (LOCFILE_ALIGN_MASK): Likewise.
23311         (LOCFILE_ALIGN_UP): Likewise.
23312         (LOCFILE_ALIGNED_P): Likewise.
23313         * locale/programs/ld-collate.c (collate_output): Use the new
23314         macros instead of __alignof__ (int32_t).
23315         * locale/weight.h (findidx): Likewise.
23317 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23319         [BZ #431]
23320         * manual/string.texi: Fix strncat and wcsncat.
23322 2013-10-03  Brooks Moses  <bmoses@google.com>
23324         [BZ #15915]
23325         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23326         * Makerules: ...here, and adjust associated comments.
23328 2013-10-02  Will Newton  <will.newton@linaro.org>
23330         * malloc/Makefile: Add tst-pvalloc.
23331         * malloc/tst-pvalloc.c: New file.
23333 2013-10-02  Will Newton  <will.newton@linaro.org>
23335         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23336         improve test coverage.
23338 2013-10-02  Will Newton  <will.newton@linaro.org>
23340         * malloc/Makefile: Add tst-posix_memalign.
23341         * malloc/tst-posix_memalign.c: New file.
23343 2013-10-01  Eric Blake  <eblake@redhat.com>
23345         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23346         Use __THROWNL rather than __THROW on static functions.
23348 2013-09-30  Petr Machata  <pmachata@redhat.com>
23350         * elf/elf.h (R_AARCH64_ABS16): New macro.
23351         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23352         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23353         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23354         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23355         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23356         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23357         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23358         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23359         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23360         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23361         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23362         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23363         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23364         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23365         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23366         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23367         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23368         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23369         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23370         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23371         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23372         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23373         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23374         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23375         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23376         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23377         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23378         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23379         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23380         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23381         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23382         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23383         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23384         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23385         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23386         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23387         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23388         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23389         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23390         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23391         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23392         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23393         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23394         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23395         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23396         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23397         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23398         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23399         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23400         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23401         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23402         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23403         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23404         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23405         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23406         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23407         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23408         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23409         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23410         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23411         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23412         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23413         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23414         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23415         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23416         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23417         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23418         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23419         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23420         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23421         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23422         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23423         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23424         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23425         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23426         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23427         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23428         (R_AARCH64_TLSDESC_LDR): Likewise.
23429         (R_AARCH64_TLSDESC_ADD): Likewise.
23430         (R_AARCH64_TLSDESC_CALL): Likewise.
23432 2013-09-30  Andreas Schwab  <schwab@suse.de>
23434         [BZ #15048]
23435         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23436         the nss database lookup.
23437         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23438         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23440 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
23442         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23444 2013-09-28  P. J. McDermott  <pj@pehjota.net>
23446         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23447         ${Bash-specific parameter/pattern/string} parameter expansion.
23448         * sysdeps/unix/make-syscalls.sh: Likewise.
23450 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23452         * sysdeps/sh/stackguard-macros.h: New file.
23454 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
23456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23457         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23458         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23459         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23460         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23461         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23463 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23465         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23466         Fix thread ID register.
23468 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
23470         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23471         [POSIX || UNIX98]: Require rather than permitting all symbols from
23472         <time.h>.
23473         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23474         element of struct sched_param.
23475         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23476         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23477         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23478         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23479         constant.
23481 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
23483         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23484         argument calculation.
23486 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23488         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23489         Expect macro.
23490         [POSIX] (pthread_attr_t): Do not require type.
23491         [POSIX] (pthread_cond_t): Likewise.
23492         [POSIX] (pthread_condattr_t): Likewise.
23493         [POSIX] (pthread_key_t): Likewise.
23494         [POSIX] (pthread_mutex_t): Likewise.
23495         [POSIX] (pthread_mutexattr_t): Likewise.
23496         [POSIX] (pthread_once_t): Likewise.
23497         [POSIX] (pthread_t): Likewise.
23498         [POSIX-based standards] (pthread_atfork): Expect function.
23500 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23501             Richard Sandiford  <richard@codesourcery.com>
23503         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23504         (swap_endianness_p): New extern variable.
23505         (set_big_endian): New inline function.
23506         (maybe_swap_uint32): Likewise.
23507         (maybe_swap_uint32_array): Likewise.
23508         (maybe_swap_uint32_obstack): Likewise.
23509         * locale/programs/locfile.c: Include <stdbool.h>.
23510         (swap_endianness_p): New variable.
23511         (add_locale_uint32): Call maybe_swap_uint32.
23512         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23513         (write_locale_data): Call maybe_swap_uint32_array.
23514         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23515         maybe_swap_uint32.
23516         (obstack_int32_grow_fast): Likewise.
23517         (output_weightwc): Call maybe_swap_uint32_obstack.
23518         (collate_output): Likewise.
23519         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23520         (OPT_LITTLE_ENDIAN): Likewise.
23521         (options): Add --little-endian and --big-endian options.
23522         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23523         * locale/programs/locarchive.c: Include "locfile.h".
23524         (GET): New macro.
23525         (SET): Likewise.
23526         (INC): Likewise.
23527         (create_archive): Use the new macros to access fields of
23528         structures directly mapped from or written to locale archives.
23529         (oldlocrecentcmp): Likewise.
23530         (enlarge_archive): Likewise.
23531         (insert_name): Likewise.
23532         (add_alias): Likewise.
23533         (add_locale): Likewise.
23534         (delete_locales_from_archive): Likewise.
23535         (show_archive_content): Likewise.
23536         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23537         locale data.
23539 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23541         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23542         http://www.gnu.org/doc/freemanuals.texi.
23543         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23545 2013-09-24  Will Newton  <will.newton@linaro.org>
23547         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23548         macro.
23550 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23552         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23553         unsigned char.
23555 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23557         * manual/threads.texi (POSIX Threads): Fix a typo.
23559 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23561         [BZ #14547]
23562         * string/tst-strcoll-overflow.c: New test case.
23563         * string/Makefile (xtests): Add tst-strcoll-overflow.
23564         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23565         cache if string sizes may cause integer overflow.
23567         [BZ #14547]
23568         * string/strcoll_l.c (coll_seq): New members rule, idx,
23569         save_idx and back_us.
23570         (get_next_seq_nocache): New function.
23571         (do_compare_nocache): New function.
23572         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23573         when malloc fails.
23575 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23577         [BZ #15754]
23578         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23579         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23580         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23582         [BZ #15754]
23583         * elf/Makefile (tests): Add tst-ptrguard1.
23584         (tests-static): Add tst-ptrguard1-static.
23585         (tst-ptrguard1-ARGS): Define.
23586         (tst-ptrguard1-static-ARGS): Define.
23587         * elf/tst-ptrguard1.c: New file.
23588         * elf/tst-ptrguard1-static.c: New file.
23589         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23590         * sysdeps/i386/stackguard-macros.h: Likewise.
23591         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23592         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23593         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23594         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23595         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23596         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23598 2013-09-23  Hector Marco  <hecmargi@upv.es>
23599             Ismael Ripoll  <iripoll@disca.upv.es>
23600             Carlos O'Donell  <carlos@redhat.com>
23602         [BZ #15754]
23603         * sysdeps/generic/stackguard-macros.h: Define
23604         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23605         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23606         Define __pointer_chk_guard_local.
23607         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23608         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23610 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23612         [BZ #15859]
23613         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23615 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23617         * include/string.h (__ffs): Declare as hidden.
23618         * string/ffs.c (__ffs): Define as hidden.
23619         * sysdeps/i386/ffs.c (__ffs): Likewise.
23620         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23621         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23622         * sysdeps/s390/ffs.c (__ffs): Likewise.
23623         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23625 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23627         * NEWS: Mention malloc probes.
23629         * malloc/arena.c (new_heap): New memory_heap_new probe.
23630         (grow_heap): New memory_heap_more probe.
23631         (shrink_heap): New memory_heap_less probe.
23632         (heap_trim): New memory_heap_free probe.
23633         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23634         (systrim): New memory_sbrk_less probe.
23635         * manual/probes.texi: Document them.
23637         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23638         * manual/probes.texi: Document it.
23640         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23641         (__libc_realloc): Add memory_realloc_retry probe.
23642         (__libc_memalign): Add memory_memalign_retry probe.
23643         (__libc_valloc): Add memory_valloc_retry probe.
23644         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23645         (__libc_calloc): Add memory_calloc_retry probe.
23646         * manual/probes.texi: Document them.
23648         * malloc/arena.c (get_free_list): Add probe
23649         memory_arena_reuse_free_list.
23650         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23651         and memory_arena_reuse.
23652         (arena_get2) [!PER_THREAD]: Likewise.
23653         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23654         memory_arena_reuse_realloc.
23655         * manual/probes.texi: Document them.
23657         * malloc/malloc.c (__libc_free): Add
23658         memory_mallopt_free_dyn_thresholds probe.
23659         (__libc_mallopt): Add multiple memory_mallopt probes.
23660         * manual/probes.texi: Document them.
23662         * malloc/malloc.c: Include stap-probe.h.
23663         (__libc_mallopt): Add memory_mallopt probe.
23664         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23665         * manual/probes.texi: New.
23666         * manual/Makefile (chapters): Add probes.
23667         * manual/threads.texi: Set next node.
23669 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23671         [BZ #15963, #13985]
23672         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23673         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23674         Add `Chinese' to `nan' entry name.
23676 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23678         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23679         (POLYNOMIAL): Likewise.
23680         (TAYLOR_SINCOS): Likewise.
23681         (TAYLOR_SLOW): Likewise.
23682         (__sin): Use TAYLOR_SINCOS.
23683         (__cos): Likewise.
23684         (slow): Use TAYLOR_SLOW.
23685         (sloww): Likewise.
23686         (bsloww): Likewise.
23687         (csloww): Likewise.
23689 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23691         * stdlib/strtod_l.c: Fix buffer overrun.
23693 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23695         * benchtests/Makefile (bench): Add sincos.
23696         * benchtests/bench-sincos.c: New file.
23698         * math/libm-test.inc (cos_test_data): New test inputs.
23699         (sin_test_data): Likewise.
23701         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23702         macro.
23703         (__sin): Use it.
23704         (__cos): Likewise.
23705         (slow1): Likewise.
23706         (slow2): Likewise.
23707         (sloww1): Likewise.
23708         (sloww2): Likewise.
23709         (bsloww1): Likewise.
23710         (bsloww2): Likewise.
23711         (cslow2): Likewise.
23712         (csloww1): Likewise.
23713         (csloww2): Likewise.
23715         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23716         function.
23717         (__sin): Use it.
23718         (__cos): Likewise.
23720         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23721         gotos.
23722         (__cos): Likewise.
23724 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23726         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23727         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23728         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23729         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23730         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23731         * elf/cache.c (print_entry): Handle the new cache flags.
23733 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23734             Aldy Hernandez  <aldyh@redhat.com>
23736         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23737         Change condition to [_SOFT_FLOAT].
23738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23740         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23742         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23743         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23744         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23745         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23747         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23748         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23749         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23750         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23752         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23753         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23754         declaration.
23756 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23758         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23759         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23760         (__longjmp): Use LOAD_GP to load saved GPRs.
23761         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23762         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23763         (__sigsetjmp): Use SAVE_GP to save GPRs.
23765         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23766         Do not append -msoft-float.
23767         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23769 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23771         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23773 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23775         [BZ #15966]
23776         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23777         (_FPU_GETCW): Use initial "__" on variable and field names but not
23778         on macro parameter name.
23779         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23780         parentheses around reference to macro parameter.
23782 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23784         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23785         prototype.
23786         (ctype_startup): Use uint32_t in cast and sizeof for
23787         ctype->charnames.
23789 2013-09-11  Jia Liu  <proljc@gmail.com>
23791         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23792         __daddr_t_defined.
23793         [__FreeBSD__]: Likewise.
23795 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23797         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23798         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23799         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23800         (strchr): Remove __strchr_sse42 ifunc selection.
23801         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23802         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23804 2013-09-11  Will Newton  <will.newton@linaro.org>
23806         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23807         parameter to RES. Remove hardcoded 1000 value.
23808         * benchtests/bench-skeleton.c (main): Pass RES parameter
23809         to TIMING_INIT and multiply result by 1000.
23811 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23815 2013-09-11  Andreas Schwab  <schwab@suse.de>
23817         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23818         if not defined.
23819         (O_TMPFILE) [__USE_GNU]: Define.
23820         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23821         Define.
23823 2013-09-11  Will Newton  <will.newton@linaro.org>
23825         [BZ #15857]
23826         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23827         does not overflow.
23829 2013-09-11  Will Newton  <will.newton@linaro.org>
23831         [BZ #15856]
23832         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23833         does not overflow.
23835 2013-09-11  Will Newton  <will.newton@linaro.org>
23837         [BZ #15855]
23838         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23839         does not overflow.
23841 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23843         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23844         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23845         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23846         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23847         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23849 2013-09-10  Allan McRae  <allan@archlinux.org>
23851         [BZ #15748]
23852         * manual/arith.texi (Parsing of Floats): Clarify
23853         cross-reference.
23855         [BZ #15849]
23856         * manual/install.texi (Running make install): Mention
23857         --enable-pt-chown.
23858         * INSTALL: Regenerated.
23860 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23862         * csu/init-first.c (_init): Remove the !SHARED condition around
23863         FPU control word initialization.
23864         * elf/dl-support.c (_dl_fpu_control): New variable.
23865         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23866         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23867         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23868         * math/test-fpucw-static.c: New file.
23869         * math/test-fpucw-ieee.c: New file.
23870         * math/test-fpucw-ieee-static.c: New file.
23871         * math/Makefile (tests): Add `test-fpucw-ieee' and
23872         `$(tests-static)'.
23873         (tests-static): New variable.
23874         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23875         dependency to...
23876         [($(build-shared),yes)]
23877         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23878         ... this.
23879         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23880         New dependency.
23882 2013-09-09  Allan McRae  <allan@archlinux.org>
23884         [BZ #15939]
23885         * manual/string.texi (Collation Functions): Fix typo in
23886         strcoll example.
23887         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23889         [BZ #15893]
23890         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23892         [BZ #15892]
23893         * libio/memstream.c (open_memstream): Fix memory leak.
23894         * libio/wmemstream.c (open_wmemstream): Likewise.
23896         [BZ #15895]
23897         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23899 2013-09-09  Will Newton  <will.newton@linaro.org>
23901         * malloc/Makefile: Add tst-realloc to tests.
23902         * malloc/tst-realloc.c: New file.
23904 2013-09-09  Allan McRae  <allan@archlinux.org>
23906         [BZ #15844]
23907         * COPYING: Update from GNU website to fix FSF address.
23908         * COPYING.LIB: Likewise.
23910 2013-09-06  David S. Miller  <davem@davemloft.net>
23912         * po/zh_TW.po: Update Chinese (traditional) translation from
23913         translation project.
23915 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23916             Joseph Myers  <joseph@codesourcery.com>
23918         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23919         "localeinfo.h".
23920         (obstack_chunk_alloc): New macro.
23921         (obstack_chunk_free): Likewise.
23922         (record_offset): New function.
23923         (init_locale_data): Likewise.
23924         (align_locale_data): Likewise.
23925         (add_locale_empty): Likewise.
23926         (add_locale_raw_data): Likewise.
23927         (add_locale_raw_obstack): Likewise.
23928         (add_locale_string): Likewise.
23929         (add_locale_wstring): Likewise.
23930         (add_locale_uint32): Likewise.
23931         (add_locale_uint32_array): Likewise.
23932         (add_locale_char): Likewise.
23933         (start_locale_structure): Likewise.
23934         (end_locale_structure): Likewise.
23935         (start_locale_prelude): Likewise.
23936         (end_locale_prelude): Likewise.
23937         (write_locale_data): Take locale_file structure rather than an
23938         iovec.
23939         * locale/programs/locfile.h: Include "obstack.h".
23940         (struct locale_file): Change to store locale file contents instead
23941         of header.
23942         (init_locale_data): New prototype.
23943         (align_locale_data): Likewise.
23944         (add_locale_empty): Likewise.
23945         (add_locale_raw_data): Likewise.
23946         (add_locale_raw_obstack): Likewise.
23947         (add_locale_string): Likewise.
23948         (add_locale_wstring): Likewise.
23949         (add_locale_uint32): Likewise.
23950         (add_locale_uint32_array): Likewise.
23951         (add_locale_char): Likewise.
23952         (start_locale_structure): Likewise.
23953         (end_locale_structure): Likewise.
23954         (start_locale_prelude): Likewise.
23955         (end_locale_prelude): Likewise.
23956         (write_locale_data): Update prototype.
23957         * locale/programs/3level.h (struct TABLE): Remove result field.
23958         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23959         Use new locale_file interface.
23960         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23961         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23962         * locale/programs/ld-address.c (address_output): Use new
23963         locale_file interface.
23964         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23965         NO_ADD_LOCALE.
23966         (collate_finish): Don't call collseq_table_finalize.
23967         (collate_output): Use new locale_file interface.
23968         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23969         in file.
23970         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23971         (TABLE): Move defines earlier in file.
23972         (ELEMENT): Likewise.
23973         (DEFAULT): Likewise.
23974         (wctrans_table_add): Move macro and inline function earlier in
23975         file.
23976         (struct wctype_table): Move type earlier in file.
23977         (add_locale_wctype_table): New static prototype.
23978         (struct locale_ctype_t): Use logical types instead of struct iovec
23979         pointers for members.
23980         (ctype_output): Use new locale_file interface.
23981         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23982         new locale_file interface.
23983         (allocate_arrays): Update for use of new locale_file interface.
23984         * locale/programs/ld-identification.c (identification_output): Use
23985         new locale_file interface.
23986         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23987         * locale/programs/ld-messages.c (messages_output): Likewise.
23988         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23989         * locale/programs/ld-name.c (name_output): Likewise.
23990         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23991         * locale/programs/ld-paper.c (paper_output): Likewise.
23992         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23993         * locale/programs/ld-time.c (time_output): Likewise.
23995 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23997         * benchtests/Makefile: Add memrchr benchmark.
23998         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23999         benchmark as memrchr.
24000         * benchtests/bench-memrchr-ifunc.c: New file.
24001         * benchtests/bench-memrchr.c: New file.
24003 2013-09-06   Will Newton  <will.newton@linaro.org>
24005         * benchtests/Makefile (string-bench): Add memcpy.
24007 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
24008             Cong Wang  <amwang@redhat.com>
24010         [BZ #15850]
24011         * sysdeps/unix/sysv/linux/bits/in.h
24012         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24013         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24014         before __USE_KERNEL_IPV6_DEFS uses.
24015         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24016         IPPROTO_BEETPH.
24017         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24018         sockaddr_in6, or ipv6_mreq.
24020 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24022         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24023         memory access for final bytes in some large inputs.
24024         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24026 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24028         * string/test-memrchr.c: New file.
24029         * string/test-memrchr-ifunc.c: New file.
24030         * string/Makefile: Add new memrchr testcase.
24032 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
24034         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24035         fanotify_init returns EPERM.
24037 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24039         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24040         errors.
24041         (top level): Treat second token from macro or constant entries for
24042         allowed headers as allowed.
24043         * include/complex.h: Condition internal declarations on
24044         [!_ISOMAC].
24045         * include/fenv.h: Condition include of <stdbool.h> and internal
24046         declarations on [!_ISOMAC].
24048 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
24050         [BZ #15923]
24051         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24053 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24055         * configure.in (--enable-versioning): Remove configure option.
24056         (libc_cv_asm_symver_directive): Remove configure test.
24057         (libc_cv_ld_version_script_option): Likewise.
24058         (VERSIONING): Remove variable and AC_SUBST.
24059         (DO_VERSIONING): Remove AC_DEFINE.
24060         * configure: Regenerated.
24061         * config.h.in (DO_VERSIONING): Remove macro.
24062         * Makerules [$(versioning) = yes]: Change conditionals to
24063         [$(build-shared) = yes].
24064         * config.make.in (versioning): Remove variable.
24065         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24066         [$(build-shared) = yes].
24067         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24068         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24069         * elf/Makefile [$(versioning) = yes]: Change conditionals to
24070         [$(build-shared) = yes].
24071         * extra-lib.mk [$(versioning) = yes]: Likewise.
24072         * hurd/Makefile [$(versioning) = yes]: Likewise.
24073         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24074         [SHARED].
24075         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24076         [SHARED].
24077         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24078         [SHARED && !NO_HIDDEN].
24079         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24080         [SHARED].
24081         [SHARED && DO_VERSIONING]: Likewise..
24082         * libio/Makefile [$(versioning) = yes]: Change conditionals to
24083         [$(build-shared) = yes].
24084         * manual/install.texi (--disable-versioning): Remove
24085         documentation.
24086         * INSTALL: Regenerated.
24087         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24088         to [SHARED].
24089         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24090         [$(build-shared) = yes].
24091         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24092         * sysdeps/i386/i686/multiarch/strstr-c.c
24093         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24094         [SHARED && !NO_HIDDEN].
24095         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24096         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24097         * sysdeps/powerpc/powerpc32/dl-machine.c
24098         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24099         * sysdeps/powerpc/powerpc32/sysdep.h
24100         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24101         to [SHARED && PIC && !NO_HIDDEN].
24102         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24103         conditional to [SHARED].
24105 2013-09-04   Will Newton  <will.newton@linaro.org>
24107         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24108         * benchtests/bench-string.h: Include bench-timing.h instead
24109         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24110         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24111         call to HP_TIMING_DIFF_INIT.
24112         * benchtests/bench-memccpy.c: Use bench-timing.h macros
24113         instead of hp-timing.h macros.
24114         * benchtests/bench-memchr.c: Likewise.
24115         * benchtests/bench-memcmp.c: Likewise.
24116         * benchtests/bench-memcpy.c: Likewise.
24117         * benchtests/bench-memmem.c: Likewise.
24118         * benchtests/bench-memmove.c: Likewise.
24119         * benchtests/bench-memset.c: Likewise.
24120         * benchtests/bench-rawmemchr.c: Likewise.
24121         * benchtests/bench-strcasecmp.c: Likewise.
24122         * benchtests/bench-strcasestr.c: Likewise.
24123         * benchtests/bench-strcat.c: Likewise.
24124         * benchtests/bench-strchr.c: Likewise.
24125         * benchtests/bench-strcmp.c: Likewise.
24126         * benchtests/bench-strcpy.c: Likewise.
24127         * benchtests/bench-strcpy_chk.c: Likewise.
24128         * benchtests/bench-strlen.c: Likewise.
24129         * benchtests/bench-strncasecmp.c: Likewise.
24130         * benchtests/bench-strncat.c: Likewise.
24131         * benchtests/bench-strncmp.c: Likewise.
24132         * benchtests/bench-strncpy.c: Likewise.
24133         * benchtests/bench-strnlen.c: Likewise.
24134         * benchtests/bench-strpbrk.c: Likewise.
24135         * benchtests/bench-strrchr.c: Likewise.
24136         * benchtests/bench-strspn.c: Likewise.
24137         * benchtests/bench-strstr.c: Likewise.
24139 2013-09-04  Will Newton  <will.newton@linaro.org>
24141         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24143 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
24145         [BZ #15427]
24146         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24147         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24148         * math/libm-test.inc (lgamma_test_data): Add more tests.
24149         * sysdeps/i386/fpu/libm-test-ulps: Update.
24150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24152 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
24154         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24156         Add ifunc.
24157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24158         Add strcmp-sse2-unaligned
24159         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24161 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24163         * Versions.def (libc): Add GLIBC_2.19.
24165 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24167         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24168         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24170 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
24172         [BZ #14155]
24173         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24174         intermediate calculations in recurrence.
24175         (__ieee754_ynf): Likewise.
24176         * math/libm-test.inc (jn_test_data): Do not allow spurious
24177         underflow exception.  Add more tests.
24178         (yn_test_data): Add more tests.
24179         * sysdeps/i386/fpu/libm-test-ulps: Update.
24180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24182 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
24184         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24186 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24188         * csu/init-first.c: Fix then/than typos.
24189         * locale/programs/ld-collate.c: Likewise.
24190         * locale/programs/linereader.h: Likewise.
24191         * manual/charset.texi: Likewise.
24192         * manual/filesys.texi: Likewise.
24193         * manual/stdio.texi: Likewise.
24194         * manual/string.texi: Likewise.
24195         * stdlib/fmtmsg.c: Likewise.
24196         * sysdeps/i386/stpncpy.S: Likewise.
24197         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24198         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24199         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24200         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24202 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24204         * elf/dl-open.c: Fix typos.
24205         * iconvdata/gbbig5.c: Likewise.
24206         * iconvdata/iso-2022-jp.c: Likewise.
24207         * iconv/gconv_int.h: Likewise.
24208         * iconv/loop.c: Likewise.
24209         * nis/rpcsvc/nis.h: Likewise.
24210         * resolv/ns_name.c: Likewise.
24211         * stdio-common/vfscanf.c: Likewise.
24212         * streams/stropts.h: Likewise.
24213         * sunrpc/rpc_thread.c: Likewise.
24214         * sysdeps/i386/strpbrk.S: Likewise.
24215         * sysdeps/ieee754/k_standard.c: Likewise.
24216         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24217         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24218         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24219         * sysdeps/mach/hurd/profil.c: Likewise.
24220         * sysdeps/s390/dl-procinfo.h: Likewise.
24221         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24222         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24223         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24224         * sysdeps/x86_64/dl-trampoline.S: Likewise.
24225         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24227 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
24229         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24230         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24232 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
24234         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24235         aix specific files.
24236         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24237         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24238         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24239         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24240         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24241         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24242         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24243         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24245 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24246             Roland McGrath  <roland@hack.frob.com>
24248         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24249         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24251 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24253         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24254         __executable_start symbol instead of _start.
24256 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24258         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24259         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24260         Move macros to...
24261         * sysdeps/gnu/ldsodefs.h: ... this new file.
24263         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24264         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24265         instead of ELFOSABI_LINUX.
24267         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24268         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24269         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24270         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24271         Likewise.
24272         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24273         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24274         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24275         Likewise.
24276         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24277         (ibm_extended_long_double): Add ieee_nan member.
24278         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24279         (do_test): New function.
24281         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24282         TEST_TRUNC.
24283         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24284         functions, renamed from truncdfsf_test, trunctfsf_test,
24285         trunctfdf_test.
24286         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24287         functions.
24288         (do_test): Run all these.
24290 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24292         * argp/argp-help.c: Fix typos.
24293         * argp/argp-parse.c: Likewise.
24294         * debug/backtracesyms.c: Likewise.
24295         * elf/elf.h: Likewise.
24296         * malloc/malloc.c: Likewise.
24297         * nis/nis_print.c: Likewise.
24298         * resolv/res_comp.c: Likewise.
24299         * stdlib/stdlib.h: Likewise.
24300         * sunrpc/clnt_tcp.c: Likewise.
24301         * sunrpc/clnt_udp.c: Likewise.
24302         * sunrpc/clnt_unix.c: Likewise.
24303         * sysdeps/unix/bsd/ptsname.c: Likewise.
24304         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24305         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24307         Likewise.
24308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24309         Likewise.
24310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24311         Likewise.
24312         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24314 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24316         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24319 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24321         [BZ #15897]
24322         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24323         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24324         ($(objpfx)bug-dl-leaf): New rule.
24325         ($(objpfx)bug-dl-leaf.so): Likewise.
24326         ($(objpfx)bug-dl-leaf.out): Likewise.
24327         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24328         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24329         * dlfcn/bug-dl-leaf.c: New test.
24330         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24331         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24332         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24333         (dlclose): Likewise.
24334         (dlmopen): Likewise.
24336 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24338         * include/netdb.h [!_ISOMAC]:
24339         Don't include <tls.h>.
24340         (h_errno, __libc_h_errno): Move declaration and macros out of
24341         [_LIBC_REENTRANT].
24343         * include/resolv.h [_RESOLV_H_]:
24344         Don't include <tls.h>.
24345         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24346         * resolv/res_libc.c: Don't include <tls.h>.
24347         (_res): Use __attribute__ ((nocommon)) in place of
24348         __attribute__ ((section (".bss"))).
24350         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24351         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24353         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24355         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24356         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24358         * resolv/res_mkquery.c: Include <sys/time.h>.
24360         * inet/ifreq.c: Moved to ...
24361         * sysdeps/unix/ifreq.c: ... here.
24362         * inet/ifreq.c: New file, true stub version.
24364         * socket/sa_len.c: New file.
24365         * socket/Makefile (aux): Add it.
24366         * sysdeps/unix/sysv/linux/Makefile
24367         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24368         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24369         and #include <socket/sa_len.c>.
24370         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24371         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24373         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24374         * bits/socket.h: ... here.
24376         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24377         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24378         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24380 2013-08-27  Andreas Schwab  <schwab@suse.de>
24382         [BZ #15736]
24383         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24384         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24385         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24386         * string/test-strcasecmp.c (test_main): Run tests in several
24387         locales.
24388         * string/test-strncasecmp.c (test_main): Likewise.
24390         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24391         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24392         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24393         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24394         (__strncasecmp_ssse3) [PIC]: Likewise.
24396 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24398         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24400         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24401         instead of explicitly declaring xdecrypt.
24402         * nis/nss_nis/nis-publickey.c: Likewise.
24404 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24406         [BZ #15890]
24407         * nscd/aicache.c: Include res_hconf.h.
24408         (addhstaiX): Initialize res_hconf.
24410 2013-08-26  Andreas Schwab  <schwab@suse.de>
24412         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24413         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24415 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24417         * nscd/aicache.c (addhstaiX): Fix indentation.
24419 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24421         * configure.ac: Quote $build_pt_chown test.
24422         * configure: Regenerated.
24424 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24426         [BZ #15532]
24427         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24428         * math/s_cexpf.c (__cexpf): Likewise.
24429         * math/s_cexpl.c (__cexpl): Likewise.
24430         * math/libm-test.inc (cexp_test_data): Correct expected return
24431         value for NaN + i0.  Add another test.
24433 2013-08-22  David S. Miller  <davem@davemloft.net>
24435         * po/ca.po: Update Catalan translation from translation project.
24436         * po/uk.po: Add Ukrainian translations from translation project.
24438 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
24440         [BZ #15797]
24441         * math/s_fdim.c (__fdim): Check for infinite arguments if result
24442         is infinite, not alongside NaN test.
24443         * math/s_fdimf.c (__fdimf): Likewise.
24444         * math/s_fdiml.c (__fdiml): Likewise.
24445         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
24446         errno is unchanged.
24448 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
24450         * argp/argp-help.c: Fix typos.
24451         * crypt/speeds.c: Likewise.
24452         * csu/check_fds.c: Likewise.
24453         * elf/dl-load.c: Likewise.
24454         * elf/dl-open.c: Likewise.
24455         * elf/reldep3.c: Likewise.
24456         * elf/reldep.c: Likewise.
24457         * elf/sprof.c: Likewise.
24458         * iconv/iconv_charmap.c: Likewise.
24459         * iconv/skeleton.c: Likewise.
24460         * iconv/strtab.c: Likewise.
24461         * io/lockf64.c: Likewise.
24462         * libio/libioP.h: Likewise.
24463         * resolv/gai_notify.c: Likewise.
24464         * resolv/ns_name.c: Likewise.
24465         * resolv/ns_samedomain.c: Likewise.
24466         * resolv/res_send.c: Likewise.
24467         * stdlib/random.c: Likewise.
24468         * sunrpc/rpc/xdr.h: Likewise.
24469         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24470         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24471         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24472         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24473         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24474         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24475         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24476         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24477         * sysdeps/mach/hurd/check_fds.c: Likewise.
24478         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24479         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24480         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24481         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24482         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24483         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24484         * sysdeps/pthread/aio_notify.c: Likewise.
24485         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24486         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24487         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24488         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24489         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24491 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24493         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24494         version if bit_Slow_SSE4_2 is set.
24495         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24496         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24498 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24500         [BZ #15867]
24501         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24502         trampoline stack frame information.
24503         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24504         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24505         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24506         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24507         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24508         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24509         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24510         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24511         sa_flags value.
24512         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24513         interrupting a syscall and set with option SA_SIGINFO.
24515 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24517         [BZ #15531]
24518         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24519         argument is infinite.
24520         * math/s_cprojf.c (__cprojf): Likewise.
24521         * math/s_cprojl.c (__cprojl): Likewise.
24522         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24523         * math/libm-test.inc (cproj_test_data): Add more tests.
24525         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24527         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24528         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24529         size.  Use __ffs to determine corresponding shift.
24531 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24532             Roland McGrath  <roland@hack.frob.com>
24534         * Makefile (INSTALL): Remove trailing blank lines from output of
24535         makeinfo.
24537 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24539         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24540         Align 32 bit compat elf_greg to 8 bytes.
24542 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24544         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24546 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24548         * string/strcoll_l.c (coll_seq): New structure.
24549         (get_next_seq_cached): New function.
24550         (get_next_seq): New function.
24551         (do_compare): New function.
24552         (STRCOLL): Use GNU style definition.  Simplify implementation
24553         by using get_next_seq, get_next_seq_cached and do_compare.
24555 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24557         [BZ #14699]
24558         CVE-2013-4237
24559         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24560         member.
24561         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24562         member.
24563         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24564         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24565         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24566         conditional.
24567         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24568         GETDENTS_64BIT_ALIGNED.
24569         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24570         * manual/filesys.texi (Reading/Closing Directory): Document
24571         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24572         strongly.
24573         * manual/conf.texi (Limits for Files): Add portability note to
24574         NAME_MAX, PATH_MAX.
24575         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24577 2013-08-13  Andreas Schwab  <schwab@suse.de>
24579         [BZ #15749]
24580         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24581         of fabs.
24582         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24583         LDBL_MAX_EXP >= 16384]: Add tests for it.
24585 2013-08-12  David S. Miller  <davem@davemloft.net>
24587         * version.h (RELEASE): Set to "development".
24588         (VERSION): Set to "2.18.90".
24589         * NEWS: Add 2.19 section.
24591 2013-08-03  David S. Miller  <davem@davemloft.net>
24593         * po/ko.po: Update Korean translation from translation project.
24595 2013-08-01  David S. Miller  <davem@davemloft.net>
24597         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24598         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24599         Bilka.
24601 2013-07-30  David S. Miller  <davem@davemloft.net>
24603         * po/fr.po: Update French translation from translation project.
24605 2013-07-28  David S. Miller  <davem@davemloft.net>
24607         * po/cs.po: Update Czech translation from translation project.
24609         * po/sv.po: Update Swedish translation from translation project.
24611 2013-07-27  David S. Miller  <davem@davemloft.net>
24613         * po/eo.po: Update Esperanto translation from translation project.
24615         * po/vi.po: Update Vietnamese translation from translation project.
24617         * po/de.po: Update German translation from translation project.
24619 2013-07-26  David S. Miller  <davem@davemloft.net>
24621         * po/bg.po: Update Bulgarian translation from translation project.
24623         * po/nl.po: Update Dutch translation from translation project.
24624         * po/pl.po: Update Polish translation from translation project.
24625         * po/ru.po: Update Russian translation from translation project.
24627 2013-07-24  David S. Miller  <davem@davemloft.net>
24629         * po/libc.pot: Update.
24631 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24633         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24634         variable page size.
24635         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24636         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24637         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24639 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24641         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24643 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24644             Andreas Schwab  <schwab@suse.de>
24645             Roland McGrath  <roland@hack.frob.com>
24646             Joseph Myers  <joseph@codesourcery.com>
24647             Carlos O'Donell  <carlos@redhat.com>
24649         [BZ #15755]
24650         * config.h.in: Define HAVE_PT_CHOWN.
24651         * config.make.in (build-pt-chown): New variable.
24652         * configure.in (--enable-pt_chown): New configure option.
24653         * configure: Regenerate.
24654         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24655         build-pt-chown is enabled.
24656         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24657         pt_chown to fix pty ownership.
24658         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24659         CLOSE_ALL_FDS.
24660         * manual/install.texi (Configuring and compiling): Mention
24661         --enable-pt_chown. Add @findex for grantpt.
24662         * INSTALL: Regenerate.
24664 2013-07-20  David S. Miller  <davem@davemloft.net>
24666         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24667         difference between 32-bit and 64-bit.
24669 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24671         [BZ #15711]
24672         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24673         Avoid system header dependency with -ffreestanding.
24674         ($(objpfx)bits/syscall%d): Likewise.
24676 2013-07-13  David S. Miller  <davem@davemloft.net>
24678         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24679         underflows from atanl/atan2l due to bug 15319.
24680         (casinh_test_data): Likewise.
24682 2013-07-07  David S. Miller  <davem@davemloft.net>
24684         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24686 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24688         * sysdeps/i386/fpu/libm-test-ulps: Update.
24689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24691 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24693         * configure.in (--enable-lock-elision): Fix message text.
24694         * INSTALL: Regenerate.
24695         * configure: Regenerate.
24697 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24701 2013-07-03  Andreas Jaeger  <aj@suse.de>
24703         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24704         define.
24705         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24706         (ptrace_peeksiginfo_args): Add.
24707         (__ptrace_peeksiginfo_flags): Add.
24708         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24709         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24710         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24712 2013-07-03  Allan McRae  <allan@archlinux.org>
24714         * sysdeps/i386/fpu/libm-test-ulps: Update.
24716 2013-07-02  David S. Miller  <davem@davemloft.net>
24718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24720 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24724 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24726         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24729 2013-07-02  Andi Kleen <ak@linux.intel.com>
24731         * config.h.in (ENABLE_LOCK_ELISION): Add.
24732         * configure.in (--enable-lock-elision): Add option.
24733         * manual/install.texi: Document --enable lock elision.
24734         * configure: Regenerate
24735         * INSTALL: Regenerate.
24737 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24739         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24740         SSE4.2 strcasecmp for libc.a.
24741         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24743 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24745         [BZ #13304]
24746         * soft-fp/op-common.h (_FP_FMA): New macro.
24747         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24748         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24749         (_FP_MUL_MEAT_1_imm): ... here.
24750         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24751         (_FP_MUL_MEAT_1_wide): ... here.
24752         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24753         (_FP_MUL_MEAT_1_hard): ... here.
24754         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24755         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24756         (_FP_MUL_MEAT_2_wide): ... here.
24757         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24758         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24759         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24760         (_FP_MUL_MEAT_2_gmp): ... here.
24761         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24762         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24763         (_FP_MUL_MEAT_4_wide): ... here.
24764         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24765         (_FP_MUL_MEAT_4_gmp): ... here.
24766         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24767         (_FP_WFRACBITS_DW_S): Likewise.
24768         (_FP_WFRACXBITS_DW_S): Likewise.
24769         (_FP_HIGHBIT_DW_S): Likewise.
24770         (FP_FMA_S): Likewise.
24771         (_FP_FRAC_HIGH_DW_S): Likewise.
24772         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24773         (_FP_WFRACBITS_DW_D): Likewise.
24774         (_FP_WFRACXBITS_DW_D): Likewise.
24775         (_FP_HIGHBIT_DW_D): Likewise.
24776         (FP_FMA_D): Likewise.
24777         (_FP_FRAC_HIGH_DW_D): Likewise.
24778         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24779         (_FP_WFRACBITS_DW_E): Likewise.
24780         (_FP_WFRACXBITS_DW_E): Likewise.
24781         (_FP_HIGHBIT_DW_E): Likewise.
24782         (FP_FMA_E): Likewise.
24783         (_FP_FRAC_HIGH_DW_E): Likewise.
24784         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24785         (_FP_WFRACBITS_DW_Q): Likewise.
24786         (_FP_WFRACXBITS_DW_Q): Likewise.
24787         (_FP_HIGHBIT_DW_Q): Likewise.
24788         (FP_FMA_Q): Likewise.
24789         (_FP_FRAC_HIGH_DW_Q): Likewise.
24790         * soft-fp/fmasf4.c: New file.
24791         * soft-fp/fmadf4.c: Likewise.
24792         * soft-fp/fmatf4.c: Likewise.
24794 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24796         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24797         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24798         Silvermont.
24799         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24800         macro.
24801         (index_Slow_SSE4_2): Likewise.
24802         (index_Prefer_PMINUB_for_stringop): Likewise.
24803         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24804         bit_Slow_SSE4_2 is set.
24805         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24806         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24808 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24810         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24811         rtld_global._dl_hwcap2.
24812         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24813         POWER8.
24814         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24815         POWER8 feature descriptions defined in _dl_hwcap2.
24816         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24817         string handling for POWER8 feature bits.
24818         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24819         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24820         _dl_powerpc_cap_flags.
24821         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24822         * sysdeps/powerpc/rtld-global-offsets.sym
24823         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24824         _dl_hwcap2 in the rtld_global_ro structure.
24826 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24828         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24829         hardware capabilities in support of AT_HWCAP2.
24830         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24831         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24832         GLRO(dl_hwcap2).
24833         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24834         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24835         explicitly the unknown a_type display mechanism is used.
24836         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24837         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24838         struct member.
24839         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24840         to macro prototype for AT_HWCAP2 support.
24841         * sysdeps/i386/dl-procinfo.h: Likewise.
24842         * sysdeps/s390/dl-procinfo.h: Likewise.
24843         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24844         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24845         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24846         return -1 for unknown a_type display fallback.
24847         * sysdeps/sparc/dl-procinfo.h: Likewise.
24848         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24849         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24851 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24853         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24854         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24856 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24858         [BZ #12492]
24859         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24860         mprotect making __stack_prot writable.
24862 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24863             Joseph Myers  <joseph@codesourcery.com>
24865         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24866         as being properly aligned.
24868 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24870         * dlfcn/modstatic5.c: New file.
24871         * dlfcn/tststatic5.c: New file.
24872         * dlfcn/Makefile (tests): Add tststatic5.
24873         (tests-static): Likewise.
24874         (modules-names): Add modstatic5.
24875         (tststatic5-ENV): New variable.
24876         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24878         [BZ #15022]
24879         * elf/dl-support.c (_dl_main_map): New variable.
24880         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24881         (_dl_nns, _dl_load_adds): Set to 1.
24882         (_dl_initial_searchlist): Refer to _dl_main_map.
24883         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24884         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24885         call to _dl_get_origin.
24886         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24887         around call_map.
24888         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24889         * dlfcn/modstatic3.c: New file.
24890         * dlfcn/tststatic3.c: New file.
24891         * dlfcn/tststatic4.c: New file.
24892         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24893         (tests-static): Likewise.
24894         (modules-names): Add modstatic3.
24895         (tststatic3-ENV, tststatic4-ENV): New variables.
24896         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24897         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24899 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24901         * configure.in (CC): Require GCC version 4.4 or later.
24902         * configure: Regenerated.
24903         * manual/install.texi (Tools for Compilation): Update GCC version
24904         requirement.
24905         * INSTALL: Regenerated.
24907 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24909         [BZ #15674]
24910         * string/test-memcmp.c (check2): New.
24911         (main): Call check2.
24913         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24915 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24917         [BZ #15022]
24918         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24919         over to...
24920         (dl_open_worker) [!SHARED]: ... here.
24922 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24924         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24926 2013-06-25  Richard Henderson  <rth@redhat.com>
24928         * locale/programs/locarchive.c: Include <libc-internal.h>
24930 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24932         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24933         trailing whitespace removed.
24935 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24937         [BZ #10283]
24938         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24939         * locale/programs/locarchive.c: Include libc-mmap.h.
24940         (prepare_address_space): Take two new outputs (the mmap base and len).
24941         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24942         values.
24943         (create_archive): Declare new mmap base and len values for
24944         prepare_address_space, and store the result in ah.
24945         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24946         (enlarge_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         Declare new mmap base and len values for
24949         prepare_address_space, and store the result in new_ah.
24950         (open_archive): Declare new mmap base and len values for
24951         prepare_address_space, and store the result in ah.
24952         (close_archive): If ah->mmap_base is not NULL, use that and
24953         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24954         * sysdeps/generic/libc-mmap.h: New file.
24956 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24958         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24959         (ALIGN_UP): Likewise.
24960         (PTR_ALIGN_DOWN): Likewise.
24961         (PTR_ALIGN_UP): Likewise.
24963 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24965         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24966         entry mapped to PPC_PLATFORM_POWER8.
24967         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24968         POWER8.
24969         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24970         (_dl_string_platform): Add case for exporting platform position for
24971         POWER8.
24972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24973         search path to sysdeps/powerpc/powerpc32/power8 directory.
24974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24975         search path to sysdeps/powerpc/powerpc64/power8 directory.
24976         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24977         power7 directories.
24978         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24979         power7 directories.
24981 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24983         * INSTALL: Regenerate.
24985         * nscd/connections.c (nscd_init): Fix comment.
24987 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24989         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24991         [BZ #15667]
24992         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24993         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24995 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24997         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24998         DL_DST_REQ_STATIC.
24999         (DL_DST_REQ_STATIC): Remove macro.
25001 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
25003         [BZ #7006]
25004         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25005         with a shift of 0 bits.
25007 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25009         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25010         $(tststatic-ENV).
25012 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25014         [BZ #15655]
25015         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25017 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25019         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25020         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25021         accepts -fno-tree-loop-distribute-patterns.
25022         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25023         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25024         recursive call.
25025         * string/memset.c (memset): Likewise.
25026         * string/test-memmove.c (simple_memmove): Disable loop transformation
25027         to library calls.
25028         * string/test-memset.c (simple_memset): Likewise.
25029         * benchtests/bench-memmove.c (simple_memmove): Likewise.
25030         * benchtests/bench-memset.c (simple_memset): Likewise.
25031         * configure: Regenerated.
25033 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
25035         * math/test-misc.c (main): Ignore fesetround failure when failures
25036         of subsequent rounding tests would be ignored.
25038         [BZ #15654]
25039         * math/fedisblxcpt.c (fedisableexcept): Return 0.
25040         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25041         * math/fegetenv.c (__fegetenv): Return 0.
25042         * math/fegetexcept.c (fegetexcept): Return 0.
25043         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25044         FE_TONEAREST.
25045         * math/feholdexcpt.c (feholdexcept): Return 0.
25046         * math/fesetenv.c (__fesetenv): Return 0.
25047         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25048         argument FE_TONEAREST.
25049         * math/feupdateenv.c (__feupdateenv): Return 0.
25050         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25052 2013-06-18  Roland McGrath  <roland@hack.frob.com>
25054         * elf/rtld-Rules (rtld-compile-command.S): New variable.
25055         (rtld-compile-command.s, rtld-compile-command.c): New variables.
25056         ($(objpfx)rtld-%.os rules): Use them.
25058 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25060         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25061         fields.
25063 2013-06-17  Roland McGrath  <roland@hack.frob.com>
25065         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25066         length of target pattern, then descending length of dependency pattern.
25067         * configure.in (AWK): Require gawk 3.1.2 or newer.
25068         * manual/install.texi (Tools for Compilation): Say that we do.
25069         * configure: Regenerated.
25071         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25072         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25073         * scripts/sysd-rules.awk: ... this new script.
25074         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25075         than a glob-style pattern.
25077 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
25079         * math/test-misc.c (main): Do not treat incorrectly rounded
25080         conversions as failure unless ROUNDING_TESTS passes.
25082 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
25084         [BZ #15631]
25085         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25086         restore exception state around main square root computation, then
25087         check for inexactness explicitly.
25089         * math/libm-test.inc (fma_test_data): Add another test.
25091 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25093         * manual/threads.texi (Non-POSIX Extensions): New document
25094         node.  Document pthread_getattr_default_np and
25095         pthread_setattr_default_np.
25097         * Versions.def (libpthread): Add GLIBC_2.18.
25098         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25100         Likewise.
25101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25102         Likewise.
25103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25104         Likewise.
25105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25106         Likewise.
25107         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25108         Likewise.
25109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25110         Likewise.
25111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25112         Likewise.
25113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25114         Likewise.
25115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25116         Likewise.
25118 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25121         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25123 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25124             H.J. Lu  <hjl.tools@gmail.com>
25126         [BZ #15627]
25127         * sysdeps/x86_64/rtld-memset.c: Remove file.
25128         * sysdeps/x86_64/rtld-memset.S: New file.
25130 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
25132         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25133         (test_in_one_mode): Take arguments for whether the rounding mode
25134         is supported for each floating-point type.
25135         (do_test): Pass new arguments to test_in_one_mode using
25136         ROUNDING_TESTS.
25138 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25140         * posix/tst-waitid.c (do_test): Distinguish different instances of
25141         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
25142         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25143         before entering the kernel for waitpid.
25145 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25147         * NEWS: Fix note on clock function precision.  Text by Roland
25148         McGrath.
25150 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25152         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25153         it into place only when and if the sanity check passes.
25155 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
25157         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25158         output for whether conversion result is exact.  Take argument
25159         indicating whether type is IBM long double.
25160         (round_for_all): Change need_exact field to ibm_ld.
25161         * stdlib/tst-strtod-round.c (struct exactness): New type.
25162         (struct test): Change bool ld_ok field to struct exactness exact.
25163         (TEST): Update all definitions for change to field.
25164         (tests): Regenerate array contents.
25165         (test_in_one_mode): Take pointer to new field instead of old ld_ok
25166         field value.  Check for IBM long double here.
25167         (do_test): Update calls to test_in_one_mode.
25169 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25171         [BZ #12515]
25172         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25173         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25175 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25177         [BZ #15605]
25178         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25179         generated by the compiler on loop optimizations.
25180         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25181         general definitions.
25183 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
25185         * math/bug-nextafter.c: Include <math-tests.h>.
25186         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25187         the relevant type.
25188         * math/bug-nexttoward.c: Include <math-tests.h>.
25189         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25190         the relevant type.
25191         * math/test-misc.c: Include <math-tests.h>.
25192         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25193         the relevant type.
25195 2013-06-12  Andreas Jaeger  <aj@suse.de>
25197         * po/ia.po: Update Interlingua translation from translation
25198         project.
25200 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25202         * include/fenv.h: Include stdbool.h.
25203         (struct rm_ctx): New structure.
25204         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25205         Define macro.
25206         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25207         (SET_RESTORE_ROUNDF): Likewise.
25208         (SET_RESTORE_ROUNDL): Likewise.
25209         (SET_RESTORE_ROUND_NOEX): Likewise.
25210         (SET_RESTORE_ROUND_NOEXF): Likewise.
25211         (SET_RESTORE_ROUND_NOEXL): Likewise.
25212         (SET_RESTORE_ROUND_53BIT): Likewise.
25213         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25214         (libc_feresetround_noexf_ctx): Likewise.
25215         (libc_feresetround_noexl_ctx): Likewise.
25216         (libc_feholdsetround_53bit_ctx): Likewise.
25217         (libc_feresetround_53bit_ctx): Likewise.
25218         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25219         (libc_feholdexcept_setround_sse_ctx): New function.
25220         (libc_fesetenv_sse_ctx): Likewise.
25221         (libc_feupdateenv_sse_ctx): Likewise.
25222         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25223         (libc_feholdexcept_setround_387_ctx): Likewise.
25224         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25225         (libc_feholdsetround_387_prec_ctx): Likewise.
25226         (libc_feholdsetround_387_ctx): Likewise.
25227         (libc_feholdsetround_387_53bit_ctx): Likewise.
25228         (libc_feholdsetround_sse_ctx): Likewise.
25229         (libc_feresetround_sse_ctx): Likewise.
25230         (libc_feresetround_387_ctx): Likewise.
25231         (libc_feupdateenv_387_ctx): Likewise.
25232         (libc_feholdexcept_setroundf_ctx): Define macro.
25233         (libc_fesetenvf_ctx): Likewise.
25234         (libc_feupdateenvf_ctx): Likewise.
25235         (libc_feholdsetroundf_ctx): Likewise.
25236         (libc_feresetroundf_ctx): Likewise.
25237         (libc_feholdexcept_setround_ctx): Likewise.
25238         (libc_fesetenv_ctx): Likewise.
25239         (libc_feupdateenv_ctx): Likewise.
25240         (libc_feholdsetround_ctx): Likewise.
25241         (libc_feresetround_ctx): Likewise.
25242         (libc_feholdexcept_setroundl_ctx): Likewise.
25243         (libc_feupdateenvl_ctx): Likewise.
25244         (libc_feholdsetroundl_ctx): Likewise.
25245         (libc_feresetroundl_ctx): Likewise.
25246         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25247         (libc_feresetround_53bit_ctx): Likewise.
25249 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25251         * locale/iso-639.def: Convert to UTF-8.
25253 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
25255         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25256         (EXCEPTION_TESTS_double): Likewise.
25257         (EXCEPTION_TESTS_long_double): Likewise.
25258         (EXCEPTION_TESTS): Likewise.
25259         * math/libm-test.inc (test_exceptions): Only test exceptions if
25260         EXCEPTION_TESTS (FLOAT).
25262 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25264         * benchtests/Makefile (string-bench): Add strcpy_chk and
25265         stpcpy_chk.
25266         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25267         * benchtests/bench-stpcpy_chk.c: New file.
25268         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25269         * benchtests/bench-strcpy_chk.c: New file.
25270         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25271         code.
25272         (do_test): Likewise.
25274 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25276         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25277         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25278         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25279         with tabs where appropriate.
25280         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25281         dl-procinfo.h.
25282         [PPC_PLATFORM_PPC440]: Likewise.
25283         [PPC_PLATFORM_PPC464]: Likewise.
25284         [PPC_PLATFORM_PPC476]: Likewise.
25285         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25286         ppc464, and ppc476 platform strings merging from ports/
25287         dl-procinfo.h.
25289 2013-06-11  Andreas Schwab  <schwab@suse.de>
25291         [BZ #14991]
25292         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25293         (from_ucs4_idx): Regenerate.
25294         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25295         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25296         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25297         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25298         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25299         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25300         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25301         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25302         from FROM_LOOP and TO_LOOP specific macros.
25303         (BODY): Handle combining characters.
25304         * iconvdata/BIG5HKSCS.irreversible: Update.
25305         * iconvdata/BIG5HKSCS.precomposed: New file.
25306         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25307         characters.
25308         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25310 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25312         * include/sys/time.h: Fix indentation and add copyright header.
25314         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25315         (do_test): Likewise.
25316         * string/test-memchr.c (do_one_test): Likewise.
25317         (do_test): Likewise.
25318         * string/test-memcmp.c (do_one_test): Likewise.
25319         (do_test): Likewise.
25320         * string/test-memcpy.c (do_one_test): Likewise.
25321         (do_test): Likewise.
25322         * string/test-memmem.c (do_one_test): Likewise.
25323         (do_test): Likewise.
25324         (do_random_tests): Likewise.
25325         * string/test-memmove.c (do_one_test): Likewise.
25326         (do_test): Likewise.
25327         * string/test-memset.c (do_one_test): Likewise.
25328         (do_test): Likewise.
25329         * string/test-rawmemchr.c (do_one_test): Likewise.
25330         (do_test): Likewise.
25331         * string/test-strcasecmp.c (do_one_test): Likewise.
25332         (do_test): Likewise.
25333         * string/test-strcasestr.c (do_one_test): Likewise.
25334         (do_test): Likewise.
25335         * string/test-strcat.c (do_one_test): Likewise.
25336         (do_test): Likewise.
25337         * string/test-strchr.c (do_one_test): Likewise.
25338         (do_test): Likewise.
25339         * string/test-strcmp.c (do_one_test): Likewise.
25340         (do_test): Likewise.
25341         * string/test-strcpy.c (do_one_test): Likewise.
25342         (do_test): Likewise.
25343         * string/test-string.h: Likewise.
25344         (test_init): Likewise.
25345         * string/test-strlen.c (do_one_test): Likewise.
25346         (do_test): Likewise.
25347         * string/test-strncasecmp.c (do_one_test): Likewise.
25348         (do_test): Likewise.
25349         * string/test-strncat.c (do_one_test): Likewise.
25350         (do_test): Likewise.
25351         * string/test-strncmp.c (do_one_test): Likewise.
25352         (do_test_limit): Likewise.
25353         (do_test): Likewise.
25354         * string/test-strncpy.c (do_one_test): Likewise.
25355         (do_test): Likewise.
25356         * string/test-strnlen.c (do_one_test): Likewise.
25357         (do_test): Likewise.
25358         * string/test-strpbrk.c (do_one_test): Likewise.
25359         (do_test): Likewise.
25360         * string/test-strrchr.c (do_one_test): Likewise.
25361         (do_test): Likewise.
25362         * string/test-strspn.c (do_one_test): Likewise.
25363         (do_test): Likewise.
25364         * string/test-strstr.c (do_one_test): Likewise.
25365         (do_test): Likewise.
25367         * benchtests/Makefile (string-bench): Add string benchmarks.
25368         * benchtests/bench-bcopy-ifunc.c: New file.
25369         * benchtests/bench-bcopy.c: New file.
25370         * benchtests/bench-bzero-ifunc.c: New file.
25371         * benchtests/bench-bzero.c: New file.
25372         * benchtests/bench-memccpy-ifunc.c: New file.
25373         * benchtests/bench-memccpy.c: New file.
25374         * benchtests/bench-memchr-ifunc.c: New file.
25375         * benchtests/bench-memchr.c: New file.
25376         * benchtests/bench-memcmp-ifunc.c: New file.
25377         * benchtests/bench-memcmp.c: New file.
25378         * benchtests/bench-memmem-ifunc.c: New file.
25379         * benchtests/bench-memmem.c: New file.
25380         * benchtests/bench-memmove-ifunc.c: New file.
25381         * benchtests/bench-memmove.c: New file.
25382         * benchtests/bench-mempcpy-ifunc.c: New file.
25383         * benchtests/bench-mempcpy.c: New file.
25384         * benchtests/bench-memset-ifunc.c: New file.
25385         * benchtests/bench-memset.c: New file.
25386         * benchtests/bench-rawmemchr-ifunc.c: New file.
25387         * benchtests/bench-rawmemchr.c: New file.
25388         * benchtests/bench-stpcpy-ifunc.c: New file.
25389         * benchtests/bench-stpcpy.c: New file.
25390         * benchtests/bench-stpncpy-ifunc.c: New file.
25391         * benchtests/bench-stpncpy.c: New file.
25392         * benchtests/bench-strcasecmp-ifunc.c: New file.
25393         * benchtests/bench-strcasecmp.c: New file.
25394         * benchtests/bench-strcasestr-ifunc.c: New file.
25395         * benchtests/bench-strcasestr.c: New file.
25396         * benchtests/bench-strcat-ifunc.c: New file.
25397         * benchtests/bench-strcat.c: New file.
25398         * benchtests/bench-strchr-ifunc.c: New file.
25399         * benchtests/bench-strchr.c: New file.
25400         * benchtests/bench-strchrnul-ifunc.c: New file.
25401         * benchtests/bench-strchrnul.c: New file.
25402         * benchtests/bench-strcmp-ifunc.c: New file.
25403         * benchtests/bench-strcmp.c: New file.
25404         * benchtests/bench-strcpy-ifunc.c: New file.
25405         * benchtests/bench-strcpy.c: New file.
25406         * benchtests/bench-strcspn-ifunc.c: New file.
25407         * benchtests/bench-strcspn.c: New file.
25408         * benchtests/bench-strlen-ifunc.c: New file.
25409         * benchtests/bench-strlen.c: New file.
25410         * benchtests/bench-strncasecmp-ifunc.c: New file.
25411         * benchtests/bench-strncasecmp.c: New file.
25412         * benchtests/bench-strncat-ifunc.c: New file.
25413         * benchtests/bench-strncat.c: New file.
25414         * benchtests/bench-strncmp-ifunc.c: New file.
25415         * benchtests/bench-strncmp.c: New file.
25416         * benchtests/bench-strncpy-ifunc.c: New file.
25417         * benchtests/bench-strncpy.c: New file.
25418         * benchtests/bench-strnlen-ifunc.c: New file.
25419         * benchtests/bench-strnlen.c: New file.
25420         * benchtests/bench-strpbrk-ifunc.c: New file.
25421         * benchtests/bench-strpbrk.c: New file.
25422         * benchtests/bench-strrchr-ifunc.c: New file.
25423         * benchtests/bench-strrchr.c: New file.
25424         * benchtests/bench-strspn-ifunc.c: New file.
25425         * benchtests/bench-strspn.c: New file.
25426         * benchtests/bench-strstr-ifunc.c: New file.
25427         * benchtests/bench-strstr.c: New file.
25429         * benchtests/Makefile: Disable parallel execution of targets.
25430         (string-bench): Add memcpy.
25431         (benchset): New variable to store a list of benchmark sets.
25432         (bench-func): Renamed from bench.
25433         (bench-set): New target.
25434         (bench): Depend on bench-func and bench-set.
25435         * benchtests/README: Add section on benchmark sets.
25436         * benchtests/bench-memcpy-ifunc.c: New file.
25437         * benchtests/bench-memcpy.c: New file.
25438         * benchtests/bench-string.h: New file.
25440 2013-06-11  Andreas Schwab  <schwab@suse.de>
25442         [BZ #15577]
25443         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25444         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25445         values in the triple.
25446         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25447         terminator in the group key.
25449 2013-06-11  Andreas Jaeger  <aj@suse.de>
25451         * po/zh_TW.po: Update Chinese (traditional) translation from
25452         translation project.
25454 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25456         * include/time.h (__clock_gettime): Add libc_hidden_proto.
25457         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25458         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
25459         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25460         (clock_getcpuclockid): Likewise.
25461         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25462         Add weak_alias and libc_hidden_def.
25463         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25464         * rt/clock_gettime.c (clock_gettime): Rename to
25465         __clock_gettime.  Add weak_alias and libc_hidden_def.
25466         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25467         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25468         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
25469         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25470         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25471         Likewise.
25472         * rt/clock_settime.c (clock_settime): Rename to
25473         __clock_settime.  Add weak_alias and libc_hidden_def.
25474         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25476 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
25478         * mach/err_boot.sub: Remove trailing whitespace.
25479         * mach/err_ipc.sub: Likewise.
25480         * mach/err_mach.sub: Likewise.
25482         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25483         (ROUNDING_TESTS_double): Likewise.
25484         (ROUNDING_TESTS_long_double): Likewise.
25485         (ROUNDING_TESTS): Likewise.
25486         * math/libm-test.inc: Include <math-tests.h>.
25487         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25488         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25489         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25490         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25492 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25494         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25495         of assigning.
25497 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
25499         * sysdeps/gnu/errlist.awk: Do not generate space at end of
25500         otherwise empty TRANS lines.
25501         * sysdeps/gnu/errlist.c: Regenerated.
25503         * catgets/gencat.c (error_print): Use (void) in function
25504         definition.
25505         * crypt/crypt_util.c (__init_des): Likewise.
25506         * crypt/speeds.c (Stop): Likewise.
25507         (main): Likewise.
25508         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25509         * inet/ruserpass.c (token): Likewise.
25510         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25511         * intl/localealias.c (extend_alias_table): Likewise.
25512         * intl/plural-exp.c (init_germanic_plural): Likewise.
25513         * libio/fcloseall.c (__fcloseall): Likewise.
25514         * libio/genops.c (_IO_flush_all): Likewise.
25515         (_IO_flush_all_linebuffered): Likewise.
25516         (_IO_cleanup): Likewise.
25517         (_IO_iter_begin): Likewise.
25518         (_IO_iter_end): Likewise.
25519         (_IO_list_lock): Likewise.
25520         (_IO_list_unlock): Likewise.
25521         (_IO_list_resetlock): Likewise.
25522         * libio/getchar.c (getchar): Likewise.
25523         * libio/getchar_u.c (getchar_unlocked): Likewise.
25524         * libio/getwchar.c (getwchar): Likewise.
25525         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25526         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25527         * login/getpt.c (__getpt): Likewise.
25528         * login/tst-utmp.c (main): Likewise.
25529         * malloc/hooks.c (__malloc_check_init): Likewise.
25530         * malloc/malloc.c (__malloc_stats): Likewise.
25531         * malloc/mtrace.c (tr_break): Likewise.
25532         (mtrace): Likewise.
25533         (muntrace): Likewise.
25534         * misc/fstab.c (endfsent): Likewise.
25535         * misc/getclktck.c (__getclktck): Likewise.
25536         * misc/getdtsz.c (__getdtablesize): Likewise.
25537         * misc/gethostid.c (gethostid): Likewise.
25538         * misc/getpagesize.c (__getpagesize): Likewise.
25539         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25540         (__get_nprocs): Likewise.
25541         (__get_phys_pages): Likewise.
25542         (__get_avphys_pages): Likewise.
25543         * misc/getttyent.c (getttyent): Likewise.
25544         (setttyent): Likewise.
25545         (endttyent): Likewise.
25546         * misc/getusershell.c (getusershell): Likewise.
25547         (endusershell): Likewise.
25548         (setusershell): Likewise.
25549         (initshells): Likewise.
25550         * misc/hsearch.c (__hdestroy): Likewise.
25551         * misc/sync.c (sync): Likewise.
25552         * misc/syslog.c (closelog_internal): Likewise.
25553         (closelog): Likewise.
25554         * misc/ttyslot.c (ttyslot): Likewise.
25555         * misc/vhangup.c (vhangup): Likewise.
25556         * posix/fork.c (__fork): Likewise.
25557         * posix/getegid.c (__getegid): Likewise.
25558         * posix/geteuid.c (__geteuid): Likewise.
25559         * posix/getgid.c (__getgid): Likewise.
25560         * posix/getpid.c (__getpid): Likewise.
25561         * posix/getppid.c (__getppid): Likewise.
25562         * posix/getuid.c (__getuid): Likewise.
25563         * posix/pause.c (pause): Likewise.
25564         * posix/setpgrp.c (setpgrp): Likewise.
25565         * posix/setsid.c (__setsid): Likewise.
25566         * posix/test-vfork.c (noop): Likewise.
25567         * resolv/gethnamaddr.c (_endhtent): Likewise.
25568         (_gethtent): Likewise.
25569         (ht_endhostent): Likewise.
25570         (gethostent): Likewise.
25571         (dns_service): Likewise.
25572         * stdlib/drand48.c (drand48): Likewise.
25573         * stdlib/lrand48.c (lrand48): Likewise.
25574         * stdlib/mrand48.c (mrand48): Likewise.
25575         * stdlib/rand.c (rand): Likewise.
25576         * stdlib/random.c (__random): Likewise.
25577         * stdlib/setenv.c (clearenv): Likewise.
25578         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25579         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25580         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25581         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25582         (__get_nprocs): Likewise.
25583         (__get_phys_pages): Likewise.
25584         (__get_avphys_pages): Likewise.
25585         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25586         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25587         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25588         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25589         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25590         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25591         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25592         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25593         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25594         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25595         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25596         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25597         * sysdeps/posix/clock.c (clock): Likewise.
25598         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25599         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25600         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25601         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25602         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25603         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25604         (__get_nprocs_conf): Likewise.
25605         (__get_phys_pages): Likewise.
25606         (__get_avphys_pages): Likewise.
25607         * time/clock.c (clock): Likewise.
25608         * time/tzset.c (__tzname_max): Likewise.
25610 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25612         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25613         (__bswap_32): Do not use "register".
25614         * crypt/crypt.c (_ufc_doit_r): Likewise.
25615         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25616         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25617         * gmon/gmon.c (__monstartup): Likewise.
25618         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25619         * hurd/hurdmalloc.c (more_memory): Likewise.
25620         (malloc): Likewise.
25621         (free): Likewise.
25622         (realloc): Likewise.
25623         (malloc_fork_prepare): Likewise.
25624         (malloc_fork_parent): Likewise.
25625         (malloc_fork_child): Likewise.
25626         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25627         (_svcauth_des): Likewise.
25628         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25629         * inet/inet_net.c (inet_network): Likewise.
25630         * inet/inet_netof.c (inet_netof): Likewise.
25631         * inet/rcmd.c (__validuser2_sa): Likewise.
25632         * io/fts.c (fts_open): Likewise.
25633         (fts_load): Likewise.
25634         (fts_close): Likewise.
25635         (fts_read): Likewise.
25636         (fts_children): Likewise.
25637         (fts_build): Likewise.
25638         (fts_stat): Likewise.
25639         (fts_sort): Likewise.
25640         (fts_alloc): Likewise.
25641         (fts_lfree): Likewise.
25642         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25643         (_IO_file_xsgetn): Likewise.
25644         (_IO_file_xsgetn_mmap): Likewise.
25645         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25646         (_IO_cookie_write): Likewise.
25647         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25648         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25649         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25650         * malloc/obstack.c (_obstack_begin): Likewise.
25651         (_obstack_begin_1): Likewise.
25652         (_obstack_newchunk): Likewise.
25653         (_obstack_allocated_p): Likewise.
25654         (obstack_free): Likewise.
25655         (_obstack_memory_used): Likewise.
25656         * misc/getttyent.c (getttynam): Likewise.
25657         (getttyent): Likewise.
25658         (skip): Likewise.
25659         (value): Likewise.
25660         * misc/getusershell.c (initshells): Likewise.
25661         * misc/syslog.c (__vsyslog_chk): Likewise.
25662         * misc/ttyslot.c (ttyslot): Likewise.
25663         * nis/nis_hash.c (__nis_hash): Likewise.
25664         * posix/fnmatch_loop.c (FCT): Likewise.
25665         * posix/getconf.c (print_all): Likewise.
25666         (main): Likewise.
25667         * posix/getopt.c (exchange): Likewise.
25668         * posix/glob.c (globfree): Likewise.
25669         (prefix_array): Likewise.
25670         (__glob_pattern_type): Likewise.
25671         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25672         (NS_GET32): Likewise.
25673         (NS_PUT16): Likewise.
25674         (NS_PUT32): Likewise.
25675         * resolv/gethnamaddr.c (getanswer): Likewise.
25676         (gethostbyname2): Likewise.
25677         (gethostbyaddr): Likewise.
25678         (_gethtent): Likewise.
25679         (_gethtbyname2): Likewise.
25680         (_gethtbyaddr): Likewise.
25681         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25682         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25683         * resolv/res_init.c (__res_vinit): Likewise.
25684         (net_mask): Likewise.
25685         * resolv/res_mkquery.c (outchar): Likewise.
25686         (PRINT): Likewise.
25687         * stdio-common/printf_fp.c (outchar): Likewise.
25688         (PRINT): Likewise.
25689         * stdio-common/printf_fphex.c (outchar): Likewise.
25690         (PRINT): Likewise.
25691         * stdio-common/printf_size.c (outchar): Likewise.
25692         (PRINT): Likewise.
25693         * stdio-common/test_rdwr.c (main): Likewise.
25694         * stdio-common/tfformat.c (matches): Likewise.
25695         * stdio-common/vfprintf.c (outchar): Likewise.
25696         (printf_unknown): Likewise.
25697         (buffered_vfprintf): Likewise.
25698         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25699         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25700         (ReadFile): Likewise.
25701         * stdlib/qsort.c (SWAP): Likewise.
25702         (_quicksort): Likewise.
25703         * stdlib/setenv.c (__add_to_environ): Likewise.
25704         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25705         * stdlib/strtol_l.c (__strtol_l): Likewise.
25706         * stdlib/tst-strtod.c (main): Likewise.
25707         * stdlib/tst-strtol.c (main): Likewise.
25708         * stdlib/tst-strtoll.c (main): Likewise.
25709         * string/bits/string2.h (__strcmp_cc): Likewise.
25710         (__strcmp_cg): Likewise.
25711         (__strcspn_c1): Likewise.
25712         (__strcspn_c2): Likewise.
25713         (__strcspn_c3): Likewise.
25714         (__strspn_c1): Likewise.
25715         (__strspn_c2): Likewise.
25716         (__strspn_c3): Likewise.
25717         (__strsep_1c): Likewise.
25718         (__strsep_2c): Likewise.
25719         (__strsep_3c): Likewise.
25720         * string/memccpy.c (__memccpy): Likewise.
25721         * string/stpcpy.c (__stpcpy): Likewise.
25722         * string/strcmp.c (strcmp): Likewise.
25723         * string/strrchr.c (strrchr): Likewise.
25724         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25725         Likewise.
25726         * sysdeps/mach/hurd/getcwd.c
25727         (_hurd_canonicalize_directory_name_internal): Likewise.
25728         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25729         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25730         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25731         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25732         Likewise, in both definitions.
25733         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25734         definitions.
25735         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25736         64] (__bswap_64): Likewise.
25737         * time/test_time.c (main): Likewise.
25738         * time/tzfile.c (__tzfile_read): Likewise.
25739         (__tzfile_compute): Likewise.
25740         * time/tzset.c (__tzset_parse_tz): Likewise.
25741         (tzset_internal): Likewise.
25742         (compute_change): Likewise.
25743         * wcsmbs/wcscat.c (__wcscat): Likewise.
25744         * wcsmbs/wcschr.c (wcschr): Likewise.
25745         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25746         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25747         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25748         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25749         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25750         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25751         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25752         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25753         * wcsmbs/wmemset.c (wmemset): Likewise.
25755 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25757         * scripts/config.guess: Update to version 2013-05-16.
25758         * scripts/config.sub: Update to version 2013-04-24.
25759         * scripts/install-sh: Update to version 2011-11-20.07.
25760         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25761         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25763 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25765         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25766         * elf/sln.c: Likewise.
25767         * hurd/hurd/ioctl.h: Likewise.
25768         * hurd/hurdmalloc.c: Likewise.
25769         * hurd/xattr.c: Likewise.
25770         * include/shlib-compat.h: Likewise.
25771         * inet/ruserpass.c: Likewise.
25772         * libio/iofgets_u.c: Likewise.
25773         * libio/iofgetws_u.c: Likewise.
25774         * locale/programs/ld-identification.c: Likewise.
25775         * locale/programs/ld-time.c: Likewise.
25776         * mach/msg-destroy.c: Likewise.
25777         * nss/nss_files/files-netgrp.c: Likewise.
25778         * resolv/res_data.c: Likewise.
25779         * soft-fp/op-1.h: Likewise.
25780         * soft-fp/op-2.h: Likewise.
25781         * soft-fp/op-4.h: Likewise.
25782         * soft-fp/op-common.h: Likewise.
25783         * stdio-common/printf_fphex.c: Likewise.
25784         * stdlib/strtod_l.c: Likewise.
25785         * sunrpc/rpc/clnt.h: Likewise.
25786         * sysdeps/generic/framestate.c: Likewise.
25787         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25788         * sysdeps/i386/bsd-setjmp.S: Likewise.
25789         * sysdeps/i386/__longjmp.S: Likewise.
25790         * sysdeps/i386/setjmp.S: Likewise.
25791         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25792         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25793         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25794         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25795         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25796         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25797         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25798         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25799         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25800         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25801         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25802         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25803         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25804         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25805         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25806         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25807         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25808         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25809         * sysdeps/ieee754/support.c: Likewise.
25810         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25811         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25812         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25813         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25814         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25815         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25816         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25817         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25818         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25819         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25820         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25821         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25822         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25823         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25824         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25825         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25826         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25829 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25831         * posix/transbug.c: Remove executable mode.
25833 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25835         * crypt/speeds.c: Remove trailing whitespace.
25836         * dlfcn/default.c: Likewise.
25837         * elf/ifuncdep2.c: Likewise.
25838         * elf/ifuncmain1.c: Likewise.
25839         * elf/ifuncmain1vis.c: Likewise.
25840         * elf/testobj.h: Likewise.
25841         * elf/tst-stackguard1.c: Likewise.
25842         * gmon/sys/gmon.h: Likewise.
25843         * hurd/hurdmsg.c: Likewise.
25844         * hurd/new-fd.c: Likewise.
25845         * hurd/ports-get.c: Likewise.
25846         * iconvdata/ibm1008_420.c: Likewise.
25847         * inet/tst-getni1.c: Likewise.
25848         * inet/tst-getni2.c: Likewise.
25849         * libio/ioungetc.c: Likewise.
25850         * libio/wfiledoalloc.c: Likewise.
25851         * manual/libm-err-tab.pl: Likewise.
25852         * math/w_dremf.c: Likewise.
25853         * misc/ftruncate.c: Likewise.
25854         * posix/bug-glob2.c: Likewise.
25855         * posix/tst-pcre.c: Likewise.
25856         * posix/wait4.c: Likewise.
25857         * resolv/README: Likewise.
25858         * resolv/res_debug.h: Likewise.
25859         * resolv/tst-inet_ntop.c: Likewise.
25860         * setjmp/bug269-setjmp.c: Likewise.
25861         * soft-fp/extended.h: Likewise.
25862         * soft-fp/op-1.h: Likewise.
25863         * soft-fp/op-2.h: Likewise.
25864         * soft-fp/op-4.h: Likewise.
25865         * soft-fp/op-8.h: Likewise.
25866         * soft-fp/testit.c: Likewise.
25867         * stdio-common/bug16.c: Likewise.
25868         * stdlib/random.c: Likewise.
25869         * sunrpc/rpcsvc/rquota.x: Likewise.
25870         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25871         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25872         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25873         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25874         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25875         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25876         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25877         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25878         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25879         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25880         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25881         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25882         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25883         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25884         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25885         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25886         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25887         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25888         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25889         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25890         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25891         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25892         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25893         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25894         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25895         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25896         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25897         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25898         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25899         * sysdeps/ieee754/s_lib_version.c: Likewise.
25900         * sysdeps/mach/hurd/check_fds.c: Likewise.
25901         * sysdeps/mach/hurd/getsockname.c: Likewise.
25902         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25903         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25904         * sysdeps/powerpc/bits/link.h: Likewise.
25905         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25906         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25907         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25908         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25909         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25910         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25911         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25912         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25913         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25914         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25915         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25916         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25917         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25918         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25919         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25920         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25921         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25922         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25923         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25924         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25925         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25926         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25927         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25928         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25929         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25930         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25931         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25932         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25933         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25934         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25935         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25936         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25937         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25938         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25939         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25940         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25941         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25942         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25943         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25944         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25945         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25946         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25947         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25948         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25949         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25950         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25951         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25952         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25953         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25954         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25955         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25956         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25957         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25958         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25959         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25960         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25961         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25962         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25963         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25964         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25965         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25966         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25967         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25968         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25969         * sysdeps/powerpc/sysdep.h: Likewise.
25970         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25971         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25972         * sysdeps/sh/dl-trampoline.S: Likewise.
25973         * sysdeps/sh/memset.S: Likewise.
25974         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25975         * sysdeps/sh/strlen.S: Likewise.
25976         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25977         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25978         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25979         * sysdeps/sparc/sparc32/rem.S: Likewise.
25980         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25981         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25982         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25983         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25984         * sysdeps/sparc/sparc32/urem.S: Likewise.
25985         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25986         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25987         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25988         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25989         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25990         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25991         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25992         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25993         * sysdeps/unix/bsd/times.c: Likewise.
25994         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25995         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25999         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26000         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26001         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26002         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26003         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26004         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26005         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26006         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26007         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26008         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26009         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26010         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26011         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26012         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26013         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26014         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26015         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26016         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26017         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26018         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26019         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26020         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26021         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26022         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26023         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26024         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26025         * sysdeps/x86_64/strcspn.S: Likewise.
26027 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26029         * locale/C-translit.h: Revert #include <stdint.h> because this is a
26030         generated file.  Regenerate properly from gen-translit.pl.
26031         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
26032         locale/C-translit.h.
26034 2013-06-05  Andreas Schwab  <schwab@suse.de>
26036         [BZ #15100]
26037         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26038         week as 6 instead of -1.
26039         * time/tst-strptime.c (day_tests): Add test case.
26041 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26043         * sysdeps/generic/math_private.h
26044         (libc_feholdexcept_setround_53bit): Replace with
26045         libc_feholdsetround_53bit.
26046         (libc_feupdateenv_53bit): Replace with
26047         libc_feresetround_53bit.
26048         (SET_RESTORE_ROUND_53BIT): Adjust.
26050 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26052         * string/test-strchrnul.c: Add copyright header.
26054         * posix/tst-getaddrinfo4.c: Increase test timeout.
26056 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
26058         [BZ #15536]
26059         * math/libm-test.inc (MAX_EXP): Remove
26060         (MIN_EXP): Define.
26061         (ulp): Use MIN_EXP - MANT_DIG.
26062         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26064 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
26066         * po/be.po: Revert last change.
26067         * po/zh_CN.po: Likewise.
26068         * po/header.pot: Likewise.
26070 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
26072         * Makefile ($(common-objpfx)linkobj/libc.so): Define
26073         link-libc-deps to empty as target-specific variable.
26074         * Makerules (link-libc-args): New variable.
26075         (libc-for-link): Likewise.
26076         (link-libc-deps): Likewise.
26077         (lib%.so): Depend on $(link-libc-deps).  Link with
26078         $(link-libc-args).
26079         (build-module): Link with $(link-libc-args).
26080         (build-module-asneeded): Likewise.
26081         (build-module-helper-objlist): Filter out $(link-libc-deps) from
26082         list of objects.
26083         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26084         target-specific variable.
26085         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26086         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26087         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26088         libc.
26089         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26090         libc and ld.so.
26091         ($(objpfx)libpcprofile.so): Likewise.
26092         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26093         libc_nonshared.a.
26094         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26095         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26096         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26097         $(link-libc-deps).
26098         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26099         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26100         * login/Makefile ($(objpfx)libutil.so): Likewise.
26101         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26102         * math/Makefile ($(objpfx)libm.so): Likewise.
26103         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26104         $(objpfx)libnsl.so): Define libc-for-link as target-specific
26105         variable instead of depending directly on libc.
26106         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26107         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26108         $(link-libc-deps).
26109         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26110         libc.
26111         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26112         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26113         ($(objpfx)libanl.so): Likewise.
26114         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26115         ld.so.
26116         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26117         $(link-libc-deps).
26118         * sysdeps/i386/fpu/Makefile: Remove file.
26119         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26120         ($(objpfx)libm.so): Remove dependency on ld.so.
26122 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
26124         [BZ # 15553]
26125         * nis/yp_xdr.c (XDRMAXNAME): Define.
26126         (XDRMAXRECORD): Define.
26127         (xdr_domainname): Use XDRMAXNAME.
26128         (xdr_mapname): Likewise.
26129         (xdr_peername): Likewise.
26130         (xdr_keydat): Use XDRMAXRECORD.
26131         (xdr_valdat): Likewise.
26133 2013-05-30  Jeff Law  <law@redhat.com>
26135         [BZ #14256]
26136         * manual/errno.texi (ESTALE): Update to account for more than
26137         just NFS file systems.
26138         * sysdeps/gnu/errlist.c: Regenerated.
26140 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26142         [BZ #15465]
26143         * elf/Makefile (tests): Add tst-null-argv.
26144         (modules-names):  Add tst-null-argv-lib.
26145         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26146         (tst-null-argv-ENV): Set environment for tst-null-argv.
26147         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26148         (RTLD_PROGNAME): New macro.
26149         * elf/tst-null-argv.c: New test case.
26150         * elf/tst-null-argv-lib.c: Library for test case.
26151         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26152         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26153         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26154         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26155         * elf/dl-init.c (call_init): Likewise.
26156         (_dl_init): Likewise.
26157         * elf/dl-load.c (print_search_path): Likewise.
26158         (_dl_map_object): Likewise.
26159         * elf/dl-lookup.c (do_lookup_x): Likewise.
26160         (add_dependency): Likewise.
26161         (_dl_lookup_symbol_x): Likewise.
26162         (_dl_debug_bindings): Likewise.
26163         * elf/dl-open.c (_dl_show_scope): Likewise.
26164         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26165         * elf/dl-version.c (match_symbol): Likewise.
26166         (_dl_check_map_versions): Likewise.
26167         * elf/rtld.c (dl_main): Likewise.
26168         (print_unresolved): Use RTLD_PROGNAME.
26169         (print_missing_version): Likewise.
26170         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26171         (elf_machine_rela): Likewise.
26172         * sysdeps/powerpc/powerpc32/dl-machine.c
26173         (__process_machine_rela): Likewise.
26174         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26175         Likewise.
26176         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26177         Likewise.
26178         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26179         Likewise.
26180         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26181         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26182         Likewise.
26183         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26184         Likewise.
26185         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26187 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
26189         * po/be.po: Add descriptive title.
26190         * po/zh_CN.po: Likewise.
26191         * po/header.pot: Likewise.
26193 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
26195         * locale/programs/locarchive.c (create_archive): Inlucde fname in
26196         error message.
26197         (enlarge_archive): Likewise.
26199 2013-05-28  Ben North  <ben@redfrontdoor.org>
26201         * manual/arith.texi (frexp): It is the magnitude of the return
26202         value which lies in [0.5, 1), not the return value itself.
26204 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26208 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
26210         * stdio-common/bug26.c (main): Correct fscanf template.
26212         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26213         declare _dl_skip_args.
26215         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26216         Don't declare.
26218         * manual/platform.texi: Add missing @end deftypefun.
26220 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26222         [BZ #15529]
26223         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26224         bit of mantissa of 2^16382.
26225         * math/libm-test.inc (hypot_test_data): Add more tests.
26227         * math/libm-test.inc: Add drem and pow10 to list of tested
26228         functions.
26229         (pow10_test): New function.
26230         (drem_test): Likewise.
26231         (drem_test_tonearest): Likewise.
26232         (drem_test_towardzero): Likewise.
26233         (drem_test_downward): Likewise.
26234         (drem_test_upward): Likewise.
26235         (main): Call the new functions.
26237         * math/libm-test.inc (finite_test_data): Remove.
26238         (finite_test): Run tests from isfinite_test_data.
26239         (gamma_test_data): Remove.
26240         (gamma_test): Run tests from lgamma_test_data.
26241         * sysdeps/i386/fpu/libm-test-ulps: Update.
26242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26244 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26246         * manual/platform.texi: Add PowerPC PPR function set documentation.
26247         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26248         implementation.
26250 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
26252         * math/libm-test.inc (MAX_EXP): Define.
26253         (ULPDIFF): Define.
26254         (ulp): New function.
26255         (check_float_internal): Use ULPDIFF.
26256         (cpow_test): Disable failing test.
26257         (check_ulp): Test ulp() implemetnation.
26258         (main): Call check_ulp before starting tests.
26260 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26262         * math/gen-libm-test.pl (generate_testfile): Do not handle
26263         START_DATA and END_DATA.
26264         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26265         END_DATA.
26266         (acos_tonearest_test_data): Likewise.
26267         (acos_towardzero_test_data): Likewise.
26268         (acos_downward_test_data): Likewise.
26269         (acos_upward_test_data): Likewise.
26270         (acosh_test_data): Likewise.
26271         (asin_test_data): Likewise.
26272         (asin_tonearest_test_data): Likewise.
26273         (asin_towardzero_test_data): Likewise.
26274         (asin_downward_test_data): Likewise.
26275         (asin_upward_test_data): Likewise.
26276         (asinh_test_data): Likewise.
26277         (atan_test_data): Likewise.
26278         (atanh_test_data): Likewise.
26279         (atan2_test_data): Likewise.
26280         (cabs_test_data): Likewise.
26281         (cacos_test_data): Likewise.
26282         (cacosh_test_data): Likewise.
26283         (carg_test_data): Likewise.
26284         (casin_test_data): Likewise.
26285         (casinh_test_data): Likewise.
26286         (catan_test_data): Likewise.
26287         (catanh_test_data): Likewise.
26288         (cbrt_test_data): Likewise.
26289         (ccos_test_data): Likewise.
26290         (ccosh_test_data): Likewise.
26291         (ceil_test_data): Likewise.
26292         (cexp_test_data): Likewise.
26293         (cimag_test_data): Likewise.
26294         (clog_test_data): Likewise.
26295         (clog10_test_data): Likewise.
26296         (conj_test_data): Likewise.
26297         (copysign_test_data): Likewise.
26298         (cos_test_data): Likewise.
26299         (cos_tonearest_test_data): Likewise.
26300         (cos_towardzero_test_data): Likewise.
26301         (cos_downward_test_data): Likewise.
26302         (cos_upward_test_data): Likewise.
26303         (cosh_test_data): Likewise.
26304         (cosh_tonearest_test_data): Likewise.
26305         (cosh_towardzero_test_data): Likewise.
26306         (cosh_downward_test_data): Likewise.
26307         (cosh_upward_test_data): Likewise.
26308         (cpow_test_data): Likewise.
26309         (cproj_test_data): Likewise.
26310         (creal_test_data): Likewise.
26311         (csin_test_data): Likewise.
26312         (csinh_test_data): Likewise.
26313         (csqrt_test_data): Likewise.
26314         (ctan_test_data): Likewise.
26315         (ctan_tonearest_test_data): Likewise.
26316         (ctan_towardzero_test_data): Likewise.
26317         (ctan_downward_test_data): Likewise.
26318         (ctan_upward_test_data): Likewise.
26319         (ctanh_test_data): Likewise.
26320         (ctanh_tonearest_test_data): Likewise.
26321         (ctanh_towardzero_test_data): Likewise.
26322         (ctanh_downward_test_data): Likewise.
26323         (ctanh_upward_test_data): Likewise.
26324         (erf_test_data): Likewise.
26325         (erfc_test_data): Likewise.
26326         (exp_test_data): Likewise.
26327         (exp_tonearest_test_data): Likewise.
26328         (exp_towardzero_test_data): Likewise.
26329         (exp_downward_test_data): Likewise.
26330         (exp_upward_test_data): Likewise.
26331         (exp10_test_data): Likewise.
26332         (exp2_test_data): Likewise.
26333         (expm1_test_data): Likewise.
26334         (fabs_test_data): Likewise.
26335         (fdim_test_data): Likewise.
26336         (finite_test_data): Likewise.
26337         (floor_test_data): Likewise.
26338         (fma_test_data): Likewise.
26339         (fma_towardzero_test_data): Likewise.
26340         (fma_downward_test_data): Likewise.
26341         (fma_upward_test_data): Likewise.
26342         (fmax_test_data): Likewise.
26343         (fmin_test_data): Likewise.
26344         (fmod_test_data): Likewise.
26345         (fpclassify_test_data): Likewise.
26346         (frexp_test_data): Likewise.
26347         (gamma_test_data): Likewise.
26348         (hypot_test_data): Likewise.
26349         (ilogb_test_data): Likewise.
26350         (isfinite_test_data): Likewise.
26351         (isgreater_test_data): Likewise.
26352         (isgreaterequal_test_data): Likewise.
26353         (isinf_test_data): Likewise.
26354         (isless_test_data): Likewise.
26355         (islessequal_test_data): Likewise.
26356         (islessgreater_test_data): Likewise.
26357         (isnan_test_data): Likewise.
26358         (isnormal_test_data): Likewise.
26359         (issignaling_test_data): Likewise.
26360         (isunordered_test_data): Likewise.
26361         (j0_test_data): Likewise.
26362         (j1_test_data): Likewise.
26363         (jn_test_data): Likewise.
26364         (ldexp_test_data): Likewise.
26365         (lgamma_test_data): Likewise.
26366         (lrint_test_data): Likewise.
26367         (lrint_tonearest_test_data): Likewise.
26368         (lrint_towardzero_test_data): Likewise.
26369         (lrint_downward_test_data): Likewise.
26370         (lrint_upward_test_data): Likewise.
26371         (llrint_test_data): Likewise.
26372         (llrint_tonearest_test_data): Likewise.
26373         (llrint_towardzero_test_data): Likewise.
26374         (llrint_downward_test_data): Likewise.
26375         (llrint_upward_test_data): Likewise.
26376         (log_test_data): Likewise.
26377         (log10_test_data): Likewise.
26378         (log1p_test_data): Likewise.
26379         (log2_test_data): Likewise.
26380         (logb_test_data): Likewise.
26381         (logb_downward_test_data): Likewise.
26382         (lround_test_data): Likewise.
26383         (llround_test_data): Likewise.
26384         (modf_test_data): Likewise.
26385         (nearbyint_test_data): Likewise.
26386         (nextafter_test_data): Likewise.
26387         (nexttoward_test_data): Likewise.
26388         (pow_test_data): Likewise.
26389         (pow_tonearest_test_data): Likewise.
26390         (pow_towardzero_test_data): Likewise.
26391         (pow_downward_test_data): Likewise.
26392         (pow_upward_test_data): Likewise.
26393         (remainder_test_data): Likewise.
26394         (remainder_tonearest_test_data): Likewise.
26395         (remainder_towardzero_test_data): Likewise.
26396         (remainder_downward_test_data): Likewise.
26397         (remainder_upward_test_data): Likewise.
26398         (remquo_test_data): Likewise.
26399         (rint_test_data): Likewise.
26400         (rint_tonearest_test_data): Likewise.
26401         (rint_towardzero_test_data): Likewise.
26402         (rint_downward_test_data): Likewise.
26403         (rint_upward_test_data): Likewise.
26404         (round_test_data): Likewise.
26405         (scalb_test_data): Likewise.
26406         (scalbn_test_data): Likewise.
26407         (scalbln_test_data): Likewise.
26408         (signbit_test_data): Likewise.
26409         (sin_test_data): Likewise.
26410         (sin_tonearest_test_data): Likewise.
26411         (sin_towardzero_test_data): Likewise.
26412         (sin_downward_test_data): Likewise.
26413         (sin_upward_test_data): Likewise.
26414         (sincos_test_data): Likewise.
26415         (sinh_test_data): Likewise.
26416         (sinh_tonearest_test_data): Likewise.
26417         (sinh_towardzero_test_data): Likewise.
26418         (sinh_downward_test_data): Likewise.
26419         (sinh_upward_test_data): Likewise.
26420         (sqrt_test_data): Likewise.
26421         (tan_test_data): Likewise.
26422         (tan_tonearest_test_data): Likewise.
26423         (tan_towardzero_test_data): Likewise.
26424         (tan_downward_test_data): Likewise.
26425         (tan_upward_test_data): Likewise.
26426         (tanh_test_data): Likewise.
26427         (tgamma_test_data): Likewise.
26428         (trunc_test_data): Likewise.
26429         (y0_test_data): Likewise.
26430         (y1_test_data): Likewise.
26431         (yn_test_data): Likewise.
26432         (significand_test_data): Likewise.
26434         * math/gen-libm-test.pl (@functions): Remove variable.
26435         (generate_testfile): Don't handle START and END lines.
26436         * math/libm-test.inc (START): New macro.
26437         (END): Likewise.
26438         (END_COMPLEX): Likewise.
26439         (acos_test): Use END macro without arguments.
26440         (acos_test_tonearest): Likewise.
26441         (acos_test_towardzero): Likewise.
26442         (acos_test_downward): Likewise.
26443         (acos_test_upward): Likewise.
26444         (acosh_test): Likewise.
26445         (asin_test): Likewise.
26446         (asin_test_tonearest): Likewise.
26447         (asin_test_towardzero): Likewise.
26448         (asin_test_downward): Likewise.
26449         (asin_test_upward): Likewise.
26450         (asinh_test): Likewise.
26451         (atan_test): Likewise.
26452         (atanh_test): Likewise.
26453         (atan2_test): Likewise.
26454         (cabs_test): Likewise.
26455         (cacos_test): Use END_COMPLEX macro without arguments.
26456         (cacosh_test): Likewise.
26457         (carg_test): Use END macro without arguments.
26458         (casin_test): Use END_COMPLEX macro without arguments.
26459         (casinh_test): Likewise.
26460         (catan_test): Likewise.
26461         (catanh_test): Likewise.
26462         (cbrt_test): Use END macro without arguments.
26463         (ccos_test): Use END_COMPLEX macro without arguments.
26464         (ccosh_test): Likewise.
26465         (ceil_test): Use END macro without arguments.
26466         (cexp_test): Use END_COMPLEX macro without arguments.
26467         (cimag_test): Use END macro without arguments.
26468         (clog_test): Use END_COMPLEX macro without arguments.
26469         (clog10_test): Likewise.
26470         (conj_test): Likewise.
26471         (copysign_test): Use END macro without arguments.
26472         (cos_test): Likewise.
26473         (cos_test_tonearest): Likewise.
26474         (cos_test_towardzero): Likewise.
26475         (cos_test_downward): Likewise.
26476         (cos_test_upward): Likewise.
26477         (cosh_test): Likewise.
26478         (cosh_test_tonearest): Likewise.
26479         (cosh_test_towardzero): Likewise.
26480         (cosh_test_downward): Likewise.
26481         (cosh_test_upward): Likewise.
26482         (cpow_test): Use END_COMPLEX macro without arguments.
26483         (cproj_test): Likewise.
26484         (creal_test): Use END macro without arguments.
26485         (csin_test): Use END_COMPLEX macro without arguments.
26486         (csinh_test): Likewise.
26487         (csqrt_test): Likewise.
26488         (ctan_test): Likewise.
26489         (ctan_test_tonearest): Likewise.
26490         (ctan_test_towardzero): Likewise.
26491         (ctan_test_downward): Likewise.
26492         (ctan_test_upward): Likewise.
26493         (ctanh_test): Likewise.
26494         (ctanh_test_tonearest): Likewise.
26495         (ctanh_test_towardzero): Likewise.
26496         (ctanh_test_downward): Likewise.
26497         (ctanh_test_upward): Likewise.
26498         (erf_test): Use END macro without arguments.
26499         (erfc_test): Likewise.
26500         (exp_test): Likewise.
26501         (exp_test_tonearest): Likewise.
26502         (exp_test_towardzero): Likewise.
26503         (exp_test_downward): Likewise.
26504         (exp_test_upward): Likewise.
26505         (exp10_test): Likewise.
26506         (exp2_test): Likewise.
26507         (expm1_test): Likewise.
26508         (fabs_test): Likewise.
26509         (fdim_test): Likewise.
26510         (finite_test): Likewise.
26511         (floor_test): Likewise.
26512         (fma_test): Likewise.
26513         (fma_test_towardzero): Likewise.
26514         (fma_test_downward): Likewise.
26515         (fma_test_upward): Likewise.
26516         (fmax_test): Likewise.
26517         (fmin_test): Likewise.
26518         (fmod_test): Likewise.
26519         (fpclassify_test): Likewise.
26520         (frexp_test): Likewise.
26521         (gamma_test): Likewise.
26522         (hypot_test): Likewise.
26523         (ilogb_test): Likewise.
26524         (isfinite_test): Likewise.
26525         (isgreater_test): Likewise.
26526         (isgreaterequal_test): Likewise.
26527         (isinf_test): Likewise.
26528         (isless_test): Likewise.
26529         (islessequal_test): Likewise.
26530         (islessgreater_test): Likewise.
26531         (isnan_test): Likewise.
26532         (isnormal_test): Likewise.
26533         (issignaling_test): Likewise.
26534         (isunordered_test): Likewise.
26535         (j0_test): Likewise.
26536         (j1_test): Likewise.
26537         (jn_test): Likewise.
26538         (ldexp_test): Likewise.
26539         (lgamma_test): Likewise.
26540         (lrint_test): Likewise.
26541         (lrint_test_tonearest): Likewise.
26542         (lrint_test_towardzero): Likewise.
26543         (lrint_test_downward): Likewise.
26544         (lrint_test_upward): Likewise.
26545         (llrint_test): Likewise.
26546         (llrint_test_tonearest): Likewise.
26547         (llrint_test_towardzero): Likewise.
26548         (llrint_test_downward): Likewise.
26549         (llrint_test_upward): Likewise.
26550         (log_test): Likewise.
26551         (log10_test): Likewise.
26552         (log1p_test): Likewise.
26553         (log2_test): Likewise.
26554         (logb_test): Likewise.
26555         (logb_test_downward): Likewise.
26556         (lround_test): Likewise.
26557         (llround_test): Likewise.
26558         (modf_test): Likewise.
26559         (nearbyint_test): Likewise.
26560         (nextafter_test): Likewise.
26561         (nexttoward_test): Likewise.
26562         (pow_test): Likewise.
26563         (pow_test_tonearest): Likewise.
26564         (pow_test_towardzero): Likewise.
26565         (pow_test_downward): Likewise.
26566         (pow_test_upward): Likewise.
26567         (remainder_test): Likewise.
26568         (remainder_test_tonearest): Likewise.
26569         (remainder_test_towardzero): Likewise.
26570         (remainder_test_downward): Likewise.
26571         (remainder_test_upward): Likewise.
26572         (remquo_test): Likewise.
26573         (rint_test): Likewise.
26574         (rint_test_tonearest): Likewise.
26575         (rint_test_towardzero): Likewise.
26576         (rint_test_downward): Likewise.
26577         (rint_test_upward): Likewise.
26578         (round_test): Likewise.
26579         (scalb_test): Likewise.
26580         (scalbn_test): Likewise.
26581         (scalbln_test): Likewise.
26582         (signbit_test): Likewise.
26583         (sin_test): Likewise.
26584         (sin_test_tonearest): Likewise.
26585         (sin_test_towardzero): Likewise.
26586         (sin_test_downward): Likewise.
26587         (sin_test_upward): Likewise.
26588         (sincos_test): Likewise.
26589         (sinh_test): Likewise.
26590         (sinh_test_tonearest): Likewise.
26591         (sinh_test_towardzero): Likewise.
26592         (sinh_test_downward): Likewise.
26593         (sinh_test_upward): Likewise.
26594         (sqrt_test): Likewise.
26595         (tan_test): Likewise.
26596         (tan_test_tonearest): Likewise.
26597         (tan_test_towardzero): Likewise.
26598         (tan_test_downward): Likewise.
26599         (tan_test_upward): Likewise.
26600         (tanh_test): Likewise.
26601         (tgamma_test): Likewise.
26602         (trunc_test): Likewise.
26603         (y0_test): Likewise.
26604         (y1_test): Likewise.
26605         (yn_test): Likewise.
26606         (significand_test): Likewise.
26608 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26610         [BZ #15381]
26611         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26613 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26615         [BZ #14894]
26616         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26617         __ppc_mdoio and __ppc_mdoom.
26618         * manual/platform.texi: Document new functions __ppc_yield,
26619         __ppc_mdoio and __ppc_mdoom.
26621 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26623         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26624         (main): Mention "tls" pseudo-hwcap is legacy.
26625         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26627 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26629         * math/gen-libm-test.pl (parse_args): Output only string of
26630         arguments as text for test name, not full call or descriptions of
26631         tests for extra outputs.
26632         (generate_testfile): Do not pass function name to parse_args.
26633         Generate this_func variable from START.
26634         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26635         field to arg_str.
26636         (struct test_ff_f_data): Likewise.
26637         (test_ff_f_data_nexttoward): Likewise.
26638         (struct test_fi_f_data): Likewise.
26639         (struct test_fl_f_data): Likewise.
26640         (struct test_if_f_data): Likewise.
26641         (struct test_fff_f_data): Likewise.
26642         (struct test_c_f_data): Likewise.
26643         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26644         (struct test_fF_f1_data): Likewise.
26645         (struct test_ffI_f1_data): Likewise.
26646         (struct test_c_c_data): Rename test_name field to arg_str.
26647         (struct test_cc_c_data): Likewise.
26648         (struct test_f_i_data): Likewise.
26649         (struct test_ff_i_data): Likewise.
26650         (struct test_f_l_data): Likewise.
26651         (struct test_f_L_data): Likewise.
26652         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26653         and extra2_name.
26654         (COMMON_TEST_SETUP): New macro.
26655         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26656         (COMMON_TEST_CLEANUP): Likewise.
26657         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26658         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26659         macros.
26660         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26661         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26662         macros.
26663         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26664         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26665         cleanup macros.
26666         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26667         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26668         macros.
26669         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26670         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26671         macros.
26672         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26673         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26674         cleanup macros.
26675         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26676         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26677         cleanup macros.
26678         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26679         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26680         cleanup macros.
26681         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26682         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26683         macros.
26684         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26685         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26686         macros.
26687         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26688         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26689         macros.
26690         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26691         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26692         cleanup macros.
26693         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26694         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26695         cleanup macros.
26696         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26697         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26698         macros.
26699         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26700         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26701         cleanup macros.
26702         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26703         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26704         macros.
26705         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26706         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26707         macros.
26708         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26709         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26710         cleanup macros.
26711         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26713 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26715         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26716         to _sifields.sigfault.
26717         (si_addr_lsb): Define new macro.
26718         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26719         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26720         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26722 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26724         [BZ #15441]
26725         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26726         returns -1.
26727         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26728         null return -1.
26729         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26730         loading the domain.
26732 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26734         * math/gen-libm-test.pl (parse_args): Do not include expected
26735         result in test name.
26736         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26737         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26738         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26739         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26740         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26743 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26745         * benchtests/Makefile: Sort function entries.
26747         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26748         tanh, asinh, acosh, atanh.
26749         * benchtests/acos-inputs: New file.
26750         * benchtests/acosh-inputs: New file.
26751         * benchtests/asin-inputs: New file.
26752         * benchtests/asinh-inputs: New file.
26753         * benchtests/atanh-inputs: New file.
26754         * benchtests/cosh-inputs: New file.
26755         * benchtests/log-inputs: New file.
26756         * benchtests/sinh-inputs: New file.
26757         * benchtests/tanh-inputs: New file.
26759 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26761         [BZ #15339]
26762         * posix/tst-getaddrinfo4.c: New test.
26763         * posix/Makefile (tests): Add it.
26765 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26767         [BZ #15339]
26768         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26769         when no services were used.
26770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26771         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26773 2013-05-21  Andreas Schwab  <schwab@suse.de>
26775         [BZ #15014]
26776         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26777         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26778         successful.
26779         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26780         redundant variable declarations and reallocation of buffer when
26781         parsing as IPv6 address.  Always set NSS status when called from
26782         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26783         buffer too small.  Correct computation of needed size.
26784         * nss/Makefile (tests): Add test-digits-dots.
26785         * nss/test-digits-dots.c: New test.
26787 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26789         * benchtests/Makefile: Remove instructions for adding
26790         benchmark tests.
26791         * benchtests/README: New file to explain how to execute and
26792         enhance the benchmark tests.
26794 2013-05-21  Andreas Schwab  <schwab@suse.de>
26796         [BZ #15493]
26797         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26798         * setjmp/tst-sigsetjmp.c: New test.
26800 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26802         * sysdeps/x86_64/memset.S (memset): New implementation.
26803         (__bzero): Likewise.
26804         (__memset_tail): New function.
26806 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26808         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26809         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26810         __memcpy_sse2_unaligned ifunc selection.
26811         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26812         Add memcpy-sse2-unaligned.S.
26813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26814         Add: __memcpy_sse2_unaligned.
26816 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26818         [BZ #15490]
26819         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26820         math_force_eval before restoring floating-point envrionment.
26821         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26822         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26823         Likewise.
26824         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26825         <math_private.h>.
26826         (__nearbyintl): Use math_force_eval before restoring
26827         floating-point environment.
26828         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26830         * math/gen-libm-test.pl (special_functions): Remove.
26831         (parse_args): Don't handle TEST_extra.  Handle functions with no
26832         return value.
26833         * math/libm-test.inc (struct test_sincos_data): Replace with
26834         struct test_fFF_11_data.
26835         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26836         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26837         (sincos_test_data): Change element type to struct
26838         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26839         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26840         RUN_TEST_LOOP_sincos.
26841         * math/README.libm-test: Don't mention special handling of
26842         individual functions.
26843         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26844         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26845         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26846         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26847         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26850         * math/gen-libm-test.pl (get_variable): Remove function.
26851         (parse_args): Don't show pointer parameters to call in test
26852         names.  Use "extra output N" in test names for extra outputs
26853         rather than naming variables.
26855 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26857         [BZ #15488]
26858         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26859         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26860         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26861         double tests.
26862         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26863         disable.
26864         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26865         check_long_double.
26867         * math/gen-libm-test.pl (@tests): Remove variable.
26868         ($count): Likewise.
26869         (new_test): Remove function.
26870         (show_exceptions): New function.
26871         (special_functions): Use show_exceptions instead of new_test.
26872         (parse_args): Likewise.
26873         (generate_testfile): Pass only function name in generated call to
26874         print_max_error or print_complex_max_error.
26875         (get_ulps): Do not handle complex tests specially.
26876         (output_test): Rename to ...
26877         (get_all_ulps_for_test): ... this.  Return a string rather than
26878         printing to a file.  Require ulps to be present.
26879         (output_ulps): Generate arrays rather than #defines.
26880         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26881         (struct ulp_data): New type.
26882         (BUILD_COMPLEX_ULP): Remove macro.
26883         (compare_ulp_data): New function.
26884         (find_ulps): Likewise.
26885         (find_test_ulps): Likewise.
26886         (find_function_ulps): Likewise.
26887         (find_complex_function_ulps): Likewise.
26888         (print_max_error): Determine allowed ulps using
26889         find_function_ulps.
26890         (print_complex_max_error): Determine allowed ulps using
26891         find_complex_function_ulps.
26892         (check_float_internal): Determine max ulps using find_test_ulps.
26893         (check_float): Do not take max_ulp parameter.  Update call to
26894         check_float_internal.
26895         (check_complex): Likewise.
26896         (check_int): Do not take max_ulp parameter.
26897         (check_long): Likewise.
26898         (check_bool): Likewise.
26899         (check_longlong): Likewise.
26900         (struct test_f_f_data): Remove max_ulp field.
26901         (struct test_ff_f_data): Likewise.
26902         (struct test_ff_f_data_nexttoward): Likewise.
26903         (struct test_fi_f_data): Likewise.
26904         (struct test_fl_f_data): Likewise.
26905         (struct test_if_f_data): Likewise.
26906         (struct test_fff_f_data): Likewise.
26907         (struct test_c_f_data): Likewise.
26908         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26909         (struct test_fF_f1_data): Likewise.
26910         (struct test_ffI_f1_data): Likewise.
26911         (struct test_c_c_data): Remove max_ulp field.
26912         (struct test_cc_c_data): Likewise.
26913         (struct test_f_i_data): Likewise.
26914         (struct test_ff_i_data): Likewise.
26915         (struct test_f_l_data): Likewise.
26916         (struct test_f_L_data): Likewise.
26917         (struct test_sincos_data): Likewise.
26918         (RUN_TEST_f_f): Do not handle ulps.
26919         (RUN_TEST_LOOP_f_f): Likewise.
26920         (RUN_TEST_2_f): Likewise.
26921         (RUN_TEST_LOOP_2_f): Likewise.
26922         (RUN_TEST_fff_f): Likewise.
26923         (RUN_TEST_LOOP_fff_f): Likewise.
26924         (RUN_TEST_c_f): Likewise.
26925         (RUN_TEST_LOOP_c_f): Likewise.
26926         (RUN_TEST_f_f1): Likewise.
26927         (RUN_TEST_LOOP_f_f1): Likewise.
26928         (RUN_TEST_fF_f1): Likewise.
26929         (RUN_TEST_LOOP_fF_f1): Likewise.
26930         (RUN_TEST_fI_f1): Likewise.
26931         (RUN_TEST_LOOP_fI_f1): Likewise.
26932         (RUN_TEST_ffI_f1): Likewise.
26933         (RUN_TEST_LOOP_ffI_f1): Likewise.
26934         (RUN_TEST_c_c): Likewise.
26935         (RUN_TEST_LOOP_c_c): Likewise.
26936         (RUN_TEST_cc_c): Likewise.
26937         (RUN_TEST_LOOP_cc_c): Likewise.
26938         (RUN_TEST_f_i): Likewise.
26939         (RUN_TEST_LOOP_f_i): Likewise.
26940         (RUN_TEST_f_i_tg): Likewise.
26941         (RUN_TEST_LOOP_f_i_tg): Likewise.
26942         (RUN_TEST_ff_i_tg): Likewise.
26943         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26944         (RUN_TEST_f_b): Likewise.
26945         (RUN_TEST_LOOP_f_b): Likewise.
26946         (RUN_TEST_f_b_tg): Likewise.
26947         (RUN_TEST_LOOP_f_b_tg): Likewise.
26948         (RUN_TEST_f_l): Likewise.
26949         (RUN_TEST_LOOP_f_l): Likewise.
26950         (RUN_TEST_f_L): Likewise.
26951         (RUN_TEST_LOOP_f_L): Likewise.
26952         (RUN_TEST_sincos): Likewise.
26953         (RUN_TEST_LOOP_sincos): Likewise.
26955 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26957         [BZ #15480]
26958         [BZ #15485]
26959         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26960         main case of finite arguments, set rounding mode to FE_TONEAREST
26961         and discard exceptions.
26962         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26963         exceptions.
26964         (remainder_tonearest_test_data): New variable.
26965         (remainder_test_tonearest): New function.
26966         (remainder_towardzero_test_data): New variable.
26967         (remainder_test_towardzero): New function.
26968         (remainder_downward_test_data): New variable.
26969         (remainder_test_downward): New function.
26970         (remainder_upward_test_data): New variable.
26971         (remainder_test_upward): New function.
26972         (main): Call the new test functions.
26974         * math/libm-test.inc (struct test_f_f1_data): Remove field
26975         extra_init.
26976         (struct test_fF_f1_data): Likewise.
26977         (struct test_ffI_f1_data): Likewise.
26978         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26979         based on value of EXTRA_EXPECTED.
26980         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26981         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26982         EXTRA_VAR based on value of EXTRA_EXPECTED.
26983         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26984         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26985         EXTRA_VAR based on value of EXTRA_EXPECTED.
26986         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26987         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26988         EXTRA_VAR based on value of EXTRA_EXPECTED.
26989         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26990         * math/gen-libm-test.pl (parse_args): Don't output initializers
26991         for extra output values.
26993         * math/libm-test.inc (check_int): Expect result to be exactly
26994         equal to expected value and do not handle ulps.
26995         (check_long): Likewise.
26996         (check_longlong): Likewise.
26998         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26999         exceptions.
27000         (cimag_test_data): Likewise.
27001         (conj_test_data): Likewise.
27002         (copysign_test_data): Likewise.
27003         (cproj_test_data): Likewise.
27004         (creal_test_data): Likewise.
27005         (fabs_test_data): Likewise.
27006         (fdim_test_data): Likewise.
27007         (finite_test_data): Likewise.
27008         (floor_test_data): Likewise.
27009         (fmax_test_data): Likewise.
27010         (fmin_test_data): Likewise.
27011         (fmod_test_data): Likewise.
27012         (fpclassify_test_data): Likewise.
27013         (frexp_test_data): Likewise.
27014         (ilogb_test_data): Likewise.
27015         (isfinite_test_data): Likewise.
27016         (isgreater_test_data): Likewise.
27017         (isgreaterequal_test_data): Likewise.
27018         (isinf_test_data): Likewise.
27019         (isless_test_data): Likewise.
27020         (islessequal_test_data): Likewise.
27021         (islessgreater_test_data): Likewise.
27022         (isnan_test_data): Likewise.
27023         (isnormal_test_data): Likewise.
27024         (issignaling_test_data): Likewise.
27025         (isunordered_test_data): Likewise.
27026         (ldexp_test_data): Likewise.
27027         (lrint_test_data): Likewise.
27028         (lrint_test_data) [TEST_FLOAT]: Disable one test.
27029         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27030         (lrint_tonearest_test_data): Test for "inexact" exceptions.
27031         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27032         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27033         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27034         test input.
27035         (lrint_towardzero_test_data): Test for "inexact" exceptions.
27036         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27037         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27038         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27039         that test input.
27040         (lrint_downward_test_data): Test for "inexact" exceptions.
27041         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27042         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27043         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27044         test input.
27045         (lrint_upward_test_data): Test for "inexact" exceptions.
27046         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27047         test input.
27048         (llrint_test_data): Test for "inexact" exceptions.
27049         (llrint_test_data) [TEST_FLOAT]: Disable one test.
27050         (llrint_tonearest_test_data): Test for "inexact" exceptions.
27051         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27052         (llrint_towardzero_test_data): Test for "inexact" exceptions.
27053         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27054         (llrint_downward_test_data): Test for "inexact" exceptions.
27055         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27056         (llrint_upward_test_data): Test for "inexact" exceptions.
27057         (logb_test_data): Likewise.
27058         (logb_downward_test_data): Likewise.
27059         (nextafter_test_data): Likewise.
27060         (nexttoward_test_data): Likewise.
27061         (remainder_test_data): Likewise.
27062         (remquo_test_data): Likewise.
27063         (scalbn_test_data): Likewise.
27064         (scalbln_test_data): Likewise.
27065         (signbit_test_data): Likewise.
27066         (sqrt_test_data): Likewise.
27067         (significand_test_data): Likewise.
27069 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27071         [BZ #15424]
27072         * benchtests/bench-modf.c (struct args): Mark arg0 as
27073         volatile.
27074         * scripts/bench.pl: Mark members of struct args as volatile.
27076 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27078         [BZ # 15497]
27079         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27080         negative infinity on POWER6 or lower.
27081         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27083 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27085         [BZ #15442]
27086         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27087         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27088         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27089         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27090         (_FP_SETQNAN): New macro.
27091         (_FP_SETQNAN_SEMIRAW): Likewise.
27092         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27093         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27094         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27095         (FP_EXTEND): Use _FP_FRAC_SNANP.
27096         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27097         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27098         into account.
27099         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27100         New macro.
27101         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27102         Likewise.
27104 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27106         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27107         with DIVIDE_BY_ZERO_EXCEPTION.
27108         (gamma_test_data): Likewise.
27109         (lgamma_test_data): Likewise.
27110         (log_test_data): Likewise.
27111         (log10_test_data): Likewise.
27112         (log2_test_data): Likewise.
27113         (tgamma_test_data): Likewise.
27115         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27116         (acos_test_tonearest): Likewise.
27117         (acos_test_towardzero): Likewise.
27118         (acos_test_downward): Likewise.
27119         (acos_test_upward): Likewise.
27120         (acosh_test): Likewise.
27121         (asin_test): Likewise.
27122         (asin_test_tonearest): Likewise.
27123         (asin_test_towardzero): Likewise.
27124         (asin_test_downward): Likewise.
27125         (asin_test_upward): Likewise.
27126         (asinh_test): Likewise.
27127         (atan_test): Likewise.
27128         (atanh_test): Likewise.
27129         (atan2_test): Likewise.
27130         (cabs_test): Likewise.
27131         (cacos_test): Likewise.
27132         (cacosh_test): Likewise.
27133         (casin_test): Likewise.
27134         (casinh_test): Likewise.
27135         (catan_test): Likewise.
27136         (catanh_test): Likewise.
27137         (cbrt_test): Likewise.
27138         (ccos_test): Likewise.
27139         (ccosh_test): Likewise.
27140         (cexp_test): Likewise.
27141         (clog_test): Likewise.
27142         (clog10_test): Likewise.
27143         (cos_test): Likewise.
27144         (cos_test_tonearest): Likewise.
27145         (cos_test_towardzero): Likewise.
27146         (cos_test_downward): Likewise.
27147         (cos_test_upward): Likewise.
27148         (cosh_test): Likewise.
27149         (cosh_test_tonearest): Likewise.
27150         (cosh_test_towardzero): Likewise.
27151         (cosh_test_downward): Likewise.
27152         (cosh_test_upward): Likewise.
27153         (cpow_test): Likewise.
27154         (csin_test): Likewise.
27155         (csinh_test): Likewise.
27156         (csqrt_test): Likewise.
27157         (ctan_test): Likewise.
27158         (ctan_test_tonearest): Likewise.
27159         (ctan_test_towardzero): Likewise.
27160         (ctan_test_downward): Likewise.
27161         (ctan_test_upward): Likewise.
27162         (ctanh_test): Likewise.
27163         (ctanh_test_tonearest): Likewise.
27164         (ctanh_test_towardzero): Likewise.
27165         (ctanh_test_downward): Likewise.
27166         (ctanh_test_upward): Likewise.
27167         (erf_test): Likewise.
27168         (erfc_test): Likewise.
27169         (exp_test): Likewise.
27170         (exp_test_tonearest): Likewise.
27171         (exp_test_towardzero): Likewise.
27172         (exp_test_downward): Likewise.
27173         (exp_test_upward): Likewise.
27174         (exp10_test): Likewise.
27175         (exp2_test): Likewise.
27176         (expm1_test): Likewise.
27177         (fmod_test): Likewise.
27178         (gamma_test): Likewise.
27179         (hypot_test): Likewise.
27180         (j0_test): Likewise.
27181         (j1_test): Likewise.
27182         (jn_test): Likewise.
27183         (lgamma_test): Likewise.
27184         (log_test): Likewise.
27185         (log10_test): Likewise.
27186         (log1p_test): Likewise.
27187         (log2_test): Likewise.
27188         (logb_test_downward): Likewise.
27189         (pow_test): Likewise.
27190         (pow_test_tonearest): Likewise.
27191         (pow_test_towardzero): Likewise.
27192         (pow_test_downward): Likewise.
27193         (pow_test_upward): Likewise.
27194         (remainder_test): Likewise.
27195         (remquo_test): Likewise.
27196         (sin_test): Likewise.
27197         (sin_test_tonearest): Likewise.
27198         (sin_test_towardzero): Likewise.
27199         (sin_test_downward): Likewise.
27200         (sin_test_upward): Likewise.
27201         (sincos_test): Likewise.
27202         (sinh_test): Likewise.
27203         (sinh_test_tonearest): Likewise.
27204         (sinh_test_towardzero): Likewise.
27205         (sinh_test_downward): Likewise.
27206         (sinh_test_upward): Likewise.
27207         (sqrt_test): Likewise.
27208         (tan_test): Likewise.
27209         (tan_test_tonearest): Likewise.
27210         (tan_test_towardzero): Likewise.
27211         (tan_test_downward): Likewise.
27212         (tan_test_upward): Likewise.
27213         (tanh_test): Likewise.
27214         (tgamma_test): Likewise.
27215         (y0_test): Likewise.
27216         (y1_test): Likewise.
27217         (yn_test): Likewise.
27219         * math/gen-libm-test.pl (adjust_arg): Remove function.
27220         (special_function): Remove argument $in_func.  Only handle
27221         generating output for tables of tests, not inside functions.
27222         (parse_args): Likewise.
27223         (generate_testfile): Remove variable $in_func.  Update call to
27224         parse_args.
27225         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27226         (MINUS_ZERO_INIT): Rename macro to minus_zero.
27227         (PLUS_INFTY_INIT): Rename macro to plus_infty.
27228         (MINUS_INFTY_INIT): Rename macro to minus_infty.
27229         (QNAN_VALUE_INIT): Rename macro to qnan_value.
27230         (MAX_VALUE_INIT): Rename macro to max_value.
27231         (MIN_VALUE_INIT): Rename macro to min_value.
27232         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27233         (plus_zero): Remove variable.
27234         (minus_zero): Likewise.
27235         (plus_infty): Likewise.
27236         (minus_infty): Likewise.
27237         (qnan_value): Likewise.
27238         (max_value): Likewise.
27239         (min_value): Likewise.
27240         (min_subnorm_value): Likewise.
27242 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27244         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27245         uint64_t or uint32_t usage.
27246         * crypt/sha256-block.c: Likewise.
27247         * crypt/sha256-crypt.c: Likewise.
27248         * crypt/sha256.c: Likewise.
27249         * crypt/sha512-block.c: Likewise.
27250         * crypt/sha512-crypt.c: Likewise.
27251         * crypt/sha512.c: Likewise.
27252         * debug/backtrace-tst.c: Likewise.
27253         * debug/pcprofiledump.c: Likewise.
27254         * elf/cache.c: Likewise.
27255         * elf/dl-cache.c: Likewise.
27256         * elf/dl-misc.c: Likewise.
27257         * elf/dl-profile.c: Likewise.
27258         * elf/dl-support.c: Likewise.
27259         * elf/ldconfig.c: Likewise.
27260         * elf/sprof.c: Likewise.
27261         * iconv/dummy-repertoire.c: Likewise.
27262         * iconv/iconv_charmap.c: Likewise.
27263         * iconv/skeleton.c: Likewise.
27264         * iconvdata/8bit-generic.c: Likewise.
27265         * iconvdata/cp737.h: Likewise.
27266         * iconvdata/cp775.h: Likewise.
27267         * iconvdata/ibm1008.h: Likewise.
27268         * iconvdata/ibm1025.h: Likewise.
27269         * iconvdata/ibm1046.h: Likewise.
27270         * iconvdata/ibm1097.h: Likewise.
27271         * iconvdata/ibm1112.h: Likewise.
27272         * iconvdata/ibm1122.h: Likewise.
27273         * iconvdata/ibm1123.h: Likewise.
27274         * iconvdata/ibm1124.h: Likewise.
27275         * iconvdata/ibm1129.h: Likewise.
27276         * iconvdata/ibm1130.h: Likewise.
27277         * iconvdata/ibm1132.h: Likewise.
27278         * iconvdata/ibm1133.h: Likewise.
27279         * iconvdata/ibm1137.h: Likewise.
27280         * iconvdata/ibm1140.h: Likewise.
27281         * iconvdata/ibm1141.h: Likewise.
27282         * iconvdata/ibm1142.h: Likewise.
27283         * iconvdata/ibm1143.h: Likewise.
27284         * iconvdata/ibm1144.h: Likewise.
27285         * iconvdata/ibm1145.h: Likewise.
27286         * iconvdata/ibm1146.h: Likewise.
27287         * iconvdata/ibm1147.h: Likewise.
27288         * iconvdata/ibm1148.h: Likewise.
27289         * iconvdata/ibm1149.h: Likewise.
27290         * iconvdata/ibm1153.h: Likewise.
27291         * iconvdata/ibm1154.h: Likewise.
27292         * iconvdata/ibm1155.h: Likewise.
27293         * iconvdata/ibm1156.h: Likewise.
27294         * iconvdata/ibm1157.h: Likewise.
27295         * iconvdata/ibm1158.h: Likewise.
27296         * iconvdata/ibm1160.h: Likewise.
27297         * iconvdata/ibm1161.h: Likewise.
27298         * iconvdata/ibm1162.h: Likewise.
27299         * iconvdata/ibm1163.h: Likewise.
27300         * iconvdata/ibm1164.h: Likewise.
27301         * iconvdata/ibm1166.h: Likewise.
27302         * iconvdata/ibm1167.h: Likewise.
27303         * iconvdata/ibm12712.h: Likewise.
27304         * iconvdata/ibm1390.h: Likewise.
27305         * iconvdata/ibm1399.h: Likewise.
27306         * iconvdata/ibm16804.h: Likewise.
27307         * iconvdata/ibm4517.h: Likewise.
27308         * iconvdata/ibm4899.h: Likewise.
27309         * iconvdata/ibm4909.h: Likewise.
27310         * iconvdata/ibm4971.h: Likewise.
27311         * iconvdata/ibm5347.h: Likewise.
27312         * iconvdata/ibm803.h: Likewise.
27313         * iconvdata/ibm856.h: Likewise.
27314         * iconvdata/ibm901.h: Likewise.
27315         * iconvdata/ibm902.h: Likewise.
27316         * iconvdata/ibm9030.h: Likewise.
27317         * iconvdata/ibm9066.h: Likewise.
27318         * iconvdata/ibm921.h: Likewise.
27319         * iconvdata/ibm922.h: Likewise.
27320         * iconvdata/ibm9448.h: Likewise.
27321         * iconvdata/isiri-3342.h: Likewise.
27322         * iconvdata/jis0201.h: Likewise.
27323         * include/link.h: Likewise.
27324         * include/netdb.h: Likewise.
27325         * inet/check_native.c: Likewise.
27326         * inet/check_pf.c: Likewise.
27327         * inet/getipv4sourcefilter.c: Likewise.
27328         * inet/getnameinfo.c: Likewise.
27329         * inet/getsourcefilter.c: Likewise.
27330         * inet/htonl.c: Likewise.
27331         * inet/setipv4sourcefilter.c: Likewise.
27332         * inet/setsourcefilter.c: Likewise.
27333         * inet/test-inet6_opt.c: Likewise.
27334         * inet/tst-network.c: Likewise.
27335         * locale/C-collate.c: Likewise.
27336         * locale/C-ctype.c: Likewise.
27337         * locale/C-time.c: Likewise.
27338         * locale/C-translit.h: Likewise.
27339         * locale/loadarchive.c: Likewise.
27340         * locale/programs/3level.h: Likewise.
27341         * locale/programs/charmap.c: Likewise.
27342         * locale/programs/charmap.h: Likewise.
27343         * locale/programs/ld-address.c: Likewise.
27344         * locale/programs/ld-collate.c: Likewise.
27345         * locale/programs/ld-ctype.c: Likewise.
27346         * locale/programs/ld-identification.c: Likewise.
27347         * locale/programs/ld-measurement.c: Likewise.
27348         * locale/programs/ld-messages.c: Likewise.
27349         * locale/programs/ld-monetary.c: Likewise.
27350         * locale/programs/ld-name.c: Likewise.
27351         * locale/programs/ld-numeric.c: Likewise.
27352         * locale/programs/ld-paper.c: Likewise.
27353         * locale/programs/ld-telephone.c: Likewise.
27354         * locale/programs/ld-time.c: Likewise.
27355         * locale/programs/linereader.c: Likewise.
27356         * locale/programs/locale.c: Likewise.
27357         * locale/programs/locarchive.c: Likewise.
27358         * locale/programs/locfile.h: Likewise.
27359         * locale/programs/repertoire.c: Likewise.
27360         * locale/programs/simple-hash.c: Likewise.
27361         * locale/programs/simple-hash.h: Likewise.
27362         * malloc/memusage.c: Likewise.
27363         * malloc/memusagestat.c: Likewise.
27364         * nis/nis_defaults.c: Likewise.
27365         * nis/nis_hash.c: Likewise.
27366         * nis/nis_print.c: Likewise.
27367         * nis/nis_xdr.c: Likewise.
27368         * nscd/connections.c: Likewise.
27369         * nscd/hstcache.c: Likewise.
27370         * nscd/nscd_gethst_r.c: Likewise.
27371         * nscd/nscd_getserv_r.c: Likewise.
27372         * nscd/nscd_helper.c: Likewise.
27373         * nscd/servicescache.c: Likewise.
27374         * nss/makedb.c: Likewise.
27375         * nss/nss_db/db-XXX.c: Likewise.
27376         * nss/nss_db/db-initgroups.c: Likewise.
27377         * nss/nss_db/db-netgrp.c: Likewise.
27378         * nss/nss_files/files-network.c: Likewise.
27379         * nss/nss_files/files-parse.c: Likewise.
27380         * posix/bug-regex5.c: Likewise.
27381         * posix/fnmatch_loop.c: Likewise.
27382         * posix/regcomp.c: Likewise.
27383         * posix/regexec.c: Likewise.
27384         * posix/tst-rfc3484-2.c: Likewise.
27385         * posix/tst-rfc3484-3.c: Likewise.
27386         * posix/tst-rfc3484.c: Likewise.
27387         * resolv/nss_dns/dns-canon.c: Likewise.
27388         * resolv/nss_dns/dns-network.c: Likewise.
27389         * resolv/res_init.c: Likewise.
27390         * resolv/res_mkquery.c: Likewise.
27391         * resolv/tst-aton.c: Likewise.
27392         * stdlib/cxa_atexit.c: Likewise.
27393         * stdlib/cxa_finalize.c: Likewise.
27394         * stdlib/gen-fpioconst.c: Likewise.
27395         * stdlib/strtol_l.c: Likewise.
27396         * string/tst-endian.c: Likewise.
27397         * sunrpc/auth_des.c: Likewise.
27398         * sunrpc/clnt_udp.c: Likewise.
27399         * sunrpc/rtime.c: Likewise.
27400         * sunrpc/svcauth_des.c: Likewise.
27401         * sunrpc/xdr.c: Likewise.
27402         * sunrpc/xdr_intXX_t.c: Likewise.
27403         * sunrpc/xdr_rec.c: Likewise.
27404         * sysdeps/generic/ldconfig.h: Likewise.
27405         * sysdeps/generic/ldsodefs.h: Likewise.
27406         * sysdeps/generic/memusage.h: Likewise.
27407         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27408         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27409         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27410         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27411         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27412         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27413         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27414         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27415         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27416         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27417         * sysdeps/posix/getaddrinfo.c: Likewise.
27418         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27419         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27420         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27421         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27422         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27423         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27424         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27425         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27426         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27427         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27428         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27429         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27430         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27431         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27432         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27433         * sysdeps/x86_64/dl-tls.h: Likewise.
27434         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27435         * time/alt_digit.c: Likewise.
27436         * time/era.c: Likewise.
27437         * wcsmbs/tst-c16c32-1.c: Likewise.
27439 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27441         * math/libm-test.inc (struct test_sincos_data): New type.
27442         (RUN_TEST_LOOP_sincos): New macro.
27443         (sincos_test_data): New variable.
27444         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27446 2013-05-16  Richard Henderson  <rth@redhat.com>
27448         * math/atest-exp2.c (LIMB64): New macro.
27449         (CONSTSZ): New macro.
27450         (mp_exp1, mp_exp_m1, mp_log2): New variables.
27451         (hexdig): Move ...
27452         (print_mpn_fp): ... to function scope.
27453         (read_mpn_hex): Remove.
27454         (get_log2): Remove.
27455         (exp2_mpn): Use mp_log2.
27456         (main): Use mp_exp1.
27458 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27460         * math/libm-test.inc: Remove comment about not testing "inexact"
27461         exceptions.
27462         (INEXACT_EXCEPTION): New macro.
27463         (NO_INEXACT_EXCEPTION): Likewise.
27464         (INVALID_EXCEPTION_OK): Update value.
27465         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27466         (OVERFLOW_EXCEPTION_OK): Likewise.
27467         (UNDERFLOW_EXCEPTION_OK): Likewise.
27468         (IGNORE_ZERO_INF_SIGN): Likewise.
27469         (ERRNO_UNCHANGED): Likewise.
27470         (ERRNO_EDOM): Likewise.
27471         (ERRNO_ERANGE): Likewise.
27472         (test_exceptions): Handle testing "inexact" exceptions.
27473         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27474         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27475         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27476         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27477         INEXACT_EXCEPTION.
27478         (rint_towardzero_test_data): Likewise.
27479         (rint_downward_test_data): Likewise.
27480         (rint_upward_test_data): Likewise.
27482         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27483         with OVERFLOW_EXCEPTION.
27484         (exp10_test_data): Likewise.
27485         (exp2_test_data): Likewise.
27486         (expm1_test_data): Likewise.
27487         (lgamma_test_data): Likewise.
27488         (pow_test_data): Likewise.
27489         (tgamma_test_data): Likewise.
27490         (yn_test_data): Remove duplicate test of overflow.
27492         * math/libm-test.inc (struct test_cc_c_data): New type.
27493         (RUN_TEST_LOOP_cc_c): New macro.
27494         (cpow_test_data): New variable.
27495         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27497         * math/libm-test.inc (struct test_f_L_data): New type.
27498         (RUN_TEST_LOOP_f_L): New macro.
27499         (llrint_test_data): New variable.
27500         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27501         (llrint_tonearest_test_data): New variable.
27502         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27503         (llrint_towardzero_test_data): New variable.
27504         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27505         (llrint_downward_test_data): New variable.
27506         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27507         (llrint_upward_test_data): New variable.
27508         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27509         (llround_test_data): New variable.
27510         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27512 2013-05-13  Peter Collingbourne  <pcc@google.com>
27514         * math/atest-exp2.c (get_log2): Remove const attribute.
27516 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27518         * math/libm-test.inc (struct test_f_l_data): New type.
27519         (RUN_TEST_LOOP_f_l): New macro.
27520         (lrint_test_data): New variable.
27521         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27522         (lrint_tonearest_test_data): New variable.
27523         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27524         (lrint_towardzero_test_data): New variable.
27525         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27526         (lrint_downward_test_data): New variable.
27527         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27528         (lrint_upward_test_data): New variable.
27529         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27530         (lround_test_data): New variable.
27531         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27533 2013-05-15  Peter Collingbourne  <pcc@google.com>
27535         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27536         (EXTRACT_WORDS64) Use where appropriate.
27537         (INSERT_WORDS64) Likewise.
27539         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27540         constraints with x constraints.
27541         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27543         * malloc/obstack.c (_obstack_compat): Add initializer.
27545 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27547         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27548         si_trapno and add si_addr_lsb to _sifields.sigfault.
27549         (si_trapno): Remove macro.
27550         (si_addr_lsb): Define new macro.
27551         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27553 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27555         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27556         instead of TEST_f_l.
27557         (llrint_test_tonearest): Likewise.
27558         (llrint_test_towardzero): Likewise.
27559         (llrint_test_downward): Likewise.
27560         (llrint_test_upward): Likewise.
27561         (llround_test): Likewise.
27563         * math/libm-test.inc (struct test_f_i_data): Add comment.
27564         (RUN_TEST_LOOP_f_b): New macro.
27565         (RUN_TEST_LOOP_f_b_tg): Likewise.
27566         (finite_test_data): New variable.
27567         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27568         (isfinite_test_data): New variable.
27569         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27570         (isinf_test_data): New variable.
27571         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27572         (isnan_test_data): New variable.
27573         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27574         (isnormal_test_data): New variable.
27575         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27576         (issignaling_test_data): New variable.
27577         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27578         (signbit_test_data): New variable.
27579         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27581         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27582         with INVALID_EXCEPTION.
27583         (acosh_test_data): Likewise.
27584         (asin_test_data): Likewise.
27585         (atanh_test_data): Likewise.
27586         (fmod_test_data): Likewise.
27587         (log_test_data): Likewise.
27588         (log10_test_data): Likewise.
27589         (log2_test_data): Likewise.
27590         (pow_test_data): Likewise.
27591         (sqrt_test_data): Likewise.
27592         (y0_test_data): Likewise.
27593         (y1_test_data): Likewise.
27594         (yn_test_data): Likewise.
27596         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27597         function contents.
27599         * math/libm-test.inc (struct test_ff_i_data): New type.
27600         (RUN_TEST_LOOP_ff_i_tg): New macro.
27601         (isgreater_test_data): New variable.
27602         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27603         (isgreaterequal_test_data): New variable.
27604         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27605         (isless_test_data): New variable.
27606         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27607         (islessequal_test_data): New variable.
27608         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27609         (islessgreater_test_data): New variable.
27610         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27611         (isunordered_test_data): New variable.
27612         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27614 2013-05-14  David S. Miller  <davem@davemloft.net>
27616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27618 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27620         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27622         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27623         extra_test to int.
27624         (struct test_f_i_data): Change type of max_ulp to int.
27626         * math/libm-test.inc (test_ffI_f1_data): New type.
27627         (RUN_TEST_LOOP_ffI_f1): New macro.
27628         (remquo_test_data): New variable.
27629         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27631         * setjmp/tst-setjmp-fp.c: New file.
27632         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27633         (link-libm): New variable.
27634         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27636         * math/libm-test.inc (struct test_f_i_data): New type.
27637         (RUN_TEST_LOOP_f_i): New macro.
27638         (RUN_TEST_LOOP_f_i_tg): Likewise.
27639         (fpclassify_test_data): New variable.
27640         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27641         (ilogb_test_data): New variable.
27642         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27644         * math/libm-test.inc (scalbln_test): Correct function name in END
27645         call.
27647         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27648         (RUN_TEST_LOOP_fI_f1): New macro.
27649         (frexp_test_data): New variable.
27650         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27652         * math/libm-test.inc (struct test_fF_f1_data): New type.
27653         (RUN_TEST_LOOP_fF_f1): New macro.
27654         (modf_test_data): New variable.
27655         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27657         * math/libm-test.inc (struct test_f_f1_data): New type.
27658         (RUN_TEST_LOOP_f_f1): New macro.
27659         (gamma_test_data): New variable.
27660         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27661         (lgamma_test_data): New variable.
27662         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27664 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27666         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27667         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27668         (main): Comment "tls" pseudo-hwcap.
27670 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27672         * math/libm-test.inc (struct test_fl_f_data): New type.
27673         (RUN_TEST_LOOP_fl_f): New variable.
27674         (scalbln_test_data): New variable.
27675         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27677         * math/libm-test.inc (struct test_fi_f_data): New type.
27678         (RUN_TEST_LOOP_fi_f): New macro.
27679         (ldexp_test_data): New variable.
27680         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27681         (scalbn_test_data): New variable.
27682         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27684         * math/libm-test.inc (struct test_c_f_data): New type.
27685         (RUN_TEST_LOOP_c_f): New macro.
27686         (cabs_test_data): New variable.
27687         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27688         (carg_test_data): New variable.
27689         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27690         (cimag_test_data): New variable.
27691         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27692         (creal_test_data): New variable.
27693         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27695         * math/libm-test.inc (struct test_if_f_data): New type.
27696         (RUN_TEST_LOOP_if_f): New macro.
27697         (jn_test_data): New variable.
27698         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27699         (yn_test_data): New variable.
27700         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27702         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27704 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27706         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27707         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27709 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27711         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27712         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27713         (bench-deps): Add bench-timing.h.
27714         * benchtests-bench-skeleton.c: Include bench-timing.h.
27715         (main): Use TIMING_* macros instead of clock_gettime.
27716         * benchtests/bench-timing.h: New file.
27718         [BZ #14582]
27719         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27720         Renamed from _LIB_VERSION.
27721         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27723 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27725         * math/libm-test.inc (struct test_fff_f_data): New type.
27726         (RUN_TEST_LOOP_fff_f): New macro.
27727         (fma_test_data): New variable.
27728         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27729         (fma_towardzero_test_data): New variable.
27730         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27731         (fma_downward_test_data): New variable.
27732         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27733         (fma_upward_test_data): New variable.
27734         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27736         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27737         (struct test_c_c_data): New type.
27738         (RUN_TEST_LOOP_c_c): New macro.
27739         (cacos_test_data): New variable.
27740         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27741         (cacosh_test_data): New variable.
27742         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27743         (casin_test_data): New variable.
27744         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27745         (casinh_test_data): New variable.
27746         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27747         (catan_test_data): New variable.
27748         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27749         (catanh_test_data): New variable.
27750         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27751         (ccos_test_data): New variable.
27752         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27753         (ccosh_test_data): New variable.
27754         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27755         (cexp_test_data): New variable.
27756         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27757         (clog_test_data): New variable.
27758         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27759         (clog10_test_data): New variable.
27760         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27761         (conj_test_data): New variable.
27762         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27763         (cproj_test_data): New variable.
27764         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27765         (csin_test_data): New variable.
27766         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27767         (csinh_test_data): New variable.
27768         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27769         (csqrt_test_data): New variable.
27770         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27771         (ctan_test_data): New variable.
27772         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27773         (ctan_tonearest_test_data): New variable.
27774         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27775         (ctan_towardzero_test_data): New variable.
27776         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27777         (ctan_downward_test_data): New variable.
27778         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27779         (ctan_upward_test_data): New variable.
27780         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27781         (ctanh_test_data): New variable.
27782         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27783         (ctanh_tonearest_test_data): New variable.
27784         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27785         (ctanh_towardzero_test_data): New variable.
27786         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27787         (ctanh_downward_test_data): New variable.
27788         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27789         (ctanh_upward_test_data): New variable.
27790         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27791         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27792         of BUILD_COMPLEX.
27794         * math/libm-test.inc (struct test_ff_f_data): New type.
27795         (struct test_ff_f_data_nexttoward): Likewise.
27796         (RUN_TEST_LOOP_2_f): New macro.
27797         (RUN_TEST_LOOP_ff_f): Likewise.
27798         (atan2_test_data): New variable.
27799         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27800         (copysign_test_data): New variable.
27801         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27802         (fdim_test_data): New variable.
27803         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27804         (fmax_test_data): New variable.
27805         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27806         (fmin_test_data): New variable.
27807         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27808         (fmod_test_data): New variable.
27809         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27810         (hypot_test_data): New variable.
27811         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27812         (nextafter_test_data): New variable.
27813         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27814         (nexttoward_test_data): New variable.
27815         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27816         (pow_test_data): New variable.
27817         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27818         (pow_tonearest_test_data): New variable.
27819         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27820         (pow_towardzero_test_data): New variable.
27821         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27822         (pow_downward_test_data): New variable.
27823         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27824         (pow_upward_test_data): New variable.
27825         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27826         (remainder_test_data): New variable.
27827         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27828         (scalb_test_data): New variable.
27829         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27830         * sysdeps/i386/fpu/libm-test-ulps: Update.
27832 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27834         * math/libm-test.inc (fma_test): Use max_value instead of local
27835         variable fltmax.
27836         (nextafter_test): Likewise.
27838         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27839         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27840         (acos_downward_test_data): New variable.
27841         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27842         (acos_upward_test_data): New variable.
27843         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27844         (acosh_test_data): New variable.
27845         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27846         (asin_test_data): New variable.
27847         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27848         (asin_tonearest_test_data): New variable.
27849         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27850         (asin_towardzero_test_data): New variable.
27851         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27852         (asin_downward_test_data): New variable.
27853         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27854         (asin_upward_test_data): New variable.
27855         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27856         (asinh_test_data): New variable.
27857         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27858         (atan_test_data): New variable.
27859         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27860         (atanh_test_data): New variable.
27861         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27862         (cbrt_test_data): New variable.
27863         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27864         (ceil_test_data): New variable.
27865         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27866         (cos_test_data): New variable.
27867         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27868         (cos_tonearest_test_data): New variable.
27869         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27870         (cos_towardzero_test_data): New variable.
27871         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27872         (cos_downward_test_data): New variable.
27873         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27874         (cos_upward_test_data): New variable.
27875         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27876         (cosh_test_data): New variable.
27877         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27878         (cosh_tonearest_test_data): New variable.
27879         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27880         (cosh_towardzero_test_data): New variable.
27881         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27882         (cosh_downward_test_data): New variable.
27883         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27884         (cosh_upward_test_data): New variable.
27885         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27886         (erf_test_data): New variable.
27887         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27888         (erfc_test_data): New variable.
27889         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27890         (exp_test_data): New variable.
27891         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27892         (exp_tonearest_test_data): New variable.
27893         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27894         (exp_towardzero_test_data): New variable.
27895         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27896         (exp_downward_test_data): New variable.
27897         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27898         (exp_upward_test_data): New variable.
27899         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27900         (exp10_test_data): New variable.
27901         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27902         (exp2_test_data): New variable.
27903         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27904         (expm1_test_data): New variable.
27905         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27906         (fabs_test_data): New variable.
27907         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27908         (floor_test_data): New variable.
27909         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27910         (j0_test_data): New variable.
27911         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27912         (j1_test_data): New variable.
27913         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27914         (log_test_data): New variable.
27915         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27916         (log10_test_data): New variable.
27917         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27918         (log1p_test_data): New variable.
27919         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27920         (log2_test_data): New variable.
27921         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27922         (logb_test_data): New variable.
27923         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27924         (logb_downward_test_data): New variable.
27925         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27926         (nearbyint_test_data): New variable.
27927         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27928         (rint_test_data): New variable.
27929         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27930         (rint_tonearest_test_data): New variable.
27931         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27932         (rint_towardzero_test_data): New variable.
27933         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27934         (rint_downward_test_data): New variable.
27935         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27936         (rint_upward_test_data): New variable.
27937         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27938         (round_test_data): New variable.
27939         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27940         (sin_test_data): New variable.
27941         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27942         (sin_tonearest_test_data): New variable.
27943         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27944         (sin_towardzero_test_data): New variable.
27945         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27946         (sin_downward_test_data): New variable.
27947         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27948         (sin_upward_test_data): New variable.
27949         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27950         (sinh_test_data): New variable.
27951         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27952         (sinh_tonearest_test_data): New variable.
27953         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27954         (sinh_towardzero_test_data): New variable.
27955         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27956         (sinh_downward_test_data): New variable.
27957         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27958         (sinh_upward_test_data): New variable.
27959         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27960         (sqrt_test_data): New variable.
27961         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27962         (tan_test_data): New variable.
27963         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27964         (tan_tonearest_test_data): New variable.
27965         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27966         (tan_towardzero_test_data): New variable.
27967         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27968         (tan_downward_test_data): New variable.
27969         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27970         (tan_upward_test_data): New variable.
27971         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27972         (tanh_test_data): New variable.
27973         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27974         (tgamma_test_data): New variable.
27975         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27976         (trunc_test_data): New variable.
27977         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27978         (y0_test_data): New variable.
27979         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27980         (y1_test_data): New variable.
27981         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27982         (significand_test_data): New variable.
27983         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27985 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27987         [BZ #12387]
27988         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27990 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27992         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27994 2013-05-10  Andreas Jaeger  <aj@suse.de>
27996         [BZ #15448]
27997         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27998         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28000 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28002         * math/gen-libm-test.pl (adjust_arg): New function.
28003         (special_functions): Handle generating output in both functions
28004         and arrays.
28005         (parse_args): Likewise.
28006         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
28007         $in_func argument to parse_args.
28008         * math/libm-test.inc (struct test_f_f_data): New type.
28009         (IF_ROUND_INIT_): New macro.
28010         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28011         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28012         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28013         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28014         (ROUND_RESTORE_): Likewise.
28015         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28016         (ROUND_RESTORE_FE_TONEAREST): Likewise.
28017         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28018         (ROUND_RESTORE_FE_UPWARD): Likewise.
28019         (RUN_TEST_LOOP_f_f): New macro.
28020         (acos_test_data): New variable.
28021         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28022         (acos_tonearest_test_data): New variable.
28023         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28025 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28027         * benchtests/bench-skeleton.c (startup): Fix coding style.
28029 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28031         [BZ #6809]
28032         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28033         negative infinity argument.
28034         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28035         negative infinity argument.
28036         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28037         negative infinity argument.
28038         * math/libm-test.inc (tgamma_test): Expect errno to be set for
28039         domain errors.
28041 2013-05-10  Florian Weimer  <fweimer@redhat.com>
28043         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28044         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28045         * iconv/iconv_prog.c (main): Likewise.
28046         * locale/programs/charmap-dir.c (charmap_readdir)
28047         (fopen_uncompressed): Likewise.
28048         * locale/programs/locfile.c (siblings_uncached)
28049         (write_locale_data): Use lstat64 instead of lstat.
28050         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28051         stat.
28053 2013-05-10  Andreas Jaeger  <aj@suse.de>
28055         [BZ #15395]
28056         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28057         localization.
28058         Include <locale.h>.
28060 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
28062         * elf/dl-close.c (_dl_close_worker): Add comments.
28064 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
28066         [BZ #15359]
28067         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28068         high part of pi/2.
28069         (__ieee754_rem_pio2l): Update comments.
28071         [BZ #15429]
28072         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28073         high part of pi/2.
28074         (__ieee754_rem_pio2l): Update comments.
28076         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28077         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28079         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28080         M_PI_4l.
28082         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28083         (M_PI_34_LOG10El): Likewise.
28084         (M_PI2_LOG10El): Likewise.
28085         (M_PI4_LOG10El): Likewise.
28086         (M_PI_LOG10El): Likewise.
28088 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28092 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
28094         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28095         (MINUS_ZERO_INIT): Likewise.
28096         (PLUS_INFTY_INIT): Likewise.
28097         (MINUS_INFTY_INIT): Likewise.
28098         (QNAN_VALUE_INIT): Likewise.
28099         (MAX_VALUE_INIT): Likewise.
28100         (MIN_VALUE_INIT): Likewise.
28101         (MIN_SUBNORM_VALUE_INIT): Likewise.
28102         (plus_zero): Initialize with PLUS_ZERO_INIT.
28103         (minus_zero): Initialize with MINUS_ZERO_INIT.
28104         (plus_infty): Initialize with PLUS_INFTY_INIT.
28105         (minus_infty): Initialize with MINUS_INFTY_INIT.
28106         (qnan_value): Initialize with QNAN_VALUE_INIT.
28107         (max_value): Initialize with MAX_VALUE_INIT.
28108         (min_value): Initialize with MIN_VALUE_INIT.
28109         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28111         * math/libm-test.inc (RUN_TEST_if_f): New macro.
28112         (jn_test): Use TEST_if_f instead of TEST_ff_f.
28113         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28114         (yn_test): Use TEST_if_f instead of TEST_ff_f.
28116         * math/libm-test.inc (RUN_TEST_f_f): New macro.
28117         (RUN_TEST_2_f): Likewise.
28118         (RUN_TEST_ff_f): Likewise.
28119         (RUN_TEST_fi_f): Likewise.
28120         (RUN_TEST_fl_f): Likewise.
28121         (RUN_TEST_fff_f): Likewise.
28122         (RUN_TEST_c_f): Likewise.
28123         (RUN_TEST_f_f1): Likewise.
28124         (RUN_TEST_fF_f1): Likewise.
28125         (RUN_TEST_fI_f1): Likewise.
28126         (RUN_TEST_ffI_f1): Likewise.
28127         (RUN_TEST_c_c): Likewise.
28128         (RUN_TEST_cc_c): Likewise.
28129         (RUN_TEST_f_i): Likewise.
28130         (RUN_TEST_f_i_tg): Likewise.
28131         (RUN_TEST_ff_i_tg): Likewise.
28132         (RUN_TEST_f_b): Likewise.
28133         (RUN_TEST_f_b_tg): Likewise.
28134         (RUN_TEST_f_l): Likewise.
28135         (RUN_TEST_f_L): Likewise.
28136         (RUN_TEST_sincos): Likewise.
28137         * math/gen-libm-test.pl (new_test): Take new argument to indicate
28138         whether to show exceptions.  Do not include ");\n" in return
28139         value.
28140         (special_functions): Output call to RUN_TEST_sincos instead of
28141         check_float calls.  Update calls to new_test.
28142         (parse_args): Output call to single RUN_TEST_* macro instead of
28143         check_* calls and other assignments.  Update calls to new_test.
28145         [BZ #2546]
28146         [BZ #2560]
28147         [BZ #5159]
28148         [BZ #15426]
28149         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28150         input to result for tgamma overflow.
28151         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28152         (gamma_coeff): New variable.
28153         (NCOEFF): New macro.
28154         (gamma_positive): New function.
28155         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28156         underflow here.  Use gamma_positive instead of exp (lgamma) for
28157         other arguments.
28158         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28159         (gamma_coeff): New variable.
28160         (NCOEFF): New macro.
28161         (gammaf_positive): New function.
28162         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28163         underflow here.  Use gamma_positive instead of exp (lgamma) for
28164         other arguments.
28165         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28166         (gamma_coeff): New variable.
28167         (NCOEFF): New macro.
28168         (gammal_positive): New function.
28169         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28170         underflow here.  Use gamma_positive instead of exp (lgamma) for
28171         other arguments.
28172         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28173         (gamma_coeff): New variable.
28174         (NCOEFF): New macro.
28175         (gammal_positive): New function.
28176         (__ieee754_gammal_r): Handle positive infinity, overflow and
28177         underflow here.  Handle NaN the same as positive infinity.  Remove
28178         check x < 0xffffffff for negative integers.  Use gamma_positive
28179         instead of exp (lgamma) for other arguments.
28180         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28181         (gamma_coeff): New variable.
28182         (NCOEFF): New macro.
28183         (gammal_positive): New function.
28184         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28185         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28186         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28187         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28188         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28189         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28190         * sysdeps/generic/math_private.h (__gamma_productf): New
28191         prototype.
28192         (__gamma_product): Likewise.
28193         (__gamma_productl): Likewise.
28194         * math/Makefile (libm-calls): Add gamma_product.
28195         * math/libm-test.inc (tgamma_test): Add more tests.
28196         * sysdeps/i386/fpu/libm-test-ulps: Update.
28197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28199 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
28201         * benchtests/bench-skeleton.c (main): Preheat CPU.
28203 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
28205         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28207 2013-05-07  Roland McGrath  <roland@hack.frob.com>
28209         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28210         and _dl_skip_args_internal.
28212 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
28214         * manual/message.texi (Message Translation): Talk about users.
28215         Message to key mapping impacts design.
28217 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28219         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28221         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28223         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28224         * sysdeps/wordsize-64/glob64.c: ... here.
28226         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28227         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28228         New macros.
28230         * debug/getlogin_r_chk.c: Moved to ...
28231         * login/getlogin_r_chk.c: ... here.
28232         * debug/Makefile (routines): Move getlogin_r_chk to ...
28233         * login/Makefile (routines): ... here.
28234         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28235         * login/Versions (libc: GLIBC_2.4): ... here.
28237         * io/poll.c (__poll): Renamed from poll.
28238         Add libc_hidden_def.
28239         (poll): Define as weak alias.
28241         * debug/ptsname_r_chk.c: Moved to ...
28242         * login/ptsname_r_chk.c: ... here.
28243         * debug/Makefile (routines): Move ptsname_r_chk to ...
28244         * login/Makefile (routines): ... here.
28245         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28246         * login/Versions (libc: GLIBC_2.4): ... here.
28248         * posix/getlogin.c: Moved to ...
28249         * login/getlogin.c: ... here.
28250         * posix/getlogin_r.c: Moved to ...
28251         * login/getlogin_r.c: ... here.
28252         * posix/getlogin_r.c: Moved to ...
28253         * login/getlogin_r.c: ... here.
28254         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28255         * login/Makefile (routines): ... here.
28256         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28257         * login/Versions (libc: GLIBC_2.0): ... here.
28259         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28260         (setrlimit): Define as weak alias.
28262         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28263         Call __ names for open, ftruncate, and close.
28264         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28265         (truncate): Define as weak alias.
28267 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28269         * math/gen-libm-test.pl (parse_args): Initialize x before each
28270         test of frexp, modf and remquo.
28272         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28273         test signgam value.
28275 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28277         [BZ #15418]
28278         [BZ #15419]
28279         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28280         internal tests.
28281         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28283 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28285         * elf/dl-writev.h: New file.
28286         * elf/dl-misc.c: Include it.
28287         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28288         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28290 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28292         * math/libm-test.inc (noXFails): Remove variable.
28293         (noXPasses): Likewise.
28294         (BUILD_COMPLEX_INT): Remove macro.
28295         (print_screen): Remove xfail argument.
28296         (print_screen_max_error): Likewise.
28297         (update_stats): Likewise.
28298         (print_max_error): Likewise.  Update calls to other affected
28299         functions.
28300         (print_complex_max_error): Likewise.
28301         (test_single_exception): Update calls to print_screen.
28302         (test_single_errno): Likewise.
28303         (check_float_internal): Remove xfail argument.  Update calls to
28304         other affected functions.
28305         (check_float): Likewise.
28306         (check_complex): Likewise.
28307         (check_int): Likewise.
28308         (check_long): Likewise.
28309         (check_bool): Likewise.
28310         (check_longlong): Likewise.
28311         (main): Don't print noXFails and noXPasses.
28312         * math/gen-libm-test.pl (top level): Don't mention expected
28313         failure handling in comment.
28314         (new_test): Don't handle expected failures.
28315         (parse_args): Don't mention expected failure handling in comment.
28316         (generate_testfile): Don't handle expected failures.
28317         (parse_ulps): Likewise.
28318         (print_ulps_file): Likewise.
28319         (get_failure): Remove function.
28320         (output_test): Don't handle expected failures.
28321         * make/README.libm-test: Don't mention expected failure handling.
28323         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28324         (minus_zero): Likewise.
28325         (plus_infty): Likewise.
28326         (minus_infty): Likewise.
28327         (qnan_value): Likewise.
28328         (max_value): Likewise.
28329         (min_value): Likewise.
28330         (min_subnorm_value): Likewise.
28331         (initialize): Do not initialize those variables dynamically.
28333 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28335         * io/open.c (__open_2): Moved to ...
28336         * io/open_2.c: ... this new file.
28337         * io/open64.c (__open64_2): Moved to ...
28338         * io/open64_2.c: ... this new file.
28339         * io/openat.c (__openat_2): Moved to ...
28340         * io/openat_2.c: ... this new file.
28341         * io/openat64.c (__openat64_2): Moved to ...
28342         * io/openat64_2.c: ... this new file.
28343         * io/Makefile (routines): Add them.
28344         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28345         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28346         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28347         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28348         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28349         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28350         (__openat64): Add hidden_ver.
28351         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28352         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28354         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28355         Separately conditionalize setting of GLRO(dl_sysinfo) so
28356         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28357         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28359 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28361         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28362         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28363         definition.
28364         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28365         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28366         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28367         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28368         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28370 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28372         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28373         test signgam value.
28375         * math/libm-test.inc (hypot_test): Do not use
28376         IGNORE_ZERO_INF_SIGN.
28378 2013-05-03  Andreas Jaeger  <aj@suse.de>
28380         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28381         Linux 3.9.
28382         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28383         (PF_MAX): Adjust for VSOCK change.
28385 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28389 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28391         [BZ #15264]
28392         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28393         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28394         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28396 2013-05-02  David S. Miller  <davem@davemloft.net>
28398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28400 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28402         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28404 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28406         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28408 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28410         [BZ #14952]
28411         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28412         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28413         Use __attribute__ ((__gnu_inline__)).
28414         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28415         Don't use __attribute__ ((__gnu_inline__)).
28417 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28419         [BZ #15423]
28420         * math/s_catan.c (__catan): Handle small real or imaginary part of
28421         input specially to avoid spurious underflow.
28422         * math/s_catanf.c (__catanf): Likewise.
28423         * math/s_catanh.c (__catanh): Likewise.
28424         * math/s_catanhf.c (__catanhf): Likewise.
28425         * math/s_catanhl.c (__catanhl): Likewise.
28426         * math/s_catanl.c (__catanl): Likewise.
28427         * math/libm-test.inc (catan_test): Add more tests.
28428         (catanh_test): Likewise.
28429         * sysdeps/i386/fpu/libm-test-ulps: Update.
28430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28432 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28436 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
28438         [BZ #15416]
28439         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28440         accurately for denominator in atan2.
28441         * math/s_catanf.c (__catanf): Likewise.
28442         * math/s_catanh.c (__catanh): Likewise.
28443         * math/s_catanhf.c (__catanhf): Likewise.
28444         * math/s_catanhl.c (__catanhl): Likewise.
28445         * math/s_catanl.c (__catanl): Likewise.
28446         * math/libm-test.inc (catan_test): Add more tests.
28447         (catanh_test): Likewise.
28448         * sysdeps/i386/fpu/libm-test-ulps: Update.
28449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28451 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28453         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28455         * benchtests/Makefile (bench): Remove slow benchmarks.
28456         * benchtests/atan-inputs: Add slow benchmark inputs.
28457         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28458         (BENCH_FUNC): Accept variant offset.
28459         (VARIANT): Define.
28460         * benchtests/bench-skeleton.c (main): Run benchmark for each
28461         variant.
28462         * benchtests/cos-inputs: Add slow benchmark inputs.
28463         * benchtests/exp-inputs: Likewise.
28464         * benchtests/pow-inputs: Likewise.
28465         * benchtests/sin-inputs: Likewise.
28466         * benchtests/slowatan-inputs: Remove.
28467         * benchtests/slowatan.c: Remove.
28468         * benchtests/slowcos-inputs: Remove.
28469         * benchtests/slowcos.c: Remove.
28470         * benchtests/slowexp-inputs: Remove.
28471         * benchtests/slowexp.c: Remove.
28472         * benchtests/slowpow-inputs: Remove.
28473         * benchtests/slowpow.c: Remove.
28474         * benchtests/slowsin-inputs: Remove.
28475         * benchtests/slowsin.c: Remove.
28476         * benchtests/slowtan-inputs: Remove.
28477         * benchtests/slowtan.c: Remove.
28478         * benchtests/tan-inputs: Add slow benchmark inputs.
28479         * scripts/bench.pl: Parse comments and directives.
28481         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
28482         in CPPFLAGS.
28483         ($(objpfx)bench-%.c): Remove *-ITER.
28484         * benchtests/bench-modf.c: Remove definition of ITER.
28485         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28486         (main): Loop for DURATION seconds instead of fixed number of
28487         iterations.
28488         * scripts/bench.pl: Don't expect iterations in parameters.
28490 2013-04-29  Roland McGrath  <roland@hack.frob.com>
28492         * io/fchdir.c (__fchdir): Renamed from fchdir.
28493         (fchdir): Define as weak alias.
28495 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28497         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28498         (ERRNO_EDOM): Likewise.
28499         (ERRNO_ERANGE): Likewise.
28500         (noErrnoTests): New variable.
28501         (init_max_error): Set errno to 0.
28502         (test_single_errno): New function.
28503         (test_errno): Likewise.
28504         (check_float_internal): Call test_errno.  Set errno to 0.
28505         (check_complex): Refer to errno tests in comment.
28506         (check_int): Call test_errno.  Set errno to 0.
28507         (check_long): Likewise.
28508         (check_bool): Likewise.
28509         (check_longlong): Likewise.
28510         (cos_test): Use ERRNO_* flags for errno tests instead of
28511         check_int.
28512         (expm1_test): Likewise.
28513         (fmod_test): Likewise.
28514         (ilogb_test): Likewise.
28515         (lgamma_test): Likewise.
28516         (pow_test): Likewise.
28517         (remainder_test): Likewise.
28518         (sin_test): Likewise.
28519         (tan_test): Likewise.
28520         (yn_test): Likewise.
28521         (initialize): Set errno to 0.
28522         (main): Print number of errno tests.
28523         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28525 2013-04-29  Andreas Jaeger  <aj@suse.de>
28527         [BZ #15084]
28528         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28529         and RES_USEVC.
28531         [BZ #15085]
28532         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28533         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28534         unimplemented.
28536         [BZ #15380]
28537         * stdlib/random.c (__initstate): Return NULL if
28538         __initstate fails.
28540         [BZ #15086]
28541         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28542         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28543         RES_SNGLKUPREOP.
28545 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28549 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28551         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28552         of individual tests.
28553         (casin_test): Likewise.
28554         (casinh_test): Likewise.
28556 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28558         [BZ #15409]
28559         * math/s_catan.c (__catan): Handle arguments with large real or
28560         imaginary part separately without squaring.
28561         * math/s_catanf.c (__catanf): Likewise.
28562         * math/s_catanh.c (__catanh): Likewise.
28563         * math/s_catanhf.c (__catanhf): Likewise.
28564         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28565         and redefine.
28566         (__catanhl): Handle arguments with large real or imaginary part
28567         separately without squaring.
28568         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28569         and redefine.
28570         (__catanl): Handle arguments with large real or imaginary part
28571         separately without squaring.
28572         * math/libm-test.inc (catan_test): Add more tests.
28573         (catanh_test): Likewise.
28574         * sysdeps/i386/fpu/libm-test-ulps: Update.
28575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28577 2013-04-27  Andreas Jaeger  <aj@suse.de>
28579         [BZ #15007]
28580         * stdlib/stdlib.h: Update guards for qecvt.
28581         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28582         <stdlib.h>.
28584 2013-04-27  Allan McRae  <allan@archlinux.org>
28586         * sysdeps/i386/fpu/libm-test-ulps: Update.
28588 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28590         [BZ #15406]
28591         * math/s_catan.c: Include <float.h>.
28592         (__catan): Ensure underflow exception occurs for underflowed
28593         result.
28594         * math/s_catanf.c: Include <float.h>.
28595         (__catanf): Ensure underflow exception occurs for underflowed
28596         result.
28597         * math/s_catanh.c: Include <float.h>.
28598         (__catanh): Ensure underflow exception occurs for underflowed
28599         result.
28600         * math/s_catanhf.c: Include <float.h>.
28601         (__catanhf): Ensure underflow exception occurs for underflowed
28602         result.
28603         * math/s_catanhl.c: Include <float.h>.
28604         (__catanhl): Ensure underflow exception occurs for underflowed
28605         result.
28606         * math/s_catanl.c: Include <float.h>.
28607         (__catanl): Ensure underflow exception occurs for underflowed
28608         result.
28609         * math/libm-test.inc (catan_test): Add more tests.
28610         (catanh_test): Likewise.
28612         [BZ #15405]
28613         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28614         underflowed result.
28615         * math/s_ccoshf.c (__ccoshf): Likewise.
28616         * math/s_ccoshl.c (__ccoshl): Likewise.
28617         * math/s_csin.c (__csin): Likewise.
28618         * math/s_csinf.c (__csinf): Likewise.
28619         * math/s_csinh.c (__csinh): Likewise.
28620         * math/s_csinhf.c (__csinhf): Likewise.
28621         * math/s_csinhl.c (__csinhl): Likewise.
28622         * math/s_csinl.c (__csinl): Likewise.
28623         * math/libm-test.inc (ccos_test): Add more tests.
28624         (ccosh_test): Likewise.
28625         (csin_test): Likewise.
28626         (csinh_test): Likewise.
28628 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28630         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28631         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28632         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28633         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28634         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28635         powerpc/power5+/fpu folders.
28636         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28639 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28643 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28645         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28646         additions to variable.
28647         [$(config-machine) = x86_64] (modules-names): Likewise.
28648         ($(objpfx)tst-audit3): Remove dependency.
28649         ($(objpfx)tst-audit3.out): Likewise.
28650         ($(objpfx)tst-audit4): Likewise.
28651         ($(objpfx)tst-audit4.out): Likewise.
28652         ($(objpfx)tst-audit5): Likewise.
28653         ($(objpfx)tst-audit5.out): Likewise.
28654         ($(objpfx)tst-audit6): Likewise.
28655         ($(objpfx)tst-audit6.out): Likewise.
28656         ($(objpfx)tst-audit7): Likewise.
28657         ($(objpfx)tst-audit7.out): Likewise.
28658         (tst-audit3-ENV): Remove variable.
28659         (tst-audit4-ENV): Likewise.
28660         (tst-audit5-ENV): Likewise.
28661         (tst-audit6-ENV): Likewise.
28662         (tst-audit7-ENV): Likewise.
28663         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28664         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28665         addition to variable.
28666         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28667         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28668         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28669         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28670         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28671         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28672         tst-audit3, tst-audit4 and tst-audit5.
28673         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28674         tst-audit6 and tst-audit7.
28675         [$(subdir) = elf] (modules-names): Add audit modules for those
28676         tests.
28677         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28678         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28679         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28680         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28681         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28682         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28683         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28684         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28685         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28686         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28687         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28688         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28689         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28690         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28691         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28692         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28693         Likewise.
28694         [$(subdir) = elf && $(config-cflags-avx) = yes]
28695         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28696         [$(subdir) = elf && $(config-cflags-avx) = yes]
28697         (CFLAGS-tst-auditmod4a.c): Likewise.
28698         [$(subdir) = elf && $(config-cflags-avx) = yes]
28699         (CFLAGS-tst-auditmod4b.c): Likewise.
28700         [$(subdir) = elf && $(config-cflags-avx) = yes]
28701         (CFLAGS-tst-auditmod6b.c): Likewise.
28702         [$(subdir) = elf && $(config-cflags-avx) = yes]
28703         (CFLAGS-tst-auditmod6c.c): Likewise.
28704         [$(subdir) = elf && $(config-cflags-avx) = yes]
28705         (CFLAGS-tst-auditmod7b.c): Likewise.
28706         * elf/tst-audit3.c: Move to ...
28707         * sysdeps/x86_64/tst-audit3.c: ... here.
28708         * elf/tst-audit4.c: Move to ...
28709         * sysdeps/x86_64/tst-audit4.c: ... here.
28710         * elf/tst-audit5.c: Move to ...
28711         * sysdeps/x86_64/tst-audit5.c: ... here.
28712         * elf/tst-audit6.c: Move to ...
28713         * sysdeps/x86_64/tst-audit6.c: ... here.
28714         * elf/tst-audit7.c: Move to ...
28715         * sysdeps/x86_64/tst-audit7.c: ... here.
28716         * elf/tst-auditmod3a.c: Move to ...
28717         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28718         * elf/tst-auditmod3b.c: Move to ...
28719         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28720         * elf/tst-auditmod4a.c: Move to ...
28721         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28722         * elf/tst-auditmod4b.c: Move to ...
28723         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28724         * elf/tst-auditmod5a.c: Move to ...
28725         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28726         * elf/tst-auditmod5b.c: Move to ...
28727         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28728         * elf/tst-auditmod6a.c: Move to ...
28729         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28730         * elf/tst-auditmod6b.c: Move to ...
28731         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28732         * elf/tst-auditmod6c.c: Move to ...
28733         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28734         * elf/tst-auditmod7a.c: Move to ...
28735         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28736         * elf/tst-auditmod7b.c: Move to ...
28737         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28739 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28741         [BZ #15366]
28742         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28743         define unconditionally.
28744         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28745         define unconditionally.
28746         (INT8_C, INT16_C, etc.): Likewise.
28748 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28750         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28751         __ehdr_start with hidden visibility.
28753         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28755 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28757         * math/libm-test.inc (cos_test): Use accurate hex constants.
28758         (sincost_test): Likewise.
28760 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28762         * math/libm-test.inc (catan_test): Add more tests.
28763         (catanh_test): Likewise.
28765         * math/s_catanf.c (__catanf): Use suffixed floating-point
28766         constants.
28767         * math/s_catanhf.c (__catanhf): Likewise.
28768         * math/s_catanhl.c (__catanhl): Likewise.
28769         * math/s_catanl.c (__catanl): Likewise.
28771         [BZ #15394]
28772         * math/s_catan.c (__catan): Calculate imaginary part of result
28773         with log1p not log unless computing log of number close to 0.
28774         * math/s_catanf.c (__catanf): Likewise.
28775         * math/s_catanl.c (__catanl): Likewise.
28776         * math/s_catanh.c (__catanh): Calculate real part of result with
28777         log1p not log unless computing log of number close to 0.
28778         * math/s_catanhf.c (__catanhf): Likewise.
28779         * math/s_catanhl.c (__catanhl): Likewise.
28780         * math/libm-test.inc (catan_test): Add more tests.
28781         (catanh_test): Likewise.
28782         * sysdeps/i386/fpu/libm-test-ulps: Update.
28783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28785 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28787         * benchtests/Makefile: Mention files in which fast and slow
28788         paths of math functions are implemented.
28790 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28792         * sysdeps/posix/timespec_get.c: New file.
28794 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28796         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28797         POWER.
28798         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28799         for POWER.
28800         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28801         powerpc/power5/fpu folders.
28802         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28803         * benchtests/Makefile: Add modf testcase.
28804         * benchtests/bench-modf.c: New file: Benchmark test for mo
28806 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28808         [BZ #14888]
28809         * time/Makefile (tests): Add tst-strptime-whitespace.
28810         * time/strptime_l.c (get_number): Use ISSPACE.
28811         (__strptime_internal): Likewise.
28812         * time/tst-strptime-whitespace.c: New test case.
28814 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28816         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28817         member.
28818         (_nss_files_init): Set it here.
28820 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28822         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28823         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28824         unsigned.
28826 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28828         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28830 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28832         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28833         size just once.
28835 2013-04-21  David S. Miller  <davem@davemloft.net>
28837         * po/ru.po: Update Russion translation from translation project.
28839 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28841         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28842         and setfsgid.
28844 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28846         * configure.in: Remove i386 configure warning. Remove i386 case.
28847         * configure: Regenerate.
28848         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28849         Add example to error message.
28850         * sysdeps/i386/configure: Regenerate.
28852 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28854         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28855         slowtan.
28856         * benchtests/cos-inputs: New file.
28857         * benchtests/slowcos-inputs: New file.
28858         * benchtests/slowcos.c: New file.
28859         * benchtests/slowtan-inputs: New file.
28860         * benchtests/slowtan.c: New file.
28861         * benchtests/tan-inputs: New file.
28863 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28865         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28866         considered kosher.
28868 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28870         * benchtests/Makefile: Include cppflags-iterator.mk to add
28871         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28873         * Makefile.in (bench-clean): New target.
28874         * benchtests/Makefile (bench-clean): Likewise.
28876 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28878         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28880 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28882         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28884 2013-04-15  Andreas Schwab  <schwab@suse.de>
28886         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28887         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28888         * nscd/pwdcache.c (cache_addpw): Likewise.
28889         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28890         more than recsize.
28892 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28894         * benchtests/Makefile (bench): Write all output to
28895         bench-out.tmp together.
28897 2013-04-15  Andreas Schwab  <schwab@suse.de>
28899         * nscd/nscd.c (main): Don't fork again after closing files.
28901 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28903         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28905         * benchtests/Rules (bench-deps): Collect dependencies into a
28906         single variable.  Add Makefile to dependencies.
28907         ($(objpfx)bench-%.c): Depend on bench-deps.
28909 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28910             Xavier Roche  <roche+kml2@exalead.com>
28912         [BZ #15361]
28913         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28914         just that it's a file descriptor.
28915         * manual/llio.texi (Synchronizing AIO Operations): Update description
28916         for EBADF error from aio_fsync.
28918 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28920         * Rules (bench): Move target definition...
28921         * benchtests/Makefile: ... here.
28923 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28925         * math/libm-test.inc (cos_test): Fix PI/2 test.
28926         (sincos_test): Likewise.
28927         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28928         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28930 2013-04-11  Andreas Schwab  <schwab@suse.de>
28932         [BZ #13988]
28933         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28934         accept exponent character only when digits were seen.
28935         * stdio-common/Makefile (tests): Add bug26.
28936         * stdio-common/bug26.c: New file.
28938         [BZ #14293]
28939         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28940         non-freeable.
28942 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28944         * Makeconfig (rtld-prefix): Define built linker prefix.
28945         * Rules (run-bench): Use it.
28946         * math/Makefile (run-regen-ulps): Likewise.
28948         * Rules (bench): Remove eval.
28950 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28951             Roland McGrath  <roland@hack.frob.com>
28952             Ondrej Bilka  <neleai@seznam.cz>
28954         [BZ #15346]
28955         * time/getdate.c: Include ctype.h and alloca.h.
28956         (__getdate_r): Trim leading and trailing spaces of input.
28957         * time/tst-getdate.c (tests): Add tests with leading and
28958         trailing spaces.
28960 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28962         [BZ #14280]
28963         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28964         when computing value.
28966 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28968         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28969         Use testrun.sh to run libm tests.
28971         [BZ #15309]
28972         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28974 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28976         [BZ #15264]
28977         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28979 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28981         * Makefile.in (regen-ulps): New target.
28982         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28983         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28984         [ifneq (no,$(PERL)] (regen-ulps): New target.
28985         [ifeq (no,$(PERL)] (regen-ulps): New target.
28986         * math/libm-test.inc (ulps_file_name): Define.
28987         (output_dir): New variable.
28988         (options): Add "output-dir" option.
28989         (parse_opt): Handle 'o' case.
28990         (main): If output_dir is non-NULL use it as a prefix
28991         otherwise use "".
28992         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28994 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28996         [BZ #10060, #10062]
28997         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28998         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28999         fail configure if __sync_val_compare_and_swap is not inlined.
29000         * sysdeps/i386/configure: Regenerate.
29001         * configure.in: Build for i686 when configured for i386.
29002         * configure: Regenerate.
29003         * README: Remove i386 reference.
29005 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29007         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29008         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29010 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
29012         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29013         (lmsnanval): New variables.
29014         (F): Add conversion tests.
29015         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29016         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29018         * stdio-common/tstdiomisc.c (F): Properly collect individual
29019         tests' results.
29021         [BZ #14686, #15336]
29022         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29023         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29024         Instead, use input NaN values or generate a qNaN by arithmetic
29025         operation.  Also fix bugs to comply with the standard.
29026         * math/libm-test.inc (remainder_test): Add more tests.
29028         [BZ #15335, #15342]
29029         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29030         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29031         input NaN values or generate a qNaN by arithmetic operation.
29033         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29034         unreachable code.
29036         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29037         definitions.
29039 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
29041         [BZ #14478]
29042         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29043         underflowed result.
29044         * math/s_cexpf.c (__cexpf): Likewise.
29045         * math/s_cexpl.c (__cexpl): Likewise.
29046         * math/libm-test.inc (cexp_test): Add more tests.
29048 2013-04-03  Andreas Schwab  <schwab@suse.de>
29050         [BZ #15330]
29051         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29052         order arrays from heap if bigger than alloca cutoff.
29054 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
29056         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29057         (SNAN_TESTS_double): Refer to GCC PR56831.
29058         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29059         GCC PR56828.
29061 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29063         * Rules (bench): Move bench.out after the run is complete.
29065         * Rules (bench): Echo currently running benchmark.
29067         * benchtests/Makefile (bench): Add atan and slowatan.
29068         * benchtests/atan-inputs: New file.
29069         * benchtests/slowatan-inputs: New file.
29070         * benchtests/slowatan.c: New file.
29072         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29073         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29074         its value.
29076         [BZ #15305]
29077         * sysdeps/unix/sysv/linux/kernel-features.h
29078         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29079         __ASSUME_XFS_RESTRICTED_CHOWN.
29080         * sysdeps/unix/sysv/linux/pathconf.c
29081         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29082         Save and restore errno.
29084 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
29086         [BZ #15327]
29087         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29088         arguments using __kernel_casinh.
29089         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29090         arguments using __kernel_casinhf.
29091         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29092         arguments using __kernel_casinhl.
29093         * math/libm-test.inc (cacosh_test): Add more tests.
29094         * sysdeps/i386/fpu/libm-test-ulps: Update.
29095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29097 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29099         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29100         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29102         * bench/Makefile (bench): Add sin and slowsin.
29103         * benchtests/sin-inputs: New file.
29104         * benchtests/slowsin-inputs: New file.
29105         * benchtests/slowsin.c: New file.
29107         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29108         (bench): Add slowexp and slowpow.
29109         (exp-ITER): Increase iterations.
29110         (pow-ITER): Likewise.
29111         * benchtests/exp-inputs: Change input.
29112         * benchtests/pow-inputs: Likewise.
29113         * benchtests/slowexp-inputs: New file.
29114         * benchtests/slowexp.c: New file.
29115         * benchtests/slowpow-inputs: New file.
29116         * benchtests/slowpow.c: New file.
29118 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29120         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29121         instructions.
29122         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29123         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29124         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29125         * benchtests/Makefile: Add rint benchtest.
29126         * benchtests/rint-inputs: Input for rint benchtest.
29128 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29130         * Versions.def (libm): Add GLIBC_2.18.
29131         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29132         hidden libm prototypes.
29133         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29134         * math/Makefile (libm-calls): Add s_issignaling.
29135         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29136         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
29137         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29138         declaration.
29139         * math/math.h [__USE_GNU] (issignaling): New macro.
29140         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29141         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29142         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29143         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29144         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29145         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29146         * manual/arith.texi (issignaling): New section.
29147         * manual/libm-err-tab.pl (@all_functions): Update comment.
29148         * math/gen-libm-test.pl (parse_args): Apply special handling for
29149         issignaling.
29150         * math/libm-test.inc (print_float, issignaling_test): New
29151         functions.
29152         (check_float_internal): Add issignaling checks.
29153         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29154         default definition.
29155         * sysdeps/powerpc/math-tests.h: New file.
29156         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29157         tests.
29158         * math/test-snan.c (TEST_FUNC): Likewise.
29160 2013-03-30  David S. Miller  <davem@davemloft.net>
29162         * po/de.po: Update from translation team.
29164 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
29166         [BZ #10357]
29167         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29168         imaginary part less than 1.0 and real part less than 0.5
29169         specially.
29170         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29171         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29172         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29173         (cacos_test): Add more tests.
29174         (casin_test): Likewise.
29175         (casinh_test): Likewise.
29176         * sysdeps/i386/fpu/libm-test-ulps: Update.
29177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29179 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29181         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29182         ONE with its value.
29184         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29185         (__pow_mp): Replace ONE and MONE with their values.
29186         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29187         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29188         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29189         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29190         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29191         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29193         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29195         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29196         (__pow_mp): Replace ZERO and MZERO with their values.
29197         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29198         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29199         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29200         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29201         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29202         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29203         (__sqr): Likewise.
29205         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29207         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29209 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29211         * include/stdlib.h [!SHARED] (__call_tls_dtors):
29212         Declare with __attribute__ ((weak)).
29213         * stdlib/exit.c (__libc_atexit) [!SHARED]:
29214         Call __call_tls_dtors only if it's not NULL.
29216 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29218         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29219         didn't do it already, then set _dl_phdr and _dl_phnum based on the
29220         magic __ehdr_start linker symbol if it's defined.
29221         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29222         them up here if it was already done.
29224         * elf/dl-support.c (_dl_phdr): Make pointer to const.
29225         (_dl_aux_init): Use const in cast when setting it.
29226         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29227         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29228         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29230         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29231         Declare them here.
29232         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29233         * csu/libc-tls.c: Nor here.
29234         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29236         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29237         (__libc_message): Never call vsyslog.
29239 2013-03-28  Alan Modra  <amodra@gmail.com>
29241         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29242         Define as empty.
29243         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29244         Likewise.
29246 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29248         [BZ #15214]
29249         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29250         underflow.
29251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29253 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29255         [BZ #15304]
29256         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29257         Don't add gid passed as argument.
29259         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29261 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29263         [BZ #15307]
29264         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29265         imaginary part between 1.0 and 1.5 and real part less than 0.5
29266         specially.
29267         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29268         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29269         * math/libm-test.inc (cacos_test): Add more tests.
29270         (casin_test): Likewise.
29271         (casinh_test): Likewise.
29272         * sysdeps/i386/fpu/libm-test-ulps: Update.
29273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29275 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29277         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29278         constants.
29279         (norm): Likewise.
29280         (denorm): Likewise.
29281         (__dbl_mp): Likewise.
29282         (add_magnitudes): Likewise.
29283         (sub_magnitudes): Likewise.
29284         (__add): Likewise.
29285         (__sub): Likewise.
29286         (__mul): Likewise.
29287         (__sqr): Likewise.
29288         (__inv): Likewise.
29289         (__dvd): Likewise.
29291         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29292         commented code.
29293         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29294         (__dubcos): Likewise.
29295         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29296         (__ieee754_acos): Likewise.
29297         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29298         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29299         (__exp1): Likewise.
29300         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29301         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29302         (log1): Likewise.
29303         (my_log2): Likewise.
29304         (checkint): Likewise.
29305         * sysdeps/ieee754/dbl-64/e_remainder.c
29306         (__ieee754_remainder): Likewise.
29307         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29308         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29309         (bsloww): Likewise.
29310         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29312         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29313         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29314         MANTISSA_STORE_T to store computations on mantissa.  Use
29315         macros for rounding and division.
29316         (denorm): Likewise.
29317         (__dbl_mp): Likewise.
29318         (add_magnitudes): Likewise.
29319         (sub_magnitudes): Likewise.
29320         (__mul): Likewise.
29321         (__sqr): Likewise.
29322         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29323         powers of two in terms of TWOPOW macro.
29324         (mp_no): Make type of mantissa as MANTISSA_T.
29325         [!RADIXI]: Define RADIXI.
29326         [!TWO52]: Define TWO52.
29327         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29329 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29331         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29332         llroundl symbol when building for PPC32.
29334 2013-03-24  Mark H Weaver  <mhw@netris.org>
29336         * manual/arith.texi (Normalization Functions): Fix prototypes for
29337         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29339 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29341         [BZ #13889]
29342         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29343         high value to check if expl overflow.
29344         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29345         to check for underflow and overflow.
29346         * math/libm-test.inc: Add exp test.
29348 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29350         [BZ #11120]
29351         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29352         with NOT_IN_libc.
29354 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29356         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29357         symbol.
29359 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29361         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29362         wrap blocks consisting of several statements.
29364         * sysdeps/generic/math-tests.h: New file.
29365         * sysdeps/i386/fpu/math-tests.h: Likewise.
29366         * math/test-snan.c: Include it.
29367         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29369 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29371         [BZ #15285]
29372         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29373         (__ieee754_j0l): Do not improve calculations using cos of twice
29374         input for inputs above LDBL_MAX / 2.0L.
29375         (__ieee754_y0l): Likewise.
29376         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29377         (__ieee754_j1l): Do not improve calculations using cos of twice
29378         input for inputs above LDBL_MAX / 2.0L.
29379         (__ieee754_y1l): Likewise.
29380         * math/libm-test.inc (j0_test): Add another test.
29381         (j1_test): Likewise.
29382         (y0_test): Likewise.
29383         (y1_test): Likewise.
29384         * sysdeps/i386/fpu/libm-test-ulps: Update.
29386 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29388         * Rules ($(objpfx)bench-%.c): Include code from a C source
29389         file.
29391 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29393         [BZ #15287]
29394         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29395         imaginary part 1.0 and real part less than 0.5 specially.
29396         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29397         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29398         * math/libm-test.inc (cacos_test): Add more tests.
29399         (casin_test): Likewise.
29400         (casinh_test): Likewise.
29401         * sysdeps/i386/fpu/libm-test-ulps: Update.
29402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29404 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29406         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29407         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29409 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29411         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29412         * config.make.in (config-cflags-sse4): Remove variable.
29413         (config-cflags-avx): Likewise.
29414         (config-cflags-sse2avx): Likewise.
29415         (config-cflags-novzeroupper): Likewise.
29416         (config-asflags-i686): Likewise.
29417         (have-mfma4): Likewise.
29418         (have-as-vis3): Likewise.
29419         (MIG): Likewise.
29420         * configure.in (MIG): Do not AC_SUBST.
29421         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29422         (libc_cv_cc_sse4): Do not AC_SUBST.
29423         (libc_cv_cc_avx): Likewise.
29424         (libc_cv_cc_sse2avx): Likewise.
29425         (libc_cv_cc_novzeroupper): Likewise.
29426         (libc_cv_cc_fma4): Likewise.
29427         (libc_cv_as_i686): Likewise.
29428         (libc_cv_sparc_as_vis3): Likewise.
29429         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29430         LIBC_CONFIG_VAR.
29431         (config-asflags-i686): Likewise.
29432         (config-cflags-avx): Likewise.
29433         (config-cflags-sse2avx): Likewise.
29434         (have-mfma4): Likewise.
29435         (config-cflags-novzeroupper): Likewise.
29436         * sysdeps/mach/configure.in (MIG): Likewise.
29437         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29438         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29439         LIBC_CONFIG_VAR.
29440         (config-cflags-avx): Likewise.
29441         (config-cflags-sse2avx): Likewise.
29442         (have-mfma4): Likewise.
29443         (config-cflags-novzeroupper): Likewise.
29444         * configure: Regenerated.
29445         * sysdeps/i386/configure: Likewise.
29446         * sysdeps/mach/configure: Likewise.
29447         * sysdeps/sparc/configure: Likewise.
29448         * sysdeps/x86_64/configure: Likewise.
29450 2013-03-20  Roland McGrath  <roland@hack.frob.com>
29452         [BZ #14812]
29453         * locale/programs/localedef.c (options): Put N_ translation marker
29454         on argument names, not just descriptions.
29456 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29458         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29460 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
29462         [BZ #14176]
29463         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29465 2013-03-19  Roland McGrath  <roland@hack.frob.com>
29467         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29468         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29469         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29470         [!BEFORE_ABORT] (before_abort): New function.
29471         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29472         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29473         (writev_for_fatal): New function.
29474         (WRITEV_FOR_FATAL): New macro; call that.
29475         (backtrace_and_maps): New function.
29476         (BEFORE_ABORT): New macro; call that.
29477         (struct str_list): Type removed.
29478         (__libc_message, __libc_fatal): Functions removed.
29479         Include <sysdeps/posix/libc_fatal.c> instead.
29481 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
29483         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29484         constants.
29485         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29486         double constants.
29488 2013-03-19  Andreas Schwab  <schwab@suse.de>
29490         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29491         * sysdeps/gnu/configure: Regenerate.
29493         * configure.in: Substitute libc_cv_rtlddir.
29494         * configure: Regenerate.
29495         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29496         * Makeconfig (rtlddir, inst_rtlddir): New variables.
29497         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29498         * elf/Makefile (install-others, CFLAGS-interp.c)
29499         (ldso_install, common-ldd-rewrite): Likewise.
29500         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29501         $(inst_slibdir)/$(rtld-installed-name).
29502         * scripts/rellns-sh: Add -p option.
29503         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29504         for source.
29506 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29508         * manual/nptl.texi: Renamed to ...
29509         * manual/threads.texi: ... this.
29510         * manual/Makefile (chapters): Update.
29512 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29514         [BZ #14812]
29515         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29516         on argument names, not just descriptions.
29517         * malloc/memusagestat.c (options): Likewise.
29518         * nss/getent.c (options): Likewise.
29520 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29522         [BZ #14812]
29523         * iconv/iconv_prog.c (options): Put N_ translation marker
29524         on argument names, not just descriptions.
29525         * iconv/iconvconfig.c (options): Likewise.
29527 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29529         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29530         implementation which is faster on all x86_64 architectures.
29531         Tested on AMD, Intel Nehalem, SNB, IVB.
29532         * sysdeps/x86_64/strnlen.S: Likewise.
29534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29535         Remove all multiarch strlen and strnlen versions.
29536         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29537         Remove strlen and strnlen related parts.
29539         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29540         Inline strlen part.
29541         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29543         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29544         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29545         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29546         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29547         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29548         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29550 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29552         * manual/memory.texi (Malloc Tunable Parameters):
29553         Sort parameters alphabetically. Add comments for missing entries.
29555 2013-03-17  David S. Miller  <davem@davemloft.net>
29557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29559 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29561         [BZ #15283]
29562         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29563         for arguments at most half maximum finite value.
29564         * math/libm-test.inc (j0_test): Add more tests.
29565         (j1_test): Likewise.
29566         (y0_test): Likewise.
29567         (y1_test): Likewise.
29568         * sysdeps/i386/fpu/libm-test-ulps: Update.
29569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29571         [BZ #14155]
29572         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29573         1 / x and functions P and Q for arguments above 0x1p256L.
29574         (__ieee754_y0l): Likewise.
29575         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29576         (__ieee754_y1l): Likewise.
29577         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29578         (j1_test): Likewise.
29579         (y0_test): Likewise.
29580         (y1_test): Likewise.
29582 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29584         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29585         variable.
29587 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29589         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29590         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29591         zero since it's initialized to EXEC_PAGESIZE.
29593         * sysdeps/unix/sysv/linux/ldsodefs.h
29594         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29595         * sysdeps/generic/ldsodefs.h: ... here.
29597 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29599         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29601         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29602         math/test-snan.c.
29603         * math/test-snan.c: Renamed from
29604         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29605         * math/Makefile (tests): Add test-snan.
29606         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29607         test-powerpc-snan.
29609         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29610         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29611         functions.
29612         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29613         __builtin_nan family of functions.
29614         * math/libm-test.inc (initialize): Initialize qnan_value with
29615         __builtin_nan family of functions.
29616         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29617         Remove variables.
29618         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29619         Remove functions.
29620         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29621         storage class.  Initialize qNaN_var and sNaN_var with
29622         __builtin_nan and __builtin_nans families of functions,
29623         respectively.
29625         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29626         (sqrt_test): Remove duplicate test with qNaN input.
29627         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29628         (round_test, signbit_test, significand_test): Note missing +/-Inf
29629         as well as qNaN tests.
29631         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29632         qNaN_var.  Fix a few strings, too.
29633         * math/libm-test.inc (nan_value): Rename to qnan_value.
29634         * math/gen-libm-test.pl (%beautify): Adjust to that.
29635         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29636         * math/test-misc.c (main): Likewise.
29637         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29638         to __qnan_bytes, and __qnan_union, respectively.
29639         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29640         Likewise.
29641         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29642         and lqnanval, respectively.
29643         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29644         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29645         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29646         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29648         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29649         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29650         doubles.
29652         * math/test-misc.c (main): Fix copy'n'pastos.
29653         * misc/tst-efgcvt.c (special): Likewise.
29655         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29656         Remove declarations.
29658 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29660         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29661         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29662         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29663         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29665 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29667         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29668         macro to return vdso values correctly in IFUNC implementations.
29669         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29670         Optimization by using IFUNC.
29672 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29673             Richard Henderson  <rth@redhat.com>
29674             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29676         * Makefile.in (bench): New target.
29677         * NEWS: Mention the benchmark framework.
29678         * Rules (bench): Likewise.
29679         (binaries-bench): Generate binaries for functions to
29680         benchmark.
29681         * benchtests/Makefile: New makefile for benchmark tests.
29682         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29683         programs.
29684         * benchtests/exp-inputs: New input file for EXP function.
29685         * benchtests/pow-inputs: New input file for POW function.
29686         * scripts/bench.pl: New script to generate source files for
29687         benchmark programs.
29689 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29691         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29692         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29693         computations on mantissa.  Use macros for rounding and
29694         division.
29695         (denorm): Likewise.
29696         (__dbl_mp): Likewise.
29697         (add_magnitudes): Likewise.
29698         (sub_magnitudes): Likewise.
29699         (__mul): Likewise.
29700         (__sqr): Likewise.
29701         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29702         powers of two in terms of TWOPOW macro.
29703         (mp_no): Make type of mantissa as MANTISSA_T.
29704         [!RADIXI]: Define RADIXI.
29705         [!TWO52]: Define TWO52.
29706         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29708         * manual/nptl.texi (cindex): Modify threads to pthreads.
29710 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29712         * sysdeps/x86_64/preconfigure: Regenerated.
29714 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29716         [BZ #14155]
29717         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29718         0x1p28 and above.
29719         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29720         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29721         0x1p28 and above.
29722         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29723         * math/libm-test.inc (j0_test): Do not allow one spurious
29724         underflow exception.
29725         (y1_test): Likewise.
29727 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29729         * manual/Makefile (chapters): Add nptl.
29730         * manual/debug.texi (Debugging Support): Add link to Threads
29731         chapter.
29732         * manual/nptl.texi: New file.
29734         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29736 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29738         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29739         for non-NULL pointer before the memory validity test. Pointed
29740         out by Holger Brunck <holger.brunck@keymile.com>.
29742 2013-03-13  Andreas Schwab  <schwab@suse.de>
29744         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29745         instead of .os.
29747 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29749         * timezone/zic.c: Update from tzcode 2013b.
29751 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29753         * manual/install.texi (Configuring and compiling):
29754         Mention i686 and i586.
29755         * INSTALL: Regenerate.
29757 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29759         * sysdeps/init_array/elf-init.c: New file.
29760         * csu/elf-init.c
29761         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29762         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29764         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29765         __gmon_start__ as global, but as static with a .preinit_array pointer.
29766         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29767         * sysdeps/init_array/crti.S: New file, empty except for comments.
29768         * sysdeps/init_array/crtn.S: Likewise.
29770 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29772         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29773         definining bcopy.
29774         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29775         Remove Prefer_SSE_for_memop.
29776         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29777         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29778         HAS_PREFER_SSE_FOR_MEMOP.
29779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29780         memset-x86-64.
29781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29782         Remove bzero, memset ifunc support.
29783         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29784         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29785         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29786         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29788 2013-03-11  Andreas Schwab  <schwab@suse.de>
29790         [BZ #15234]
29791         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29792         by SHLIB_COMPAT.
29793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29794         (GLIBC_2.16): Remove pthread_atfork.
29796 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29798         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29799         (ptestcases.h): Likewise.
29801 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29803         * Makeconfig ($(common-objpfx)config.status): Depend on
29804         sysdeps/*/preconfigure{,.in} too.
29806 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29808         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29809         (__free_hook): Use void * instead of __malloc_ptr_t.
29810         (__malloc_hook): Likewise.
29811         (__realloc_hook): Likewise.
29812         (__memalign_hook): Likewise.
29813         (__after_morecore_hook): Likewise.
29814         * malloc/arena.c (save_malloc_hook): Likewise.
29815         (save_free_hook): Likewise.
29816         * malloc/hooks.c (malloc_hook_ini): Likewise.
29817         (realloc_hook_ini): Likewise.
29818         (memalign_hook_ini): Likewise.
29819         * malloc/malloc.c (malloc_hook_ini): Likewise.
29820         (realloc_hook_ini): Likewise.
29821         (memalign_hook_ini): Likewise.
29822         (__free_hook): Likewise.
29823         (__malloc_hook): Likewise.
29824         (__realloc_hook): Likewise.
29825         (__memalign_hook): Likewise.
29826         (__libc_malloc): Likewise.
29827         (__libc_free): Likewise.
29828         (__libc_realloc): Likewise.
29829         (__libc_memalign): Likewise.
29830         (__libc_valloc): Likewise.
29831         (__libc_pvalloc): Likewise.
29832         (__libc_calloc): Likewise.
29833         (__posix_memalign): Likewise.
29834         * malloc/morecore.c (__sbrk): Likewise.
29835         (__default_morecore): Likewise.
29837         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29839         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29840         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29841         __malloc_ptrdiff_t.
29843         * malloc/malloc.h (__malloc_size_t): Remove macro.
29844         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29845         __malloc_size_t.
29846         (old_memalign_hook): Likewise.
29847         (old_realloc_hook): Likewise.
29848         (struct hdr): Likewise.
29849         (flood): Likewise.
29850         (mallochook): Likewise.
29851         (memalignhook): Likewise.
29852         (reallochook): Likewise.
29853         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29854         (tr_old_realloc_hook): Likewise.
29855         (tr_old_memalign_hook): Likewise.
29856         (tr_mallochook): Likewise.
29857         (tr_reallochook): Likewise.
29858         (tr_memalignhook): Likewise.
29860 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29862         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29863         default_ldbl_pack and using as default implementation.
29864         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29865         implementation.
29866         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29867         redundant definition.
29868         (ldbl_insert_mantissa): Likewise.
29869         (ldbl_canonicalize): Likewise.
29870         (ldbl_nearbyint): Likewise.
29871         (ldbl_pack): Rename to ldbl_pack_ppc.
29872         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29873         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29874         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29876 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29878         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29879         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29880         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29881         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29883         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29884         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29885         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29887 2013-03-07  Andreas Jaeger  <aj@suse.de>
29889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29890         bits/mman-linux.h.
29892 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29894         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29895         Include mpa.h and declare __MPEXP.
29896         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29897         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29898         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29899         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29900         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29901         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29902         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29904         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29905         (__slowpow): Use long double EXPL and LOGL functions to
29906         compute POW.
29907         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29908         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29909         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29910         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29911         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29912         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29915         intermediate variable to calculate exponent.
29916         (__sqr): Likewise.
29917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29918         Likewise.
29919         (__sqr): Likewise.
29921         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29922         [!NO__SQR]: Define __sqr.
29923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29924         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29925         sysdeps/ieee754/dbl-64/mpa.c.
29926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29928         [BZ #12723]
29929         * posix/Makefile (tests): Add tst-pathconf.
29930         * posix/tst-pathconf.c: New test case.
29931         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29932         _PC_PIPE_BUF.
29933         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29935 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29937         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29939 2013-03-06  Andreas Jaeger  <aj@suse.de>
29941         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29942         definition via __MAP_ANONYMOUS.
29944         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29945         it's not part of Linux headers.
29947         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29948         (MAP_HUGE_MASK): Define.
29950         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29951         Define.
29952         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29953         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29954         Define.
29955         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29956         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29957         Define.
29958         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29959         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29960         Define.
29961         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29963         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29964         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29965         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29966         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29967         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29968         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29970         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29971         Handle f2fs.
29973         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29974         Handle f2fs and efivarfs.
29976         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29977         f2fs.
29979         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29980         (EFIVARFS_MAGIC): Add.
29981         (F2FS_LINK_MAX): Add.
29983 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29985         * stdio-common/vfprintf.c: Replace __builtin_expect with
29986         __glibc_unlikely.
29988 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29990         [BZ #13550]
29991         * sysdeps/generic/bp-sym.h: Remove file.
29992         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29993         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29994         <bp-sym.h> and <bp-asm.h>.
29995         (__longjmp): Don't use BP_SYM.
29996         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29997         and <bp-asm.h>.
29998         (memcpy): Don't use BP_SYM.
29999         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30000         <bp-sym.h> and <bp-asm.h>.
30001         (memcpy): Don't use BP_SYM.
30002         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30003         <bp-asm.h>.
30004         (memcpy): Don't use BP_SYM.
30005         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30006         <bp-asm.h>.
30007         (memset): Don't use BP_SYM.
30008         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30009         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30010         (__bzero): Don't use BP_SYM.
30011         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30012         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30013         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30014         <bp-sym.h> and <bp-asm.h>.
30015         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30016         pointers.
30017         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30018         <bp-sym.h> and <bp-asm.h>.
30019         (memcpy): Don't use BP_SYM.
30020         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30021         <bp-sym.h> and <bp-asm.h>.
30022         (memset): Don't use BP_SYM.
30023         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30024         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30025         (__bzero): Don't use BP_SYM.
30026         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30027         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30028         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30029         <bp-sym.h> and <bp-asm.h>.
30030         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30031         pointers.
30032         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30033         <bp-sym.h> and <bp-asm.h>.
30034         (memcpy): Don't use BP_SYM.
30035         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30036         <bp-sym.h> and <bp-asm.h>.
30037         (memset): Don't use BP_SYM.
30038         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30039         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30040         (__bzero): Don't use BP_SYM.
30041         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30042         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30043         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30044         <bp-sym.h> and <bp-asm.h>.
30045         (__memchr): Don't use BP_SYM.
30046         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30047         <bp-sym.h> and <bp-asm.h>.
30048         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30049         pointers.
30050         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30051         <bp-sym.h> and <bp-asm.h>.
30052         (memcpy): Don't use BP_SYM.
30053         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30054         <bp-sym.h> and <bp-asm.h>.
30055         (__mempcpy): Don't use BP_SYM.
30056         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30057         <bp-sym.h> and <bp-asm.h>.
30058         (__memrchr): Don't use BP_SYM.
30059         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30060         <bp-sym.h> and <bp-asm.h>.
30061         (memset): Don't use BP_SYM.
30062         (__bzero): Likewise.
30063         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30064         <bp-sym.h> and <bp-asm.h>.
30065         (__rawmemchr): Don't use BP_SYM.
30066         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30067         <bp-sym.h> and <bp-asm.h>.
30068         (__STRCMP): Don't use BP_SYM.
30069         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30070         <bp-sym.h> and <bp-asm.h>.
30071         (strchr): Don't use BP_SYM.
30072         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30073         <bp-sym.h> and <bp-asm.h>.
30074         (__strchrnul): Don't use BP_SYM.
30075         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30076         <bp-sym.h> and <bp-asm.h>.
30077         (strlen): Don't use BP_SYM.
30078         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30079         <bp-sym.h> and <bp-asm.h>.
30080         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30081         pointers.
30082         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30083         <bp-sym.h> and <bp-asm.h>.
30084         (__strnlen): Don't use BP_SYM.
30085         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30086         <bp-sym.h> and <bp-asm.h>.
30087         (__GI__setjmp): Don't use BP_SYM.
30088         (_setjmp): Likewise.
30089         (__sigsetjmp): Likewise.
30090         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30091         (L(start_addresses)): Don't use BP_SYM.
30092         (_start): Likewise.
30093         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30094         <bp-asm.h>.
30095         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30096         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30097         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30098         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30099         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30100         <bp-asm.h>.
30101         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30102         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
30103         about bounded pointers.
30104         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30105         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30106         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30107         <bp-asm.h>.
30108         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30109         about bounded pointers.  Remove GKM FIXME comments.
30110         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30111         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30112         <bp-asm.h>.
30113         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30114         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
30115         Remove GKM FIXME comments.
30116         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30117         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30118         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30119         <bp-asm.h>.
30120         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30121         about bounded pointers.  Remove GKM FIXME comment.
30122         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30123         and <bp-asm.h>.
30124         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30125         pointers.
30126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30127         <bp-sym.h> and <bp-asm.h>.
30128         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30130         <bp-sym.h> and <bp-asm.h>.
30131         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30132         comment.
30134 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30136         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30137         call free(NULL).
30139 2013-03-05  David S. Miller  <davem@davemloft.net>
30141         * po/es.po: Update from translation team.
30143 2013-03-05  Andreas Jaeger  <aj@suse.de>
30145         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30146         <bits/mman-linux.h>.
30147         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30148         is fine.
30149         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30150         <bits/mman-linux.h> to end of file.
30151         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30152         is fine.
30153         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30154         <bits/mman-linux.h> to end of file.
30155         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30156         is fine.
30157         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30158         <bits/mman-linux.h> to end of file.
30160         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30161         (MCL_CURRENT, MCL_FUTURE): Define here.
30163 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30165         [BZ #15232]
30166         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30167         attribute_hidden.
30168         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30170 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30172         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30173         fourth parameter needed for rt_sigprocmask syscall.
30174         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30175         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30176         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30177         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30178         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30179         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30181 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
30183         [BZ #13550]
30184         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30185         comment about bounded pointers.
30186         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30187         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30189 2013-03-04  Andreas Jaeger  <aj@suse.de>
30191         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30192         common definitions.
30194         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30195         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30196         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30197         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30198         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30199         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30201 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30203         [BZ #15055]
30204         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30205         __ieee754_sqrl instead of __sqrl.
30207 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
30209         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30210         * sysdeps/powerpc/fpu_control.h: ... here.
30211         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30212         * sysdeps/powerpc/bits/fenvinline.h: ... here.
30213         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30214         * sysdeps/powerpc/bits/mathinline.h: ... here.
30216 2013-03-01  Roland McGrath  <roland@hack.frob.com>
30218         * elf/dl-hwcaps.c (_dl_important_hwcaps):
30219         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30220         to just [NEED_DL_SYSINFO_DSO].
30221         * elf/dl-support.c: Likewise.
30222         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30223         * elf/rtld.c (dl_main): Likewise.
30224         * elf/setup-vdso.h (setup_vdso): Likewise.
30225         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30226         * sysdeps/unix/sysv/linux/dl-sysdep.c
30227         (_dl_discover_osversion): Likewise.
30229 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
30231         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30232         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30234 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30236         * NEWS: Mention libm performance improvements and non-x86 PI
30237         futex support.
30239         * csu/libc-start.c (__pthread_initialize_minimal): Change
30240         function arguments.
30241         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30243 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
30245         [BZ #13550]
30246         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30247         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30248         <bp-sym.h> and <bp-asm.h>.
30249         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30250         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30251         and <bp-asm.h>.
30252         (memcpy): Don't use BP_SYM.
30253         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30254         <bp-asm.h>.
30255         (__mpn_add_n): Don't use BP_SYM.
30256         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30257         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30258         and <bp-asm.h>.
30259         (__mpn_addmul_1): Don't use BP_SYM.
30260         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30261         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30262         <bp-sym.h>.
30263         (_setjmp): Don't use BP_SYM.
30264         (__novmx_setjmp): Likewise.
30265         (__GI__setjmp): Likewise.
30266         (__vmx_setjmp): Likewise.
30267         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30268         <bp-sym.h>.
30269         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30270         (__bzero): Don't use BP_SYM.
30271         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30272         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30273         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30274         <bp-sym.h> and <bp-asm.h>.
30275         (memcpy): Don't use BP_SYM.
30276         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30277         <bp-sym.h> and <bp-asm.h>.
30278         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30279         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30280         <bp-sym.h> and <bp-asm.h>.
30281         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30282         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30283         <bp-asm.h>.
30284         (__mpn_lshift): Don't use BP_SYM.
30285         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30286         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30287         <bp-asm.h>.
30288         (memset): Don't use BP_SYM.
30289         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30290         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30291         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30292         <bp-asm.h>.
30293         (__mpn_mul_1): Don't use BP_SYM.
30294         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30295         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30296         <bp-sym.h> and <bp-asm.h>.
30297         (memcmp): Don't use BP_SYM.
30298         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30299         <bp-sym.h> and <bp-asm.h>.
30300         (memcpy): Don't use BP_SYM.
30301         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30302         <bp-sym.h> and <bp-asm.h>.
30303         (memset): Don't use BP_SYM.
30304         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30305         <bp-sym.h> and <bp-asm.h>.
30306         (strncmp): Don't use BP_SYM.
30307         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30308         <bp-sym.h> and <bp-asm.h>.
30309         (memcpy): Don't use BP_SYM.
30310         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30311         <bp-sym.h> and <bp-asm.h>.
30312         (memset): Don't use BP_SYM.
30313         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30314         <bp-sym.h> and <bp-asm.h>.
30315         (__memchr): Don't use BP_SYM.
30316         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30317         <bp-sym.h> and <bp-asm.h>.
30318         (memcmp): Don't use BP_SYM.
30319         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30320         <bp-sym.h> and <bp-asm.h>.
30321         (memcpy): Don't use BP_SYM.
30322         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30323         <bp-sym.h> and <bp-asm.h>.
30324         (__mempcpy): Don't use BP_SYM.
30325         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30326         <bp-sym.h> and <bp-asm.h>.
30327         (__memrchr): Don't use BP_SYM.
30328         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30329         <bp-sym.h> and <bp-asm.h>.
30330         (memset): Don't use BP_SYM.
30331         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30332         <bp-sym.h> and <bp-asm.h>.
30333         (__rawmemchr): Don't use BP_SYM.
30334         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30335         <bp-sym.h> and <bp-asm.h>.
30336         (__STRCMP): Don't use BP_SYM.
30337         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30338         <bp-sym.h> and <bp-asm.h>.
30339         (strchr): Don't use BP_SYM.
30340         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30341         <bp-sym.h> and <bp-asm.h>.
30342         (__strchrnul): Don't use BP_SYM.
30343         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30344         <bp-sym.h> and <bp-asm.h>.
30345         (strlen): Don't use BP_SYM.
30346         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30347         <bp-sym.h> and <bp-asm.h>.
30348         (strncmp): Don't use BP_SYM.
30349         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30350         <bp-sym.h> and <bp-asm.h>.
30351         (__strnlen): Don't use BP_SYM.
30352         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30353         <bp-asm.h>.
30354         (__mpn_rshift): Don't use BP_SYM.
30355         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30356         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30357         <bp-sym.h> and <bp-asm.h>.
30358         (__sigsetjmp): Don't use BP_SYM.
30359         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30360         (L(start_addresses)): Don't use BP_SYM.
30361         (_start): Likewise.
30362         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30363         <bp-asm.h>.
30364         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30365         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30366         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30367         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30368         <bp-asm.h>.
30369         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30370         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30371         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30372         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30373         <bp-asm.h>.
30374         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30375         comments.
30376         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30377         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30378         <bp-asm.h>.
30379         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30380         FIXME comments.
30381         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30382         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30383         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30384         <bp-asm.h>.
30385         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30386         comment.
30387         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30388         and <bp-asm.h>.
30389         (strncmp): Don't use BP_SYM,
30390         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30391         <bp-asm.h>.
30392         (__mpn_sub_n): Don't use BP_SYM.
30393         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30394         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30395         and <bp-asm.h>.
30396         (__mpn_submul_1): Don't use BP_SYM.
30397         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30399         <bp-sym.h> and <bp-asm.h>.
30400         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30402         <bp-sym.h> and <bp-asm.h>.
30403         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30404         comment.
30406 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30409         Use ZK to minimize writes to Z.
30410         (sub_magnitudes): Simplify code a bit.
30411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30412         Use ZK to minimize writes to Z.
30413         (sub_magnitudes): Simplify code a bit.
30415 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30417         * csu/gmon-start.c: Add special exception to license text.
30419 2013-02-27  Richard Henderson  <rth@redhat.com>
30421         * scripts/config.guess: Update from config.git.
30422         * scripts/config.sub: Likewise.
30424 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30426         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30428         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30430         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30432         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30434         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30436 2013-02-26  Roland McGrath  <roland@hack.frob.com>
30438         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30439         [$(build-shared = yes].
30441 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30443         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30444         (__mul): Reduce iterations for calculating mantissa.
30446         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30447         MPTWO.
30448         (__mpranred): Likewise.
30450         [BZ #15160]
30451         * malloc/memusagestat.c (main): Draw graphs for heap and stack
30452         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30454 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
30456         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30457         Define __attribute__.
30459 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30461         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30462         unused.
30463         * posix/regex_internal.h (__attribute): Remove.
30464         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30465         (re_string_context_at): Likewise.
30466         (bitset_not): Use __attribute__ and mark function as possibly
30467         unused.
30468         (bitset_merge): Likewise.
30469         (bitset_mask): Likewise.
30470         (re_string_char_size_at): Likewise.
30471         (re_string_wchar_at): Likewise.
30472         (re_string_elem_size_at): Likewise.
30474 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30476         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30477         code.
30478         (cc32): Likewise.
30480         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30481         (__acr): Likewise.
30482         (__cpy): Likewise.
30483         (norm): Likewise.
30484         (denorm): Likewise.
30485         (__dbl_mp): Likewise.
30486         (add_magnitudes): Likewise.
30487         (sub_magnitudes): Likewise.
30488         (__mul): Likewise.
30489         (__inv): Likewise.
30491         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30492         style.
30494         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30495         style.
30497         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30498         code.
30500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30501         up changes with default code.
30502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30503         Likewise.
30505 2013-02-24  Allan McRae  <allan@archlinux.org>
30507         * manual/socket.texi (The Internet Namespace): Order menu items
30508         to match that in the file.
30510         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30511         node listing of the info page menu.
30513 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30515         [BZ #13550]
30516         * sysdeps/i386/bp-asm.h: Remove file.
30517         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30518         (PARMS): Do not use macros from bp-asm.h.
30519         (S1): Likewise.
30520         (S2): Likewise.
30521         (SIZE): Likewise.
30522         (__mpn_add_n): Do not use BP_SYM
30523         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30524         "bp-asm.h".
30525         (PARMS): Do not use macros from bp-asm.h.
30526         (S1): Likewise.
30527         (SIZE): Likewise.
30528         (__mpn_addmul_1): Do not use BP_SYM
30529         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30530         "bp-asm.h".
30531         (PARMS): Do not use macros from bp-asm.h.
30532         (SIGMSK): Likewise.
30533         (_setjmp): Likewise.  Do not use BP_SYM.
30534         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30535         "bp-asm.h".
30536         (PARMS): Do not use macros from bp-asm.h.
30537         (SIGMSK): Likewise.
30538         (setjmp): Likewise.  Do not use BP_SYM.
30539         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30540         "bp-asm.h".
30541         (PARMS): Do not use macros from bp-asm.h.
30542         (__frexp): Do not use BP_SYM.
30543         (frexp): Likewise.
30544         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30545         "bp-asm.h".
30546         (PARMS): Do not use macros from bp-asm.h.
30547         (__frexpf): Do not use BP_SYM.
30548         (frexpf): Likewise.
30549         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30550         "bp-asm.h".
30551         (PARMS): Do not use macros from bp-asm.h.
30552         (__frexpl): Do not use BP_SYM.
30553         (frexpl): Likewise.
30554         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30555         "bp-asm.h".
30556         (PARMS): Do not use macros from bp-asm.h.
30557         (__remquo): Do not use BP_SYM.
30558         (remquo): Likewise.
30559         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30560         "bp-asm.h".
30561         (PARMS): Do not use macros from bp-asm.h.
30562         (__remquof): Do not use BP_SYM.
30563         (remquof): Likewise.
30564         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30565         "bp-asm.h".
30566         (PARMS): Do not use macros from bp-asm.h.
30567         (__remquol): Do not use BP_SYM.
30568         (remquol): Likewise.
30569         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30570         "bp-asm.h".
30571         (PARMS): Do not use macros from bp-asm.h.
30572         (DEST): Likewise.
30573         (SRC): Likewise.
30574         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30575         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30576         "bp-asm.h".
30577         (PARMS): Do not use macros from bp-asm.h.
30578         (strlen): Do not use BP_SYM.
30579         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30580         "bp-asm.h".
30581         (PARMS): Do not use macros from bp-asm.h.
30582         (S1): Likewise.
30583         (S2): Likewise.
30584         (SIZE): Likewise.
30585         (__mpn_add_n): Do not use BP_SYM.
30586         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30587         "bp-asm.h".
30588         (PARMS): Do not use macros from bp-asm.h.
30589         (S1): Likewise.
30590         (SIZE): Likewise.
30591         (__mpn_addmul_1): Do not use BP_SYM.
30592         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30593         weak_alias.
30594         (bzero): Likewise.
30595         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30596         "bp-asm.h".
30597         (PARMS): Do not use macros from bp-asm.h.
30598         (S): Likewise.
30599         (SIZE): Likewise.
30600         (__mpn_lshift): Do not use BP_SYM.
30601         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30602         "bp-asm.h".
30603         (PARMS): Do not use macros from bp-asm.h.
30604         (DEST): Likewise.
30605         (SRC): Likewise.
30606         (LEN): Likewise.
30607         (memcpy): Likewise.  Do not use BP_SYM.
30608         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30609         libc_hidden_def and weak_alias.
30610         (mempcpy): Do not use BP_SYM in weak_alias.
30611         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30612         "bp-asm.h".
30613         (PARMS): Do not use macros from bp-asm.h.
30614         (DEST): Likewise.
30615         (LEN): Likewise.
30616         [!BZERO_P] (CHR): Likewise.
30617         (memset): Likewise.  Do not use BP_SYM.
30618         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30619         "bp-asm.h".
30620         (PARMS): Do not use macros from bp-asm.h.
30621         (S1): Likewise.
30622         (SIZE): Likewise.
30623         (__mpn_mul_1): Do not use BP_SYM.
30624         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30625         "bp-asm.h".
30626         (PARMS): Do not use macros from bp-asm.h.
30627         (S): Likewise.
30628         (SIZE): Likewise.
30629         (__mpn_rshift): Do not use BP_SYM.
30630         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30631         "bp-asm.h".
30632         (PARMS): Do not use macros from bp-asm.h.
30633         (STR): Likewise.
30634         (CHR): Likewise.
30635         (strchr): Likewise.  Do not use BP_SYM.
30636         (index): Do not use BP_SYM in weak_alias.
30637         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30638         "bp-asm.h".
30639         (PARMS): Do not use macros from bp-asm.h.
30640         (DEST): Likewise.
30641         (SRC): Likewise.
30642         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30643         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30644         "bp-asm.h".
30645         (PARMS): Do not use macros from bp-asm.h.
30646         (strlen): Do not use BP_SYM.
30647         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30648         "bp-asm.h".
30649         (PARMS): Do not use macros from bp-asm.h.
30650         (S1): Likewise.
30651         (S2): Likewise.
30652         (SIZE): Likewise.
30653         (__mpn_sub_n): Do not use BP_SYM.
30654         * sysdeps/i386/i586/submul_1.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         (SIZE): Likewise.
30659         (__mpn_submul_1): Do not use BP_SYM.
30660         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30661         "bp-asm.h".
30662         (PARMS): Do not use macros from bp-asm.h.
30663         (S1): Likewise.
30664         (S2): Likewise.
30665         (SIZE): Likewise.
30666         (__mpn_add_n): Do not use BP_SYM.
30667         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30668         weak_alias.
30669         (bzero): Likewise.
30670         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30671         "bp-asm.h".
30672         (PARMS): Do not use macros from bp-asm.h.
30673         (BLK2): Likewise.
30674         (LEN): Likewise.
30675         (memcmp): Do not use BP_SYM.
30676         (bcmp): Do not use BP_SYM in weak_alias.
30677         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30678         "bp-asm.h".
30679         (PARMS): Do not use macros from bp-asm.h.
30680         (DEST): Likewise.
30681         (SRC): Likewise.
30682         (LEN): Likewise.
30683         (memcpy): Likewise.  Do not use BP_SYM.
30684         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30685         "bp-asm.h".
30686         (PARMS): Do not use macros from bp-asm.h.
30687         (DEST): Likewise.
30688         (SRC): Likewise.
30689         (LEN): Likewise.
30690         (memmove): Likewise.  Do not use BP_SYM.
30691         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30692         "bp-asm.h".
30693         (PARMS): Do not use macros from bp-asm.h.
30694         (DEST): Likewise.
30695         (SRC): Likewise.
30696         (LEN): Likewise.
30697         (__mempcpy): Likewise.  Do not use BP_SYM.
30698         (mempcpy): Do not use BP_SYM in weak_alias.
30699         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30700         "bp-asm.h".
30701         (PARMS): Do not use macros from bp-asm.h.
30702         (DEST): Likewise.
30703         (LEN): Likewise.
30704         [!BZERO_P] (CHR): Likewise.
30705         (memset): Likewise.  Do not use BP_SYM.
30706         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30707         "bp-asm.h".
30708         (PARMS): Do not use macros from bp-asm.h.
30709         (STR2): Likewise.
30710         (strcmp): Do not use BP_SYM.
30711         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30712         "bp-asm.h".
30713         (PARMS): Do not use macros from bp-asm.h.
30714         (STR): Likewise.
30715         (DELIM): Likewise.
30716         [USE_AS_STRTOK_R] (SAVE): Likewise.
30717         (FUNCTION): Likewise.  Do not use BP_SYM.
30718         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30719         aliases.
30720         (strtok_r): Likewise.
30721         (__GI___strtok_r): Likewise.
30722         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30723         (PARMS): Do not use macros from bp-asm.h.
30724         (S): Likewise.
30725         (SIZE): Likewise.
30726         (__mpn_lshift): Do not use BP_SYM.
30727         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30728         (PARMS): Do not use macros from bp-asm.h.
30729         (STR): Likewise.
30730         (CHR): Likewise.
30731         (__memchr): Do not use BP_SYM.
30732         (memchr): Do not use BP_SYM in weak_alias.
30733         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30734         (PARMS): Do not use macros from bp-asm.h.
30735         (BLK2): Likewise.
30736         (LEN): Likewise.
30737         (memcmp): Do not use BP_SYM.
30738         (bcmp): Do not use BP_SYM in weak_alias.
30739         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30740         (PARMS): Do not use macros from bp-asm.h.
30741         (S1): Likewise.
30742         (SIZE): Likewise.
30743         (__mpn_mul_1): Do not use BP_SYM.
30744         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30745         "bp-asm.h".
30746         (PARMS): Do not use macros from bp-asm.h.
30747         (STR): Likewise.
30748         (CHR): Likewise.
30749         (__rawmemchr): Do not use BP_SYM.
30750         (rawmemchr): Do not use BP_SYM in weak_alias.
30751         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30752         (PARMS): Do not use macros from bp-asm.h.
30753         (S): Likewise.
30754         (SIZE): Likewise.
30755         (__mpn_rshift): Do not use BP_SYM.
30756         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30757         (PARMS): Do not use macros from bp-asm.h.
30758         (SIGMSK): Likewise.
30759         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30760         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30761         (_start): Do not use BP_SYM.
30762         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30763         (PARMS): Do not use macros from bp-asm.h.
30764         (DEST): Likewise.
30765         (SRC): Likewise.
30766         (__stpcpy): Likewise.  Do not use BP_SYM.
30767         (stpcpy): Do not use BP_SYM in weak_alias.
30768         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30769         "bp-asm.h".
30770         (PARMS): Do not use macros from bp-asm.h.
30771         (DEST): Likewise.
30772         (SRC): Likewise.
30773         (LEN): Likewise.
30774         (__stpncpy): Likewise.  Do not use BP_SYM.
30775         (stpncpy): Do not use BP_SYM in weak_alias.
30776         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30777         (PARMS): Do not use macros from bp-asm.h.
30778         (STR): Likewise.
30779         (CHR): Likewise.
30780         (strchr): Likewise.  Do not use BP_SYM.
30781         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30782         "bp-asm.h".
30783         (PARMS): Do not use macros from bp-asm.h.
30784         (STR): Likewise.
30785         (CHR): Likewise.
30786         (__strchrnul): Likewise.  Do not use BP_SYM.
30787         (strchrnul): Do not use BP_SYM in weak_alias.
30788         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30789         "bp-asm.h".
30790         (PARMS): Do not use macros from bp-asm.h.
30791         (STOP): Likewise.
30792         (strcspn): Do not use BP_SYM.
30793         * sysdeps/i386/strpbrk.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         (STOP): Likewise.
30798         (strpbrk): Likewise.  Do not use BP_SYM.
30799         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30800         "bp-asm.h".
30801         (PARMS): Do not use macros from bp-asm.h.
30802         (STR): Likewise.
30803         (CHR): Likewise.
30804         (strrchr): Likewise.  Do not use BP_SYM.
30805         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30806         (PARMS): Do not use macros from bp-asm.h.
30807         (SKIP): Likewise.
30808         (strspn): Do not use BP_SYM.
30809         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30810         (PARMS): Do not use macros from bp-asm.h.
30811         (STR): Likewise.
30812         (DELIM): Likewise.
30813         (SAVE): Likewise.
30814         (FUNCTION): Likewise.  Do not use BP_SYM.
30815         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30816         aliases.
30817         (strtok_r): Likewise.
30818         (__GI___strtok_r): Likewise.
30819         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30820         (PARMS): Do not use macros from bp-asm.h.
30821         (S1): Likewise.
30822         (S2): Likewise.
30823         (SIZE): Likewise.
30824         (__mpn_sub_n): Do not use BP_SYM.
30825         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30826         "bp-asm.h".
30827         (PARMS): Do not use macros from bp-asm.h.
30828         (S1): Likewise.
30829         (SIZE): Likewise.
30830         (__mpn_submul_1): Do not use BP_SYM.
30831         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30832         <bp-sym.h>.
30833         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30834         and <bp-asm.h>.
30835         (PARMS): Do not use macros from bp-asm.h.
30836         (FLAGS): Likewise.
30837         (PTID): Likewise.
30838         (TLS): Likewise.
30839         (CTID): Likewise.
30840         (__clone): Do not use BP_SYM.
30841         (clone): Do not use BP_SYM in weak_alias.
30842         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30843         and <bp-asm.h>.
30844         (PARMS): Do not use macros from bp-asm.h.
30845         (LEN): Likewise.
30846         (__mmap64): Do not use BP_SYM.
30847         (mmap64): Do not use BP_SYM in weak_alias.
30848         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30849         <bp-sym.h> and <bp-asm.h>.
30850         (PARMS): Do not use macros from bp-asm.h.
30851         (__posix_fadvise64_l64): Do not use BP_SYM.
30852         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30853         (PARMS): Do not use macros from bp-asm.h.
30854         (NSOPS): Likewise.
30855         (semtimedop): Do not use BP_SYM.
30856         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30857         and <bp-asm.h>.
30859 2013-02-21  Allan McRae  <allan@archlinux.org>
30861         * manual/message.texi (Charset conversion in gettext):
30862         Move @end statement to beginning of line.
30864 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30867         static.
30868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30869         Likewise.
30871         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30872         (denorm): Likewise.
30873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30874         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30876 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30878         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30879         tail-call to the resolved function if pltexit isn't needed.
30881 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30883         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30884         or Y being zero as being unlikely.
30885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30886         Likewise.
30888 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30890         * manual/nss.texi (System Databases and Name Service Switch):
30891         Remove frobnicate @pxref.
30893 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30895         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30896         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30898 2013-02-20  Petr Machata  <pmachata@redhat.com>
30900         * elf/elf.h (R_ARM_TARGET1): New macro.
30901         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30902         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30903         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30904         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30905         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30906         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30907         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30908         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30909         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30910         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30911         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30912         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30913         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30914         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30915         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30916         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30917         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30918         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30919         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30920         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30921         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30922         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30923         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30924         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30925         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30926         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30927         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30928         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30929         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30930         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30931         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30932         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30933         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30934         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30935         (R_ARM_THM_GOT_BREL12): Likewise.
30936         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30937         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30938         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30939         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30940         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30941         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30942         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30943         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30944         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30946 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30948         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30949         __attribute_used__ to __attribute__ ((unused)).
30951 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30953         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30954         powerpc mpa.c.
30955         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30956         comment formatting.
30957         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30959 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30961         [BZ #13550]
30962         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30963         Remove macro.
30964         (ENTER): Remove both macro definitions.
30965         (LEAVE): Likewise.
30966         (CHECK_BOUNDS_LOW): Likewise.
30967         (CHECK_BOUNDS_HIGH): Likewise.
30968         (CHECK_BOUNDS_BOTH): Likewise.
30969         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30970         (RETURN_BOUNDED_POINTER): Likewise.
30971         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30972         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30973         (POP_ERRNO_LOCATION_RETURN): Likewise.
30974         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30975         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30976         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30977         macros.
30978         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30979         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30980         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30981         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30982         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30983         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30984         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30985         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30986         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30987         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30988         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30989         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30990         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30991         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30992         removed macros.
30993         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30994         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30995         macros.
30996         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30997         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30998         * sysdeps/i386/i586/memset.S (memset): Likewise.
30999         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31000         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31001         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31002         macros.
31003         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31004         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31005         Change uses of L(2) to L(out).
31006         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31007         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31008         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31009         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31010         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31011         removed macros.
31012         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31013         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31014         macros.
31015         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31016         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31017         (RETURN): Do not use macro LEAVE.
31018         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31019         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31020         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31021         * sysdeps/i386/i686/memset.S (memset): Likewise.
31022         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31023         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31024         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31025         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31026         Likewise.
31027         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31028         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
31029         L(1_2) and L(1_3) into L(1).
31030         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31031         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31032         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31033         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31034         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31035         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31036         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31037         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31038         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31039         macros.
31040         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31041         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31042         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31043         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31044         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31045         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31046         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31047         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31048         * sysdeps/i386/strcspn.S (strcspn): Likewise.
31049         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31050         * sysdeps/i386/strrchr.S (strrchr): Likewise.
31051         * sysdeps/i386/strspn.S (strspn): Likewise.
31052         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31053         conditional code.
31054         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31055         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31056         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31057         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
31058         L(1_3) into L(1_1).
31059         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31060         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31061         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31062         macros.
31063         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31065 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
31067         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31068         macro.
31070 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31072         * math/atest-exp.c (exp_mpn): Remove ROUND.
31073         * math/atest-exp2.c (exp_mpn): Likewise.
31074         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31076         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31077         * stdlib/tst-tls-atexit-lib.c: Likewise.
31078         * stdlib/tst-tls-atexit.c: Likewise.
31080 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31082         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31083         and __attribute_alloc_size__.
31085 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31087         * include/programs/xmalloc.h: Change __attribute_alloc_size to
31088         __attribute_alloc_size__.
31089         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31090         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31092 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31094         * include/programs/xmalloc.h: New file.
31095         * catgets/gencat.c: Include it.
31096         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31097         * elf/pldd.c: Likewise.
31098         * iconv/iconv_charmap.c: Likewise.
31099         * iconv/iconvconfig.c: Likewise.
31100         * iconv/strtab.c: Likewise.
31101         * locale/programs/locale.c: Likewise.
31102         * locale/programs/localedef.h: Likewise.
31103         * locale/programs/simple-hash.c: Likewise.
31104         * nscd/nscd.h: Likewise.
31105         * nss/makedb.c: Likewise.
31106         * sysdeps/generic/ldconfig.h: Likewise.
31108 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31110         * Versions.def: Add GLIBC_2.18.
31111         * include/link.h (struct link_map): New member l_tls_dtor_count.
31112         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31113         (__call_tls_dtors): Likewise.
31114         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31115         __cxa_thread_atexit_impl.
31116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31117         Likewise.
31118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31119         Likewise.
31120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31121         Likewise.
31122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31123         Likewise.
31124         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31126         Likewise.
31127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31128         Likewise.
31129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31131         Likewise.
31132         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31133         (tests): Add test case tst-tls-atexit.
31134         (modules-names): Add shared library for tst-tls-atexit.
31135         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31136         (GLIBC_PRIVATE): Add __call_tls_dtors.
31137         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31138         for libstdc++.
31139         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31140         * stdlib/tst-tls-atexit.c: New test case.
31141         * stdlib/tst-tls-atexit-lib.c: New test case.
31143         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31145         * elf/Versions (ld): Add _dl_find_dso_for_object.
31146         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31147         * elf/dl-open.c (_dl_find_dso_for_object): New function.
31148         (dl_open_worker): Use _dl_find_dso_for_object.
31149         * elf/dl-sym.c (do_sym): Likewise.
31150         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31152 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31154         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31155         Syntactic changes only.
31156         (_dl_runtime_profile): Do a tail-call to the resolved function.
31158 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
31160         [BZ #13550]
31161         * sysdeps/x86_64/bp-asm.h: Remove file.
31162         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31163         <bp-sym.h> and <bp-asm.h>.
31164         (__clone): Do not use BP_SYM.
31165         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31166         <bp-sym.h> and <bp-asm.h>.
31167         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31168         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31169         "bp-asm.h".
31170         (_setjmp): Do not use BP_SYM.
31171         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31172         "bp-asm.h".
31173         (setjmp): Do not use BP_SYM.
31174         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31175         libc_hidden_def.
31176         (mempcpy): Do not use BP_SYM in weak_alias.
31177         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31178         "bp-asm.h".
31179         (strchr): Do not use BP_SYM.
31180         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31181         "bp-asm.h".
31182         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31183         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31184         (_start): Do not use BP_SYM.
31185         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31186         "bp-asm.h".
31187         (strcat): Do not use BP_SYM.
31188         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31189         "bp-asm.h".
31190         (STRCMP): Do not use BP_SYM.
31191         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31192         "bp-asm.h".
31193         (STRCPY): Do not use BP_SYM.
31194         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31195         "bp-asm.h".
31196         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31197         "bp-asm.h".
31198         (FUNCTION): Do not use BP_SYM.
31199         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31200         weak_alias.
31201         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31203 2013-02-17  Andreas Jaeger  <aj@suse.de>
31205         * time/Versions: Sort entries.
31206         * string/Versions: Likewise.
31207         * resolv/Versions: Likewise.
31208         * posix/Versions: Likewise.
31209         * iconv/Versions: Likewise.
31210         * elf/Versions: Likewise.
31211         * wcsmbs/Versions: Likewise.
31213 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31215         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31216         loop termination condition.
31218         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31219         variable to calculate EZ.
31220         (__sqr): Likewise.
31222         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31223         the lower precision input.
31225 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
31227         [BZ #13550]
31228         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31229         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31230         (run-via-rtld-prefix): Do not handle %-bp tests.
31231         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31232         (all-object-suffixes): Remove .ob.
31233         (bppfx): Remove variable.
31234         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31235         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31236         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31237         [$(build-bounded) = yes] (libtype.ob): Likewise.
31238         * Makerules (elide-routines.ob): Remove variable.
31239         (do-tests-clean): Do not handle *-bp.out.
31240         (common-mostlyclean): Do not handle *-bp and *-bp.out.
31241         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31242         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31243         (tests): Do not include $(tests-bp.out).
31244         (xtests): Do not include $(xtests-bp.out).
31245         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31246         [$(build-bounded) = yes] ($(addprefix
31247         $(objpfx),$(binaries-bounded))): Remove rule.
31248         ($(objpfx)%-bp.out): Remove rule.
31249         * config.make.in (build-bounded): Remove variable.
31250         * crypt/Makefile [$(build-bounded) = yes]
31251         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31252         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31253         append to variable.
31254         [$(build-bounded) = yes] (install-lib): Likewise.
31255         [$(build-bounded) = yes] (generated): Likewise.
31256         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31257         Remove rule.
31258         * intl/Makefile [$(build-bounded) = yes]
31259         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31260         * math/Makefile [$(build-bounded) = yes]
31261         ($(tests:%=$(objpfx)%-bp): Likewise.
31262         * misc/Makefile [$(build-bounded) = yes]
31263         ($(objpfx)tst-tsearch-bp): Likewise.
31264         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31265         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31266         Remove dependency.
31267         * string/Makefile (o-objects.ob): Remove variable.
31268         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31269         (CFLAGS-.ob): Remove variable.
31270         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31271         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31272         both definitions of variable.
31273         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31274         (ASFLAGS-.ob): Remove variable.
31276 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31278         [BZ #13550]
31279         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31280         Remove __BOUNDED_POINTERS__ from condition.
31281         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31282         * string/bits/string2.h [!__NO_STRING_INLINES &&
31283         !__BOUNDED_POINTERS__]: Likewise.
31284         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31285         Likewise.
31286         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31287         Remove conditional code.
31288         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31289         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31290         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31291         condition.
31293         [BZ #13550]
31294         * csu/libc-start.c: Do not include <bp-sym.h>.
31295         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31296         * elf/dl-open.c: Do not include <bp-sym.h>.
31297         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31298         * math/fegetenv.c: Do not include <bp-sym.h>.
31299         (fegetenv): Do not use BP_SYM in versioned symbols.
31300         * nptl/sysdeps/pthread/bits/libc-lockP.h
31301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31302         <bp-sym.h>.
31303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31304         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31306         (__pthread_mutex_destroy): Likewise.
31307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31308         (__pthread_mutex_lock): Likewise.
31309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31310         (__pthread_mutex_trylock): Likewise.
31311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31312         (__pthread_mutex_unlock): Likewise.
31313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31314         (__pthread_mutexattr_init): Likewise.
31315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31316         (__pthread_mutexattr_destroy): Likewise.
31317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31318         (__pthread_mutexattr_settype): Likewise.
31319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31320         (__pthread_rwlock_init): Likewise.
31321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31322         (__pthread_rwlock_destroy): Likewise.
31323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31324         (__pthread_rwlock_rdlock): Likewise.
31325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31326         (__pthread_rwlock_tryrdlock): Likewise.
31327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31328         (__pthread_rwlock_wrlock): Likewise.
31329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31330         (__pthread_rwlock_trywrlock): Likewise.
31331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31332         (__pthread_rwlock_unlock): Likewise.
31333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31334         (__pthread_key_create): Likewise.
31335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31336         (__pthread_setspecific): Likewise.
31337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31338         (__pthread_getspecific): Likewise.
31339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31340         Likewise.
31341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31342         (_pthread_cleanup_push_defer): Likewise.
31343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31344         (_pthread_cleanup_pop_restore): Likewise.
31345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31346         (pthread_setcancelstate): Likewise.
31347         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31348         <bp-sym.h>.
31349         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31350         (memchr): Do not use BP_SYM in weak_alias.
31351         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31352         (fegetenv): Do not use BP_SYM in versioned symbols.
31353         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31354         (fesetenv): Do not use BP_SYM in versioned symbols.
31355         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31356         (feupdateenv): Do not use BP_SYM in versioned symbols.
31357         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31358         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31359         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31360         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31361         (open64): Do not use BP_SYM in weak_alias.
31362         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31363         (fegetenv): Do not use BP_SYM in versioned symbols.
31364         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31365         (fesetenv): Do not use BP_SYM in versioned symbols.
31366         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31367         (feupdateenv): Do not use BP_SYM in versioned symbols.
31368         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31369         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31370         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31371         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31372         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31373         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31374         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31375         <bp-sym.h>.
31376         (__libc_start_main): Do not use BP_SYM.
31378 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31381         redundant return line.
31382         (norm): Likewise.
31383         (denorm): Likewise.
31384         (dbl_mp): Likewise.
31385         (sub_magnitudes): Likewise.
31386         (__add): Likewise.
31387         (__sub): Likewise.
31388         (__mul): Likewise.
31389         (__inv): Likewise.
31390         (__dvd): Likewise.
31391         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31392         (norm): Likewise.
31393         (denorm): Likewise.
31394         (dbl_mp): Likewise.
31395         (sub_magnitudes): Likewise.
31396         (__add): Likewise.
31397         (__sub): Likewise.
31398         (__mul): Likewise.
31399         (__inv): Likewise.
31400         (__dvd): Likewise.
31402         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31403         instead of __mul.
31404         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31405         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31406         (cc32): Likewise.
31408         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31409         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31410         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31411         of __mul for squares.
31412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31413         function
31414         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31415         Likewise.
31416         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31417         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31419 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31421         [BZ #13550]
31422         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31423         code.
31424         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31425         prototype or function definition.  Rename ubp_* variables and
31426         parameters.  Remove argv definitions conditional on
31427         [__BOUNDED_POINTERS__].
31428         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31429         * elf/dl-runtime.c (_dl_fixup): Likewise.
31430         * include/set-hooks.h (RUN_HOOK): Likewise.
31431         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31432         definition.
31433         * string/strcpy.c (strcpy): Do not use __unbounded.
31434         * sysdeps/generic/frame.h (struct layout): Likewise.
31435         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31436         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31437         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31438         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31439         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31440         (__backtrace): Likewise.
31441         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31442         use __ptrvalue.
31443         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31444         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31445         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31446         Likewise.
31447         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31448         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31449         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31450         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31451         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31452         Do not use __unbounded.
31453         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31454         Rename __unboundedrlimits parameter to rlimits in prototype.
31455         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31456         Do not use __unbounded.
31457         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31458         not use __ptrvalue.
31459         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31460         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31461         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31462         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31463         __ptrvalue or __unbounded.
31464         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31465         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31466         use __unbounded.
31467         (__new_msgctl): Do not use __ptrvalue.
31468         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31469         __unbounded.
31470         (__libc_msgrcv): Do not use __ptrvalue.
31471         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31472         startup_info): Do not use __unbounded.
31473         (__libc_start_main): Likewise.  Rename ubp_* variables and
31474         parameters.  Remove argv definitions conditional on
31475         [__BOUNDED_POINTERS__].
31476         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31477         __ptrvalue.
31478         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31479         use __unbounded.
31480         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31481         or __ptrvalue.
31482         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31483         use __unbounded.
31484         (__new_shmctl): Do not use __ptrvalue.
31485         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31486         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31487         Likewise.
31488         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31489         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31490         (__libc_sigaction): Likewise.
31491         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31492         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31493         Likewise.
31494         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31496 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
31498         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31500         * string/mempcpy.c: Implement by calling memcpy.
31502 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31504         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31506         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31507         evaluation.
31509         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31510         values in the mantissa.
31512         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31513         minimize writes to Z.
31514         (sub_magnitudes): Simplify code a bit.
31516 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31518         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31519         from the message.  The linker prefixes all warnings with that already.
31521 2013-02-12  Andreas Schwab  <schwab@suse.de>
31523         [BZ #15078]
31524         * posix/regexec.c (extend_buffers): Add parameter min_len.
31525         (check_matching): Pass minimum needed length.
31526         (clean_state_log_if_needed): Likewise.
31527         (get_subexp): Likewise.
31528         * posix/Makefile (tests): Add bug-regex34.
31529         (bug-regex34-ENV): Define.
31530         * posix/bug-regex34.c: New file.
31532         [BZ #11561]
31533         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31534         elements compare against the byte sequence of it, not its name.
31535         * posix/Makefile (tests): Add bug-regex35.
31536         (bug-regex35-ENV): Define.
31537         * posix/bug-regex35.c: New file.
31539 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31541         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31542         comment.
31543         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31544         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31545         (CHECK_EOL): Add undef.
31547 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31549         * bits/stdlib-bsearch.h: New file.
31550         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31551         * stdlib/stdlib.h: Likewise.
31553 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31555         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31556         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31557         declaration.
31558         * manual/search.texi (Array Search Function): Add missing const in
31559         lfind prototype.
31560         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31561         declaration to use rlim_t.
31562         (Basic Scheduling Functions): Remove erroneous const from
31563         sched_getparam prototype.  Remove erroneous * from
31564         sched_get_priority_max and sched_get_priority_min prototypes.
31565         (Resource Usage): Fix summary @comment on vtimes to refer to
31566         sys/vtimes.h rather than vtimes.h.
31567         Add missing *s in vtimes prototype.
31568         (Limits on Resources): Fix ulimit prototype to return long int.
31569         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31570         prototypes to use long int rather than double.
31571         (BSD Random): Fix initstate and setstate to use char *, not void *.
31572         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31573         prototype to make second argument 'struct aiocb64 *const[]'.
31574         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31575         (Status of AIO Operations): Remove erroneous const in aio_return and
31576         aio_return64 prototypes.
31577         (Synchronizing I/O): Fix sync prototype to return void.
31578         * manual/startup.texi (Suboptions): Remove an erroneous const in
31579         getsubopt prototype.
31580         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31581         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31582         use size_t rather than int.
31583         (Scanning All Users): Likewise for getpwent_r.
31584         (Setting Groups): Add missing const to setgroups prototype.
31585         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31586         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31587         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31588         'const void *' rather than 'const char *'.
31589         (Host Address Functions): Likewise for inet_ntop.
31590         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31591         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31592         ssize_t for return value.
31593         (Sending Data): Likewise for send, sendto, sendmsg.
31594         (Socket Option Functions): Add a missing const in setsockopt prototype.
31595         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31596         use wchar_t for the argument.
31597         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31598         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31599         take no arguments.
31600         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31601         double/float/long double for second argument.
31602         Fix return types of significand, significandf, significandl.
31603         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31604         argument in fchmod prototype.
31605         (File Owner): Use uid_t and gid_t in fchown prototype.
31606         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31607         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31608         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31609         use 'const struct dirent **' as argument types to CMP function pointer
31610         argument.
31611         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31612         (File Times): Fix summary magic @comment for struct utimbuf and utime
31613         to refer to utime.h, not time.h.
31614         * manual/string.texi (Argz Functions): Add missing const in
31615         argz_extract and argz_next prototypes.
31616         (Finding Tokens in a String): Likewise for basename.
31617         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31618         (Copying and Concatenation): Fix typo in wmemmove prototype.
31619         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31620         (Signal Stack): Remove erroneous const in sigstack prototype.
31621         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31622         prototype.
31623         (Simple Calendar Time): Likewise for stime.
31624         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31625         prototype.
31626         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31627         say sys/sysctl.h instead.
31628         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31629         and vsyslog prototypes.
31631 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31633         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31634         Remove.
31636 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31638         * misc/sys/mman.h: Fix typo in mremap comment.
31640 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31642         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31643         the '\0' terminator.
31645 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31647         [BZ #13550]
31648         * debug/segfault.c: Don't include <bp-checks.h>.
31649         * sysdeps/generic/bp-checks.h: Remove file.
31650         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31651         (__GETDENTS): Don't use CHECK_N.
31652         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31653         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31654         (__getgroups): Don't use CHECK_N.
31655         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31656         (setgroups): Don't use CHECK_N.
31657         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31658         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31659         (__libc_msgrcv): Don't use CHECK_N.
31660         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31661         (__libc_msgsnd): Don't use CHECK_N.
31662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31663         <bp-checks.h>.
31664         (__libc_pread): Don't use CHECK_N.
31665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31666         include <bp-checks.h>.
31667         (__libc_pread64): Don't use CHECK_N.
31668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31669         include <bp-checks.h>.
31670         (__libc_pwrite): Don't use CHECK_N.
31671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31672         include <bp-checks.h>.
31673         (__libc_pwrite64): Don't use CHECK_N.
31674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31675         <bp-checks.h>.
31676         (__libc_pread): Don't use CHECK_N.
31677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31678         include <bp-checks.h>.
31679         (__libc_pread64): Don't use CHECK_N.
31680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31681         include <bp-checks.h>.
31682         (__libc_pwrite): Don't use CHECK_N.
31683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31684         include <bp-checks.h>.
31685         (__libc_pwrite64): Don't use CHECK_N.
31686         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31687         (do_pread): Don't use CHECK_N.
31688         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31689         (do_pread64): Don't use CHECK_N.
31690         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31691         (do_pwrite): Don't use CHECK_N.
31692         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31693         (do_pwrite64): Don't use CHECK_N.
31694         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31695         (__libc_readv): Don't use CHECK_N.
31696         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31697         (semop): Don't use CHECK_N.
31698         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31699         <bp-checks.h>.
31700         (semtimedop): Don't use CHECK_N.
31701         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31702         (__libc_pread): Don't use CHECK_N.
31703         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31704         <bp-checks.h>.
31705         (__libc_pread64): Don't use CHECK_N.
31706         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31707         <bp-checks.h>.
31708         (__libc_pwrite): Don't use CHECK_N.
31709         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31710         <bp-checks.h>.
31711         (__libc_pwrite64): Don't use CHECK_N.
31712         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31713         <bp-checks.h>.
31714         (__libc_msgrcv): Don't use CHECK_N.
31715         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31716         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31717         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31718         (__libc_writev): Don't use CHECK_N.
31720 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31722         * string/strcpy.c: Removed unused variable.
31724         * Makeconfig (+sysdep-includes): Define with := rather than =.
31725         Use an existing include/ subdir of each sysdeps dir before it.
31727 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31729         * nscd/connection.c (register_traced_file): Comment function.
31730         [HAVE_INOTIFY] (union __inev): Define.
31731         [HAVE_INOTIFY] (inotify_check_files): New function.
31732         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31733         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31734         clear_db_cache.
31735         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31737 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31739         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31740         loaded if not already and that a failure is permanent.
31742 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31744         [BZ #15006]
31745         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31746         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31748 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31750         [BZ #13550]
31751         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31752         (CHECK_1_NULL_OK): Likewise.
31753         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31754         (__fxstat): Do not use CHECK_1.
31755         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31756         <bp-checks.h>.
31757         (___fxstat64): Do not use CHECK_1.
31758         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31759         <bp-checks.h>.
31760         (__fxstatat): Do not use CHECK_1.
31761         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31762         <bp-checks.h>.
31763         (__fxstatat64): Do not use CHECK_1.
31764         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31765         <bp-checks.h>.
31766         (__fxstat): Do not use CHECK_1.
31767         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31768         <bp-checks.h>.
31769         (__fxstatat): Do not use CHECK_1.
31770         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31771         <bp-checks.h>.
31772         (__getresgid): Do not use CHECK_1.
31773         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31774         <bp-checks.h>.
31775         (__getresuid): Do not use CHECK_1.
31776         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31777         <bp-checks.h>.
31778         (__lxstat): Do not use CHECK_1.
31779         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31780         <bp-checks.h>.
31781         (__old_msgctl): Do not use CHECK_1.
31782         (__new_msgctl): Likewise.
31783         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31784         <bp-checks.h>.
31785         (__new_setrlimit): Do not use CHECK_1.
31786         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31787         <bp-checks.h>.
31788         (__old_shmctl): Do not use CHECK_1.
31789         (__new_shmctl): Likewise.
31790         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31791         <bp-checks.h>.
31792         (__xstat): Do not use CHECK_1.
31793         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31794         (__lxstat): Do not use CHECK_1.
31795         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31796         <bp-checks.h>.
31797         (___lxstat64): Do not use CHECK_1.
31798         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31799         (__old_msgctl): Do not use CHECK_1.
31800         (__new_msgctl): Likewise.
31801         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31802         <bp-checks.h>.
31803         (__gettimeofday): Do not use CHECK_1.
31804         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31805         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31806         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31807         <bp-checks.h>.
31808         (__gettimeofday): Do not use CHECK_1.
31809         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31810         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31811         (__new_shmctl): Do not use CHECK_1.
31812         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31813         <bp-checks.h>.
31814         (do_sigtimedwait): Do not use CHECK_1.
31815         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31816         <bp-checks.h>.
31817         (do_sigwaitinfo): Do not use CHECK_1.
31818         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31819         <bp-checks.h>.
31820         (msgctl): Do not use CHECK_1.
31821         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31822         <bp-checks.h>.
31823         (shmctl): Do not use CHECK_1.
31824         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31825         (ustat): Do not use CHECK_1.
31826         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31827         <bp-checks.h>.
31828         (__fxstat): Do not use CHECK_1.
31829         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31830         <bp-checks.h>.
31831         (__fxstatat): Do not use CHECK_1.
31832         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31833         <bp-checks.h>.
31834         (__lxstat): Do not use CHECK_1.
31835         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31836         <bp-checks.h>.
31837         (__xstat): Do not use CHECK_1.
31838         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31839         (__xstat): Do not use CHECK_1.
31840         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31841         (___xstat64): Do not use CHECK_1.
31843         [BZ #13550]
31844         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31845         definitions.
31846         (CHECK_BOUNDS_HIGH): Likewise.
31847         * string/strcpy.c: Do not include <bp-checks.h>.
31848         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31850 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31852         * nscd/nscd-client.h (__nscd_drop_map_ref):
31853         Add __attribute__ ((unused)).
31854         * nis/nss-nisplus.h (niserr2nss): Likewise.
31856         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31857         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31859         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31860         Remove inline keyword.
31861         * include/rounding-mode.h (round_away): Likewise.
31862         * libio/wfileops.c (adjust_wide_data): Likewise.
31863         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31864         (__m128i_strloadu_tolower): Likewise.
31865         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31866         (__m128i_strloadu_tolower): Likewise.
31867         * time/mktime.c (ydhms_diff): Likewise.
31868         * locale/elem-hash.h (elem_hash): Likewise.
31869         * locale/setlocale.c (setdata): Likewise.
31870         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31871         (re_string_wchar_at): Likewise.
31872         (bitset_not, bitset_merge, bitset_mask): Likewise.
31873         [!(__GNUC__ > 3)] (inline): Remove macro.
31874         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31875         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31876         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31877         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31878         * string/memcmp.c (memcmp_bytes): Likewise.
31879         * locale/programs/locarchive.c (compute_hashval): Likewise.
31880         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31881         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31882         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31883         * nss/getent.c (print_rpc, print_protocols): Likewise.
31884         (print_passwd, print_group, print_aliases): Likewise.
31885         * nis/nss-nisplus.h (niserr2nss): Likewise.
31886         * nscd/connections.c (restart_p): Likewise.
31887         Change return type to bool.
31889 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31891         * Makeconfig (all-Depend-files): Add existing
31892         $(sorted-subdirs:=/Depend) files.
31893         (all-subdirs): Remove nss.
31894         * sysdeps/unix/inet/Subdirs: Add it here instead.
31895         * hesiod/Depend: New file.
31897         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31898         instead of calling alloca.
31900         * io/lseek.c (__lseek): Rename to __libc_lseek.
31901         Define __lseek as an alias.
31903         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31905 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31907         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31908         else clause and remove check for non-standard endianness.
31910 2013-02-04  David S. Miller  <davem@davemloft.net>
31912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31914 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31916         [BZ #13550]
31917         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31918         (__ubp_memchr): Remove prototype.
31919         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31920         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31921         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31922         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31923         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31924         Remove alias.
31925         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31926         (__ubp_memchr): Likewise.
31927         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31928         (__ubp_memchr): Likewise.
31929         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31930         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31931         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31932         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31933         CHECK_STRING.
31934         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31935         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31936         (__getcwd): Do not use CHECK_STRING.
31937         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31938         <bp-checks.h>.
31939         (__real_chown): Do not use CHECK_STRING.
31940         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31941         <bp-checks.h>.
31942         (fchownat): Do not use CHECK_STRING.
31943         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31944         CHECK_STRING.
31945         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31946         <bp-checks.h>.
31947         (__lchown): Do not use CHECK_STRING.
31948         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31949         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31950         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31951         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31953         include <bp-checks.h>.
31954         (truncate64): Do not use CHECK_STRING.
31955         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31956         <bp-checks.h>.
31957         (__real_chown): Do not use CHECK_STRING.
31958         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31959         <bp-checks.h>.
31960         (__lchown): Do not use CHECK_STRING.
31961         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31962         <bp-checks.h>.
31963         (__chown): Do not use CHECK_STRING.
31964         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31965         <bp-checks.h>.
31966         (truncate64): Do not use CHECK_STRING.
31967         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31968         Likewise.
31969         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31970         (__xmknod): Do not use CHECK_STRING.
31971         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31972         <bp-checks.h>.
31973         (__xmknodat): Do not use CHECK_STRING.
31974         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31975         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31977 2013-02-04  Andreas Schwab  <schwab@suse.de>
31979         [BZ #14142]
31980         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31981         * include/netdb.h: Likewise for h_errno.
31982         * elf/tst-stackguard1.c: Include <tls.h>.
31984 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31986         * elf/link.h (struct link_map): Extend the l_addr comment.
31987         * include/link.h (struct link_map): Likewise.
31989 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31991         [BZ #13550]
31992         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31993         (BOUNDED_1): Remove macro.
31994         * debug/backtrace.c: Don't include <bp-checks.h>.
31995         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31996         (__backtrace): Likewise.
31997         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31998         <bp-checks.h>.
31999         (__backtrace): Don't use BOUNDED_1.
32000         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32001         <bp-checks.h>.
32002         (__backtrace): Don't use BOUNDED_1.
32003         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32004         (__backtrace): Don't use BOUNDED_1.
32005         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32006         (shmat): Don't use BOUNDED_N.
32008 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
32010         [BZ #13550]
32011         * sysdeps/generic/bp-start.h: Remove file.
32012         * csu/libc-start.c: Don't include <bp-start.h>.
32013         (LIBC_START_MAIN): Set up __environ directly instead of using
32014         INIT_ARGV_and_ENVIRON.
32015         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32016         <bp-start.h>.
32018         [BZ #13550]
32019         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32020         definitions.
32021         (CHECK_FCNTL): Likewise.
32022         (CHECK_N_PAGES): Likewise.
32024         [BZ #13550]
32025         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32026         definitions.
32027         (CHECK_SIGSET_NULL_OK): Likewise.
32028         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32029         <bp-checks.h>.
32030         (sigpending): Don't use CHECK_SIGSET.
32031         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32032         <bp-checks.h>.
32033         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32034         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32035         <bp-checks.h>.
32036         (do_sigsuspend): Don't use CHECK_SIGSET.
32037         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32038         use CHECK_SIGSET.
32039         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32040         (do_sigwait): Don't use CHECK_SIGSET.
32041         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32042         use CHECK_SIGSET.
32043         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32044         include <bp-checks.h>.
32045         (sigpending): Don't use CHECK_SIGSET.
32046         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32047         include <bp-checks.h>.
32048         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32049         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32050         <bp-checks.h>.
32051         (sigpending): Don't use CHECK_SIGSET.
32052         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32053         <bp-checks.h>.
32054         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32056         [BZ #13550]
32057         * sysdeps/generic/bp-semctl.h: Remove file.
32058         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32059         <bp-checks.h> and <bp-semctl.h>.
32060         (__old_semctl): Don't use CHECK_SEMCTL.
32061         (__new_semctl): Likewise.
32062         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32063         and <bp-semctl.h>.
32064         (__old_semctl): Don't use CHECK_SEMCTL.
32065         (__new_semctl): Likewise.
32066         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32067         <bp-checks.h> and <bp-semctl.h>.
32068         (__old_semctl): Don't use CHECK_SEMCTL.
32069         (__new_semctl): Likewise.
32070         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32071         <bp-checks.h> and <bp-semctl.h>.
32072         (semctl): Don't use CHECK_SEMCTL.
32074         [BZ #13550]
32075         * Makerules (elide-bp-thunks): Remove variable.
32076         (elide-routines.oS): Don't use $(elide-bp-thunks).
32077         (elide-routines.os): Likewise.
32078         (elide-routines.o): Likewise.
32079         (elide-routines.op): Likewise.
32080         (elide-routines.og): Likewise.
32081         (objects): Don't use $(bp-thunks).
32082         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32083         include.
32084         (common-generated): Do not add s-proto-bp.d.
32085         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32086         (int): Likewise.
32087         (typ): Likewise.
32088         Do not generate makefile rules for bounded-pointer thunks.
32089         * sysdeps/generic/bp-thunks.h: Remove file.
32090         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32091         * sysdeps/unix/s-proto-bp.S: Likewise.
32093         [BZ #15062]
32094         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32095         parts of result separately when argument is not close to line from
32096         -i to i and one part of argument is small.
32097         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32098         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32099         * math/libm-test.inc (cacos_test): Add more tests.
32100         (casin_test): Likewise.
32101         (casinh_test): Likewise.
32102         * sysdeps/i386/fpu/libm-test-ulps: Update.
32103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32105 2013-01-31  David S. Miller  <davem@davemloft.net>
32107         * po/de.po: Update from translation team.
32109 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
32111         * time/tzfile.c: Include stdint.h for SIZE_MAX.
32113 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
32115         * configure.in (_AC_PROG_CC_C89): New definition.
32116         * configure: Regenerate.
32118         * configure.in (AC_PROG_CPP): New definition.
32119         * configure: Regenerate.
32121 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32123         * debug/tst-backtrace.h: New file.
32124         * debug/tst-backtrace2.c: Include tst-backtrace.h.
32125         (ret): Remove variable.
32126         (x): Likewise.
32127         (FAIL): Remove macro.
32128         (NO_INLINE): Likewise.
32129         (fn1): Use match function instead of strstr.
32130         * debug/tst-backtrace3.c: Include tst-backtrace.h.
32131         (ret): Remove variable.
32132         (x): Likewise.
32133         (FAIL): Remove macro.
32134         (NO_INLINE): Likewise.
32135         (fn): Use match function instead of strstr.
32136         * debug/tst-backtrace4.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.
32142         * debug/tst-backtrace5.c: Include tst-backtrace.h.
32143         (ret): Remove variable.
32144         (x): Likewise.
32145         (FAIL): Remove macro.
32146         (NO_INLINE): Likewise.
32147         (handle_signal): Use match function instead of strstr.
32149 2013-01-23  Roland McGrath  <roland@hack.frob.com>
32151         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32153 2013-01-23  David S. Miller  <davem@davemloft.net>
32155         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32156         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32157         argument of CAS if possible.
32158         * sysdeps/sparc/sparc64/bits/atomic.h
32159         (__arch_compare_and_exchange_val_32_acq): Likewise.
32160         (__arch_compare_and_exchange_val_64_acq): Likewise.
32162 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
32164         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32165         * sysdeps/posix/ulimit.c: ... this.
32166         Include <limits.h>.
32167         * sysdeps/unix/bsd/ulimit.c: Remove file.
32169 2013-01-23  Adam Conrad  <adconrad@0c3.net>
32171         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32172         (LDFLAGS-tst-array5): Likewise.
32174 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32176         [BZ #15036]
32177         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32178         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32179         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32180         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32182 2013-01-21  David S. Miller  <davem@davemloft.net>
32184         * sysdeps/sparc/backtrace.c: New file.
32185         * sysdeps/sparc/sparc32/backtrace.h: New file.
32186         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32187         * sysdeps/sparc/sparc64/backtrace.h: New file.
32188         * sysdeps/sparc/sparc64/backtrace.c: Delete.
32189         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32190         -funwind-tables.
32192 2013-01-21  Andreas Schwab  <schwab@suse.de>
32194         [BZ #15020]
32195         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32196         closed its stdout.
32198 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
32200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32201         "mpa2.h".
32202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32204 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
32205             Mark Mitchell  <mark@codesourcery.com>
32206             Tom de Vries  <tom@codesourcery.com>
32207             Paul Pluzhnikov  <ppluzhnikov@google.com>
32209         * debug/tst-backtrace2.c: New file.
32210         * debug/tst-backtrace3.c: Likewise.
32211         * debug/tst-backtrace4.c: Likewise.
32212         * debug/tst-backtrace5.c: Likewise.
32213         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32214         (CFLAGS-tst-backtrace3.c): Likewise.
32215         (CFLAGS-tst-backtrace4.c): Likewise.
32216         (CFLAGS-tst-backtrace5.c): Likewise.
32217         (LDFLAGS-tst-backtrace2): Likewise.
32218         (LDFLAGS-tst-backtrace3): Likewise.
32219         (LDFLAGS-tst-backtrace4): Likewise.
32220         (LDFLAGS-tst-backtrace5): Likewise.
32221         (tests): Add new tests tst-backtrace2, tst-backtrace3,
32222         tst-backtrace4 and tst-backtrace5.
32224 2013-01-18  Anton Blanchard  <anton@samba.org>
32225             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32227         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32228         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32229         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32230         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32232         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32233         "+r" and remove output regs list as redundant.  Add explicit inline
32234         asm to specify register of return val to work around compiler codegen
32235         bug.  Remove (int) cast on return value.  Add return type parameter to
32236         use in macro so that this macro does not truncate return value for
32237         64-bit values.
32238         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32239         pass to INTERNAL_VSYSCALL_NCS.
32240         (INLINE_VSYSCALL): Add 'long int' as return type to
32241         INTERNAL_VSYSCALL_NCS macro invocation.
32242         (INTERNAL_VSYSCALL): Add 'long int' as return type to
32243         INTERNAL_VSYSCALL_NCS macro invocation.
32244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32246 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32248         [BZ #14496]
32249         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32250         Fix application of SIMD FP exception mask.
32252         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32253         mp_no from a power of two.
32254         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32255         __mpexp_twomm1.  Use __pow_mp.
32257         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32258         multiplication.
32260 2013-01-17  David S. Miller  <davem@davemloft.net>
32262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32264 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32266         [BZ #15023]
32267         * include/complex.h: Condition contents on [!_COMPLEX_H].
32268         (__kernel_casinhf): New prototype.
32269         (__kernel_casinh): Likewise.
32270         (__kernel_casinhl): Likewise.
32271         * math/Makefile (libm_calls): Add k_casinh.
32272         * math/k_casinh.c: New file.
32273         * math/k_casinhf.c: Likewise.
32274         * math/k_casinhl.c: Likewise.
32275         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32276         finite nonzero arguments.
32277         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32278         finite nonzero arguments.
32279         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32280         finite nonzero arguments.
32281         * math/s_casinh.c: Do not include <float.h>.
32282         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32283         * math/s_casinhf.c: Do not include <float.h>.
32284         (__casinhf): Move code for finite nonzero arguments to
32285         k_casinhf.c.
32286         * math/s_casinhl.c: Do not include <float.h>.
32287         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32288         redefine.
32289         (__casinhl): Move code for finite nonzero arguments to
32290         k_casinhl.c.
32291         * math/libm-test.inc (cacos_test): Add more tests.
32292         * sysdeps/i386/fpu/libm-test-ulps: Update.
32293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32295 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32297         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32298         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32299         [!HAVE_MREMAP]: Remove [defined linux] case.
32300         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32302 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32304         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32306 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32308         * elf/elf.h (R_386_SIZE32): New relocation.
32309         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32310         R_386_SIZE32.
32311         (elf_machine_rela): Likewise.
32312         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32313         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32315 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32317         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32318         (FP_FAST_FMA): Do not define.
32319         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32320         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32321         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32322         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32323         !_SOFT_FLOAT]: Likewise.
32324         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32325         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32326         value.
32327         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32328         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32329         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32330         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32331         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32332         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32333         file.
32335 2013-01-16  Andreas Schwab  <schwab@suse.de>
32337         [BZ #14327]
32338         * include/stdlib.h (__mktemp): Add declaration.
32339         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32340         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32342 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32344         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32345         definitions.
32346         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32347         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32348         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32349         definitions here.
32350         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32351         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32352         definitions.
32353         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32354         and ONE.
32355         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32356         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32357         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32358         definitions.
32359         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32360         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32361         definitions.
32362         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32364         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32366 2013-01-15  David S. Miller  <davem@davemloft.net>
32368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32369         trunc{,f} to libm-sysdep_routes.
32370         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32372         file.
32373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32375         file.
32376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32377         file.
32378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32380         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32381         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32382         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32383         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32384         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32385         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32388         nearbyint{,f} to libm-sysdep_routes.
32389         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32391         New file.
32392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32393         file.
32394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32395         New file.
32396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32397         file.
32398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32400         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32401         file.
32402         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32403         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32404         file.
32405         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32406         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32407         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32409         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32410         libc_feholdexcept and libc_fesetenv.
32412 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32414         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32416 2013-01-14  David S. Miller  <davem@davemloft.net>
32418         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32419         (SPARC_ASM_VIS2_IFUNC): Likewise.
32420         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32422         use of 'siam' instruction.
32423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32424         Likewise.
32425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32426         Likewise.
32427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32428         Likewise.
32429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32431         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32434         file.
32435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32436         file.
32437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32438         file.
32439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32440         file.
32441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32443         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32444         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32446         new VIS2 routines.
32447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32450         Likewise.
32451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32453         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32454         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32456         routines to libm-sysdep_routines.
32457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32460         fdim/fdimf to libm-sysdep_routines.
32461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32462         file.
32463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32465         file.
32466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32469         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32470         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32471         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32472         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32474 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32476         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32477         to optimize copies.
32479         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32481         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32484         local variable MPTWO.
32485         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32486         Likewise.
32488 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32490         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32491         GLOB_NOESCAPE.
32493 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32495         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32497 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32499         * manual/pattern.texi (glob_t): Document gl_flags.
32500         (glob64_t): Likewise.
32502 2013-01-11  David S. Miller  <davem@davemloft.net>
32504         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32505         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32506         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32507         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32508         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32509         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32510         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32511         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32512         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32513         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32514         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32515         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32516         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32518         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32519         sparc V9 rather than using V8 code.
32520         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32521         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32523         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32524         Move to...
32525         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32526         Here.
32528 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32530         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32531         not in the main loop.
32532         * configure: Regenerated.
32534 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32536         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32537         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32538         to just #else.
32539         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32540         [!__GLIBC_HAVE_LONG_LONG] case.
32541         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32542         condition to just #else.
32543         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32544         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32545         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32546         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32547         unconditional.
32548         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32549         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32550         #elif condition to just #else.
32551         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32552         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32553         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32554         #elif condition to just #else.
32556 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32558         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32559         (EF_MIPS_ARCH_64): Fix value.
32560         (EF_MIPS_ARCH_32R2): New.
32561         (EF_MIPS_ARCH_64R2): New.
32563 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32565         * Makeconfig (+link-pie-before-libc): New.
32566         (+link-pie-after-libc): Likewise.
32567         (+link-pie-tests): Likewise.
32568         (+link-pie): Rewritten.
32569         (link-before-libc): Remove $(config-LDFLAGS).
32570         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32571         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32572         (config-LDFLAGS): Renamed to ...
32573         (rtld-LDFLAGS): This.
32574         (rtld-tests-LDFLAGS): New macro.
32575         (link-libc-rpath-link): Likewise.
32576         (link-libc-tests-rpath-link): Likewise.
32577         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32578         (link-libc): Prepand $(link-libc-rpath-link).
32579         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32580         (test-program-prefix): New macro.
32581         (test-via-rtld-prefix): Likewise.
32582         (test-program-cmd): Likewise.
32583         (host-test-program-cmd): Likewise.
32584         * Makefile ($(common-objpfx)testrun.sh): Replace
32585         $(run-program-prefix) with $(test-program-prefix).
32586         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32587         $(rtld-LDFLAGS).
32588         ($(common-objpfx)shlib.lds): Likewise.
32589         (build-module-helper): Likewise.
32590         ($(common-objpfx)format.lds): Likewise.
32591         * Rules (binaries-pie-tests): New.
32592         (binaries-pie-notests): Likewise.
32593         (binaries-pie): Rewritten.
32594         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32595         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32596         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32597         (make-test-out): Replace $(host-built-program-cmd) with
32598         $(host-test-program-cmd).
32599         * config.make.in (build-hardcoded-path-in-tests): New variable.
32600         * configure.in (--enable-hardcoded-path-in-tests): New configure
32601         option.
32602         (hardcoded_path_in_tests): New AC_SUBST.
32603         * configure: Regenerated.
32604         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32605         $(built-program-cmd) with $(test-program-cmd).
32606         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32607         (test_program_cmd): This.
32608         * elf/Makefile ($(objpfx)order.out): Run test with
32609         $(test-program-prefix).
32610         ($(objpfx)order2.out): Likewise.
32611         ($(objpfx)tst-initorder.out): Likewise.
32612         ($(objpfx)tst-initorder2.out): Likewise.
32613         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32614         $(test-program-cmd).
32615         ($(objpfx)tst-array1-static.out): Likewise.
32616         ($(objpfx)tst-array2.out): Likewise.
32617         ($(objpfx)tst-array3.out): Likewise.
32618         ($(objpfx)tst-array4.out): Likewise.
32619         ($(objpfx)tst-array5.out): Likewise.
32620         ($(objpfx)tst-array5-static.out): Likewise.
32621         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32622         $(test-program-cmd).
32623         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32624         $(run-program-prefix) with $(test-program-prefix).
32625         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32626         (test_program_prefix): This.
32627         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32628         $(run-program-prefix) with $(test-program-prefix).
32629         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32630         (test_program_prefix): This.
32631         * iconvdata/tst-tables.sh: Likewise.
32632         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32633         $(run-program-prefix) with $(test-program-prefix).
32634         ($(objpfx)tst-translit.out): Likewise.
32635         ($(objpfx)tst-gettext2.out): Likewise.
32636         ($(objpfx)tst-gettext4.out): Likewise.
32637         ($(objpfx)tst-gettext6.out): Likewise.
32638         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32639         (test_program_prefix): This.
32640         * intl/tst-gettext2.sh: Likewise.
32641         * intl/tst-gettext4.sh  Likewise.
32642         * intl/tst-gettext6.sh: Likewise.
32643         * intl/tst-translit.sh: Likewise.
32644         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32645         with $(test-program-cmd).
32646         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32647         $(run-program-prefix) with $(test-program-prefix).
32648         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32649         (test_program_prefix): This.
32650         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32651         $(run-program-prefix) with $(test-program-prefix).
32652         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32653         (test_program_prefix): This.
32654         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32655         * posix/Makefile ($(objpfx)globtest.out): Replace
32656         $(run-via-rtld-prefix) and $(test-wrapper) with
32657         $(test-program-prefix) and $(test-via-rtld-prefix).
32658         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32659         $(test-program-prefix).
32660         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32661         $(host-test-program-cmd).
32662         (tst-spawn-ARGS): Likewise.
32663         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32664         $(test-program-prefix).
32665         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32666         (test_via_rtld_prefix): This.
32667         (test_wrapper): Renamed to ...
32668         (test_program_prefix): This.
32669         (run_program_prefix): Replaced by test_program_prefix.
32670         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32671         (test_program_prefix): This.
32672         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32673         with $(host-test-program-cmd).
32674         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32675         $(run-program-prefix) with $(test-program-prefix).
32676         ($(objpfx)tst-printf.out): Likewise.
32677         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32678         $(test-program-cmd).
32679         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32680         (test_program_prefix): This.
32681         * stdio-common/tst-unbputc.sh: Likewise.
32682         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32683         $(run-program-prefix) with $(test-program-prefix).
32684         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32685         (test_program_prefix): This.
32686         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32687         $(built-program-cmd) with $(test-program-cmd).
32689 2013-01-11  Andreas Jaeger  <aj@suse.de>
32691         [BZ #15003]
32692         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32693         value. Sync with Linux 3.7.
32695 2013-01-10  David S. Miller  <davem@davemloft.net>
32697         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32698         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32699         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32701 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32703         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32704         never set.
32705         * configure: Regenerated.
32707 2013-01-10  David S. Miller  <davem@davemloft.net>
32709         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32710         sparc V9 rather than using V8 code.
32711         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32712         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32714 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32716         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32717         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32718         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32719         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32720         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32721         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32722         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32723         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32724         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32725         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32726         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32727         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32728         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32729         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32730         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32731         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32732         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32733         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32734         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32735         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32736         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32737         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32738         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32739         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32740         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32741         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32742         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32744 2013-01-10  David S. Miller  <davem@davemloft.net>
32746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32748 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32750         * posix/Makefile (tests-static): New variable.
32751         (tests): Add $(tests-static).
32752         (tst-exec-static-ARGS): New variable.
32753         (tst-spawn-static-ARGS): Likewise.
32754         * posix/tst-exec-static.c: New file.
32755         * posix/tst-spawn-static.c: Likewise.
32756         * posix/tst-exec.c: Support run directly.
32757         * posix/tst-spawn.c: Likewise.
32759 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32761         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32762         long.
32763         * math/bits/mathcalls.h (llrint): Likewise.
32764         (llround): Likewise.
32765         * stdlib/stdlib.h (struct drand48_data): Likewise.
32766         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32767         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32768         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32769         Likewise.
32770         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32771         Likewise.
32772         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32773         (elf_greg_t): Likewise.
32774         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32775         (__jmp_buf): Likewise.
32776         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32777         definitions.
32778         (llrint): Likewise, for all definitions.
32779         (llrintl): Likewise.
32781         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32782         Remove [__GNUC__] condition.
32783         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32784         condition to just [__USE_ISOC99].
32785         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32787 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32789         [BZ #14200]
32790         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32791         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32792         defined.
32793         (_POSIX_V6_ILP32_OFF32): Likewise.
32794         (_XBS5_ILP32_OFF32): Likewise.
32795         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32796         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32798 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32800         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32802         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32803         doubles __mpexp_twomm1.  Adjust usage.
32804         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32805         Remove.
32807 2013-01-10  Andreas Schwab  <schwab@suse.de>
32809         [BZ #14964]
32810         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32811         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32813 2013-01-09  David S. Miller  <davem@davemloft.net>
32815         [BZ #15003]
32816         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32817         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32818         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32819         (TCP_FASTOPEN): Define.
32820         (tcp_repair_opt): New structure.
32821         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32822         enum values.
32823         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32824         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32825         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32826         (tcp_cookie_transactions): New structure.
32828 2013-01-09  Anton Blanchard  <anton@samba.org>
32830         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32831         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32832         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32833         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32835 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32837         * include/features.h (__USE_ANSI): Remove.
32839 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32841         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32843         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32845 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32847         * sysdeps/s390/fpu/libm-test-ulps: Update.
32849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32851         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32852         (__acr): Likewise.
32853         (__cpy): Likewise.
32854         (norm): Likewise.
32855         (denorm): Likewise.
32856         (__mp_dbl): Likewise.
32857         (__dbl_mp): Likewise.
32858         (add_magnitudes): Likewise.
32859         (sub_magnitudes): Likewise.
32860         (__add): Likewise.
32861         (__sub): Likewise.
32862         (__mul): Likewise.
32863         (__inv): Likewise.
32864         (__dvd): Likewise.
32865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32866         (__acr): Likewise.
32867         (__cpy): Likewise.
32868         (norm): Likewise.
32869         (denorm): Likewise.
32870         (__mp_dbl): Likewise.
32871         (__dbl_mp): Likewise.
32872         (add_magnitudes): Likewise.
32873         (sub_magnitudes): Likewise.
32874         (__add): Likewise.
32875         (__sub): Likewise.
32876         (__mul): Likewise.
32877         (__inv): Likewise.
32878         (__dvd): Likewise.
32879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32880         (__acr): Likewise.
32881         (__cpy): Likewise.
32882         (norm): Likewise.
32883         (denorm): Likewise.
32884         (__mp_dbl): Likewise.
32885         (__dbl_mp): Likewise.
32886         (add_magnitudes): Likewise.
32887         (sub_magnitudes): Likewise.
32888         (__add): Likewise.
32889         (__sub): Likewise.
32890         (__mul): Likewise.
32891         (__inv): Likewise.
32892         (__dvd): Likewise.
32894 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32896         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32897         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32898         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32899         2 && __USE_EXTERN_INLINES]: Likewise.
32901 2013-01-08  Andreas Jaeger  <aj@suse.de>
32903         [BZ# 14985]
32904         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32905         Remove.
32906         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32907         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32909 2013-01-07  Anton Blanchard  <anton@samba.org>
32911         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32912         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32913         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32914         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32915         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32916         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32917         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32918         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32919         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32920         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32921         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32922         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32923         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32924         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32925         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32926         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32927         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32928         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32929         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32930         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32931         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32932         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32933         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32934         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32935         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32936         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32937         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32938         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32939         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32940         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32941         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32943         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32944         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32945         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32946         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32947         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32948         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32949         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32950         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32951         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32952         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32953         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32955 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32957         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32958         (__MALLOC_PMT): Likewise.
32959         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32960         [__GNUC__], only on [_LIBC].
32961         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32962         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32963         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32964         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32965         forward declaration.
32966         (realloc_hook_ini): Likewise.
32967         (memalign_hook_ini): Likewise.
32968         (__libc_memalign): Do not use __MALLOC_PMT in variable
32969         declaration.
32970         (__libc_valloc): Likewise.
32971         (__libc_pvalloc): Likewise.
32972         (__libc_calloc): Likewise.
32973         (__posix_memalign): Likewise.
32975         [BZ #14996]
32976         * math/s_casinh.c: Include <float.h>.
32977         (__casinh): Do not do computation with squaring and square root
32978         for large arguments.
32979         * math/s_casinhf.c: Include <float.h>.
32980         (__casinhf): Do not do computation with squaring and square root
32981         for large arguments.
32982         * math/s_casinhl.c: Include <float.h>.
32983         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32984         (__casinhl): Do not do computation with squaring and square root
32985         for large arguments.
32986         * math/libm-test.inc (casin_test): Add more tests.
32987         (casinh_test): Likewise.
32988         * sysdeps/i386/fpu/libm-test-ulps: Update.
32989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32991 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32993         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32994         (__x86_64_raw_data_cache_size): Likewise.
32995         (__x86_64_data_cache_size_half): Likewise.
32996         (__x86_64_raw_data_cache_size_half): Likewise.
32997         (__x86_64_shared_cache_size): Likewise.
32998         (__x86_64_raw_shared_cache_size): Likewise.
32999         (__x86_64_shared_cache_size_half): Likewise.
33000         (__x86_64_raw_shared_cache_size_half): Likewise.
33001         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33002         to ...
33003         (__x86_data_cache_size): This.
33004         (__x86_64_raw_data_cache_size): Renamed to ...
33005         (__x86_raw_data_cache_size): This.
33006         (__x86_64_data_cache_size_half): Renamed to ...
33007         (__x86_data_cache_size_half): This.
33008         (__x86_64_raw_data_cache_size_half): Renamed to ...
33009         (__x86_raw_data_cache_size_half): This.
33010         (__x86_64_shared_cache_size): Renamed to ...
33011         (__x86_shared_cache_size): This.
33012         (__x86_64_raw_shared_cache_size): Renamed to ...
33013         (__x86_raw_shared_cache_size): This.
33014         (__x86_64_shared_cache_size_half): Renamed to ...
33015         (__x86_shared_cache_size_half): This.
33016         (__x86_64_raw_shared_cache_size_half): Renamed to ...
33017         (__x86_raw_shared_cache_size_half): This.
33018         * sysdeps/x86_64/memcpy.S: Updated.
33019         * sysdeps/x86_64/memset.S: Likewise.
33020         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33021         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33022         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33024 2013-01-04  David S. Miller  <davem@davemloft.net>
33026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33028 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
33030         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33031         1 to avoid redefinition warning.
33032         (__USE_GNU): Don't define.
33033         (init_signaling_nan): Protoize.
33035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33037 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33039         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33041         (__cpymn): Likewise.
33042         (norm): Remove commented code.
33043         (denorm): Likewise.
33044         (__mp_dbl): Likewise.
33045         (__inv): Likewise.
33046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33047         (__cpymn): Likewise.
33048         (norm): Remove commented code.
33049         (denorm): Likewise.
33050         (__mp_dbl): Likewise.
33051         (__inv): Likewise.
33053         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33054         mp_no value for 1.0 and 2.0.
33055         (norm): Use RADIXI instead of radixi.d.
33056         (denorm): Likewise.
33057         (__mul): Use 0.0 instead of zero.d.
33058         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33059         mp_no value for 1.0 and 2.0.
33060         (norm): Use RADIXI instead of radixi.d.
33061         (denorm): Likewise.
33062         (__mul): Use 0.0 instead of zero.d.
33064 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
33066         [BZ #14994]
33067         * math/s_casinh.c (__casinh): Reduce finite argument to first
33068         quadrant then set signs of results at the end.
33069         * math/s_casinhf.c (__casinhf): Likewise.
33070         * math/s_casinhl.c (__casinhl): Likewise.
33071         * math/libm-test.inc (casin_test): Add more tests.
33072         (casinh_test): Likewise.
33073         * sysdeps/i386/fpu/libm-test-ulps: Update.
33074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33076 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33078         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33080         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33082         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33083         declarations.
33084         (denorm): Likewise.
33085         (__mp_dbl): Likewise.
33086         (__inv): Likewise.
33088         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33089         and adjust the header comment.
33091         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33092         variable name from declaration.
33094 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
33096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33097         Initialize COMMON_CPUID_INDEX_7 element.
33098         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33099         (CPUID_RTM): Likewise.
33100         (HAS_RTM): Likewise.
33101         (COMMON_CPUID_INDEX_7): New enum.
33103 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
33105         [BZ #14981]
33106         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33107         size is zero, record memory as freed.
33109 2013-01-03  Andreas Jaeger  <aj@suse.de>
33111         * po/ia.po: Add new Interlingua translation.
33113 2012-01-03  Allan McRae  <allan@archlinux.org>
33115         * locale/programs/localedef.c: Fix description of '--posix' flag.
33117 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
33119         * NEWS: Update dates in second copyright notice.
33120         * README: Update copyright dates in example.
33121         * manual/libc.texinfo: Update copyright dates.
33122         * scripts/test-installation.pl: Update copyright date in --version
33123         output.
33125         * hurd/ctty-input.c: Fix copyright notice formatting.
33126         * hurd/ctty-output.c: Likewise.
33127         * hurd/dtable.c: Likewise.
33128         * hurd/hurd-raise.c: Likewise.
33129         * hurd/hurdprio.c: Likewise.
33130         * hurd/msgportdemux.c: Likewise.
33131         * misc/sys/file.h: Likewise.
33132         * misc/sys/ioctl.h: Likewise.
33133         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33134         * sysdeps/mach/hurd/chdir.c: Likewise.
33135         * sysdeps/mach/hurd/fchdir.c: Likewise.
33136         * sysdeps/mach/hurd/rename.c: Likewise.
33137         * sysdeps/mach/hurd/rmdir.c: Likewise.
33138         * sysdeps/mach/hurd/seekdir.c: Likewise.
33139         * sysdeps/mach/hurd/setsid.c: Likewise.
33140         * sysdeps/posix/wait3.c: Likewise.
33142         * All files with FSF copyright notices: Update copyright dates
33143         using scripts/update-copyrights.
33144         * intl/plural.c: Regenerated.
33145         * locale/programs/charmap-kw.h: Likewise.
33146         * locale/programs/locfile-kw.h: Likewise.
33148 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33150         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33151         four values.
33153         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33154         calculation loop and add branch prediction.
33156         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33157         check access beyond bounds of m1np.
33159         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33160         MPTWO.
33161         (__inv): Remove local variable MPTWO to use the global
33162         constant.
33163         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33164         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33165         variable MPTWO.
33166         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33167         MP3HALFS static const.
33169 2013-01-01  David S. Miller  <davem@davemloft.net>
33171         * po/ca.po: Update from translation team.
33173 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
33175         * scripts/update-copyrights: New file.
33176         * Makeconfig: Reformat copyright notice.
33177         * ctype/ctype.h: Likewise.
33178         * debug/swprintf_chk.c: Likewise.
33179         * elf/dl-cache.c: Likewise.
33180         * elf/dl-debug.c: Likewise.
33181         * elf/dl-object.c: Likewise.
33182         * grp/initgroups.c: Likewise.
33183         * hurd/Makefile: Likewise.
33184         * hurd/hurd/signal.h: Likewise.
33185         * hurd/hurdfault.c: Likewise.
33186         * hurd/hurdioctl.c: Likewise.
33187         * hurd/hurdlookup.c: Likewise.
33188         * hurd/intr-msg.c: Likewise.
33189         * iconv/gconv_open.c: Likewise.
33190         * libio/swprintf.c: Likewise.
33191         * locale/lc-ctype.c: Likewise.
33192         * locale/nl_langinfo.c: Likewise.
33193         * mach/Machrules: Likewise.
33194         * mach/Makefile: Likewise.
33195         * malloc/obstack.h: Likewise.
33196         * manual/Makefile: Likewise.
33197         * manual/tsort.awk: Likewise.
33198         * misc/bits/stab.def: Likewise.
33199         * nis/nis_print_group_entry.c: Likewise.
33200         * nis/nis_table.c: Likewise.
33201         * nis/nss_compat/compat-pwd.c: Likewise.
33202         * nis/nss_compat/compat-spwd.c: Likewise.
33203         * po/Makefile: Likewise.
33204         * posix/fnmatch.c: Likewise.
33205         * posix/regex.h: Likewise.
33206         * resolv/Makefile: Likewise.
33207         * resolv/nss_dns/dns-network.c: Likewise.
33208         * resolv/res_hconf.c: Likewise.
33209         * scripts/gen-sorted.awk: Likewise.
33210         * soft-fp/soft-fp.h: Likewise.
33211         * stdio-common/printf.h: Likewise.
33212         * stdlib/monetary.h: Likewise.
33213         * stdlib/random.c: Likewise.
33214         * stdlib/random_r.c: Likewise.
33215         * sysdeps/generic/Makefile: Likewise.
33216         * sysdeps/gnu/Makefile: Likewise.
33217         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33218         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33219         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33220         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33221         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33222         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33223         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33224         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33225         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33226         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33227         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33228         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33229         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33230         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33231         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33232         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33233         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33234         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33235         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33236         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33237         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33238         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33239         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33240         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33241         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33242         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33243         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33244         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33245         * sysdeps/mach/hurd/errnos.awk: Likewise.
33246         * sysdeps/mach/hurd/fork.c: Likewise.
33247         * sysdeps/mach/hurd/getcwd.c: Likewise.
33248         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33249         * sysdeps/mach/hurd/mmap.c: Likewise.
33250         * sysdeps/mach/hurd/utimes.c: Likewise.
33251         * sysdeps/mach/hurd/xmknod.c: Likewise.
33252         * sysdeps/posix/profil.c: Likewise.
33253         * sysdeps/posix/readdir_r.c: Likewise.
33254         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33255         * sysdeps/powerpc/bits/setjmp.h: Likewise.
33256         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33257         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33259         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33260         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33261         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33263         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33264         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33265         * sysdeps/pthread/lio_listio.c: Likewise.
33266         * sysdeps/sparc/dl-procinfo.h: Likewise.
33267         * sysdeps/unix/i386/sysdep.S: Likewise.
33268         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33269         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33270         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33271         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33273         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33274         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33275         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33276         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33277         * sysdeps/wordsize-32/divdi3.c: Likewise.
33278         * time/sys/time.h: Likewise.
33279         * wcsmbs/Makefile: Likewise.
33281 2013-01-01  David S. Miller  <davem@davemloft.net>
33283         * po/fr.po: Update from translation team.
33285         * catgets/gencat.c: Update copyright year.
33286         * csu/version.c: Likewise.
33287         * debug/catchsegv.sh: Likewise.
33288         * debug/pcprofiledump.c: Likewise.
33289         * debug/xtrace.sh: Likewise.
33290         * elf/ldconfig.c: Likewise.
33291         * elf/ldd.bash.in: Likewise.
33292         * elf/pldd.c: Likewise.
33293         * elf/sotruss.ksh: Likewise.
33294         * elf/sprof.c: Likewise.
33295         * iconv/iconv_prog.c: Likewise.
33296         * iconv/iconvconfig.c: Likewise.
33297         * locale/programs/locale.c: Likewise.
33298         * locale/programs/localedef.c: Likewise.
33299         * login/programs/pt_chown.c: Likewise.
33300         * malloc/memusage.sh: Likewise.
33301         * malloc/memusagestat.c: Likewise.
33302         * malloc/mtrace.pl: Likewise.
33303         * nscd/nscd.c: Likewise.
33304         * nss/getent.c: Likewise.
33305         * nss/makedb.c: Likewise.
33306         * posix/getconf.c: Likewise.
33308 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33310         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33311         numbers.
33313 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33315         * math/bits/mathcalls.h (modf): Use __nonnull.
33317 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33319         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33320         (split): Use macro CN instead of the bare value.
33321         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33322         could be used.
33323         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33324         instead of the bare value.
33325         (power1): Likewise.
33327 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33329         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33330         __ATAN_TWOM.
33331         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33333         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33334         their values.
33335         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33336         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33337         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33338         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33340 2012-12-28  Andreas Jaeger  <aj@suse.de>
33342         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33343         values are from Linux 3.7.
33345         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33346         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33348 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33350         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33351         TRUE case.
33353         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33354         (norm): Likewise.
33355         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33356         variables with preprocessor constants.
33357         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33358         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33359         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33361 2012-12-27  Bruno Haible  <bruno@clisp.org>
33363         [BZ #14317]
33364         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33365         only if needed.
33367 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33369         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33370         and use variable directly.
33371         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33373         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33374         MPONE.
33375         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33376         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33377         variable MPONE.
33378         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33379         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33380         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33381         include directive.  Remove local variable MPONE.
33382         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33383         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33384         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33386 2012-12-25  David S. Miller  <davem@davemloft.net>
33388         * version.h (RELEASE): Set to "development".
33389         (VERSION): Set to "2.17.90".
33390         * NEWS: Add 2.18 section.
33392 2012-12-21  David S. Miller  <davem@davemloft.net>
33394         * po/hr.po: Update from translation team.
33396 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33398         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33400 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33402         * NEWS:  Mention new memcpy for MIPS.
33404 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33406         * manual/contrib.texi (Contributors): Spelling correction.
33408 2012-12-15  David S. Miller  <davem@davemloft.net>
33410         * po/ru.po: Update from translation team.
33412 2012-12-13  David S. Miller  <davem@davemloft.net>
33414         * NEWS: Mention IFUNC testsuite enhancements.
33416         * po/pl.po: Update from translation team.
33417         * po/bg.po: Likewise.
33419         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33420         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33422 2012-12-11  David S. Miller  <davem@davemloft.net>
33424         * po/sv.po: Update from translation team.
33426         * po/vi.po: Update from translation team.
33428         * po/cs.po: Update from translation team.
33430         * po/de.po: Update from translation team.
33431         * po/eo.po: Likewise.
33432         * po/nl.po: Likewise.
33434 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33436         [BZ #14246]
33437         * manual/argp.texi (Argp Helper Functions): Move node to follow
33438         Argp Parsing State.
33440         [BZ #14872]
33441         * manual/conf.texi (Limits on File System Capacity): Mention if
33442         terminating null is included in the max size.
33444 2012-12-10  Andreas Jaeger  <aj@suse.de>
33446         * po/cs.po: Update from translation team.
33448 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33450         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33451         void pointer and cast to uintptr_t.
33452         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33453         path.
33454         * sysdeps/s390/s390-64/memcpy.S: Likewise.
33455         * sysdeps/s390/s390-64/memset.S: Likewise.
33457 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
33459         [BZ #14833]
33460         * menual/message.texi (Message Translation): Fix typos.
33461         (Helper programs for gettext): Likewise.
33463 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
33465         [BZ #14898]
33466         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33467         Change to -1.
33469 2012-12-07  David S. Miller  <davem@davemloft.net>
33471         * po/libc.pot: Update.
33473 2012-12-07  Richard Henderson  <rth@redhat.com>
33475         [BZ #10114]
33476         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33477         normal/normal case to before the switch.
33478         (_FP_DIV): Likewise.
33480 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
33481             Mike Frysinger  <vapier@gentoo.org>
33483         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33484         check for __NR_fadvise64_64.
33486 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
33488         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33489         0, not just to plain "0" as a statement.
33490         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33491         with cw.
33493 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
33495         * NEWS: Use sourceware.org in Bugzilla URL.
33497 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33500         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33502         * stdio-common/tst-put-error.c (do_test): Add newline to the
33503         padded test to ensure flush.
33505 2012-12-05  Jeff Law  <law@redhat.com>
33507         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33509 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33511         * README: Don't refer to ports add-on as distributed separately.
33512         Mention AArch64 in list of systems supported in the ports add-on.
33514         * LICENSES: Add more non-FSF copyright and license notices.
33516         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33517         ((unused)).
33519         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33521         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33522         10000 as width of padded output.
33524 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33526         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33528         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33529         variable LX with __attribute__ ((unused)).
33530         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33531         Likewise.
33532         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33533         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33534         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33535         with __attribute__ ((unused)).
33537 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33539         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33541 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33543         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33544         (CFLAGS-nldbl-acos.c): New variable.
33545         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33546         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33547         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33548         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33549         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33550         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33551         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33552         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33553         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33554         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33555         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33556         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33557         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33558         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33559         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33560         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33561         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33562         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33563         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33564         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33565         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33566         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33567         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33568         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33569         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33570         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33571         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33572         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33573         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33574         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33575         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33576         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33577         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33578         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33579         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33580         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33581         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33582         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33583         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33584         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33585         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33586         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33587         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33588         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33589         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33590         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33591         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33592         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33593         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33594         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33595         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33596         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33597         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33598         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33599         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33600         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33601         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33602         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33603         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33604         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33605         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33606         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33607         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33608         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33609         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33610         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33611         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33612         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33613         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33614         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33615         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33616         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33617         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33618         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33619         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33620         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33621         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33622         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33623         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33624         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33625         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33626         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33627         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33628         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33629         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33630         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33631         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33632         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33633         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33634         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33635         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33636         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33637         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33638         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33639         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33640         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33641         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33644         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33646         [BZ #14914]
33647         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33648         whole low double instead of just low 47 bits when splitting values
33649         into two parts.
33651 2012-12-03  Allan McRae  <allan@archlinux.org>
33653         * manual/stdio.texi (Predefined Printf Handlers): Remove
33654         @hsep and @vsep usage.
33656 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33658         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33659         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33661 2012-12-03  Jeff Law  <law@redhat.com>
33663         * time/sys/time.h (settimeofday): Do not mark TV argument
33664         as __nonnull.
33666 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33668         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33669         when currently writing and seek to current position when not.
33670         * libio/Makefile (tests): Remove bug-fclose1.
33671         * libio/bug-fclose1.c: Delete.
33673 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33675         * manual/arith.texi (feenableexcept): Fix typo.
33676         (fedisableexcept): Likewise.
33678 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33680         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33681         second, differently-typed declaration, rather than a cast.
33683 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33685         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33686         * include/rpc/svc.h: ... here.
33688 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33690         [BZ #13013]
33691         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33692         depending n and resplen2 to catch cases where answer
33693         equals answerp2.
33695 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33697         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33698         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33700 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33702         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33704 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33706         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33708 2012-11-28  Jeff Law  <law@redhat.com>
33710         [BZ #13761]
33711         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33712         dataset_temporary.  Track alloca usage into alloca_used.
33713         If dataset is large allocate and release it via malloc/free.
33715 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33717         [BZ #14197]
33718         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33720 2012-11-28  David S. Miller  <davem@davemloft.net>
33722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33724 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33726         [BZ #14803]
33727         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33728         of pi/2 rounded to nearest to 64 bits.
33729         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33730         nearest to 64 bits.
33731         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33732         bits.
33734 2012-11-28  Jeff Law <law@redhat.com>
33735             Martin Osvald <mosvald@redhat.com>
33737         [BZ #14889]
33738         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33739         * sunrpc/svc.c: Include time.h.
33740         (__svc_accept_failed): New function.
33741         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33742         any reason other than EINTR, call __svc_accept_failed.
33743         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33744         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33746 2012-11-28  Andreas Schwab  <schwab@suse.de>
33748         * scripts/abilist.awk: Also handle indirect functions in .opd
33749         section.
33751 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33753         [BZ #13881]
33754         * sysdeps/x86/fpu/powl_helper.c: New file.
33755         * sysdeps/x86/fpu/Makefile: Likewise.
33756         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33757         (p3): New object.
33758         (__ieee754_powl): Use __powl_helper for finite arguments except
33759         integer exponents below 8.
33760         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33761         (p3): New object.
33762         (__ieee754_powl): Use __powl_helper for finite arguments except
33763         integer exponents below 8.
33764         * math/libm-test.inc (pow_test): Add more tests and enable some
33765         previously disabled tests.
33766         * sysdeps/i386/fpu/libm-test-ulps: Update.
33767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33769 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33770             Carlos O'Donell  <carlos_odonell@mentor.com>
33772         * nss/makedb.c (is_prime): Assert that input is odd and greater
33773         than 4.  Note that fact in a comment too.
33774         (next_prime): Add 4 to input.
33776 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33778         [BZ #11741]
33779         * libio/Makefile (tests): Add test case tst-fwrite-error.
33780         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33781         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33782         * libio/tst-fwrite-error.c: New test case.
33784 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33786         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33787         before casting to void *.
33788         * include/libc-internal.h (__pointer_type): New macro.
33789         (__integer_if_pointer_type_sub): Likewise.
33790         (__integer_if_pointer_type): Likewise.
33791         (cast_to_integer): Likewise.
33792         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33793         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33794         before casting to atomic64_t.
33795         (atomic_exchange_acq): Likewise.
33796         (__arch_exchange_and_add_body): Likewise.
33797         (__arch_add_body): Likewise.
33798         (atomic_add_negative): Likewise.
33799         (atomic_add_zero): Likewise.
33801 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33803         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33804         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33805         (add_fdes): Likewise.
33806         (linear_search_fdes): Likewise.
33807         (binary_search_unencoded_fdes): Likewise.
33809 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33811         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33813 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33815         * configure.in: Autodetect C++ header directories.
33816         * configure: Regenerated.
33818 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33820         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33822 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33826 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33828         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33829         LDBL_MANT_DIG == 106]: Disable some tests.
33830         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33831         Likewise.
33832         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33833         Likewise.
33835         [BZ #14871]
33836         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33837         input for small inputs.  Return +/- pi/2 for large inputs.
33838         * math/libm-test.inc (atan_test): Add more tests.
33840         * sysdeps/generic/unwind-dw2-fde-glibc.c
33841         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33842         __attribute__ ((unused)).
33844         [BZ #14645]
33845         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33846         x * y if x and y are nonzero and z is zero.
33848         [BZ #14811]
33849         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33850         nonzero exponents with absolute value below 0x1p-117 to +/-
33851         0x1p-117.
33853         [BZ #14869]
33854         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33855         up arguments below 2**-450, not just those below 2**-500.
33856         * math/libm-test.inc (hypot_test): Add another test.
33858         [BZ #14868]
33859         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33860         Return a+b for ratio over 2**120, not 2**60.
33861         * math/libm-test.inc (hypot_test): Add another test.
33863         * math/libm-test.inc (clog_test): Use
33864         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33865         (clog10_test): Likewise.
33867         [BZ #6778]
33868         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33870 2012-11-22  Andreas Schwab  <schwab@suse.de>
33872         * sysdeps/i386/fpu/libm-test-ulps: Update.
33874 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33876         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33877         printf output with newline.
33879 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33881         [BZ #14865]
33882         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33883         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33884         -z nodlopen, -z initfirst and -z execstack support.
33885         * configure: Regenerated.
33887         * elf/elf.h (DF_1_NODIRECT): New macro.
33888         (DF_1_IGNMULDEF): Likewise.
33889         (DF_1_NOKSYMS): Likewise.
33890         (DF_1_NOHDR): Likewise.
33891         (DF_1_EDITED): Likewise.
33892         (DF_1_NORELOC): Likewise.
33893         (DF_1_SYMINTPOSE): Likewise.
33894         (DF_1_GLOBAUDIT): Likewise.
33895         (DF_1_SINGLETON): Likewise.
33896         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33897         DT_1_SUPPORTED_MASK bits.
33898         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33900 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33902         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33904 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33906         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33907         macro.
33909         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33910         (sendmmsg): Move declarations...
33911         * socket/sys/socket.h: ... here.
33912         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33913         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33914         include it from...
33915         * socket/recvmmsg.c: ... this new file.
33916         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33917         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33918         definition of __sendmmsg hidden.
33919         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33920         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33921         Move ENOSYS stub into and include it from...
33922         * socket/sendmmsg.c: ... this new file.
33923         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33924         (sysdep_routines): Move recvmmsg and sendmmsg...
33925         * socket/Makefile (routines): ... here.
33926         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33927         (GLIBC_PRIVATE): Add __sendmmsg.
33928         * include/sys/socket.h (__sendmmsg): Add declarations.
33929         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33930         sendmmsg.
33932 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33934         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33935         variable I1 with __attribute__ ((unused)).
33936         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33938 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33940         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33941         DUMMY variables with __attribute__ ((unused)).
33943         * bits/byteswap.h: Include <bits/types.h>.
33944         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33946 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33948         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33949         string_t.  Do not manually set errno.
33950         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33951         length with __strnlen.  Make sure to both set errno and return it on
33952         failure.
33954 2012-11-19  David S. Miller  <davem@davemloft.net>
33956         With help from Joseph Myers.
33957         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33958         very large arguments properly.
33959         * math/libm-test.inc (atan_test): New tests.
33960         (atan2_test): New tests.
33961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33964 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33966         [BZ #14856]
33967         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33968         Define to 3.
33970         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33971         [POSIX] (EADDRNOTAVAIL): Likewise.
33972         [POSIX] (EAFNOSUPPORT): Likewise.
33973         [POSIX] (EALREADY): Likewise.
33974         [POSIX] (ECONNABORTED): Likewise.
33975         [POSIX] (ECONNREFUSED): Likewise.
33976         [POSIX] (ECONNRESET): Likewise.
33977         [POSIX] (EDESTADDRREQ): Likewise.
33978         [POSIX] (EDQUOT): Likewise.
33979         [POSIX] (EHOSTUNREACH): Likewise.
33980         [POSIX] (EIDRM): Likewise.
33981         [POSIX] (EISCONN): Likewise.
33982         [POSIX] (ELOOP): Likewise.
33983         [POSIX] (EMULTIHOP): Likewise.
33984         [POSIX] (ENETDOWN): Likewise.
33985         [POSIX] (ENETUNREACH): Likewise.
33986         [POSIX] (ENOBUFS): Likewise.
33987         [POSIX] (ENODATA): Likewise.
33988         [POSIX] (ENOLINK): Likewise.
33989         [POSIX] (ENOMSG): Likewise.
33990         [POSIX] (ENOPROTOOPT): Likewise.
33991         [POSIX] (ENOSR): Likewise.
33992         [POSIX] (ENOSTR): Likewise.
33993         [POSIX] (ENOTCONN): Likewise.
33994         [POSIX] (ENOTSOCK): Likewise.
33995         [POSIX] (EOPNOTSUPP): Likewise.
33996         [POSIX] (EOVERFLOW): Likewise.
33997         [POSIX] (EPROTO): Likewise.
33998         [POSIX] (EPROTONOSUPPORT): Likewise.
33999         [POSIX] (EPROTOTYPE): Likewise.
34000         [POSIX] (ESTALE): Likewise.
34001         [POSIX] (ETIME): Likewise.
34002         [POSIX] (ETXTBSY): Likewise.
34003         [POSIX] (EWOULDBLOCK): Likewise.
34004         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34005         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34006         [POSIX] (SEEK_CUR): Likewise.
34007         [POSIX] (SEEK_END): Likewise.
34008         [POSIX || UNIX98] (mode_t): Do not require.
34009         [POSIX] (off_t): Likewise.
34010         [POSIX] (pid_t): Likewise.
34011         [POSIX] (sys/stat.h): Do not allow header.
34012         [POSIX] (unistd.h): Likewise.
34013         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34014         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34015         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34016         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34017         require.
34018         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34019         sigevent): Specify elements.
34020         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34021         entry.
34022         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34023         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34025         * conform/data/cpio.h-data [POSIX]: Disable whole file.
34026         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34027         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34028         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34029         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34030         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34031         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34032         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34033         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34034         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34035         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34036         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34037         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34038         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34039         Likewise.
34040         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34041         Likewise.
34042         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34043         Likewise.
34044         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34045         Likewise.
34046         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34047         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34048         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34049         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34050         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34051         Specify lower bound on value.
34052         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34053         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34054         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34055         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34056         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34057         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34058         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34059         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34060         value.
34061         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34062         as optional.
34063         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34064         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34065         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34066         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34067         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34068         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34069         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34070         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34071         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34072         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34073         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34074         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34075         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34076         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34077         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34078         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34079         entry.
34080         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34081         optional.
34082         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34083         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34084         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34085         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34086         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34087         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34088         Likewise.
34089         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34090         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34091         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34092         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34093         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
34094         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34095         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34096         as optional.
34097         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34098         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34099         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34100         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34101         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34102         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34103         specify as optional.
34104         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34105         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34106         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34107         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34108         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34109         [XPG3] (NL_LANGMAX): Likewise.
34110         [POSIX || XPG3] (NL_MSGMAX): Likewise.
34111         [POSIX || XPG3] (NL_NMAX): Likewise.
34112         [POSIX || XPG3] (NL_SETMAX): Likewise.
34113         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34114         [XPG3] (NZERO): Likewise.
34115         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34116         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34117         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34118         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34119         (REG_ERANGE): Expect.
34120         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34121         optional-constant.
34122         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34123         Use (void) in prototype.
34124         [POSIX] (*_t): Allow.
34125         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34126         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34127         (WRDE_BADVAL): Expect.
34129         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34130         expect.
34131         [XPG3 || XPG4] (O_RSYNC): Likewise.
34132         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34133         Likewise.
34134         [XPG3 || XPG4] (pthread_sigmask): Likewise.
34135         [XPG3 || XPG4] (sigqueue): Likewise.
34136         [XPG3 || XPG4] (sigtimedwait): Likewise.
34137         [XPG3 || XPG4] (sigwaitinfo): Likewise.
34138         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34139         [XPG3 || XPG4] (vsnprintf): Likewise.
34140         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34141         Likewise.
34142         [XPG3 || XPG4] (blksize_t): Likewise.
34143         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34144         Likewise.
34145         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34146         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34147         [XPG3 || XPG4] (struct itimerspec): Likewise.
34148         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34149         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34150         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34151         [XPG3 || XPG4] (clockid_t): Likewise.
34152         [XPG3 || XPG4] (timer_t): Likewise.
34153         [XPG3 || XPG4] (clock_getres): Likewise.
34154         [XPG3 || XPG4] (clock_gettime): Likewise.
34155         [XPG3 || XPG4] (clock_settime): Likewise.
34156         [XPG3 || XPG4] (nanosleep): Likewise.
34157         [XPG3 || XPG4] (timer_create): Likewise.
34158         [XPG3 || XPG4] (timer_delete): Likewise.
34159         [XPG3 || XPG4] (timer_gettime): Likewise.
34160         [XPG3 || XPG4] (timer_getoverrun): Likewise.
34161         [XPG3 || XPG4] (timer_settime): Likewise.
34162         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34163         [XPG3 || XPG4] (getlogin_r): Likewise.
34164         [XPG3 || XPG4] (pread): Likewise.
34165         [XPG3 || XPG4] (pthread_atfork): Likewise.
34166         [XPG3 || XPG4] (pwrite): Likewise.
34168         [BZ #14835]
34169         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34170         <bits/siginfo.h>.
34172 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34174         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34175         finalizing MALLSTREAM.
34177         * sysdeps/mach/hurd/syncfs.c: New file.
34179 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34181         [BZ #14719]
34182         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34183         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34184         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34185         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34186         (_nss_dns_gethostbyname4_r): Likewise.
34187         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34188         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34190 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
34192         [BZ #13763]
34193         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34195 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
34197         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34198         * elf/cache.c (print_entry): Print ",AArch64" for
34199         FLAG_AARCH64_LIB64
34201         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34202         * elf/cache.c (print_entry): Print ",hard-float" for
34203         FLAG_ARM_LIBHF.
34205 2012-11-18  David S. Miller  <davem@davemloft.net>
34207         With help from Joseph Myers.
34208         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34209         cutoff to 2**-13.
34210         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34211         cutoff to 2**-25.
34212         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34213         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34214         small.
34215         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34216         * math/libm-test.inc (y0_test): New tests.
34217         (y1_test): New tests.
34218         * sysdeps/i386/fpu/libm-test-ulps: Update.
34219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34222 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
34224         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34225         64-bit targets.
34226         * configure: Regenerated.
34228 2012-11-17  David S. Miller  <davem@davemloft.net>
34230         [BZ #14811]
34231         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34232         nonzero exponents with absolute value below 0x1p-128 to +/-
34233         0x1p-128.
34235 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
34237         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34239         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34241         * posix/getconf-speclist.c: New file.
34242         * posix/posix-envs.def: Likewise.
34243         * posix/confstr.c (START_ENV_GROUP): New macro.
34244         (END_ENV_GROUP): Likewise.
34245         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34246         (KNOWN_PRESENT_ENV_STRING): Likewise.
34247         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34248         (UNKNOWN_ENVIRONMENT): Likewise.
34249         (confstr): Include posix-envs.def instead of handling
34250         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34251         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34252         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34253         (END_ENV_GROUP): Likewise.
34254         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34255         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34256         (UNKNOWN_ENVIRONMENT): Likewise.
34257         (__sysconf): Include posix-envs.def instead of handling associated
34258         cases directly here.
34259         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34260         preprocessing getconf-speclist.c rather than running getconf or
34261         generating empty file.
34263 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34265         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34267 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34269         [BZ #14672]
34270         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34272 2012-11-16  David S. Miller  <davem@davemloft.net>
34274         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34275         smaller than LDBL_EPSILON/2.0L, just return xm1.
34277 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34279         * elf/tst-array1.c (init): Set constructor priority to 1000.
34280         (fini): Set destructor priority to 1000.
34281         * elf/tst-array2dep.c: Likewise.
34283 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34285         [BZ #11741]
34286         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34287         (_IO_new_file_xsputn): Also return EOF if none of the input
34288         data was written when overflow failed.
34289         * libio/iopadn.c (_IO_padn): Likewise.
34290         * libio/iowpadn.c (_IO_wpadn): Likewise.
34291         * stdio-common/tst-put-error.c: Add copyright notice.
34292         (do_test): Add case for printing padded string.
34293         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34294         _IO_padn returned error.
34295         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34296         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34297         return EOF.
34299 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34301         * libio/libioP.h: Add comment note that the references to C++
34302         bits are now obsolete.
34304 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34306         * math/libm-test.inc (check_complex): Use asprintf.
34308 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34310         * debug/pcprofiledump.c (print_version): Update copyright year.
34311         * malloc/memusagestat.c (print_version): Likewise.
34313 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34315         [BZ #14831]
34316         * elf/Makefile (tests): Add tst-audit8.
34317         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34318         ($(objpfx)tst-audit8.out): New target.
34319         (tst-audit8-ENV): New variable.
34320         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34321         audit if l_reloc_result is NULL.
34322         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34323         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34324         * elf/tst-audit8.c: New file.
34326 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34328         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34329         * misc/Makefile (CFLAGS-select.c): Define.
34330         * posix/Makefile (CFLAGS-pause.c): Define.
34332 2012-11-13  David S. Miller  <davem@davemloft.net>
34334         * crypt/Makefile: Move test targets after toplevel Rules
34335         inclusion.  Grab any necessary sysdep routines when linking.
34336         * crypt/md5.c (md5_process_block): Remove define, we will always
34337         name it __md5_process_block.
34338         (md5_finish_ctx): Update md5_process_block call.
34339         (md5_stream): Likewise.
34340         (md5_process_bytes): Likewise.
34341         (md5_process_block): Rename to __md5_process_block and move to ...
34342         * crypt/md5-block.c: ... here.
34343         * crypt/sha256.c (sha256_process_block): Move to ...
34344         * crypt/sha256-block.c: ... here.
34345         * crypt/sha512.c (sha512_process_block): Move to ...
34346         * crypt/sha512-block.c: ... here.
34347         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34348         path.
34349         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34350         * sysdeps/sparc/sparc64/multiarch/Makefile
34351         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34352         crypt subdir.
34353         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34354         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34355         multiarch changes.
34356         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34357         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34358         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34359         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34360         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34361         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34362         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34363         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34364         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34365         file.
34366         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34367         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34368         file.
34369         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34371 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34373         * timezone/tzselect.ksh: Update from tzcode git revision
34374         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34375         * timezone/zdump.c: Likewise.
34376         * timezone/zic.c: Likewise.
34377         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34378         in TZVERSION setting, not $(PKGVERSION).
34379         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34380         REPORT_BUGS_TO settings.
34382         [BZ #14838]
34383         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34384         macro.
34386 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34388         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34389         detection to immediately after _FP_ROUND().
34390         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34391         bits are 0.
34393 2012-11-11  David S. Miller  <davem@davemloft.net>
34395         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34396         inttypes.h
34397         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34398         __close rather than their public counterparts.
34400 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34402         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34403         file.
34404         [UNIX98] (sem_timedwait): Do not expect.
34405         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34406         [XPG4 || UNIX98] (sockatmark): Do not expect.
34407         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34408         (clock_getcpuclockid): Do not expect.
34409         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34410         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34411         Do not expect.
34412         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34413         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34414         [UNIX98] (vwscanf): Likewise.
34415         [UNIX98] (vswscanf): Likewise.
34417 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34419         * timezone/version.h: Remove file.
34420         * timezone/README: Do not refer to version.h.
34421         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34422         $(objpfx)version.h.
34423         ($(objpfx)zdump.o): Likewise.
34424         ($(objpfx)version.h): New target.
34426         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34427         2012i.
34428         * timezone/README: Don't mention modification to tzselect.ksh.
34429         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34430         work on unmodified tzselect.ksh.  Substitute version numbers in
34431         tzselect.ksh.
34433         * Makefile (format-me): Remove.
34434         (INSTALL): Adjust indentation.  Use commands directly instead of
34435         using $(format-me).
34437         * aclocal.m4 (ACX_PKGVERSION): New macro.
34438         (ACX_BUGURL): Likewise.
34439         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34440         (PKGVERSION): New AC_DEFINE_UNQUOTED.
34441         (REPORT_BUGS_TO): Likewise.
34442         * configure: Regenerated.
34443         * config.h.in (PKGVERSION): New macro.
34444         (REPORT_BUGS_TO): Likewise.
34445         * config.make.in (PKGVERSION): New variable.
34446         (PKGVERSION_TEXI): Likewise.
34447         (REPORT_BUGS_TO): Likewise.
34448         (REPORT_BUGS_TEXI): Likewise.
34449         * Makefile (format-me): Use -I$(common-objpfx)manual.
34450         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34451         ($(common-objpfx)manual/%): New target.
34452         (manual/%): Remove target.
34453         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34454         (print_version): Use PKGVERSION.
34455         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34456         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34457         and REPORT_BUGS_TO.
34458         ($(objpfx)xtrace): Likewise.
34459         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34460         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34461         (print_version): Use PKGVERSION.
34462         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34463         (do_version): Use PKGVERSION.
34464         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34465         REPORT_BUGS_TO.
34466         (common-ldd-rewrite): Likewise.
34467         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34468         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34469         (print_version): Use PKGVERSION.
34470         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34471         * elf/pldd.c (argp_program_bug_address): Remove variable.
34472         (more_help): New function.
34473         (argp): Use more_help.
34474         (print_version): Use PKGVERSION.
34475         * elf/sln.c (main): Use PKGVERSION.
34476         (usage): Use REPORT_BUGS_TO.
34477         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34478         (top level): Use PKGVERSION.
34479         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34480         (print_version): Use PKGVERSION.
34481         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34482         (print_version): Use PKGVERSION.
34483         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34484         (print_version): Use PKGVERSION.
34485         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34486         (print_version): Use PKGVERSION.
34487         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34488         (print_version): Use PKGVERSION.
34489         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34490         (print_version): Use PKGVERSION.
34491         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34492         and BUGURL.
34493         ($(objpfx)memusage): Likewise.
34494         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34495         (do_version): Use PKGVERSION.
34496         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34497         (print_version): Use PKGVERSION.
34498         * malloc/mtrace.pl ($PACKAGE): Remove variable.
34499         ($PKGVERSION): New variable.
34500         ($REPORT_BUGS_TO): Likewise.
34501         (usage): Use $REPORT_BUGS_TO.
34502         (top level): Use $PKGVERSION.
34503         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34504         ($(objpfx)pkgvers.texi): New rule.
34505         ($(objpfx)stamp-pkgvers): Likewise.
34506         * manual/install.texi: Include pkgvers.texi.
34507         (--with-pkgversion): Document new configure option.
34508         (--with-bugurl): Likewise.
34509         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34510         than necessarily for this particular distribution.  Use
34511         REPORT_BUGS_TO for where to report bugs.
34512         * INSTALL: Regenerated.
34513         * manual/libc.texinfo: Include pkgvers.texi.
34514         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34515         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34516         (print_version): Use PKGVERSION.
34517         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34518         (print_version): Use PKGVERSION.
34519         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34520         (print_version): Use PKGVERSION.
34521         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34522         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34523         macro.
34524         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34525         (print_version): Use PKGVERSION.
34526         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34527         (print_version): Use PKGVERSION.
34528         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34529         and PKGVERSION.
34531         * timezone/checktab.awk: Update from tzcode 2012i.
34532         * timezone/ialloc.c: Likewise.
34533         * timezone/private.h: Likewise.
34534         * timezone/scheck.c: Likewise.
34535         * timezone/tzfile.h: Likewise.
34536         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34537         (TZVERSION): Hardcode tzcode version number.
34538         * timezone/zdump.c: Update from tzcode 2012i.
34539         * timezone/zic.c: Likewise.
34540         * timezone/version.h: New file.
34541         * timezone/README: Describe version.h.  Update upstream location.
34543         [BZ #14824]
34544         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34545         (mktemp): Enable declaration.
34546         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34547         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34548         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34549         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34550         Likewise.
34551         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34552         Likewise.
34553         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34554         Likewise.
34555         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34556         Likewise.
34557         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34558         Likewise.
34559         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34560         Likewise.
34562         [BZ #14821]
34563         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34564         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34565         for copies of such integer values.
34566         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34567         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34569 2012-11-09  Andreas Jaeger  <aj@suse.de>
34571         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34572         definitions and declarations that are provided by
34573         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34575 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34577         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34578         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34579         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34580         definition.
34582 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34584         * elf/elf.h: Update comment before AArch64 relocations.
34586 2012-11-07  David S. Miller  <davem@davemloft.net>
34588         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34589         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34590         (__start_context): Declare.
34591         (__makecontext_ret): Delete.
34592         (__makecontext): Hook up __start_context instead of
34593         __makecontext_ret.
34594         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34595         (sysdep_routines): Add __start_context when in stdlib.
34597 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34599         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34600         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34601         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34602         hardcoded "nm".
34603         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34604         (READELF): New variable.  Use it instead of hardcoded "readelf".
34606 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34608         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34609         * sysdeps/x86/Makefile: Here.
34610         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34611         * sysdeps/x86/tst-xmmymm.sh: This.
34613 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34615         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34616         expectations.
34617         [UNIX98] (pthread_barrier_t): Do not expect.
34618         [UNIX98] (pthread_barrierattr_t): Likewise.
34619         [UNIX98] (pthread_spinlock_t): Likewise.
34620         [UNIX98] (pthread_barrier_destroy): Likewise.
34621         [UNIX98] (pthread_barrier_init): Likewise.
34622         [UNIX98] (pthread_barrier_wait): Likewise.
34623         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34624         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34625         [UNIX98] (pthread_barrierattr_init): Likewise.
34626         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34627         [UNIX98] (pthread_getcpuclockid): Likewise.
34628         [UNIX98] (pthread_mutex_timedlock): Likewise.
34629         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34630         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34631         [UNIX98] (pthread_sigmask): Likewise.
34632         [UNIX98] (pthread_spin_destroy): Likewise.
34633         [UNIX98] (pthread_spin_init): Likewise.
34634         [UNIX98] (pthread_spin_lock): Likewise.
34635         [UNIX98] (pthread_spin_trylock): Likewise.
34636         [UNIX98] (pthread_spin_unlock): Likewise.
34637         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34638         Do not expect.
34639         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34640         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34641         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34642         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34643         [XPG3 || XPG4] (pthread_key_t): Likewise.
34644         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34645         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34646         [XPG3 || XPG4] (pthread_once_t): Likewise.
34647         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34648         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34649         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34650         [XPG3 || XPG4] (pthread_t): Likewise.
34652         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34653         not expect.
34654         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34656         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34657         Change function return type to int.
34659         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34660         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34661         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34662         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34663         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34664         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34665         [!POSIX] (posix_madvise): Likewise.
34666         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34667         && !UNIX98].
34668         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34669         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34670         (mode_t): Likewise.
34671         (posix_mem_offset): Likewise.
34672         (posix_typed_mem_get_info): Likewise.
34673         (posix_typed_mem_open): Likewise.
34675         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34676         Change condition to [XOPEN2K8].
34678         * conform/conformtest.pl: Preprocess allow-header data with -x c
34679         instead of from stdin.
34680         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34681         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34682         [C99-based standards] (cerfc): Likewise.
34683         [C99-based standards] (cexp2): Likewise.
34684         [C99-based standards] (cexpm1): Likewise.
34685         [C99-based standards] (clog10): Likewise.
34686         [C99-based standards] (clog1p): Likewise.
34687         [C99-based standards] (clog2): Likewise.
34688         [C99-based standards] (clgamma): Likewise.
34689         [C99-based standards] (ctgamma): Likewise.
34690         [C99-based standards] (cerff): Likewise.
34691         [C99-based standards] (cerfcf): Likewise.
34692         [C99-based standards] (cexp2f): Likewise.
34693         [C99-based standards] (cexpm1f): Likewise.
34694         [C99-based standards] (clog10f): Likewise.
34695         [C99-based standards] (clog1pf): Likewise.
34696         [C99-based standards] (clog2f): Likewise.
34697         [C99-based standards] (clgammaf): Likewise.
34698         [C99-based standards] (ctgammaf): Likewise.
34699         [C99-based standards] (cerfl): Likewise.
34700         [C99-based standards] (cerfcl): Likewise.
34701         [C99-based standards] (cexp2l): Likewise.
34702         [C99-based standards] (cexpm1l): Likewise.
34703         [C99-based standards] (clog10l): Likewise.
34704         [C99-based standards] (clog1pl): Likewise.
34705         [C99-based standards] (clog2l): Likewise.
34706         [C99-based standards] (clgammal): Likewise.
34707         [C99-based standards] (ctgammal): Likewise.
34708         * conform/data/inttypes.h-data [C99-based standards]: Include
34709         stdint.h-data.  Remove all expectations for stdint.h contents.
34710         [C99-based standards] (PRI*): Do not allow.
34711         [C99-based standards] (SCN*): Likewise.
34712         [C99-based standards] (*_t): Likewise.
34713         [C99-based-standards] (PRId8): Expect macro.
34714         [C99-based-standards] (PRIi8): Likewise.
34715         [C99-based-standards] (PRIo8): Likewise.
34716         [C99-based-standards] (PRIu8): Likewise.
34717         [C99-based-standards] (PRIx8): Likewise.
34718         [C99-based-standards] (PRIX8): Likewise.
34719         [C99-based-standards] (SCNd8): Likewise.
34720         [C99-based-standards] (SCNi8): Likewise.
34721         [C99-based-standards] (SCNo8): Likewise.
34722         [C99-based-standards] (SCNu8): Likewise.
34723         [C99-based-standards] (SCNx8): Likewise.
34724         [C99-based-standards] (PRIdLEAST8): Likewise.
34725         [C99-based-standards] (PRIiLEAST8): Likewise.
34726         [C99-based-standards] (PRIoLEAST8): Likewise.
34727         [C99-based-standards] (PRIuLEAST8): Likewise.
34728         [C99-based-standards] (PRIxLEAST8): Likewise.
34729         [C99-based-standards] (PRIXLEAST8): Likewise.
34730         [C99-based-standards] (SCNdLEAST8): Likewise.
34731         [C99-based-standards] (SCNiLEAST8): Likewise.
34732         [C99-based-standards] (SCNoLEAST8): Likewise.
34733         [C99-based-standards] (SCNuLEAST8): Likewise.
34734         [C99-based-standards] (SCNxLEAST8): Likewise.
34735         [C99-based-standards] (PRIdFAST8): Likewise.
34736         [C99-based-standards] (PRIiFAST8): Likewise.
34737         [C99-based-standards] (PRIoFAST8): Likewise.
34738         [C99-based-standards] (PRIuFAST8): Likewise.
34739         [C99-based-standards] (PRIxFAST8): Likewise.
34740         [C99-based-standards] (PRIXFAST8): Likewise.
34741         [C99-based-standards] (SCNdFAST8): Likewise.
34742         [C99-based-standards] (SCNiFAST8): Likewise.
34743         [C99-based-standards] (SCNoFAST8): Likewise.
34744         [C99-based-standards] (SCNuFAST8): Likewise.
34745         [C99-based-standards] (SCNxFAST8): Likewise.
34746         [C99-based-standards] (PRId16): Likewise.
34747         [C99-based-standards] (PRIi16): Likewise.
34748         [C99-based-standards] (PRIo16): Likewise.
34749         [C99-based-standards] (PRIu16): Likewise.
34750         [C99-based-standards] (PRIx16): Likewise.
34751         [C99-based-standards] (PRIX16): Likewise.
34752         [C99-based-standards] (SCNd16): Likewise.
34753         [C99-based-standards] (SCNi16): Likewise.
34754         [C99-based-standards] (SCNo16): Likewise.
34755         [C99-based-standards] (SCNu16): Likewise.
34756         [C99-based-standards] (SCNx16): Likewise.
34757         [C99-based-standards] (PRIdLEAST16): Likewise.
34758         [C99-based-standards] (PRIiLEAST16): Likewise.
34759         [C99-based-standards] (PRIoLEAST16): Likewise.
34760         [C99-based-standards] (PRIuLEAST16): Likewise.
34761         [C99-based-standards] (PRIxLEAST16): Likewise.
34762         [C99-based-standards] (PRIXLEAST16): Likewise.
34763         [C99-based-standards] (SCNdLEAST16): Likewise.
34764         [C99-based-standards] (SCNiLEAST16): Likewise.
34765         [C99-based-standards] (SCNoLEAST16): Likewise.
34766         [C99-based-standards] (SCNuLEAST16): Likewise.
34767         [C99-based-standards] (SCNxLEAST16): Likewise.
34768         [C99-based-standards] (PRIdFAST16): Likewise.
34769         [C99-based-standards] (PRIiFAST16): Likewise.
34770         [C99-based-standards] (PRIoFAST16): Likewise.
34771         [C99-based-standards] (PRIuFAST16): Likewise.
34772         [C99-based-standards] (PRIxFAST16): Likewise.
34773         [C99-based-standards] (PRIXFAST16): Likewise.
34774         [C99-based-standards] (SCNdFAST16): Likewise.
34775         [C99-based-standards] (SCNiFAST16): Likewise.
34776         [C99-based-standards] (SCNoFAST16): Likewise.
34777         [C99-based-standards] (SCNuFAST16): Likewise.
34778         [C99-based-standards] (SCNxFAST16): Likewise.
34779         [C99-based-standards] (PRId32): Likewise.
34780         [C99-based-standards] (PRIi32): Likewise.
34781         [C99-based-standards] (PRIo32): Likewise.
34782         [C99-based-standards] (PRIu32): Likewise.
34783         [C99-based-standards] (PRIx32): Likewise.
34784         [C99-based-standards] (PRIX32): Likewise.
34785         [C99-based-standards] (SCNd32): Likewise.
34786         [C99-based-standards] (SCNi32): Likewise.
34787         [C99-based-standards] (SCNo32): Likewise.
34788         [C99-based-standards] (SCNu32): Likewise.
34789         [C99-based-standards] (SCNx32): Likewise.
34790         [C99-based-standards] (PRIdLEAST32): Likewise.
34791         [C99-based-standards] (PRIiLEAST32): Likewise.
34792         [C99-based-standards] (PRIoLEAST32): Likewise.
34793         [C99-based-standards] (PRIuLEAST32): Likewise.
34794         [C99-based-standards] (PRIxLEAST32): Likewise.
34795         [C99-based-standards] (PRIXLEAST32): Likewise.
34796         [C99-based-standards] (SCNdLEAST32): Likewise.
34797         [C99-based-standards] (SCNiLEAST32): Likewise.
34798         [C99-based-standards] (SCNoLEAST32): Likewise.
34799         [C99-based-standards] (SCNuLEAST32): Likewise.
34800         [C99-based-standards] (SCNxLEAST32): Likewise.
34801         [C99-based-standards] (PRIdFAST32): Likewise.
34802         [C99-based-standards] (PRIiFAST32): Likewise.
34803         [C99-based-standards] (PRIoFAST32): Likewise.
34804         [C99-based-standards] (PRIuFAST32): Likewise.
34805         [C99-based-standards] (PRIxFAST32): Likewise.
34806         [C99-based-standards] (PRIXFAST32): Likewise.
34807         [C99-based-standards] (SCNdFAST32): Likewise.
34808         [C99-based-standards] (SCNiFAST32): Likewise.
34809         [C99-based-standards] (SCNoFAST32): Likewise.
34810         [C99-based-standards] (SCNuFAST32): Likewise.
34811         [C99-based-standards] (SCNxFAST32): Likewise.
34812         [C99-based-standards] (PRId64): Likewise.
34813         [C99-based-standards] (PRIi64): Likewise.
34814         [C99-based-standards] (PRIo64): Likewise.
34815         [C99-based-standards] (PRIu64): Likewise.
34816         [C99-based-standards] (PRIx64): Likewise.
34817         [C99-based-standards] (PRIX64): Likewise.
34818         [C99-based-standards] (SCNd64): Likewise.
34819         [C99-based-standards] (SCNi64): Likewise.
34820         [C99-based-standards] (SCNo64): Likewise.
34821         [C99-based-standards] (SCNu64): Likewise.
34822         [C99-based-standards] (SCNx64): Likewise.
34823         [C99-based-standards] (PRIdLEAST64): Likewise.
34824         [C99-based-standards] (PRIiLEAST64): Likewise.
34825         [C99-based-standards] (PRIoLEAST64): Likewise.
34826         [C99-based-standards] (PRIuLEAST64): Likewise.
34827         [C99-based-standards] (PRIxLEAST64): Likewise.
34828         [C99-based-standards] (PRIXLEAST64): Likewise.
34829         [C99-based-standards] (SCNdLEAST64): Likewise.
34830         [C99-based-standards] (SCNiLEAST64): Likewise.
34831         [C99-based-standards] (SCNoLEAST64): Likewise.
34832         [C99-based-standards] (SCNuLEAST64): Likewise.
34833         [C99-based-standards] (SCNxLEAST64): Likewise.
34834         [C99-based-standards] (PRIdFAST64): Likewise.
34835         [C99-based-standards] (PRIiFAST64): Likewise.
34836         [C99-based-standards] (PRIoFAST64): Likewise.
34837         [C99-based-standards] (PRIuFAST64): Likewise.
34838         [C99-based-standards] (PRIxFAST64): Likewise.
34839         [C99-based-standards] (PRIXFAST64): Likewise.
34840         [C99-based-standards] (SCNdFAST64): Likewise.
34841         [C99-based-standards] (SCNiFAST64): Likewise.
34842         [C99-based-standards] (SCNoFAST64): Likewise.
34843         [C99-based-standards] (SCNuFAST64): Likewise.
34844         [C99-based-standards] (SCNxFAST64): Likewise.
34845         [C99-based-standards] (PRIdMAX): Likewise.
34846         [C99-based-standards] (PRIiMAX): Likewise.
34847         [C99-based-standards] (PRIoMAX): Likewise.
34848         [C99-based-standards] (PRIuMAX): Likewise.
34849         [C99-based-standards] (PRIxMAX): Likewise.
34850         [C99-based-standards] (PRIXMAX): Likewise.
34851         [C99-based-standards] (SCNdMAX): Likewise.
34852         [C99-based-standards] (SCNiMAX): Likewise.
34853         [C99-based-standards] (SCNoMAX): Likewise.
34854         [C99-based-standards] (SCNuMAX): Likewise.
34855         [C99-based-standards] (SCNxMAX): Likewise.
34856         [C99-based-standards] (PRIdPTR): Likewise.
34857         [C99-based-standards] (PRIiPTR): Likewise.
34858         [C99-based-standards] (PRIoPTR): Likewise.
34859         [C99-based-standards] (PRIuPTR): Likewise.
34860         [C99-based-standards] (PRIxPTR): Likewise.
34861         [C99-based-standards] (PRIXPTR): Likewise.
34862         [C99-based-standards] (SCNdPTR): Likewise.
34863         [C99-based-standards] (SCNiPTR): Likewise.
34864         [C99-based-standards] (SCNoPTR): Likewise.
34865         [C99-based-standards] (SCNuPTR): Likewise.
34866         [C99-based-standards] (SCNxPTR): Likewise.
34867         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34868         allow.
34869         * conform/data/stdint.h-data: Update comments to clarify
34870         requirements.
34871         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34872         type.
34873         [C99-based standards] (INT8_MAX): Likewise.
34874         [C99-based standards] (INT16_MIN): Likewise.
34875         [C99-based standards] (INT16_MAX): Likewise.
34876         [C99-based standards] (INT32_MIN): Likewise.
34877         [C99-based standards] (INT32_MAX): Likewise.
34878         [C99-based standards] (INT64_MIN): Likewise.
34879         [C99-based standards] (INT64_MAX): Likewise.
34880         [C99-based standards] (UINT8_MAX): Likewise.
34881         [C99-based standards] (UINT16_MAX): Likewise.
34882         [C99-based standards] (UINT32_MAX): Likewise.
34883         [C99-based standards] (UINT64_MAX): Likewise.
34884         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34885         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34886         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34887         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34888         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34889         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34890         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34891         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34892         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34893         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34894         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34895         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34896         [C99-based standards] (INT_FAST8_MIN): Likewise.
34897         [C99-based standards] (INT_FAST8_MAX): Likewise.
34898         [C99-based standards] (INT_FAST16_MIN): Likewise.
34899         [C99-based standards] (INT_FAST16_MAX): Likewise.
34900         [C99-based standards] (INT_FAST32_MIN): Likewise.
34901         [C99-based standards] (INT_FAST32_MAX): Likewise.
34902         [C99-based standards] (INT_FAST64_MIN): Likewise.
34903         [C99-based standards] (INT_FAST64_MAX): Likewise.
34904         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34905         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34906         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34907         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34908         [C99-based standards] (INTPTR_MIN): Likewise.
34909         [C99-based standards] (INTPTR_MAX): Likewise.
34910         [C99-based standards] (UINTPTR_MAX): Likewise.
34911         [C99-based standards] (INTMAX_MIN): Likewise.
34912         [C99-based standards] (INTMAX_MAX): Likewise.
34913         [C99-based standards] (UINTMAX_MAX): Likewise.
34914         [C99-based standards] (PTRDIFF_MIN): Likewise.
34915         [C99-based standards] (PTRDIFF_MAX): Likewise.
34916         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34917         [C99-based standards] (SIZE_MAX): Likewise.
34918         [C99-based standards] (WCHAR_MAX): Likewise.
34919         [C99-based standards] (WINT_MAX): Likewise.
34920         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34921         constraint on value.
34922         [C99-based standards] (WCHAR_MIN): Likewise.
34923         [C99-based standards] (WINT_MIN): Likewise.
34924         [C99-based standards] (*_t): Allow.
34925         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34926         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34927         Include math.h-data and complex.h-data.  Remove all expectations
34928         of math.h and complex.h contents.
34929         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34930         at end of line.
34931         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34932         (struct tm): Expect tag.
34933         [C99-based-standards] (wcstof): Expect function.
34934         [C99-based-standards] (wcstold): Likewise.
34935         [C99-based-standards] (wcstoll): Likewise.
34936         [C99-based-standards] (wcstoull): Likewise.
34937         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34938         macro-int-constant.  Specify type.
34939         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34940         constraint on value.
34941         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34942         Specify type.
34943         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34944         Specify value.
34945         [ISO C standards]: Do not allow headers.
34946         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34947         wcs[abcdefghijklmnopqrstuvwxyz]*.
34948         [ISO C standards] (*_t): Do not allow.
34949         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34950         Expect function.
34951         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34952         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34953         Specify type.
34954         [ISO C standards]: Do not allow headers.
34955         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34956         is[abcdefghijklmnopqrstuvwxyz]*.
34957         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34958         to[abcdefghijklmnopqrstuvwxyz]*.
34959         [ISO C standards] (*_t): Do not allow.
34960         * conform/data/stdalign.h-data: New file.
34961         * conform/data/stdbool.h-data: Likewise.
34962         * conform/data/stdnoreturn.h-data: Likewise.
34964 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34966         [BZ #14815]
34967         * manual/filesys.texi (Directory Entries): Typo fix.
34968         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34970 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34972         * elf/elf.h (EM_AARCH64): New macro.
34973         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34974         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34975         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34976         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34977         (R_AARCH64_TLSDESC): Likewise.
34978         (NT_ARM_TLS): Likewise.
34979         (NT_ARM_HW_BREAK): Likewise.
34980         (NT_ARM_HW_WATCH): Likewise.
34982 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34984         [BZ #14811]
34985         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34986         (__ieee754_powl): Saturate nonzero exponents with absolute value
34987         below 0x1p-79 to +/- 0x1p-79.
34988         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34989         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34990         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34991         nonzero exponents with absolute value below 0x1p-32 to +/-
34992         0x1p-32.
34993         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34994         (__ieee754_powl): Saturate nonzero exponents with absolute value
34995         below 0x1p-79 to +/- 0x1p-79.
34996         * math/libm-test.inc (pow_test): Add more tests.
34998 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35000         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35001         _dl_s390_cap_flags with kernel. Increase string length.
35002         (_dl_s390_platforms): Add z196 and zEC12.
35004 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35006         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35007         Change XOPEN21K to XOPEN2K.
35009 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
35011         * string/memmove.c: Use memcpy when possible.
35013 2012-11-06  Andreas Jaeger  <aj@suse.de>
35015         * po/eo.po: Update from translation team.
35017 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
35019         [BZ #14793]
35020         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35021         exponent and small x and y exponents, scale x or y up.  Increase
35022         by 2 the exponent used in scaling up.
35023         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35024         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35025         * math/libm-test.inc (fma_test): Add more tests.
35026         (fma_test_towardzero): Likewise.
35027         (fma_test_downward): Likewise.
35028         (fma_test_upward): Likewise.
35030 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
35032         [BZ #14805]
35033         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35034         fenv_t *.
35036         [BZ #14801]
35037         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35038         namespace for names of struct fields.
35039         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35040         fenv_t fields.
35041         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35042         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35044 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35046         [BZ #3665]
35047         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35049 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35051         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35052         PTR_DEMANGLE.
35054         [BZ #5246]
35055         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35056         PTR_DEMANGLE.
35058 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
35060         [BZ #14797]
35061         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35062         definitely overflow as x * y not x * y + z.
35063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35064         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35065         * math/libm-test.inc (fma_test): Add more tests.
35066         (fma_test_towardzero): Likewise.
35067         (fma_test_downward): Likewise.
35068         (fma_test_upward): Likewise.
35070 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35072         [BZ #157]
35074         * include/stub-tag.h: Remove file.
35075         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35076         '#include' of it.
35077         * manual/maint.texi (Porting): Don't reference it.
35078         * Makerules ($(objpfx)stubs): Likewise.
35079         * dirent/closedir.c: Don't include <stub-tag.h>.
35080         * dirent/dirfd.c: Likewise.
35081         * dirent/fdopendir.c: Likewise.
35082         * dirent/getdents.c: Likewise.
35083         * dirent/getdents64.c: Likewise.
35084         * dirent/opendir.c: Likewise.
35085         * dirent/readdir.c: Likewise.
35086         * dirent/readdir64.c: Likewise.
35087         * dirent/readdir64_r.c: Likewise.
35088         * dirent/readdir_r.c: Likewise.
35089         * dirent/rewinddir.c: Likewise.
35090         * dirent/seekdir.c: Likewise.
35091         * dirent/telldir.c: Likewise.
35092         * gmon/profil.c: Likewise.
35093         * grp/setgroups.c: Likewise.
35094         * inet/if_index.c: Likewise.
35095         * io/access.c: Likewise.
35096         * io/chdir.c: Likewise.
35097         * io/chmod.c: Likewise.
35098         * io/chown.c: Likewise.
35099         * io/close.c: Likewise.
35100         * io/dup.c: Likewise.
35101         * io/dup2.c: Likewise.
35102         * io/dup3.c: Likewise.
35103         * io/euidaccess.c: Likewise.
35104         * io/faccessat.c: Likewise.
35105         * io/fchdir.c: Likewise.
35106         * io/fchmod.c: Likewise.
35107         * io/fchmodat.c: Likewise.
35108         * io/fchown.c: Likewise.
35109         * io/fchownat.c: Likewise.
35110         * io/fcntl.c: Likewise.
35111         * io/flock.c: Likewise.
35112         * io/fstatfs.c: Likewise.
35113         * io/fstatfs64.c: Likewise.
35114         * io/fstatvfs.c: Likewise.
35115         * io/fstatvfs64.c: Likewise.
35116         * io/futimens.c: Likewise.
35117         * io/fxstat.c: Likewise.
35118         * io/fxstat64.c: Likewise.
35119         * io/fxstatat.c: Likewise.
35120         * io/fxstatat64.c: Likewise.
35121         * io/getcwd.c: Likewise.
35122         * io/isatty.c: Likewise.
35123         * io/lchmod.c: Likewise.
35124         * io/lchown.c: Likewise.
35125         * io/link.c: Likewise.
35126         * io/linkat.c: Likewise.
35127         * io/lseek.c: Likewise.
35128         * io/lseek64.c: Likewise.
35129         * io/lxstat64.c: Likewise.
35130         * io/mkdir.c: Likewise.
35131         * io/mkdirat.c: Likewise.
35132         * io/mkfifo.c: Likewise.
35133         * io/mkfifoat.c: Likewise.
35134         * io/open.c: Likewise.
35135         * io/open64.c: Likewise.
35136         * io/openat.c: Likewise.
35137         * io/openat64.c: Likewise.
35138         * io/pipe.c: Likewise.
35139         * io/pipe2.c: Likewise.
35140         * io/poll.c: Likewise.
35141         * io/posix_fadvise.c: Likewise.
35142         * io/posix_fadvise64.c: Likewise.
35143         * io/posix_fallocate.c: Likewise.
35144         * io/posix_fallocate64.c: Likewise.
35145         * io/read.c: Likewise.
35146         * io/readlink.c: Likewise.
35147         * io/readlinkat.c: Likewise.
35148         * io/rmdir.c: Likewise.
35149         * io/sendfile.c: Likewise.
35150         * io/sendfile64.c: Likewise.
35151         * io/statfs.c: Likewise.
35152         * io/statfs64.c: Likewise.
35153         * io/statvfs.c: Likewise.
35154         * io/statvfs64.c: Likewise.
35155         * io/symlink.c: Likewise.
35156         * io/symlinkat.c: Likewise.
35157         * io/ttyname.c: Likewise.
35158         * io/ttyname_r.c: Likewise.
35159         * io/umask.c: Likewise.
35160         * io/unlink.c: Likewise.
35161         * io/unlinkat.c: Likewise.
35162         * io/utime.c: Likewise.
35163         * io/utimensat.c: Likewise.
35164         * io/write.c: Likewise.
35165         * io/xmknod.c: Likewise.
35166         * io/xmknodat.c: Likewise.
35167         * io/xstat.c: Likewise.
35168         * io/xstat64.c: Likewise.
35169         * login/getpt.c: Likewise.
35170         * login/grantpt.c: Likewise.
35171         * login/unlockpt.c: Likewise.
35172         * math/e_acoshl.c: Likewise.
35173         * math/e_acosl.c: Likewise.
35174         * math/e_asinl.c: Likewise.
35175         * math/e_atan2l.c: Likewise.
35176         * math/e_atanhl.c: Likewise.
35177         * math/e_coshl.c: Likewise.
35178         * math/e_expl.c: Likewise.
35179         * math/e_fmodl.c: Likewise.
35180         * math/e_gammal_r.c: Likewise.
35181         * math/e_hypotl.c: Likewise.
35182         * math/e_j0l.c: Likewise.
35183         * math/e_j1l.c: Likewise.
35184         * math/e_jnl.c: Likewise.
35185         * math/e_lgammal_r.c: Likewise.
35186         * math/e_log10l.c: Likewise.
35187         * math/e_log2l.c: Likewise.
35188         * math/e_logl.c: Likewise.
35189         * math/e_powl.c: Likewise.
35190         * math/e_rem_pio2l.c: Likewise.
35191         * math/e_sinhl.c: Likewise.
35192         * math/e_sqrtl.c: Likewise.
35193         * math/fclrexcpt.c: Likewise.
35194         * math/fedisblxcpt.c: Likewise.
35195         * math/feenablxcpt.c: Likewise.
35196         * math/fegetenv.c: Likewise.
35197         * math/fegetexcept.c: Likewise.
35198         * math/fegetround.c: Likewise.
35199         * math/feholdexcpt.c: Likewise.
35200         * math/fesetenv.c: Likewise.
35201         * math/fesetround.c: Likewise.
35202         * math/feupdateenv.c: Likewise.
35203         * math/fgetexcptflg.c: Likewise.
35204         * math/fraiseexcpt.c: Likewise.
35205         * math/fsetexcptflg.c: Likewise.
35206         * math/ftestexcept.c: Likewise.
35207         * math/k_cosl.c: Likewise.
35208         * math/k_rem_pio2l.c: Likewise.
35209         * math/k_sinl.c: Likewise.
35210         * math/k_tanl.c: Likewise.
35211         * math/s_asinhl.c: Likewise.
35212         * math/s_atanl.c: Likewise.
35213         * math/s_cbrtl.c: Likewise.
35214         * math/s_erfl.c: Likewise.
35215         * math/s_expm1l.c: Likewise.
35216         * math/s_log1pl.c: Likewise.
35217         * math/s_tanhl.c: Likewise.
35218         * misc/acct.c: Likewise.
35219         * misc/brk.c: Likewise.
35220         * misc/chflags.c: Likewise.
35221         * misc/chroot.c: Likewise.
35222         * misc/fchflags.c: Likewise.
35223         * misc/fgetxattr.c: Likewise.
35224         * misc/flistxattr.c: Likewise.
35225         * misc/fremovexattr.c: Likewise.
35226         * misc/fsetxattr.c: Likewise.
35227         * misc/fsync.c: Likewise.
35228         * misc/ftruncate.c: Likewise.
35229         * misc/futimes.c: Likewise.
35230         * misc/futimesat.c: Likewise.
35231         * misc/getdomain.c: Likewise.
35232         * misc/getdtsz.c: Likewise.
35233         * misc/gethostid.c: Likewise.
35234         * misc/gethostname.c: Likewise.
35235         * misc/getloadavg.c: Likewise.
35236         * misc/getpagesize.c: Likewise.
35237         * misc/getsysstats.c: Likewise.
35238         * misc/getxattr.c: Likewise.
35239         * misc/gtty.c: Likewise.
35240         * misc/ioctl.c: Likewise.
35241         * misc/lgetxattr.c: Likewise.
35242         * misc/listxattr.c: Likewise.
35243         * misc/llistxattr.c: Likewise.
35244         * misc/lremovexattr.c: Likewise.
35245         * misc/lsetxattr.c: Likewise.
35246         * misc/lutimes.c: Likewise.
35247         * misc/madvise.c: Likewise.
35248         * misc/mincore.c: Likewise.
35249         * misc/mlock.c: Likewise.
35250         * misc/mlockall.c: Likewise.
35251         * misc/mmap.c: Likewise.
35252         * misc/mprotect.c: Likewise.
35253         * misc/msync.c: Likewise.
35254         * misc/munlock.c: Likewise.
35255         * misc/munlockall.c: Likewise.
35256         * misc/munmap.c: Likewise.
35257         * misc/preadv.c: Likewise.
35258         * misc/preadv64.c: Likewise.
35259         * misc/ptrace.c: Likewise.
35260         * misc/pwritev.c: Likewise.
35261         * misc/pwritev64.c: Likewise.
35262         * misc/readv.c: Likewise.
35263         * misc/reboot.c: Likewise.
35264         * misc/remap_file_pages.c: Likewise.
35265         * misc/removexattr.c: Likewise.
35266         * misc/revoke.c: Likewise.
35267         * misc/select.c: Likewise.
35268         * misc/setdomain.c: Likewise.
35269         * misc/setegid.c: Likewise.
35270         * misc/seteuid.c: Likewise.
35271         * misc/sethostid.c: Likewise.
35272         * misc/sethostname.c: Likewise.
35273         * misc/setregid.c: Likewise.
35274         * misc/setreuid.c: Likewise.
35275         * misc/setxattr.c: Likewise.
35276         * misc/sstk.c: Likewise.
35277         * misc/stty.c: Likewise.
35278         * misc/swapoff.c: Likewise.
35279         * misc/swapon.c: Likewise.
35280         * misc/sync.c: Likewise.
35281         * misc/syncfs.c: Likewise.
35282         * misc/syscall.c: Likewise.
35283         * misc/truncate.c: Likewise.
35284         * misc/ualarm.c: Likewise.
35285         * misc/usleep.c: Likewise.
35286         * misc/ustat.c: Likewise.
35287         * misc/utimes.c: Likewise.
35288         * misc/vhangup.c: Likewise.
35289         * misc/writev.c: Likewise.
35290         * posix/_exit.c: Likewise.
35291         * posix/alarm.c: Likewise.
35292         * posix/execve.c: Likewise.
35293         * posix/fexecve.c: Likewise.
35294         * posix/fork.c: Likewise.
35295         * posix/fpathconf.c: Likewise.
35296         * posix/getaddrinfo.c: Likewise.
35297         * posix/getegid.c: Likewise.
35298         * posix/geteuid.c: Likewise.
35299         * posix/getgid.c: Likewise.
35300         * posix/getgroups.c: Likewise.
35301         * posix/getlogin.c: Likewise.
35302         * posix/getlogin_r.c: Likewise.
35303         * posix/getpgid.c: Likewise.
35304         * posix/getpid.c: Likewise.
35305         * posix/getppid.c: Likewise.
35306         * posix/getresgid.c: Likewise.
35307         * posix/getresuid.c: Likewise.
35308         * posix/getsid.c: Likewise.
35309         * posix/getuid.c: Likewise.
35310         * posix/glob64.c: Likewise.
35311         * posix/nanosleep.c: Likewise.
35312         * posix/pathconf.c: Likewise.
35313         * posix/pause.c: Likewise.
35314         * posix/posix_madvise.c: Likewise.
35315         * posix/pread.c: Likewise.
35316         * posix/pread64.c: Likewise.
35317         * posix/pwrite.c: Likewise.
35318         * posix/pwrite64.c: Likewise.
35319         * posix/sched_getaffinity.c: Likewise.
35320         * posix/sched_getp.c: Likewise.
35321         * posix/sched_gets.c: Likewise.
35322         * posix/sched_primax.c: Likewise.
35323         * posix/sched_primin.c: Likewise.
35324         * posix/sched_rr_gi.c: Likewise.
35325         * posix/sched_setaffinity.c: Likewise.
35326         * posix/sched_setp.c: Likewise.
35327         * posix/sched_sets.c: Likewise.
35328         * posix/sched_yield.c: Likewise.
35329         * posix/setgid.c: Likewise.
35330         * posix/setlogin.c: Likewise.
35331         * posix/setpgid.c: Likewise.
35332         * posix/setresgid.c: Likewise.
35333         * posix/setresuid.c: Likewise.
35334         * posix/setsid.c: Likewise.
35335         * posix/setuid.c: Likewise.
35336         * posix/sleep.c: Likewise.
35337         * posix/spawni.c: Likewise.
35338         * posix/sysconf.c: Likewise.
35339         * posix/times.c: Likewise.
35340         * posix/wait.c: Likewise.
35341         * posix/wait3.c: Likewise.
35342         * posix/wait4.c: Likewise.
35343         * posix/waitpid.c: Likewise.
35344         * resolv/gai_sigqueue.c: Likewise.
35345         * resource/getpriority.c: Likewise.
35346         * resource/getrlimit.c: Likewise.
35347         * resource/getrusage.c: Likewise.
35348         * resource/nice.c: Likewise.
35349         * resource/setpriority.c: Likewise.
35350         * resource/setrlimit.c: Likewise.
35351         * resource/ulimit.c: Likewise.
35352         * rt/aio_cancel.c: Likewise.
35353         * rt/aio_fsync.c: Likewise.
35354         * rt/aio_read.c: Likewise.
35355         * rt/aio_sigqueue.c: Likewise.
35356         * rt/aio_suspend.c: Likewise.
35357         * rt/aio_write.c: Likewise.
35358         * rt/clock_getres.c: Likewise.
35359         * rt/clock_gettime.c: Likewise.
35360         * rt/clock_nanosleep.c: Likewise.
35361         * rt/clock_settime.c: Likewise.
35362         * rt/lio_listio.c: Likewise.
35363         * rt/mq_close.c: Likewise.
35364         * rt/mq_getattr.c: Likewise.
35365         * rt/mq_notify.c: Likewise.
35366         * rt/mq_open.c: Likewise.
35367         * rt/mq_receive.c: Likewise.
35368         * rt/mq_send.c: Likewise.
35369         * rt/mq_setattr.c: Likewise.
35370         * rt/mq_timedreceive.c: Likewise.
35371         * rt/mq_timedsend.c: Likewise.
35372         * rt/mq_unlink.c: Likewise.
35373         * rt/shm_open.c: Likewise.
35374         * rt/shm_unlink.c: Likewise.
35375         * rt/timer_create.c: Likewise.
35376         * rt/timer_delete.c: Likewise.
35377         * rt/timer_getoverr.c: Likewise.
35378         * rt/timer_gettime.c: Likewise.
35379         * rt/timer_settime.c: Likewise.
35380         * setjmp/__longjmp.c: Likewise.
35381         * setjmp/setjmp.c: Likewise.
35382         * signal/kill.c: Likewise.
35383         * signal/killpg.c: Likewise.
35384         * signal/raise.c: Likewise.
35385         * signal/sigaction.c: Likewise.
35386         * signal/sigaltstack.c: Likewise.
35387         * signal/sigblock.c: Likewise.
35388         * signal/sigignore.c: Likewise.
35389         * signal/sigintr.c: Likewise.
35390         * signal/signal.c: Likewise.
35391         * signal/sigpause.c: Likewise.
35392         * signal/sigpending.c: Likewise.
35393         * signal/sigqueue.c: Likewise.
35394         * signal/sigreturn.c: Likewise.
35395         * signal/sigset.c: Likewise.
35396         * signal/sigsetmask.c: Likewise.
35397         * signal/sigstack.c: Likewise.
35398         * signal/sigsuspend.c: Likewise.
35399         * signal/sigtimedwait.c: Likewise.
35400         * signal/sigvec.c: Likewise.
35401         * signal/sigwait.c: Likewise.
35402         * signal/sigwaitinfo.c: Likewise.
35403         * signal/sysv_signal.c: Likewise.
35404         * socket/accept.c: Likewise.
35405         * socket/accept4.c: Likewise.
35406         * socket/bind.c: Likewise.
35407         * socket/connect.c: Likewise.
35408         * socket/getpeername.c: Likewise.
35409         * socket/getsockname.c: Likewise.
35410         * socket/getsockopt.c: Likewise.
35411         * socket/isfdtype.c: Likewise.
35412         * socket/listen.c: Likewise.
35413         * socket/recv.c: Likewise.
35414         * socket/recvfrom.c: Likewise.
35415         * socket/recvmsg.c: Likewise.
35416         * socket/send.c: Likewise.
35417         * socket/sendmsg.c: Likewise.
35418         * socket/sendto.c: Likewise.
35419         * socket/setsockopt.c: Likewise.
35420         * socket/shutdown.c: Likewise.
35421         * socket/sockatmark.c: Likewise.
35422         * socket/socket.c: Likewise.
35423         * socket/socketpair.c: Likewise.
35424         * stdio-common/ctermid.c: Likewise.
35425         * stdio-common/cuserid.c: Likewise.
35426         * stdio-common/remove.c: Likewise.
35427         * stdio-common/rename.c: Likewise.
35428         * stdio-common/renameat.c: Likewise.
35429         * stdio-common/tempname.c: Likewise.
35430         * stdlib/getcontext.c: Likewise.
35431         * stdlib/makecontext.c: Likewise.
35432         * stdlib/setcontext.c: Likewise.
35433         * stdlib/swapcontext.c: Likewise.
35434         * stdlib/system.c: Likewise.
35435         * streams/fattach.c: Likewise.
35436         * streams/fdetach.c: Likewise.
35437         * streams/getmsg.c: Likewise.
35438         * streams/getpmsg.c: Likewise.
35439         * streams/putmsg.c: Likewise.
35440         * streams/putpmsg.c: Likewise.
35441         * sysdeps/unix/bsd/getpt.c: Likewise.
35442         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35443         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35444         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35446         Likewise.
35447         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35448         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35449         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35450         * sysvipc/msgctl.c: Likewise.
35451         * sysvipc/msgget.c: Likewise.
35452         * sysvipc/msgrcv.c: Likewise.
35453         * sysvipc/msgsnd.c: Likewise.
35454         * sysvipc/semctl.c: Likewise.
35455         * sysvipc/semget.c: Likewise.
35456         * sysvipc/semop.c: Likewise.
35457         * sysvipc/semtimedop.c: Likewise.
35458         * sysvipc/shmat.c: Likewise.
35459         * sysvipc/shmctl.c: Likewise.
35460         * sysvipc/shmdt.c: Likewise.
35461         * sysvipc/shmget.c: Likewise.
35462         * termios/tcdrain.c: Likewise.
35463         * termios/tcflow.c: Likewise.
35464         * termios/tcflush.c: Likewise.
35465         * termios/tcgetattr.c: Likewise.
35466         * termios/tcgetpgrp.c: Likewise.
35467         * termios/tcsendbrk.c: Likewise.
35468         * termios/tcsetattr.c: Likewise.
35469         * termios/tcsetpgrp.c: Likewise.
35470         * time/adjtime.c: Likewise.
35471         * time/clock.c: Likewise.
35472         * time/getitimer.c: Likewise.
35473         * time/gettimeofday.c: Likewise.
35474         * time/setitimer.c: Likewise.
35475         * time/settimeofday.c: Likewise.
35476         * time/stime.c: Likewise.
35477         * time/time.c: Likewise.
35479 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
35481         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35482         /usr/old/bin.
35484         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35485         instead of spaces.
35486         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35488 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
35490         [BZ #14796]
35491         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35492         FE_TONEAREST before applying Dekker multiplication and Knuth
35493         addition.  Clear inexact exceptions and check for exact zero
35494         results afterwards.
35495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35496         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35497         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35498         * math/libm-test.inc (fma_test): Add more tests.
35499         (fma_test_towardzero): Likewise.
35500         (fma_test_downward): Likewise.
35501         (fma_test_upward): Likewise.
35502         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35503         function.
35504         (libc_fesetround): New macro.
35505         (libc_fesetroundf): Likewise.
35506         (libc_fesetroundl): Likewise.
35507         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35508         function.
35509         (libc_fesetround_387): Likewise.
35510         (libc_fesetroundf): New macro.
35511         (libc_fesetround): Likewise.
35512         (libc_fesetroundl): Likewise.
35513         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35514         function.
35515         (libc_fesetroundf): New macro.
35516         (libc_fesetround): Likewise.
35517         (libc_fesetroundl): Likewise.
35518         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35519         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35520         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35521         libm_hidden_ver.
35522         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35523         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35524         libm_hidden_def.
35525         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35526         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35527         libm_hidden_ver.
35528         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35529         libm_hidden_def.
35531         [BZ #3439]
35532         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35533         integer constant usable in #if and use that to give value to enum
35534         constant.
35535         (FE_DIVBYZERO): Likewise.
35536         (FE_UNDERFLOW): Likewise.
35537         (FE_OVERFLOW): Likewise.
35538         (FE_INVALID): Likewise.
35539         (FE_INVALID_SNAN): Likewise.
35540         (FE_INVALID_ISI): Likewise.
35541         (FE_INVALID_IDI): Likewise.
35542         (FE_INVALID_ZDZ): Likewise.
35543         (FE_INVALID_IMZ): Likewise.
35544         (FE_INVALID_COMPARE): Likewise.
35545         (FE_INVALID_SOFTWARE): Likewise.
35546         (FE_INVALID_SQRT): Likewise.
35547         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35548         (FE_TONEAREST): Likewise.
35549         (FE_TOWARDZERO): Likewise.
35550         (FE_UPWARD): Likewise.
35551         (FE_DOWNWARD): Likewise.
35552         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35553         (FE_DIVBYZERO): Likewise.
35554         (FE_OVERFLOW): Likewise.
35555         (FE_UNDERFLOW): Likewise.
35556         (FE_INEXACT): Likewise.
35557         (FE_TONEAREST): Likewise.
35558         (FE_DOWNWARD): Likewise.
35559         (FE_UPWARD): Likewise.
35560         (FE_TOWARDZERO): Likewise.
35561         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35562         (FE_UNDERFLOW): Likewise.
35563         (FE_OVERFLOW): Likewise.
35564         (FE_DIVBYZERO): Likewise.
35565         (FE_INVALID): Likewise.
35566         (FE_TONEAREST): Likewise.
35567         (FE_TOWARDZERO): Likewise.
35568         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35569         (FE_OVERFLOW): Likewise.
35570         (FE_UNDERFLOW): Likewise.
35571         (FE_DIVBYZERO): Likewise.
35572         (FE_INEXACT): Likewise.
35573         (FE_TONEAREST): Likewise.
35574         (FE_TOWARDZERO): Likewise.
35575         (FE_UPWARD): Likewise.
35576         (FE_DOWNWARD): Likewise.
35577         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35578         (FE_DIVBYZERO): Likewise.
35579         (FE_OVERFLOW): Likewise.
35580         (FE_UNDERFLOW): Likewise.
35581         (FE_INEXACT): Likewise.
35582         (FE_TONEAREST): Likewise.
35583         (FE_DOWNWARD): Likewise.
35584         (FE_UPWARD): Likewise.
35585         (FE_TOWARDZERO): Likewise.
35587 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35589         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35591 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35593         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35594         commands.  Quote $PWD.
35595         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35596         -x" by "export".
35597         (remove_newlines): Remove.
35599 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35601         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35602         * stdlib/stdlib.h (atof): Moved to ...
35603         * include/bits/stdlib-float.h: Here.  New file.
35604         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35605         * stdlib/bits/stdlib-float.h: New file.
35606         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35607         -mno-sse -mno-mmx.
35608         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35609         <xmmintrin.h>.
35611 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35613         * conform/conformtest.pl (@headers): Add fenv.h.
35614         * conform/data/fenv.h-data: New file.
35615         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35616         include of <math/fenv.h>.
35618         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35619         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35620         && !UNIX98].  Enables tests for XOPEN2K8.
35621         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35622         POSIX2008]: Likewise.
35624         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35625         (struct rusage): Do not expect type or its members.
35627         [BZ #3439]
35628         * math/math.h (FP_NAN): Define macro to integer constant usable in
35629         #if and use that to give value to enum constant.
35630         (FP_INFINITE): Likewise.
35631         (FP_ZERO): Likewise.
35632         (FP_SUBNORMAL): Likewise.
35633         (FP_NORMAL): Likewise.
35635 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35637         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35638         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35639         arguments.
35641 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35643         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35644         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35645         autoconf-time if not.
35646         * configure.in: Remove AC_PREREQ.
35648 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35650         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35651         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35652         of the internal implementation.
35654 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35656         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35657         except include of <misc/sys/syslog.h>.
35659 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35662         function returns with a NULL context exit with zero.
35664 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35666         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35668 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35670         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35671         (run_program_cmd): This.
35672         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35673         (tst_langinfo): New variable.  Use it.
35675 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35677         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35678         floating point opcodes.
35680 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35682         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35683         variable.
35685         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35687         * sysdeps/mach/hurd/powerpc: Remove directory.
35688         * sysdeps/mach/powerpc: Likewise.
35690 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35692         * scripts/check-local-headers.sh: Ignore c++ headers.
35694 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35696         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35697         __libc_cleanup_region_start argument.
35699 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35701         [BZ #14784]
35702         [BZ #14785]
35703         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35704         x * y using scaling, not as x * y + z.
35705         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35706         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35707         * math/libm-test.inc (fma_test): Add more tests.
35708         (fma_test_towardzero): Likewise.
35709         (fma_test_downward): Likewise.
35710         (fma_test_upward): Likewise.
35712 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35714         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35716 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35718         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35719         New variable.
35721 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35723         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35725 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35728         Fix sort order.
35729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35730         Likewise.
35732 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35735         Fix the order of the list for glibc 2.17.
35736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35737         Likewise.
35739 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35743 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35745         [BZ #14610]
35746         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35747         for low part of x being zero before using __atanl (y).
35748         * math/libm-test.inc (atan2_test): Add another test.
35750         * manual/install.texi (Configuring and compiling): Document
35751         general use of test-wrapper and test-wrapper-env.
35752         * INSTALL: Regenerated.
35754         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35755         (__fma): Do not extract and scale down low bits on after-rounding
35756         systems when result rounded to normal precision would have normal
35757         exponent.
35758         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35759         (__fmal): Do not extract and scale down low bits on after-rounding
35760         systems when result rounded to normal precision would have normal
35761         exponent.
35762         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35763         (__fmal): Do not extract and scale down low bits on after-rounding
35764         systems when result rounded to normal precision would have normal
35765         exponent.
35766         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35767         macro.
35768         (fma_test): Add more tests.
35769         (fma_test_towardzero): Likewise.
35770         (fma_test_downward): Likewise.
35771         (fma_test_upward): Likewise.
35773 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35775         * sysdeps/i386/tininess.h: Renamed to ...
35776         * sysdeps/x86/tininess.h: This.
35777         * sysdeps/x86_64/tininess.h: Removed.
35779 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35781         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35782         input.  Use $(build-program-cmd).
35783         ($(objpfx)tst-array1-static.out): Likewise.
35784         ($(objpfx)tst-array2.out): Likewise.
35785         ($(objpfx)tst-array3.out): Likewise.
35786         ($(objpfx)tst-array4.out): Likewise.
35787         ($(objpfx)tst-array5.out): Likewise.
35788         ($(objpfx)tst-array5-static.out): Likewise.
35790 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35792         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35793         if defined.
35795         * nss/nsswitch.h (nss_interface_function): Provide new
35796         macro for use with NSS functions.
35797         * grp/initgroups.c: Use new macro.
35798         * nss/getXXbyYY.c: Likewise.
35799         * nss/getXXbyYY_r.c: Likewise.
35800         * nss/getXXent.c: Likewise.
35801         * nss/getXXent_r.c: Likewise.
35802         * sysdeps/posix/getaddrinfo.c: Likewise.
35804 2012-10-30  Andreas Jaeger  <aj@suse.de>
35806         * po/ru.po: Update Russion translation from translation project.
35808 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35810         [BZ #14152]
35811         [BZ #14783]
35812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35813         result and shift together with sticky bit instead of replicating
35814         round-to-nearest rounding.
35815         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35816         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35817         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35818         missing underflow exceptions.
35819         (fma_test_towardzero): Add more tests.
35820         (fma_test_downward): Likewise.
35821         (fma_test_upward): Likewise.
35823         [BZ #14047]
35824         * sysdeps/generic/tininess.h: New file.
35825         * sysdeps/i386/tininess.h: Likewise.
35826         * sysdeps/sh/tininess.h: Likewise.
35827         * sysdeps/x86_64/tininess.h: Likewise.
35828         * stdlib/tst-strtod-underflow.c: Likewise.
35829         * stdlib/tst-tininess.c: Likewise.
35830         * stdlib/strtod_l.c: Include <tininess.h>.
35831         (round_and_return): Do not set errno for exact underflow cases.
35832         Force an underflow exception when setting errno for underflow.
35833         Determine underflow based on rounding to normal precision if
35834         TININESS_AFTER_ROUNDING.
35835         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35836         ERANGE for exact underflow cases.
35837         * stdlib/Makefile (tests): Add tst-tininess and
35838         tst-strtod-underflow.
35839         ($(objpfx)tst-tininess): Use $(link-libm).
35840         ($(objpfx)tst-strtod-underflow): Likewise.
35842 2012-10-30  Andreas Jaeger  <aj@suse.de>
35844         [BZ#14767]
35845         * elf/Makefile (tests): Remove conditional for have-initfini-array
35846         since this is now always required and the variable does not exist
35847         anymore.
35848         (tests-static): Likewise.
35849         (modules-names): Likewise.
35851         * po/eo.po: Add Esperanto translation from translation project.
35853         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35854         merged with constructor/destructor.
35855         (init_array): Likewise.
35856         * elf/tst-array2dep.c (fini_array): Likewise.
35857         (init_array): Likewise.
35859 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35861         * manual/message.texi: Delete @cartouche tags.
35863 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35865         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35866         EOPNOTSUPP.
35867         * sysdeps/mach/hurd/fsync.c: Likewise.
35869         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35870         [_POSIX_REALTIME_SIGNALS]: Change condition to
35871         [_POSIX_REALTIME_SIGNALS > 0].
35873 2012-10-27  Andreas Jaeger  <aj@suse.de>
35875         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35876         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35877         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35878         [__WORDSIZE != 64]: Likewise.
35880 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35882         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35883         *  iconvdata/tst-tables.sh: Likewise.
35885 2012-10-25  David S. Miller  <davem@davemloft.net>
35887         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35888         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35889         of strtoull.
35891         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35892         ifunc-impl-list.c
35893         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35894         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35895         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35896         file.
35898 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35900         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35901         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35902         __getdirentries.
35904 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35905             Jim Blandy  <jimb@codesourcery.com>
35907         * scripts/cross-test-ssh.sh: New file.
35908         * manual/install.texi (Configuring and compiling): Document use of
35909         cross-test-ssh.sh.
35910         * INSTALL: Regenerated.
35912 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35914         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35915         EOPNOTSUPP.
35917 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35919         * Makeconfig (run-program-prefix): Fix comment.
35921 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35922             Jim Blandy  <jimb@codesourcery.com>
35924         * Makeconfig (test-wrapper): New variable,
35925         (test-wrapper-env): Likewise.
35926         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35927         (run-built-tests): Define to yes.
35928         (run-program-prefix): Use $(test-wrapper).
35929         (built-program-cmd): Likewise.
35930         * Rules (make-test-out): Use $(test-wrapper-env) and
35931         $(host-built-program-cmd).
35932         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35933         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35934         tst-pathopt.sh.
35935         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35936         $(test-wrapper-env) to tst-rtld-load-self.sh.
35937         ($(objpfx)order2.out): Use $(test-wrapper).
35938         ($(objpfx)tst-initorder.out): Likewise.
35939         ($(objpfx)tst-initorder2.out): Likewise.
35940         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35941         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35942         (test_wrapper_env): New variable.  Use it to run ld.so.
35943         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35944         Use it to run ld.so.
35945         (test_wrapper_env): Likewise.
35946         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35947         $(test-wrapper) to run-iconv-test.sh.
35948         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35949         (ICONV): Use $test_wrapper.
35950         * posix/Makefile ($(objpfx)globtest.out): Pass
35951         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35952         globtest.sh, not $(run-program-prefix).
35953         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35954         (test_wrapper): Likewise.
35955         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35956         set together with run_via_rtld_prefix.
35957         (run_program_prefix): Define in terms of test_wrapper and
35958         run_via_rtld_prefix.
35960 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35962         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35963         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35964         Targets removed.
35966         [BZ #14743]
35967         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35968         Declare __clock_getres, __clock_gettime, __clock_settime,
35969         __clock_nanosleep, and __clock_getcpuclockid.
35970         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35971         Remove librt_hidden_def (clock_gettime).
35972         * sysdeps/unix/clock_gettime.c: Likewise.
35973         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35974         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35975         * rt/clock_getres.c: Define __clock_getres as an alias.
35976         * sysdeps/posix/clock_getres.c: Likewise.
35977         * rt/clock_settime.c: Define __clock_settime as an alias.
35978         * sysdeps/unix/clock_settime.c: Likewise.
35979         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35980         * sysdeps/unix/clock_nanosleep.c: Likewise.
35981         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35982         * rt/clock-compat.c: New file.
35983         * rt/Makefile (librt-routines): Add clock-compat and move
35984         $(clock-routines) to ...
35985         (routines): ... here, new variable.
35986         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35987         Don't add get_clockfreq here.
35988         * rt/Versions (libc: GLIBC_2.17): New version set.
35989         Add clock_* symbols here.
35990         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35991         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35992         (GLIBC_2.17): Add clock_* symbols.
35993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35995         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35997         Likewise.
35998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35999         Likewise.
36000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36004         * NEWS: Mention the move.
36006         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36007         Use __open, __read, __close rather than their public counterparts.
36008         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36009         (__get_clockfreq_via_cpuinfo): Likewise.
36010         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36011         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36013         * config.h.in (HAVE_IFUNC): New #undef.
36014         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36015         was successful.
36016         * configure: Regenerated.
36018 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36020         * configure.in: Move READELF check to start of file.
36021         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36022         libc_cv_asm_gnu_indirect_function in the process.
36023         * configure: Regenerated.
36025 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36027         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36028         send the output to /dev/null.
36029         (libc_cv_cc_with_libunwind): Likewise.
36030         (libc_cv_as_noexecstack): Likewise.
36031         * configure: Regenerate.
36033 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36035         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36037         * posix/globtest.sh (TMPDIR): Do not set.
36038         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36039         (testout): Likewise.
36041 2012-10-24  Andreas Jaeger  <aj@suse.de>
36043         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36044         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36045         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36046         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36047         posix_fadvise64, posix_fallocate64.
36049         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36050         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36051         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36052         Likewise.
36053         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36054         Likewise.
36055         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36057         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36058         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36059         <bits/fcntl-linux.h>.
36060         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36062         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36063         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36064         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36065         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36066         [__WORDSIZE != 64]: Likewise.
36068 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36070         * Makeconfig (run-built-tests): New variable.
36071         * Rules [$(cross-compiling) = yes]: Change condition to
36072         [$(run-built-tests) = no].
36073         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36074         to [$(run-built-tests) = yes].
36075         * elf/Makefile [$(cross-compiling) = no]: Likewise
36076         * grp/Makefile [$(cross-compiling) = no]: Likewise.
36077         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36078         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36079         * intl/Makefile [$(cross-compiling) = no]: Likewise.
36080         * io/Makefile [$(cross-compiling) = no]: Likewise.
36081         * libio/Makefile [$(cross-compiling) = no]: Likewise.
36082         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36083         * misc/Makefile [$(cross-compiling) = no]: Likewise.
36084         * posix/Makefile [$(cross-compiling) = no]: Likewise.
36085         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36086         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36087         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36088         * string/Makefile [$(cross-compiling) = no]: Likewise.
36090         * posix/Makefile ($(objpfx)globtest.out): Pass
36091         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36092         $(rtld-installed-name).
36093         * posix/globtest.sh (elf_objpfx): Remove variable.
36094         (rtld_installed_name): Likewise.
36095         (library_path): Likewise.
36096         (run_program_prefix): New variable.  Use for running globtest
36097         binary.
36099 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
36100             Joseph Myers  <joseph@codesourcery.com>
36102         * Makeconfig (host-built-program-cmd): New variable.
36103         * elf/Makefile (tst-stackguard1-ARGS): Use
36104         $(host-built-program-cmd).
36105         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36106         (tst-spawn-ARGS): Likewise.
36107         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36109 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36110             Jim Blandy  <jimb@codesourcery.com>
36112         * Makeconfig (run-via-rtld-prefix): New variable.
36113         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36114         (built-program-cmd): Likewise.
36116 2012-10-22  Andreas Jaeger  <aj@suse.de>
36118         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36119         __O_RSYNC if it exists, otherwise to O_SYNC.
36121 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
36122             Joseph Myers  <joseph@codesourcery.com>
36124         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36125         /dev/null.
36126         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36127         from /dev/null
36128         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36129         /dev/null.
36131 2012-10-22  Andreas Jaeger  <aj@suse.de>
36133         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36134         Define always.
36135         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36137         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36138         bits/fcntl-linux.h.
36140         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36141         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36143         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36144         to __O_LARGEFILE.
36145         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36146         to __O_LARGEFILE.
36148 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
36149             Joseph Myers  <joseph@codesourcery.com>
36151         * config.make.in (NM): New variable.
36153 2012-10-21  Andreas Jaeger  <aj@suse.de>
36155         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36156         definitions and declarations that are provided by
36157         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36159 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36161         [BZ #14683]
36162         * elf/Makefile (tests-static): Add tst-leaks1-static.
36163         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36164         ($(objpfx)tst-leaks1-static): New rule.
36165         ($(objpfx)tst-leaks1-static-mem): Likewise.
36166         (tst-leaks1-static-ENV): New macro.
36167         * elf/dl-open.c (dl_open_worker): Check the main application
36168         only if SHARED is defined.
36169         * elf/tst-leaks1-static.c: New file.
36171 2012-10-20  Andreas Jaeger  <aj@suse.de>
36173         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36174         generic values for Linux.
36175         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36176         and declarations that are provided by <bits/fcntl-linux.h> and
36177         include <bits/fcntl-linux.h>.
36178         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36179         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36181 2012-10-20  Roland McGrath  <roland@hack.frob.com>
36183         * io/fcntl.h: Move include of <bits/types.h> to the top and
36184         include it unconditionally.
36186 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36188         * wcsmbs/Makefile (tests-ifunc): New variable.
36189         (tests): Add $(tests-ifunc).
36190         * wcsmbs/test-wcschr-ifunc.c: New file.
36191         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36192         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36193         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36194         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36195         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36197         * string/Makefile (tests-ifunc): New variable.
36198         (tests): Add $(tests-ifunc).
36199         * string/test-memccpy.c (TEST_NAME): New macro.
36200         * string/test-memchr.c (TEST_NAME): Likewise.
36201         * string/test-memcmp.c (TEST_NAME): Likewise.
36202         * string/test-memcpy.c (TEST_NAME): Likewise.
36203         * string/test-memmem.c (TEST_NAME): Likewise.
36204         * string/test-memmove.c (TEST_NAME): Likewise.
36205         * string/test-memset.c (TEST_NAME): Likewise.
36206         * string/test-rawmemchr.c (TEST_NAME): Likewise.
36207         * string/test-stpcpy.c (TEST_NAME): Likewise.
36208         * string/test-stpncpy.c (TEST_NAME): Likewise.
36209         * string/test-strcasecmp.c (TEST_NAME): Likewise.
36210         * string/test-strcasestr.c (TEST_NAME): Likewise.
36211         * string/test-strcat.c (TEST_NAME): Likewise.
36212         * string/test-strchr.c (TEST_NAME): Likewise.
36213         * string/test-strcmp.c(TEST_NAME): Likewise.
36214         * string/test-strcpy.c (TEST_NAME): Likewise.
36215         * string/test-strcspn.c (TEST_NAME): Likewise.
36216         * string/test-strlen.c (TEST_NAME): Likewise.
36217         * string/test-strncasecmp.c (TEST_NAME): Likewise.
36218         * string/test-strncmp.c (TEST_NAME): Likewise.
36219         * string/test-strncpy.c (TEST_NAME): Likewise.
36220         * string/test-strnlen.c (TEST_NAME): Likewise.
36221         * string/test-strpbrk.c (TEST_NAME): Likewise.
36222         * string/test-strrchr.c (TEST_NAME): Likewise.
36223         * string/test-strspn.c (TEST_NAME): Likewise.
36224         * string/test-strstr.c (TEST_NAME): Likewise.
36225         * string/test-bcopy-ifunc.c: New file.
36226         * string/test-bzero-ifunc.c: Likewise.
36227         * string/test-memccpy-ifunc.c: Likewise.
36228         * string/test-memchr-ifunc.c: Likewise.
36229         * string/test-memcmp-ifunc.c: Likewise.
36230         * string/test-memcpy-ifunc.c: Likewise.
36231         * string/test-memmem-ifunc.c: Likewise.
36232         * string/test-memmove-ifunc.c: Likewise.
36233         * string/test-mempcpy-ifunc.c: Likewise.
36234         * string/test-memset-ifunc.c: Likewise.
36235         * string/test-rawmemchr-ifunc.c: Likewise.
36236         * string/test-stpcpy-ifunc.c: Likewise.
36237         * string/test-stpncpy-ifunc.c: Likewise.
36238         * string/test-strcasecmp-ifunc.c: Likewise.
36239         * string/test-strcasestr-ifunc.c: Likewise.
36240         * string/test-strcat-ifunc.c: Likewise.
36241         * string/test-strchr-ifunc.c: Likewise.
36242         * string/test-strchrnul-ifunc.c: Likewise.
36243         * string/test-strcmp-ifunc.c: Likewise.
36244         * string/test-strcpy-ifunc.c: Likewise.
36245         * string/test-strcspn-ifunc.c: Likewise.
36246         * string/test-strlen-ifunc.c: Likewise.
36247         * string/test-strncasecmp-ifunc.c: Likewise.
36248         * string/test-strncat-ifunc.c: Likewise.
36249         * string/test-strncmp-ifunc.c: Likewise.
36250         * string/test-strncpy-ifunc.c: Likewise.
36251         * string/test-strnlen-ifunc.c: Likewise.
36252         * string/test-strpbrk-ifunc.c: Likewise.
36253         * string/test-strrchr-ifunc.c: Likewise.
36254         * string/test-strspn-ifunc.c: Likewise.
36255         * string/test-strstr-ifunc.c: Likewise.
36257         * debug/Makefile (tests-ifunc): New variable.
36258         (tests): Add $(tests-ifunc).
36259         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36260         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36261         * debug/test-stpcpy_chk-ifunc.c: New file.
36262         * debug/test-strcpy_chk-ifunc.c: Likewise.
36264 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36266         [BZ #13601]
36267         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36268         header is not read in.
36270 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36272         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36273         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36274         directly.  Pass built executable to script as
36275         $(built-program-cmd).
36276         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36277         $testprogram without using LD_LIBRARY_PATH and $ldso.
36279         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36280         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36281         $(rtld-installed-name).
36282         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36283         (rtld_installed_name): Likewise.
36284         (library_path): Likewise.
36285         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36286         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36287         $(run-program-prefix) to tst-tables.sh.
36288         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36289         it to run tst-table-from and tst-table-to.
36290         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36291         Pass it to tst-table.sh.
36292         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36293         $(run-program-prefix) to tst-gettext.sh.
36294         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36295         tst-translit.sh.
36296         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36297         tst-gettext2.sh.
36298         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36299         to run tst-gettext.
36300         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36301         to run tst-gettext2.
36302         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36303         to run tst-translit.
36304         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36305         $(run-program-prefix) to tst-mtrace.sh.
36306         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36307         to run tst-mtrace.
36308         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36309         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36310         $(rtld-installed-name).
36311         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36312         (rtld_installed_name): Likewise.
36313         (run_program_prefix): New variable.  Use it to run wordexp-test.
36315         * Makeconfig (ARCH): Remove all definitions.
36316         (machine): Likewise.
36317         [ARCH]: Remove conditional code.
36318         [!objdir]: Give error.
36319         [!objdir] (objpfx): Remove.
36320         [!objdir] (common-objpfx): Likewise.
36321         [!objdir] (common-objdir): Likewise.
36322         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36323         AC_CONFIG_FILES call.
36324         * configure: Regenerated.
36326         [BZ #13888]
36327         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36328         or TMPDIR.
36329         (testout): Likewise.
36331         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36332         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36333         $(rtld-installed-name).
36334         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36335         (rtld_installed_name): Likwise.
36336         (runit): Remove function.
36337         (run_getconf): New variable,  Use it for running getconf binary.
36339 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36341         [BZ #14716]
36342         * string/test-memmem.c (check_result): New function.
36343         (do_one_test): Use it.
36344         (check1): New function.
36345         (test_main): Use it.
36347 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36349         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36351 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36353         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36354         (_G_LSEEK64): Likewise.
36355         (_G_MMAP64): Likewise.
36356         (_G_FSTAT64): Likewise.
36357         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36358         (_G_LSEEK64): Likewise.
36359         (_G_MMAP64): Likewise.
36360         (_G_FSTAT64): Likewise.
36361         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36362         unconditional.  Call __mmap64 directly.
36363         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36364         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36365         __lseek64 directly.
36366         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36367         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36368         __mmap64 directly.
36369         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36370         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36371         __lseek64 directly.
36372         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36373         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36374         __lseek64 directly.
36375         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36376         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36377         __lseek64 directly.
36378         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36379         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36380         __fxstat64 directly.
36381         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36382         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36383         unconditional.
36384         (freopen64) [!_G_OPEN64]: Remove conditional code.
36385         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36386         unconditional.
36387         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36388         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36389         unconditional.
36390         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36391         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36392         unconditional.
36393         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36394         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36395         unconditional.
36396         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36397         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36398         unconditional.
36399         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36400         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36401         unconditional.
36402         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36403         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36404         unconditional.
36405         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36407 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36409         [BZ #12140]
36410         * manual/memory.texi (Malloc Tunable Parameters): Add note
36411         about free list pointers overwriting some perturb bytes.
36412         Wording suggested by Roland McGrath.
36414 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36416         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36417         (lgamma_test): Likewise.
36418         (tgamma_test): Likewise.
36420 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36422         [BZ #14700]
36423         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36424         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36426 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36428         * NEWS: Mention BZ #14716.
36429         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36430         when removing AVAILABLE1_USES_J macro.
36432 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
36434         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36435         (__bswap_64): __uint64_t for unsigned 64-bit int.
36437 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
36439         * include/string.h (memmem): Declare libc hidden alias.
36440         * string/memmem.c (memmem): Define libc hidden alias.
36441         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36442         __read, __close instead of open, read, close.
36444 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
36446         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36447         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36448         global and hidden.
36449         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36450         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36451         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36452         Likewise.
36453         (__rawmemchr_sse2): Likewise.
36454         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36455         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36456         (__strchr_sse2): Likewise.
36457         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36458         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36459         (__strcasecmp_sse2): Likewise.
36460         (__strncasecmp_sse2): Likewise.
36461         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36462         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36463         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36464         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36465         (__strrchr_sse2): Likewise.
36466         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36467         ifunc-impl-list.c.
36468         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36469         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36470         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36471         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36472         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36473         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36474         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36475         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36476         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36477         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36478         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36479         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36480         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36481         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36482         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36483         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36484         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36485         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36486         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36487         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36488         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36489         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36490         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36491         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36492         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36493         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36494         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36495         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36496         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36497         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36499         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36500         global and hidden.
36501         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36502         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36503         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36504         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36505         Likewise.
36506         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36507         Likewise.
36508         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36509         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36510         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36511         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36512         ifunc-impl-list.c.
36513         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36514         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36515         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36516         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36517         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36518         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36519         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36520         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36521         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36522         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36523         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36524         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36525         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36526         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36527         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36528         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36529         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36530         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36531         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36532         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36533         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36534         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36535         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36536         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36537         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36538         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36539         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36540         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36541         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36542         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36543         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36544         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36545         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36546         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36547         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36548         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36549         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36550         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36551         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36552         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36553         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36555         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36556         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36557         * include/ifunc-impl-list.h: New file.
36558         * misc/ifunc-impl-list.c: Likewise.
36559         * misc/Makefile (routines): Add ifunc-impl-list.
36560         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36561         * string/test-string.h: Include <ifunc-impl-list.h>.
36562         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36563         TEST_NAME]: New variables.
36564         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36565         are defined.
36566         (test_init): Call __libc_ifunc_impl_list to initialize
36567         func_list if TEST_IFUNC and TEST_NAME are defined.
36569         * string/Makefile (strop-tests): Add bcopy and bzero.
36570         * string/test-bcopy.c: New file.
36571         * string/test-bzero.c: Likewise.
36572         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36573         defined.
36574         * string/test-memset.c: Support bzero test if TEST_BZERO is
36575         defined.
36576         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36577         __libc_memmove.
36578         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36579         __libc_memset.
36580         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36581         of memset.
36583 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36585         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36586         * configure: Regenerated.
36588         * Makeconfig (+link-static-before-libc): Don't include
36589         $(link-static-libc).
36591         * libio/libio.h (_IO_pos_t): Remove.
36593 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36595         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36596         McGrath.
36598 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36600         * crypt/crypt-entry.c: Include fips-private.h.
36601         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36602         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36603         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36604         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36606 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36608         * crypt/crypt-private.h: Include stdbool.h.
36609         (_ufc_setup_salt_r): Return bool.
36610         * crypt/crypt-entry.c: Include errno.h.
36611         (__crypt_r): Return NULL with EINVAL for bad salt.
36612         * crypt/crypt_util.c (bad_for_salt): New.
36613         (_ufc_setup_salt_r): Check that salt is long enough and within
36614         the specified alphabet.
36615         * crypt/badsalttest.c: New file.
36616         * crypt/Makefile (tests): Add it.
36617         ($(objpfx)badsalttest): New.
36619 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36621         * NEWS: Add entry for BZ #14602.
36623 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36625         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36626         type-generic.
36627         * math/libm-test.inc: Update comment listing what functions and
36628         macros are tested.
36629         (isgreater_test): New function.
36630         (isgreaterequal_test): Likewise.
36631         (isless_test): Likewise.
36632         (islessequal_test): Likewise.
36633         (islessgreater_test): Likewise.
36634         (isunordered_test): Likewise.
36635         (main): Call the new functions.
36637 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36639         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36640         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36641         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36642         * sysdeps/i386/configure: Regenerated.
36643         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36644         * sysdeps/mach/configure: Regenerated.
36645         * sysdeps/mach/hurd/configure: Regenerated.
36646         * sysdeps/powerpc/configure: Regenerated.
36647         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36648         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36649         * sysdeps/s390/s390-32/configure: Regenerated.
36650         * sysdeps/s390/s390-64/configure: Regenerated.
36651         * sysdeps/sh/configure: Regenerated.
36652         * sysdeps/sparc/configure: Regenerated.
36653         * sysdeps/unix/sysv/linux/configure: Regenerated.
36654         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36655         * sysdeps/x86_64/configure: Regenerated.
36657         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36658         defined.  Don't check if MAP is NULL.
36660 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36662         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36663         (_G_stat64): Likewise.
36664         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36665         (_G_stat64): Likewise.
36666         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36667         instead of struct _G_stat64.
36668         * libio/fileops.c (mmap_remap_check): Likewise.
36669         (decide_maybe_mmap): Likewise.
36670         (_IO_new_file_seekoff): Likewise.
36671         (_IO_file_stat): Likewise.
36672         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36673         _G_off64_t.
36674         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36675         instead of struct _G_stat64.
36676         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36678 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36680         [BZ #14602]
36681         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36682         Replace with ...
36683         (CHECK_EOL): New macro.
36684         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36685         CHECK_EOL.
36686         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36687         Replace with CHECK_EOL.
36688         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36689         Replace with CHECK_EOL.
36691 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36693         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36694         type-generic.
36695         * math/libm-test.inc: Update comment listing what functions and
36696         macros are tested.
36697         (finite_test): New function.
36698         (isinf_test): Likewise.
36699         (isnan_test): Likewise.
36700         (fpclassify_test): Test subnormal input.
36701         (isfinite_test): Likewise.
36702         (isnormal_test): Likewise.
36703         (main): Call the new functions.
36705 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36707         [BZ #14660]
36708         * Makerules (%.dynsym): Force C locale when running
36709         $(OBJDUMP) --dynamic-syms.
36711 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36713         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36714         <stdint.h>.
36716 2012-10-06  David S. Miller  <davem@davemloft.net>
36718         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36719         upper 32-bits of the length value in %o2 since we use branch-on-register
36720         tests which consider the entire 64-bit register.
36722 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36724         * string/test-strstr.c (check2): Add a test for page boundary.
36726 2012-10-05  David S. Miller  <davem@davemloft.net>
36728         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36729         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36730         file.
36731         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36732         sysdep_routines.
36733         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36734         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36735         and bzero when HWCAP_SPARC_CRYPTO is present.
36737 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36739         [BZ #14602]
36740         * string/test-strstr.c (check2): New function.
36741         (test_main): Call check2.
36743         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36744         and bug-strchr1.
36745         * string/bug-strcasestr1.c (do_test): Moved to ...
36746         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
36752         * string/test-strchr.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-strstr1.c (main): Moved to ...
36758         * string/test-strstr.c (check1): Here.  New function.
36759         (do_one_test): Break out result checking code into ...
36760         (check_result): This.  New function.
36761         (do_one_test): Call check_result.
36762         (test_main): Call check1.
36763         * string/bug-strcasestr1.c: Removed.
36764         * string/bug-strchr1.c: Likewise.
36765         * string/bug-strstr1.c: Likewise.
36767         * elf/Makefile (dl-routines): Add hwcaps.
36768         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36769         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36770         (_dl_important_hwcaps): Moved to ...
36771         * elf/dl-hwcaps.c: Here.  New file.
36772         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36774         [BZ #14557]
36775         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36776         if IS_IN_rtld isn't defined.
36778         * elf/dl-support.c (_dl_sysinfo_map): New.
36779         Include "get-dynamic-info.h" and "setup-vdso.h".
36780         (_dl_non_dynamic_init): Call setup_vdso.
36781         * elf/dynamic-link.h: Don't include <assert.h>.
36782         (elf_get_dynamic_info): Moved to ...
36783         * elf/get-dynamic-info.h: Here.  New file.
36784         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36785         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36786         * elf/setup-vdso.h: Here.  New file.
36787         * elf/rtld.c: Include "setup-vdso.h".
36788         (dl_main): Call setup_vdso.
36790 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36792         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36793         creal in comment listing functions tested.  List finite, isinf,
36794         isnan, isless, islessequal, isgreater, isgreaterequal,
36795         islessgreater, isunordered, lgamma_r and pow10 as functions and
36796         macros not tested.  Mention which functions not tested are aliases
36797         for other functions.  Fix typo.  Note that signs of NaNs are not
36798         tested.
36800         * scripts/config.guess: Update from config.git.
36801         * scripts/config.sub: Likewise.
36803 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36805         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36806         * misc/madvise.c (madvise): Renamed to __madvise.
36807         Make madvise a weak alias.
36808         * include/sys/mman.h: Declare __madvise.
36809         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36810         * sysdeps/unix/syscalls.list
36811         (madvise): Make __madvise the strong name, and madvise a weak alias.
36812         * sysdeps/unix/sysv/linux/syscalls.list
36813         (madvise, mmap): Remove redundant entries.
36814         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36815         * malloc/malloc.c (mtrim): Likewise.
36816         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36818 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36820         * sysdeps/mach/hurd/dl-cache.c: File removed.
36821         * config.h.in (USE_LDCONFIG): New #undef.
36822         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36823         * configure: Regenerated.
36824         * elf/Makefile (dl-routines): Add dl-cache only under
36825         [$(use-ldconfig) = yes].
36826         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36827         cache on [USE_LDCONFIG].
36828         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36829         [USE_LDCONFIG].
36830         * elf/rtld.c (dl_main): Likewise.
36832 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36834         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36835         _SC_LEVEL4_CACHE_LINESIZE.
36837 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36839         * sysdeps/unix/bsd/confstr.h: File removed.
36841 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36843         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36844         sys/sdt-config.h.
36846 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36848         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36849         Make 'mapoff' field ElfW(Off) rather than off_t.
36851 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36853         * nscd/Makefile: Remove nscd-cflags and all its users.
36854         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36855         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36857         [BZ #10631]
36858         * malloc.c (malloc_printerr): Clarify error message.
36860 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36862         [BZ #14648]
36863         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36864         Set bit_FMA_Usable if FMA is supported.
36865         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36866         macro.
36867         (bit_FMA4_Usable): Updated.
36868         (index_FMA_Usable): New macro.
36869         (CPUID_FMA): Likewise
36870         (HAS_FMA): Defined with bit_FMA_Usable.
36872 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36874         * bits/types.h (__swblk_t): Type removed.
36875         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36876         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36877         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36878         (__SWBLK_T_TYPE): Likewise.
36879         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36880         (__SWBLK_T_TYPE): Likewise.
36881         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36882         (__SWBLK_T_TYPE): Likewise.
36883         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36884         (__SWBLK_T_TYPE): Likewise.
36886 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36887             Honza Horak <hhorak@redhat.com>
36889         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36890         (xdr_mapname): Use YPMAXMAP as maxsize.
36891         (xdr_peername): Use YPMAXPEER as maxsize.
36892         (xdr_keydat): Use YPAXRECORD as maxsize.
36893         (xdr_valdat): Use YPMAXRECORD as maxsize.
36895 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36897         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36899         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36900         * csu/init-first.c: ... here.
36901         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36902         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36903         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36904         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36905         * sysdeps/i386/init-first.c: File removed.
36906         * sysdeps/sh/init-first.c: File removed.
36908 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36910         [BZ #14645]
36911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36912         if x * y might underflow to zero and z is zero.
36913         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36914         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36915         * math/libm-test.inc (min_subnorm_value): New variable.
36916         (fma_test): Add more tests.
36917         (fma_test_towardzero): Likewise.
36918         (fma_test_downward): Likewise
36919         (fma_test_upward): Likewise.
36920         (initialize): Set min_subnorm_value.
36922 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36924         [BZ #14638]
36925         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36926         0 + 0.
36927         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36928         mode for addition resulting in exact zero.
36929         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36930         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36931         exact 0 + 0.
36932         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36933         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36934         * math/libm-test.inc (fma_test): Add more tests.
36935         (fma_test_towardzero): New function.
36936         (fma_test_downward): Likewise.
36937         (fma_test_upward): Likewise.
36938         (main): Call the new functions.
36940 2012-09-28  David S. Miller  <davem@davemloft.net>
36942         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36944 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36946         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36947         instead of SIGALRM.
36949         * sysdeps/gnu/_G_config.h: Moved to ...
36950         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36951         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36952         * sysdeps/generic/_G_config.h: ... here.
36954         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36956         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36958         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36959         Conditionalize target on [libnss_test1.so-version].
36961         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36963         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36964         (elfobjdir): Move out of conditionals.
36966         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36967         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36968         (__nss_lookup_function): Conditionalize label remove_from_tree on
36969         [!DO_STATIC_NSS || SHARED], matching its only use.
36971 2012-09-28  David S. Miller  <davem@davemloft.net>
36973         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36974         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36975         file.
36976         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36977         sysdep_routines.
36978         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36979         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36980         when HWCAP_SPARC_CRYPTO is present.
36982 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36984         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36986 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36988         [BZ #6530]
36989         * stdio-common/vfprintf.c (process_string_arg): Revert
36990         2000-07-22 change.
36992 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36994         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36995         for testcase.
36996         * stdio-common/tst-sprintf.c: Include <locale.h>
36997         (main): Test sprintf's handling of incomplete multibyte
36998         characters.
37000 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
37002         * elf/dl-runtime.c (VERSYMIDX): Removed.
37003         * elf/dl-version.c (VERSYMIDX): Likewise.
37004         * elf/do-rel.h (VERSYMIDX): Likewise.
37005         (VALIDX): Likewise.
37006         * elf/dynamic-link.h (VERSYMIDX): Likewise.
37007         * elf/rtld.c (VALIDX): Likewise.
37008         (ADDRIDX): Likewise.
37009         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37010         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37011         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37012         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37013         (VALIDX): Likewise.
37014         (ADDRIDX): Likewise.
37016 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37018         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37020 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
37022         [BZ #11438]
37023         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37024         to global scope.
37025         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37026         addresses are in the same scope as 192.0.2/24.
37027         * posix/gai.conf: Document new scope table defaults.
37029 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37031         [BZ #5298]
37032         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37033         for ftell.  Compute offsets from write pointers instead.
37034         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37036 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37038         [BZ #14543]
37039         * libio/Makefile (tests): New test case tst-fseek.
37040         * libio/tst-fseek.c: New test case to verify that fseek/ftell
37041         combination works in wide mode.
37042         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37043         state when the external buffer state changes.
37045 2012-09-27  David S. Miller  <davem@davemloft.net>
37047         [BZ #14376]
37048         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37049         pass reloc->r_addend in as the 'high' argument to
37050         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37054 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37056         * rt/tst-aio2.c: Include <pthread.h>.
37057         * rt/tst-aio3.c: Likewise.
37059 2012-09-27  Steve Ellcey  <sellcey@mips.com>
37061         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37063 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
37065         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37066         contents on [SHARED].
37068 2012-09-26  Marek Polacek  <polacek@redhat.com>
37070         [BZ #14530]
37071         [BZ #13741]
37072         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37073         for C++ and GCC <4.3 as well as for non GCC compilers.
37075 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37077         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37079 2012-09-25  Roland McGrath  <roland@hack.frob.com>
37081         * Makefile.in (all, install): Declare with .PHONY.
37082         Reported by Michael Hope <michael.hope@linaro.org>.
37084 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37086         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37087         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37088         system header.
37089         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37090         Likewise.
37091         (sydep_routines): Add the new and the internal functions.
37092         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37093         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37095         (GLIBC_2.17): Add the new function.
37096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37097         (GLIBC_2.17): Likewise.
37098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37099         (GLIBC_2.17): Likewise.
37100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37101         (GLIBC_2.17): Likewise.
37102         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37104 2012-09-25  Alan Modra  <amodra@gmail.com>
37106         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37107         Add release barrier before setting once_control to say
37108         initialisation is done.  Add hints on lwarx.  Use macro in
37109         place of isync.
37110         (clear_once_control): Add release barrier.
37112 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37114         [BZ #13629]
37115         * math/s_clog.c (__clog): Handle more values close to |z| = 1
37116         specially.
37117         * math/s_clog10.c (__clog10): Likewise.
37118         * math/s_clog10f.c (__clog10f): Likewise.
37119         * math/s_clog10l.c (__clog10l): Likewise.
37120         * math/s_clogf.c (__clogf): Likewise.
37121         * math/s_clogl.c (__clogl): Likewise.
37122         * math/Makefile (libm-calls): Add x2y2m1.
37123         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37124         (__x2y2m1): Likewise.
37125         (__x2y2m1l): Likewise.
37126         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37127         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37128         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37129         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37130         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37131         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37132         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37133         * sysdeps/i386/fpu/libm-test-ulps: Update.
37134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37136         [BZ #14621]
37137         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37138         int as type of variable DEPTH.
37139         (glob): Use size_t instead of int as type of variables NEWCOUNT
37140         and OLD_PATHC.
37142 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37144         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37145         Add s_sincosf-sse2.
37146         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37147         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37148         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37149         macros for using routine as __sincosf_ia32.
37150         Use macro for function declaration and weak_alias.
37151         * sysdeps/i386/fpu/libm-test-ulps: Update.
37153         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37156         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37157         subnormal argument.
37158         * math/s_cexpf.c (__cexpf): Likewise.
37159         * math/s_csinf.c (__csinf): Likewise.
37160         * math/s_csinhf.c (__csinhf): Likewise.
37161         * math/s_ctanf.c (__ctanf): Likewise.
37162         * math/s_ctanhf.c (__ctanhf): Likewise.
37163         * math/s_ccosh.c (__ccoshf): Likewise.
37164         * math/s_cexp.c (__cexpl): Likewise.
37165         * math/s_csin.c (__csin): Likewise.
37166         * math/s_csinh.c (__csinh): Likewise.
37167         * math/s_ctan.c (__ctan): Likewise.
37168         * math/s_ctanh.c (ctanh): Likewise.
37169         * math/s_ccoshl.c (__ccoshl): Likewise.
37170         * math/s_cexpl.c (__cexpl): Likewise.
37171         * math/s_csinl.c (__csinl): Likewise.
37172         * math/s_csinhl.c (__csinhl): Likewise.
37173         * math/s_ctanl.c (__ctanl): Likewise.
37174         * math/s_ctanhl.c (__ctanhl): Likewise.
37176 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37178         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37179         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37180         (_IO_off_t): Define to __off_t, not _G_off_t.
37181         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37182         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37183         (_IO_wint_t): Define to wint_t, not _G_wint_t.
37184         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37185         type of __dummy and __dummy2 fields.
37186         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37187         (_G_ssize_t): Likewise.
37188         (_G_off_t): Likewise.
37189         (_G_pid_t): Likewise.
37190         (_G_uid_t): Likewise.
37191         (_G_wchar_t): Likewise.
37192         (_G_wint_t): Likewise.
37193         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37194         (_G_ssize_t): Likewise.
37195         (_G_off_t): Likewise.
37196         (_G_pid_t): Likewise.
37197         (_G_uid_t): Likewise.
37198         (_G_wchar_t): Likewise.
37199         (_G_wint_t): Likewise.
37200         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37201         (_G_ssize_t): Likewise.
37202         (_G_off_t): Likewise.
37203         (_G_pid_t): Likewise.
37204         (_G_uid_t): Likewise.
37205         (_G_wchar_t): Likewise.
37206         (_G_wint_t): Likewise.
37208 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37210         * malloc/arena.c: Include malloc-sysdep.h.
37211         (shrink_heap): Use check_may_shrink_heap to decide if madvise
37212         is sufficient to shrink the heap or an unmap is needed.
37213         * sysdeps/generic/malloc-sysdep.h: New file.  Define
37214         new function check_may_shrink_heap.
37215         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
37216         new function check_may_shrink_heap.
37218 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37220         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37221         comments.
37223 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
37225         * catgets/test-gencat.sh: Add "set -e".
37226         * elf/tst-pathopt.sh: Likewise.
37227         * grp/tst_fgetgrent.sh: Likewise.
37228         * iconvdata/run-iconv-test.sh: Likewise.
37229         * intl/tst-gettext.sh: Likewise.
37230         * intl/tst-gettext2.sh: Likewise.
37231         * intl/tst-gettext4.sh: Likewise.
37232         * intl/tst-gettext6.sh: Likewise.
37233         * intl/tst-translit.sh: Likewise.
37234         * io/ftwtest-sh: Likewise.
37235         * libio/test-freopen.sh: Likewise.
37236         * malloc/tst-mtrace.sh: Likewise.
37237         * posix/globtest.sh: Likewise.
37238         * posix/tst-getconf.sh: Likewise.
37239         * posix/wordexp-tst.sh: Likewise.
37240         * stdio-common/tst-printf.sh: Likewise.
37241         * stdio-common/tst-unbputc.sh: Likewise.
37242         * stdlib/tst-fmtmsg.sh: Likewise.
37243         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37244         * catgets/Makefile: Do not specify -e option when running
37245         testsuite shell scripts.
37246         * elf/Makefile: Likewise.
37247         * grp/Makefile: Likewise.
37248         * iconvdata/Makefile: Likewise.
37249         * intl/Makefile: Likewise.
37250         * io/Makefile: Likewise.
37251         * libio/Makefile: Likewise.
37252         * malloc/Makefile: Likewise.
37253         * posix/Makefile: Likewise.
37254         * stdio-common/Makefile: Likewise.
37255         * stdlib/Makefile: Likewise.
37256         * sysdeps/x86_64/Makefile: Likewise.
37258         * io/ftwtest-sh: Add copyright header.
37259         * posix/globtest.sh: Likewise.
37260         * posix/tst-getconf.sh: Likewise.
37261         * posix/wordexp-tst.sh: Likewise.
37262         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37264 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37266         [BZ #13679]
37267         * Makeconfig (+link): Defined as $(+link-static) if
37268         $(build-shared) isn't yes.
37269         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37270         isn't yes.
37271         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37273         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37275         [BZ #14562]
37276         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37277         new chunk size with MALLOC_ALIGN_MASK.
37279 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37281         [BZ #5044]
37282         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37283         <rounding-mode.h>.
37284         (__printf_fphex): Determine rounding using get_rounding_mode and
37285         round_away.
37286         * stdio-common/tst-printf-round.c (struct hex_test): New
37287         structure.
37288         (hex_tests): New variable.
37289         (test_hex_in_one_mode): New function.
37290         (do_test): Also run tests for hex float output.
37292 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37294         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37295         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37296         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37297         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37298         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37299         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37300         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37301         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37303 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37305         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37306         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37307         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37308         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37310 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37312         [BZ #14579]
37313         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37314         mode only.
37315         * elf/tst-rtld-load-self.sh: New test.
37316         * elf/Makefile: Run it.
37318 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37320         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37321         (tst-writev-ENV): Remove.
37322         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37324 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37326         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37328 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37330         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37331         unconditional.
37332         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37333         Likewise.
37334         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37335         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37336         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37337         Likewise.
37339 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37341         [BZ #14587]
37342         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37343         * config.make.in (have-cpp-asm-debuginfo): Removed.
37344         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37345         * configure: Regenerated.
37347 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37349         [BZ #5044]
37350         * stdio-common/printf_fp.c: Include <stdbool.h> and
37351         <rounding-mode.h>.
37352         (___printf_fp): Determine rounding using get_rounding_mode and
37353         round_away.
37354         * stdio-common/tst-printf-round.c: New file.
37355         * stdio-common/Makefile (tests): Add tst-printf-round.
37356         (link-libm): New variable.
37357         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37359 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37361         [BZ #14576]
37362         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37363         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37364         Likewise.
37365         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37366         Likewise.
37368 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37370         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37371         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37372         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37373         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37375 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37377         [BZ #14518]
37378         * include/rounding-mode.h: New file.
37379         * sysdeps/generic/get-rounding-mode.h: Likewise.
37380         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37381         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37382         (MAX_VALUE): New macro.
37383         (MIN_VALUE): Likewise.
37384         (overflow_value): New function.
37385         (underflow_value): Likewise.
37386         (round_and_return): Use overflow_value and underflow_value to
37387         determine return values in overflow and underflow cases.  Use
37388         round_away to determine rounding depending on rounding mode.
37389         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37390         determine return values in overflow and underflow cases.
37391         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37392         (struct test_results): New structure.
37393         (struct test): Use struct test_results to store expected results
37394         for all rounding modes.
37395         (TEST): Include expected results for all rounding modes.
37396         (test_in_one_mode): New function.
37397         (do_test): Use test_in_one_mode to compute and check results.
37398         Check results for all rounding modes.
37399         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37400         $(link-libm).
37402 2012-12-09  Allan McRae  <allan@archlinux.org>
37404         * sysdeps/i386/fpu/libm-test-ulps: Update
37406 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37408         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37409         (_G_int32_t): Likewise.
37410         (_G_uint16_t): Likewise.
37411         (_G_uint32_t): Likewise.
37412         (_G_HAVE_BOOL): Likewise.
37413         (_G_HAVE_ATEXIT): Likewise.
37414         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37415         (_G_HAVE_IO_FILE_OPEN): Likewise.
37416         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37417         (_G_int32_t): Likewise.
37418         (_G_uint16_t): Likewise.
37419         (_G_uint32_t): Likewise.
37420         (_G_HAVE_BOOL): Likewise.
37421         (_G_HAVE_ATEXIT): Likewise.
37422         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37423         (_G_HAVE_IO_FILE_OPEN): Likewise.
37424         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37425         (_G_int32_t): Likewise.
37426         (_G_uint16_t): Likewise.
37427         (_G_uint32_t): Likewise.
37428         (_G_HAVE_BOOL): Likewise.
37429         (_G_HAVE_ATEXIT): Likewise.
37430         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37431         (_G_HAVE_IO_FILE_OPEN): Likewise.
37433 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
37435         * csu/libc-tls.c: Update copyright years.
37437 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
37439         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37440         [!_G_USING_THUNKS]: Remove conditional code.
37441         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37442         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37444         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37445         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37446         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37447         (_G_VTABLE_LABEL_PREFIX): Likewise.
37448         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37449         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37450         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37451         (_G_VTABLE_LABEL_PREFIX): Likewise.
37452         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37453         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37454         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37455         (_G_VTABLE_LABEL_PREFIX): Likewise.
37456         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37458 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
37460         * libio/Makefile: Include ../Makeconfig before tests.
37461         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37462         only if $(build-shared) is yes.
37464         * iconv/gconv_db.c: Update copyright years.
37466 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37468         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37469         unwind info if defined PIC. Fix special cases description.
37470         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37472         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37473         DP_HI_MASK entry.
37474         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37476 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
37478         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37480         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37481         is NULL.
37483         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37484         (LDLIBS-tst-chk4): This.
37485         (LDFLAGS-tst-chk5): Renamed to ...
37486         (LDLIBS-tst-chk5): This.
37487         (LDFLAGS-tst-chk6): Renamed to ...
37488         (LDLIBS-tst-chk6): This.
37489         (LDFLAGS-tst-lfschk4): Renamed to ...
37490         (LDLIBS-tst-lfschk4): This.
37491         (LDFLAGS-tst-lfschk5): Renamed to ...
37492         (LDLIBS-tst-lfschk5): This.
37493         (LDFLAGS-tst-lfschk6): Renamed to ...
37494         (LDLIBS-tst-lfschk6): This.
37496         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37497         on $(common-objpfx)soversions.mk.
37499 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
37501         [BZ #10014]
37502         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37503         example host name.
37505 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37507         * malloc/arena.c (arena_get_retry): New function that gets
37508         another arena for the caller to try its request on.
37509         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37510         current arena cannot fulfill the request.
37511         (__libc_memalign): Likewise.
37512         (__libc_memalign): Likewise.
37513         (__libc_pvalloc): Likewise.
37514         (__libc_calloc): Likewise.
37516 2012-09-05  John Tobey  <john.tobey@gmail.com>
37518         [BZ #13542]
37519         * manual/arith.texi (Operations on Complex): Fix description
37520         of carg branch cut.
37522 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37524         [BZ #10014]
37525         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37526         host name.
37528         [BZ #10038]
37529         * manual/memory.texi (Memory): Make order of menu items match
37530         order of sections.
37532 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37534         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37535         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37536         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37538 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37540         * csu/libc-tls.c (static_dtv): Renamed to ...
37541         (_dl_static_dtv): This.  Make it global.
37542         (_dl_initial_dtv): Removed.
37543         (__libc_setup_tls): Updated.
37544         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37545         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37546         DL_INITIAL_DTV.
37548 2012-09-06  Petr Machata  <pmachata@redhat.com>
37550         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37551         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37552         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37553         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37555 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37557         [BZ #14545]
37558         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37559         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37560         freeing dtv[-1].
37562 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37564         [BZ #14544]
37565         * Makeconfig (link-static-before-libc): Replace $(+prector)
37566         with $(+prectorT).
37567         (link-static-after-libc): Replace $(+postctor) with
37568         $(+postctorT).
37569         (link-bounded): Replace $(+prector)/$(+postctor) with
37570         $(+prectorT)/$(+postctorT).
37571         (+prectorT): New macro.
37572         (+postctorT): Likewise.
37574 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37576         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37577         (round_str): Handle values above the maximum for IBM long double
37578         as inexact.
37579         * stdlib/tst-strtod-round.c (tests): Regenerated.
37581 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37583         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37584         assembler flag.
37585         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37586         zarch_nohighgprs around the zarch optimized routines.
37587         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37588         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37589         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37590         for zarch.
37592 2012-09-05  David S. Miller  <davem@davemloft.net>
37594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37596         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37597         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37598         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37599         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37600         entries.
37602 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37604         * malloc/arena.c: Fold copyright years.
37605         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37607 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37609         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37611 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37613         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37615 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37617         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37618         change internal state upon failure.
37620 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37622         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37623         * malloc/memusage.c (mmap): Likewise.
37624         (mmap64, mremap): Likewise.  Adjust name in comment.
37626 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37628         * libio/fileops.c: Fix typos in comments.
37629         * libio/oldfileops.c: Likewise.
37630         * libio/wfileops.c: Likewise.
37632 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37634         [BZ #1349]
37635         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37636         (tst-malloc-usable-ENV): Set environment for test case.
37637         * malloc/hooks.c (malloc_check_get_size): New function to get
37638         requested size.
37639         * malloc/malloc.c (musable): Use malloc_check_get_size.
37640         * malloc/tst-malloc-usable.c: New test case.
37642 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37644         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37646 2012-09-05  Allan McRae  <allan@archlinux.org>
37648         [BZ #13966]
37649         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37650         determine header location.
37651         * configure: Regenerated.
37653 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37655         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37656         float format.
37657         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37658         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37659         format.
37660         (test): Regenerate.
37662 2012-09-04  David S. Miller  <davem@davemloft.net>
37664         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37665         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37666         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37668 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37670         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37671         failures.
37673         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37675 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37677         [BZ #9914]
37678         * libio/iogetdelim.c: Include <limits.h>.
37679         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37680         + len + 1 would overflow.
37682 2012-09-03  Andreas Jaeger  <aj@suse.de>
37684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37685         * sysdeps/i386/fpu/libm-test-ulps: Update.
37687 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37689         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37690         Add s_sinf-sse2, s_conf-sse2.
37692         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37693         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37694         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37695         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37697         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37698         for using routine as __sinf_ia32.
37699         Use macro for function declaration and weak_alias.
37700         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37701         for using routine as __cosf_ia32.
37702         Use macro for function declaration and weak_alias.
37704         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37705         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37707         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37708         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37711         * math/libm-test.inc (cos_test): Add more test cases.
37712         (sin_test): Likewise.
37713         (sincos_test): Likewise.
37715 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37717         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37718         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37719         hidden.
37720         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37722 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37724         [BZ #14538]
37725         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37726         first element of the GOT.
37727         (elf_machine_load_address): Return the difference between
37728         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37730 2012-09-01  Allan McRae  <allan@archlinux.org>
37732         [BZ #13412]
37733         * configure.in (AWK): Require gawk version 3.0 or later.
37734         * configure: Regenerated.
37736 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37738         * sysdeps/unix/sysv/linux/kernel-features.h
37739         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37740         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37741         [__NR_clock_getres]: Make code unconditional.
37742         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37743         (clock_getcpuclockid): Remove code left unreachable by removal of
37744         conditionals.
37745         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37746         code unconditional.
37747         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37748         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37749         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37750         Make code unconditional.
37751         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37752         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37753         * sysdeps/unix/sysv/linux/clock_settime.c
37754         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37755         conditional code.
37756         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37757         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37759 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37761         [BZ #14476]
37762         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37763         scripts/test-installation.pl.
37765         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37766         and $ld_so_version if it is set.
37768 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37770         [BZ #14516]
37771         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37772         failure if reading from procfs failed.
37773         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37775 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37777         * sysdeps/unix/sysv/linux/kernel-features.h
37778         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37779         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37780         Remove conditional code.
37781         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37782         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37783         Remove conditional code.
37784         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37785         * sysdeps/unix/sysv/linux/i386/fxstat.c
37786         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37787         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37788         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37789         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37790         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37791         * sysdeps/unix/sysv/linux/i386/lxstat.c
37792         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37793         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37794         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37795         Remove conditional code.
37796         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37797         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37798         Remove conditional code.
37799         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37800         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37801         <kernel-features.h>.
37802         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37803         Remove.
37804         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37805         Remove conditional code.
37806         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37807         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37808         Remove conditional.
37810 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37812         [BZ #5400]
37813         * NEWS: Add fixed bug number.
37815 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37817         [BZ #14519]
37818         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37819         underflowing exponent in case of negative sign.
37820         * stdlib/tst-strtod-round-data: Add more tests.
37821         * stdlib/tst-strtod-round.c (tests): Regenerated.
37823         [BZ #3479]
37824         * stdlib/strtod_l.c (NDIG): Remove.
37825         (HEXNDIG): Likewise.
37826         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37827         smallest representable value.
37828         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37829         lie within an exact representation of 1/2 ulp of the result.
37830         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37831         unconditionally.
37832         (TENS_P9_IDX): Define unconditionally.
37833         (TENS_P9_SIZE): Likewise.
37834         (TENS_P10_IDX): Likewise.
37835         (TENS_P10_SIZE): Likewise.
37836         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37837         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37838         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37839         entries for 10^2^13 and 10^2^14.
37840         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37841         (TENS_P13_IDX): Define.
37842         (TENS_P13_SIZE): Likewise.
37843         (TENS_P14_IDX): Likewise.
37844         (TENS_P14_SIZE): Likewise.
37845         (_fpioconst_pow10): Change array size to
37846         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37847         unconditional.
37848         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37849         1024]: Add entries for 10^2^13 and 10^2^14.
37850         [LAST_POW10 > _LAST_POW10]: Remove #error.
37851         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37852         (_fpioconst_pow10): Change array size to
37853         FPIOCONST_POW10_ARRAY_SIZE.
37854         * stdlib/gen-fpioconst.c: New file.
37855         * stdlib/gen-tst-strtod-round.c: Likewise.
37856         * stdlib/tst-strtod-round-data: Likewise.
37857         * stdlib/tst-strtod-round.c: Likewise.
37858         * stdlib/Makefile (tests): Add tst-strtod-round.
37860         [BZ #14459]
37861         * stdlib/strtod_l.c: Include <stdint.h>.
37862         (NDEBUG): Do not define.
37863         (round_and_return): Change EXPONENT parameter to type intmax_t.
37864         Rearrange calculations to avoid internal overflow possibilities.
37865         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37866         Rearrange calculations to avoid internal overflow possibilities.
37867         Assert that number fits inside MPNSIZE limbs.
37868         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37869         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37870         calculations and add assertions to avoid internal overflow
37871         possibilities.  Add casts to avoid signed/unsigned operations.
37872         * stdlib/tst-strtod-overflow.c: New file.
37873         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37875 2012-08-25  Marek Polacek  <polacek@redhat.com>
37877         * time/time.h: Fix some typos in comments.
37879 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37881         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37882         * posix/tst-rfc3484-2.c: Likewise.
37883         * posix/tst-rfc3484-3.c: Likewise.
37885 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37887         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37888         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37890 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37892         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37893         #include of fxstatat64.c.
37895 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37897         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37898         * shadow/getspent_r.c: Likewise.
37899         * shadow/getspnam.c: Likewise.
37900         * shadow/getspnam_r.c: Likewise.
37901         * gshadow/getsgent.c: Likewise.
37902         * gshadow/getsgent_r.c: Likewise.
37903         * gshadow/getsgnam.c: Likewise.
37904         * gshadow/getsgnam_r.c: Likewise.
37905         * inet/getnetbyad.c: Likewise.
37906         * inet/getnetbyad_r.c: Likewise.
37907         * inet/getnetbynm.c: Likewise.
37908         * inet/getnetbynm_r.c: Likewise.
37909         * inet/getnetent.c: Likewise.
37910         * inet/getnetent_r.c: Likewise.
37911         * inet/getproto.c: Likewise.
37912         * inet/getproto_r.c: Likewise.
37913         * inet/getprtent.c: Likewise.
37914         * inet/getprtent_r.c: Likewise.
37915         * inet/getprtname.c: Likewise.
37916         * inet/getprtname_r.c: Likewise.
37917         * inet/getrpcbyname.c: Likewise.
37918         * inet/getrpcbyname_r.c: Likewise.
37919         * inet/getrpcbynumber.c: Likewise.
37920         * inet/getrpcbynumber_r.c: Likewise.
37921         * inet/getrpcent.c: Likewise.
37922         * inet/getrpcent_r.c: Likewise.
37923         * inet/getaliasent.c: Likewise.
37924         * inet/getaliasent_r.c: Likewise.
37925         * inet/getaliasname.c: Likewise.
37926         * inet/getaliasname_r.c: Likewise.
37927         * nscd/getgrgid_r.c: Likewise.
37928         * nscd/getgrnam_r.c: Likewise.
37929         * nscd/gethstbyad_r.c: Likewise.
37930         * nscd/gethstbynm3_r.c: Likewise.
37931         * nscd/getpwnam_r.c: Likewise.
37932         * nscd/getpwuid_r.c: Likewise.
37933         * nscd/getsrvbynm_r.c: Likewise.
37934         * nscd/getsrvbypt_r.c: Likewise.
37935         * nscd/gai.c: Likewise.
37937         * configure.in (build_nscd): New substituted variable, set
37938         by --disable-build-nscd and defaults to $use_nscd.
37939         * configure: Regenerated.
37940         * config.make.in (build-nscd): New substituted variable.
37941         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37942         Change conditional to require [$(build-nscd) = yes] as well.
37943         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37945         [BZ# 13696]
37946         * configure.in (use_nscd): New substituted variable, set by
37947         --disable-nscd.  If enabled, define USE_NSCD.
37948         * configure: Regenerated.
37949         * config.h.in: Add USE_NSCD.
37950         * config.make.in (use-nscd): New substituted variable.
37951         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37952         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37953         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37954         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37955         (CFLAGS-getgrnam_r.c): Likewise.
37956         (CFLAGS-initgroups.c): Likewise.
37957         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37958         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37959         Variables removed.
37960         * inet/getnetgrent_r.c
37961         (nscd_setnetgrent): New function, broken out of ...
37962         (setnetgrent): ... here.  Call it.
37963         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37964         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37965         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37966         * nscd/Makefile (routines, aux): Move definitions after include of
37967         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37968         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37969         Conditionalize on [USE_NSCD].
37970         (is_nscd, nscd_init_cb): Likewise.
37971         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37972         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37973         * nss/nss_db/db-init.c: Likewise.
37974         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37975         [USE_NSCD].
37976         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37977         (make_request): Use it.
37978         (cache_valid_p): New function.
37979         (__check_pf): Use it.
37980         * NEWS: Add item for --disable-nscd.
37982 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37984         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37985         to support sed >= 4.2.1-20-ga9bf076.
37986         * configure: Regenerated.
37988 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37990         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37991         Conditionalize whole body on [IREL].
37993 2012-08-22  Jeff Law <law@redhat.com>
37995         [BZ #14505]
37996         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37997         if the family is PF_UNSPEC.
37999 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
38001         * Makerules (lib-version): Rename from V.
38002         (install-lib-nosubdir): Change V to lib-version.
38004 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
38006         [BZ #14252]
38007         * powerpc32/power6/wcschr.c: New file.
38008         * powerpc32/power6/wcscpy.c: New file.
38009         * powerpc32/power6/wcsrchr.c: New file.
38010         * powerpc64/power6/wcschr.c: New file.
38011         * powerpc64/power6/wcscpy.c: New file.
38012         * powerpc64/power6/wcsrchr.c: New file.
38014 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38016         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38017         (two_way_short_needle): Use it.
38018         * string/strstr.c (AVAILABLE1_USES_J): Define.
38019         * string/strcasestr.c: Likewise.
38021         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38022         array references.
38023         * string/strcasestr.c (TOLOWER): Make side-effect safe.
38025         [BZ #11607]
38026         * NEWS: Add an entry.
38027         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38028         define their defaults.
38029         (two_way_short_needle): Detect end-of-string on-the-fly.
38030         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38031         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38032         * string/bug-strcasestr1.c: New test.
38033         * string/Makefile: Run it.
38035 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38037         [BZ #11607]
38038         * string/str-two-way.h (two_way_short_needle): Optimize matching of
38039         the first character.
38041 2012-08-21  Roland McGrath  <roland@hack.frob.com>
38043         * csu/elf-init.c (__libc_csu_irel): Function removed.
38044         * csu/libc-start.c (apply_irel): New function.
38045         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38047 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
38049         * sysdeps/unix/sysv/linux/kernel-features.h
38050         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38051         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38052         <kernel-features.h>.
38053         [__NR_fadvise64_64]: Make code unconditional.
38054         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38055         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38056         !__NR_fadvise64_64)]: Likewise.
38057         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38058         !__NR_fadvise64_64))]: Likewise.
38059         [__NR_fadvise64]: Make code unconditional.
38060         [!__NR_fadvise64]: Remove conditional code.
38061         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38062         <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/powerpc/powerpc32/posix_fadvise64.c: Do
38068         not 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.
38073         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38074         include <kernel-features.h>.
38075         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38076         unconditional.
38077         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38078         conditional code.
38080 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38082         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38083         slight instruction rearrangements per scrollpipe analysis.
38084         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38086 2012-08-20  Roland McGrath  <roland@hack.frob.com>
38088         * manual/syslog.texi (syslog; vsyslog, closelog):
38089         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38090         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38092         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38093         DSOCAPS to match condition on defining it.
38095 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
38097         * sysdeps/unix/sysv/linux/kernel-features.h
38098         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38100         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38101         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38103         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38104         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38106         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38107         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38109         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38110         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38112         * sysdeps/unix/sysv/linux/kernel-features.h
38113         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38114         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38115         unconditional.
38116         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38117         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38118         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38119         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38120         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38121         Make code unconditional.
38122         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38123         (__mmap64) [!__NR_mmap2]: Likewise.
38124         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38125         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38126         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38127         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38128         [__NR_mmap2]: Make code unconditional.
38129         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38130         (__mmap64) [!__NR_mmap2]: Likewise.
38132 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38134         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38136 2012-08-18  Andreas Jaeger  <aj@suse.de>
38138         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38140 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38142         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38143         * include/unistd.h (__have_sock_cloexec): Likewise.
38144         (__have_pipe2): Likewise.
38145         (__have_dup3): Likewise.
38147 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38149         [BZ #9685]
38150         * include/unistd.h (__have_pipe2): Change define into an extern int.
38151         (__have_dup3): Likewise.
38152         * socket/have_sock_cloexec.c: Include fcntl.h.
38153         (__have_pipe2): New variable.
38154         (__have_dup3): Likewise.
38156 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
38158         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38160 2012-08-17  Marek Polacek  <polacek@redhat.com>
38162         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38163         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38165 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38167         * configure.in: Add AC_SUBST for sysheaders.
38168         * configure: Regenerated.
38169         * config.make.in (sysheaders): New substituted variable.
38171         * sysdeps/unix/mkfifo.c: Moved ...
38172         * sysdeps/posix/mkfifo.c: ... here.
38173         * sysdeps/unix/mkfifoat.c: Moved ...
38174         * sysdeps/posix/mkfifoat.c: ... here.
38176         * sysdeps/unix/utime.c: Moved ...
38177         * sysdeps/posix/utime.c: ... here.
38179         * sysdeps/unix/time.c: Moved ...
38180         * sysdeps/posix/time.c: ... here.
38181         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38182         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38184         * sysdeps/unix/nice.c: Moved ...
38185         * sysdeps/posix/nice.c: ... here.
38187         * sysdeps/unix/alarm.c: Moved ...
38188         * sysdeps/posix/alarm.c: ... here.
38190         * intl/Makefile ($(codeset_mo)): Depend on the input file.
38192 2012-08-17  Jeff Law <law@redhat.com>
38194         * intl/Makefile (codeset_mo): New variable.
38195         ($(codeset_mo)): New target.
38196         (tst-codeset.out): Depend on that.  Remove explicit rule.
38197         (tst-gettext3.out, tst-gettext5.out): Likewise.
38198         (LOCPATH-ENV, tst-codeset-ENV): New variables.
38199         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38200         * intl/tst-codeset.sh: Remove.
38201         * intl/tst-gettext3.sh: Likewise.
38202         * intl/tst-gettext5.sh: Likewise.
38204 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38206         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
38207         * sysdeps/unix/syscalls.list: ... here.
38209         * sysdeps/posix/getaddrinfo.c
38210         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38211         (gaiconf_init, gaiconf_reload): Use them.
38212         [!_STATBUF_ST_NSEC]
38213         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38214         Define using time_t rather than struct timespec.
38216         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38217         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38218         Macros removed.
38219         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38220         [!NO_THREADS].
38221         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38222         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38223         Likewise.
38225         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38226         __libc_cleanup_push argument.
38228         * bits/param.h: New file.
38229         * misc/sys/param.h: New file.
38230         * include/sys/param.h: New file.
38231         * misc/Makefile (headers): Add bits/param.h.
38232         * sysdeps/generic/sys/param.h: File removed.
38233         * sysdeps/unix/sysv/linux/bits/param.h: New file.
38234         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38235         * sysdeps/mach/hurd/bits/param.h: New file.
38236         * sysdeps/mach/hurd/sys/param.h: File removed.
38238         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38239         last change.
38241         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38242         [_IO_MTSAFE_IO].
38243         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38244         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38245         New macros.
38247         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38248         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38249         rather than -D_IO_MTSAFE_IO conditionally.
38250         * stdio-common/Makefile (CPPFLAGS): Likewise.
38251         * wcsmbs/Makefile (CPPFLAGS): Likewise.
38252         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38253         Use $(libio-mtsafe).
38254         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38255         of -D_IO_MTSAFE_IO.
38256         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38257         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38258         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38259         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38260         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38261         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38262         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38263         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38264         (CFLAGS-fread_u_chk.c): Likewise.
38265         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38266         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38267         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38268         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38269         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38270         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38271         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38272         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38273         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38275         * libio/Makefile: Test [$(libc-reentrant) = yes]
38276         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38278         * Makeconfig
38279         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38280         * sysdeps/pthread/configure: File removed.
38281         * sysdeps/pthread/Makeconfig: New file.
38282         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38283         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38285 2012-08-16  Gary Benson  <gbenson@redhat.com>
38287         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38288         unmapping the first object in a namespace.
38290 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38292         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38293         (__internal_setnetgrent): ... this.  Add internal_function to
38294         definition.  Add libc_hidden_def.
38295         (setnetgrent): Update caller.
38296         (internal_endnetgrent): Renamed to ...
38297         (__internal_endnetgrent): ... this.  Add internal_function to
38298         definition.  Add libc_hidden_def.
38299         (endnetgrent): Update caller.
38300         (internal_getnetgrent_r): Renamed to ...
38301         (__internal_getnetgrent_r): ... this.  Add internal_function to
38302         definition.  Add libc_hidden_def.
38303         (__getnetgrent_r): Update caller.
38304         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38306 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38308         * stdlib/longlong.h: Update from GCC.
38310 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38312         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38313         on _QL, which is set by umul_ppmm but never used.
38314         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38315         variables, which are set by GMP macros but never used.
38316         * stdio-common/_itowa.c (_itowa): Likewise.
38317         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38318         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38320 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38322         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38323         struct La_sh_regs is not constant.
38324         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38325         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38326         and struct La_sparc64_regs are not constant.
38328 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38330         * sysdeps/unix/sysv/linux/kernel-features.h
38331         (__ASSUME_POSIX_TIMERS): Remove.
38332         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38333         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38334         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38335         Make code unconditional.
38336         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38337         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38338         Make code unconditional.
38339         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38340         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38341         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38342         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38343         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38344         Make code unconditional.
38345         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38346         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38347         (__libc_missing_posix_timers): Remove.
38349 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38351         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38352         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38354         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38356         * elf/dl-sym.c: Include <stdlib.h>.
38358         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38359         constants, which avoids warnings in 32-bit builds.
38361         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38362         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38364         * misc/lseek.c: File moved to ...
38365         * io/lseek.c: ... here.
38367         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38369         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38370         shifting LEN more than 31 bits at once.
38372 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38374         [BZ #14195]
38375         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38376         segmentation fault for a case of two empty input strings.
38377         * string/test-strncasecmp.c (check1): Renamed to...
38378         (bz12205): ...this.
38379         (bz14195): Add new testcase for two empty input strings and N > 0.
38380         (test_main): Call new testcase, adapt for renamed function.
38382 2012-08-15  Andreas Jaeger  <aj@suse.de>
38384         [BZ #14090]
38385         * crypt/md5test2.c: New test, based on test supplied by Serge
38386         Belyshev <belyshev@depni.sinp.msu.ru>.
38387         * crypt/Makefile (xtests): Add md5test-giant..
38388         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38390 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38392         [BZ #14090]
38393         * crypt/md5.c (md5_process_block): Don't assume the buffer
38394         length is less than 2**32.
38395         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38396         length is less than 2**64.
38398 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38400         * string/str-two-way.h: Include <sys/param.h>.
38401         (MAX): Macro removed.
38403         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38404         Move #define and #undef of memmove to just before and after
38405         including <string.h>.
38407         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38408         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38409         and after including <string.h>.  Move declarations of
38410         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38411         to before #include "string/memmove.c".
38413         * include/dirent.h: Declare __getdirentries.
38415         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38416         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38418 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38420         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38421         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38422         * sysdeps/i386/configure: Regenerated.
38423         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38424         STABS_CURRENT_FILE, and STABS_FUN.
38425         (END): Remove call to STABS_FUN_END.
38426         (STABS_CURRENT_FILE1): Delete.
38427         (STABS_CURRENT_FILE): Likewise.
38428         (STABS_FUN): Likewise.
38429         (STABS_FUN_END): Likewise.
38430         (STABS_FUN2): Likewise.
38431         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38432         * sysdeps/x86_64/configure: Regenerated.
38434 2012-08-14  Roland McGrath  <roland@hack.frob.com>
38436         * elf/dl-open.c: Include <atomic.h>.
38437         * elf/dl-lookup.c: Likewise.
38439 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
38441         * sysdeps/unix/sysv/linux/kernel-features.h
38442         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38443         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38444         unconditionally.
38445         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38446         unconditionally.
38447         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38448         condition on __ASSUME_CLONE_THREAD_FLAGS.
38450 2012-08-14  Andreas Jaeger  <aj@suse.de>
38452         * sysdeps/i386/fpu/libm-test-ulps: Update.
38454 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
38456         * include/atomic.h (atomic_exchange_and_add): Split into ...
38457         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38458         New atomic macros.
38460 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
38462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38464 2012-08-13  Jeff Law <law@redhat.com>
38466         * manual/stdio.texi (snprintf): Clarify handling of the trailing
38467         null byte in the output string.
38469 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
38471         * sysdeps/unix/sysv/linux/kernel-features.h
38472         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38473         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38474         (__ASSUME_ARG_MAX_STACK_BASED): Define.
38475         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38476         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38477         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
38478         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38480 2012-08-09  Jeff Law <law@redhat.com>
38482         [BZ #13939]
38483         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38484         When avoid_arena is set, don't retry in the that arena.  Pick the
38485         next one, whatever it might be.
38486         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38487         (arena_lock): Pass in new parameter to arena_get2.
38488         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38489         arena_get2.
38490         (__libc_malloc): Unify retrying after main arena failure with
38491         __libc_memalign version.
38492         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38494 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
38496         [BZ #14166]
38497         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38498         to __redirect_strstr.
38499         (__strstr_sse42): Use typeof __redirect_strstr.
38500         (__strstr_ia32): Likewise.
38501         (__libc_strstr): New prototype.
38502         (strstr): Renamed to ...
38503         (__libc_strstr): This.
38504         (strstr): New strong alias of __libc_strstr.
38505         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38506         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38507         __redirect_time.
38508         Include <time.h>.
38509         (__libc_time): New prototype.
38510         (time_ifunc): Replace time with __libc_time.
38511         (time): New strong alias and hidden definition of __libc_time.
38512         (__GI_time): Remove strong alias.
38513         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38514         Include <stddef.h>.
38515         (memmove): Redefined to __redirect_memmove.
38516         (__memmove_sse2): Use typeof __redirect_memmove.
38517         (__memmove_ssse3): Likewise.
38518         (__memmove_ssse3_back): Likewise.
38519         (__libc_memmove): New prototype.
38520         (memmove): Renamed to ...
38521         (__libc_memmove): This.
38522         (memmove): New strong alias of __libc_memmove.
38524 2012-08-08  Mark Salter  <msalter@redhat.com>
38526         * elf/elf.h
38527         (R_MN10300_TLS_GD): Define.
38528         (R_MN10300_TLS_LD): Likewise.
38529         (R_MN10300_TLS_LDO): Likewise.
38530         (R_MN10300_TLS_GOTIE): Likewise.
38531         (R_MN10300_TLS_IE): Likewise.
38532         (R_MN10300_TLS_LE): Likewise.
38533         (R_MN10300_TLS_DTPMOD): Likewise.
38534         (R_MN10300_TLS_DTPOFF): Likewise.
38535         (R_MN10300_TLS_TPOFF): Likewise.
38536         (R_MN10300_SYM_DIFF): Likewise.
38537         (R_MN10300_ALIGN): Likewise.
38538         (R_MN10300_NUM): Update.
38540 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38542         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38543         Remove.
38545 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38547         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38549         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38550         sysdeps/unix -> sysdeps/posix move.
38551         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38553 2012-08-07      Allan McRae     <allan@archlinux.org>
38555         [BZ #14303]
38556         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38557         (SUNOS_CPP): Likewise.
38558         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38559         not found.
38560         (open_input): Call CPP using execvp.
38562 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38564         * sysdeps/unix/sysv/linux/kernel-features.h
38565         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38566         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38567         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38568         (__ASSUME_WAITID_SYSCALL): Likewise.
38569         * sysdeps/unix/sysv/linux/dl-execstack.c
38570         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38571         code unconditional.
38572         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38573         conditional code.
38574         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38575         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38576         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38577         code.
38578         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38579         unconditional.
38580         [__ASSUME_WAITID_SYSCALL]: Likewise.
38581         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38583 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38585         * sysdeps/unix/closedir.c: Renamed to ...
38586         * sysdeps/posix/closedir.c: ... here.
38587         * sysdeps/unix/dirfd.c: Renamed to ...
38588         * sysdeps/posix/dirfd.c: ... here.
38589         * sysdeps/unix/dirstream.h: Renamed to ...
38590         * sysdeps/posix/dirstream.h: ... here.
38591         * sysdeps/unix/fdopendir.c: Renamed to ...
38592         * sysdeps/posix/fdopendir.c: ... here.
38593         * sysdeps/unix/opendir.c: Renamed to ...
38594         * sysdeps/posix/opendir.c: ... here.
38595         * sysdeps/unix/readdir.c: Renamed to ...
38596         * sysdeps/posix/readdir.c: ... here.
38597         * sysdeps/unix/readdir_r.c: Renamed to ...
38598         * sysdeps/posix/readdir_r.c: ... here.
38599         * sysdeps/unix/rewinddir.c: Renamed to ...
38600         * sysdeps/posix/rewinddir.c: ... here.
38601         * sysdeps/unix/seekdir.c: Renamed to ...
38602         * sysdeps/posix/seekdir.c: ... here.
38603         * sysdeps/unix/telldir.c: Renamed to ...
38604         * sysdeps/posix/telldir.c: ... here.
38605         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38606         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38607         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38608         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38610         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38611         * bits/fcntl.h: ... here.
38613         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38614         not 0.
38615         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38616         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38617         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38618         (struct flock): Move l_start, l_len to the beginning.
38619         Use __pid_t for l_pid.
38620         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38621         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38622         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38623         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38624         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38625         [__USE_LARGEFILE64] (struct flock64): New type.
38626         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38628         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38629         * bits/dirent.h: ... here.
38631         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38632         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38634 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38636         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38637         Change from 2.6.0 to 2.6.16.
38638         * sysdeps/unix/sysv/linux/configure: Regenerated.
38639         * sysdeps/unix/sysv/linux/kernel-features.h
38640         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38641         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38642         version.
38643         (__ASSUME_UTIMES): Likewise.
38644         (__ASSUME_CLONE_STOPPED): Remove.
38645         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38646         architectures, not kernel version.
38647         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38648         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38649         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38650         (__ASSUME_WAITID_SYSCALL): Likewise.
38651         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38652         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38653         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38654         refer to older versions.
38656 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38658         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38659         Define alphasort64 as an alias.
38660         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38661         Define versionsort64 as an alias.
38662         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38663         Define scandir64 as an alias.
38664         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38665         Define scandirat64 as an alias.
38666         * dirent/alphasort64.c (alphasort64):
38667         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38668         * dirent/versionsort64.c: Likewise.
38669         * dirent/scandir64.c: Likewise.
38670         * dirent/scandirat64.c: Likewise.
38671         * sysdeps/wordsize-64/alphasort.c: File removed.
38672         * sysdeps/wordsize-64/alphasort64.c: File removed.
38673         * sysdeps/wordsize-64/scandir.c: File removed.
38674         * sysdeps/wordsize-64/scandir64.c: File removed.
38675         * sysdeps/wordsize-64/scandirat.c: File removed.
38676         * sysdeps/wordsize-64/scandirat64.c: File removed.
38677         * sysdeps/wordsize-64/versionsort.c: File removed.
38678         * sysdeps/wordsize-64/versionsort64.c: File removed.
38679         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38680         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38681         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38682         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38683         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38684         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38685         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38686         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38688         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38689         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38690         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38691         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38692         [defined __arch64__ || defined __sparcv9]
38693         (__INO_T_MATCHES_INO64_T): New macro.
38694         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38695         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38696         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38697         * sysdeps/unix/sysv/linux/bits/dirent.h
38698         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38699         (_DIRENT_MATCHES_DIRENT64): New macro.
38701         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38702         Define lockf64 as an alias.
38703         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38704         Define fseeko64 as an alias.
38705         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38706         Define ftello64 as an alias.
38707         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38708         Define _IO_fgetpos64 and fgetpos64 as aliases.
38709         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38710         Define _IO_fsetpos64 and fsetpos64 as aliases.
38711         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38712         Conditionalize body on this.
38713         * libio/fseeko64.c: Likewise.
38714         * libio/ftello64.c: Likewise.
38715         * libio/iofgetpos64.c: Likewise.
38716         * libio/iofsetpos64.c: Likewise.
38717         * sysdeps/wordsize-64/lockf.c: File removed.
38718         * sysdeps/wordsize-64/lockf64.c: File removed.
38719         * sysdeps/wordsize-64/fseeko.c: File removed.
38720         * sysdeps/wordsize-64/fseeko64.c: File removed.
38721         * sysdeps/wordsize-64/ftello.c: File removed.
38722         * sysdeps/wordsize-64/ftello64.c: File removed.
38723         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38724         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38725         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38726         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38727         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38728         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38729         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38730         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38731         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38732         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38733         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38734         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38735         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38736         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38738         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38739         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38740         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38741         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38742         [defined __arch64__ || defined __sparcv9]
38743         (__OFF_T_MATCHES_OFF64_T): New macro.
38744         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38745         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38746         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38747         (__OFF_T_MATCHES_OFF64_T): New macro.
38749 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38751         * stdlib/secure-getenv.c (__secure_getenv): Replace
38752         GLIBC_2_16 with GLIBC_2_17.
38754 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38756         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38757         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38759 2012-08-03  David S. Miller  <davem@davemloft.net>
38761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38763 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38765         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38766         Remove.
38767         (__ASSUME_CORRECT_SI_PID): Likewise.
38768         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38769         (__ASSUME_TMPFS_NAME): Likewise.
38770         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38771         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38772         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38773         (HAVE_AUX_SECURE): Make definition unconditional.
38774         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38775         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38777 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38779         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38780         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38781         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38782         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38783         __eloop_threshold instead of SYMLOOP_MAX.
38785         * sysdeps/generic/eloop-threshold.h: New file.
38786         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38787         of MAXSYMLINKS.
38788         * elf/chroot_canon.c (chroot_canon): Likewise.
38790 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38792         [BZ #13717]
38793         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38794         Change to 2.6.0 everywhere.
38795         * sysdeps/unix/sysv/linux/configure: Regenerated.
38796         * sysdeps/unix/sysv/linux/kernel-features.h
38797         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38798         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38799         kernel versions.
38800         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38801         (__ASSUME_FUTEX_REQUEUE): Remove.
38802         (__ASSUME_STATFS64): Define unconditionally.
38803         (__ASSUME_AT_SECURE): Likewise.
38804         (__ASSUME_CORRECT_SI_PID): Likewise.
38805         (__ASSUME_TGKILL): Define without depending on kernel version for
38806         i386.
38807         (__ASSUME_UTIMES): Likewise.
38808         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38809         kernel version.
38810         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38811         (__ASSUME_TMPFS_NAME): Likewise.
38812         * README: Update reference to Linux kernel versions.
38814 2012-08-02  Marek Polacek  <polacek@redhat.com>
38816         [BZ# 14150]
38817         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38818         libc_cv_asm_type_prefix with %.
38819         * configure: Regenerated.
38820         * include/libc-symbols.h: Remove comment about
38821         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38822         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38823         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38824         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38825         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38826         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38827         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38828         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38829         * elf/tst-unique2mod1.c: Likewise.
38830         * elf/tst-unique1mod2.c: Likewise.
38831         * elf/tst-unique1mod1.c: Likewise.
38832         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38833         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38834         Replace ASM_TYPE_DIRECTIVE with .type.
38835         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38836         * sysdeps/i386/sysdep.h: Likewise.
38837         * sysdeps/x86_64/sysdep.h: Likewise.
38838         * sysdeps/sh/sysdep.h: Likewise.
38839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38840         Do not define ASM_TYPE_DIRECTIVE.
38841         * sysdeps/powerpc/sysdep.h: Likewise.
38842         * sysdeps/powerpc/powerpc32/sysdep.h:
38843         Replace ASM_TYPE_DIRECTIVE with .type.
38844         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38845         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38846         * sysdeps/i386/fpu/e_powf.S: Likewise.
38847         * sysdeps/i386/fpu/e_expl.S: Likewise.
38848         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38849         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38850         * sysdeps/i386/fpu/e_pow.S: Likewise.
38851         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38852         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38853         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38854         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38855         * sysdeps/i386/fpu/e_log2.S: Likewise.
38856         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38857         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38858         * sysdeps/i386/fpu/e_powl.S: Likewise.
38859         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38860         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38861         * sysdeps/i386/fpu/e_logl.S: Likewise.
38862         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38863         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38864         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38865         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38866         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38867         * sysdeps/i386/fpu/e_log.S: Likewise.
38868         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38869         * sysdeps/i386/fpu/e_logf.S: Likewise.
38870         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38871         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38872         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38873         * sysdeps/i386/fpu/e_log10.S: Likewise.
38874         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38875         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38876         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38877         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38878         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38879         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38880         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38881         * sysdeps/i386/i686/strtok.S: Likewise.
38882         * sysdeps/i386/i386-mcount.S: Likewise.
38883         * sysdeps/i386/strtok.S: Likewise.
38884         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38885         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38886         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38887         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38888         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38889         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38890         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38891         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38892         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38893         * sysdeps/x86_64/_mcount.S: Likewise.
38894         * sysdeps/x86_64/strtok.S: Likewise.
38895         * sysdeps/sh/_mcount.S: Likewise.
38897 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38899         * libio/iofopen.c: Include <fcntl.h>.
38900         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38901         (_IO_fopen64, fopen64): Define as aliases.
38902         * libio/iofopen64.c: Include <fcntl.h>.
38903         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38904         Conditionalize body on this.
38905         * sysdeps/wordsize-64/iofopen.c: File removed.
38906         * sysdeps/wordsize-64/iofopen64.c: File removed.
38908 2012-08-01  Marek Polacek  <polacek@redhat.com>
38910         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38911         Use dlfcn directly instead of a variable.
38912         (binfmt-subdir): Do not define.
38913         (dlfcn): Likewise.
38915 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38917         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38918         Remove all definitions.
38919         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38920         <kernel-features.h>.
38921         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38922         (miss_F_GETOWN_EX): Remove all definitions.
38923         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38924         macro definition.
38925         [!__ASSUME_FCNTL64]: Remove conditional code.
38926         [__ASSUME_FCNTL64]: Make code unconditional.
38927         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38928         <kernel-features.h>.
38929         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38930         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38931         (lockf64) [__NR_fcntl64]: Make code unconditional.
38932         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38934         * sysdeps/unix/sysv/linux/kernel-features.h
38935         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38936         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38937         Make code unconditional.
38938         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38939         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38941         [__NR_vfork]: Make code unconditional.
38942         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38943         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38945         [__NR_vfork]: Make code unconditional.
38946         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38947         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38949 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38951         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38952         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38954         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38955         Define mkstemp64 as an alias.
38956         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38957         Define mkstemps64 as an alias.
38958         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38959         Define mkostemp64 as an alias.
38960         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38961         Define mkostemps64 as an alias.
38962         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38963         Conditionalize body on this.
38964         * misc/mkostemp64.c: Likewise.
38965         * misc/mkostemps64.c: Likewise.
38966         * misc/mkstemps64.c: Likewise.
38967         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38968         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38969         * sysdeps/wordsize-64/mkostemp.c: File removed.
38970         * sysdeps/wordsize-64/mkstemp.c: File removed.
38971         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38972         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38973         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38974         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38976         [BZ #14138]
38977         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38978         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38979         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38980         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38982         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38983         compat_symbol macros from <shlib-compat.h> rather than the underlying
38984         default_symbol_version and symbol_version macros, so that DEFAULT
38985         lines in shlib-versions are respected.
38986         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38988 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38990         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38991         Declare with warn_unused_result.
38992         (setgid, setregid, setegid, setresgid): Likewise.
38993         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38994         Likewise.
38995         * WUR-REPORT: Remove set*id functions.
38997 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38999         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39001 2012-07-31  Roland McGrath  <roland@hack.frob.com>
39003         [BZ #10191]
39004         * include/sys/socket.h (__libc_accept, __libc_accept4):
39005         Add attribute_hidden.
39006         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39008         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39009         use of PTR_MANGLE.
39010         * inet/getnetgrent_r.c (setup): Likewise.
39012         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39014 2012-07-31  David S. Miller  <davem@davemloft.net>
39016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39018 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
39020         [BZ #13629]
39021         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39022         value between 1.0 and 2.0 and smaller part has absolute value less
39023         than 1.0.
39024         * math/s_clog10.c (__clog10): Likewise.
39025         * math/s_clog10f.c (__clog10f): Likewise.
39026         * math/s_clog10l.c (__clog10l): Likewise.
39027         * math/s_clogf.c (__clogf): Likewise.
39028         * math/s_clogl.c (__clogl): Likewise.
39029         * math/libm-test.inc (clog_test): Add more tests.
39030         (clog10_test): Likewise.
39031         * sysdeps/i386/fpu/libm-test-ulps: Update.
39032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39034 2012-07-31  Florian Weimer  <fweimer@redhat.com>
39036         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39037         Exit with zero in case no suitable GID is found, and write a
39038         message to standard error.
39040 2012-07-30  Roland McGrath  <roland@hack.frob.com>
39042         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39043         rather than to 1.
39044         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39045         (MAXPATHLEN): Removed.
39046         (NOGROUP, NODEV): New macros.
39047         (setbit, clrbit, isset, isclr): New macros.
39048         (howmany, roundup, powerof2): New macros.
39049         (DEV_BSIZE): New macro.
39051         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39052         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39054         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39055         definition on [!__NO_LONG_DOUBLE_MATH].
39057         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39058         PTR_MANGLE and PTR_DEMANGLE.
39060         * socket/accept4.c (accept4): Rename to __libc_accept4.
39061         Define accept4 as a weak alias.
39063         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39064         on [_DIRENT_HAVE_D_TYPE].
39065         * io/ftw.c (ftw_dir): Likewise.
39067         * io/xmknod.c (__xmknod): Don't check PATH for being null.
39069         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39071         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39072         Use the BSD numbers rather than the arbitrary ones we had.
39073         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39074         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39075         (SIGXCPU, SIGXFSZ): New macros.
39076         (_NSIG): Now 32.
39078         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39079         initializer on [_LIBC_REENTRANT].
39081         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39082         definitions inside [_POSIX_MAPPED_FILES].
39084         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39086         * dirent/opendir.c: Include <fcntl.h>.
39088         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39089         (__libc_getspecific): Likewise.
39090         (__libc_key_create): Likewise.
39092         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39093         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39094         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39095         (tmpfile64): Define as alias.
39096         * sysdeps/wordsize-64/tmpfile.c: File removed.
39097         * sysdeps/wordsize-64/tmpfile64.c: File removed.
39098         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39099         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39101         * stdio-common/vfscanf.c: Include <stdbool.h>.
39102         * nss/makedb.c: Likewise.
39103         * stdio-common/_i18n_number.h: Likewise.
39104         * argp/argp-help.c: Likewise.
39105         * posix/wordexp.c: Likewise.
39106         * sysdeps/posix/spawni.c: Likewise.
39107         * nss/nss_files/files-initgroups.c: Likewise.
39108         * stdio-common/reg-modifier.c: Include <stdlib.h>.
39109         * nss/nss_files/files-initgroups.c: Likewise.
39110         * nss/nss_db/db-netgrp.c: Likewise.
39111         * nss/nss_db/db-initgroups.c: Likewise.
39112         * io/fchmodat.c: Include <sys/stat.h>.
39114         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39115         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39117         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39118         [HAVE_MMAP].
39120         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39121         Add multiple inclusion protection.
39123 2012-07-27  David S. Miller  <davem@davemloft.net>
39125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39127 2012-07-27  Gary Benson  <gbenson@redhat.com>
39129         [BZ #14298]
39130         * elf/rtld.c: Include <stap-probe.h>.
39131         (dl_main): Added static probes "init_start" and "init_complete".
39132         * elf/dl-load.c: Include <stap-probe.h>.
39133         (lose): Take new parameter "nsid".
39134         Added static probe "map_failed".
39135         (_dl_map_object_from_fd): Pass namespace id to lose.
39136         Added static probe "map_start".
39137         (open_verify): Pass namespace id to lose.
39138         * elf/dl-open.c: Include <stap-probe.h>.
39139         (dl_open_worker) Added static probes "map_complete", "reloc_start"
39140         and "reloc_complete".
39141         * elf/dl-close.c: Include <stap-probe.h>.
39142         (_dl_close_worker): Added static probes "unmap_start" and
39143         "unmap_complete".
39144         * elf/rtld-debugger-interface.txt: New file documenting the above.
39146 2012-07-26  Roland McGrath  <roland@hack.frob.com>
39148         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39149         rather than a string variable.
39150         * sunrpc/rpc_main.c (h_output): Likewise.
39151         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39153 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
39155         * inet/check_native.c: New file.
39157 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
39159         [BZ #13629]
39160         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39161         if larger part has absolute value 1.0.
39162         * math/s_clog10.c (__clog10): Likewise.
39163         * math/s_clog10f.c (__clog10f): Likewise.
39164         * math/s_clog10l.c (__clog10l): Likewise.
39165         * math/s_clogf.c (__clogf): Likewise.
39166         * math/s_clogl.c (__clogl): Likewise.
39167         * math/libm-test.inc (clog_test): Add more tests.
39168         (clog10_test): Likewise.
39169         * sysdeps/i386/fpu/libm-test-ulps: Update.
39170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39172         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39173         (pltexit): Likewise.
39174         (La_regs): Likewise.
39175         (La_retval): Likewise.
39176         (int_retval): Likewise.
39177         Update #error for removed macros to refer only to definitions in
39178         tst-audit.h.
39179         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
39204         macro.
39205         (pltexit): Likewise.
39206         (La_regs): Likewise.
39207         (La_retval): Likewise.
39208         (int_retval): Likewise.
39209         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39210         macro.
39211         (pltexit): Likewise.
39212         (La_regs): Likewise.
39213         (La_retval): Likewise.
39214         (int_retval): Likewise.
39215         * sysdeps/generic/tst-audit.h: Update comment to refer only to
39216         macro definitions in tst-audit.h.
39217         * sysdeps/i386/tst-audit.h: New file.
39218         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39219         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39220         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39221         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39222         * sysdeps/sh/tst-audit.h: Likewise.
39223         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39224         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39225         * sysdeps/x86_64/tst-audit.h: Likewise.
39227 2012-07-26  Andreas Jaeger  <aj@suse.de>
39229         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39230         ptrace.
39232         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39233         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39234         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39235         PTRACE_O_MASK.
39236         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39237         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39238         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39240         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39241         value.
39243         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39244         _sigsys.
39245         (si_call_addr, si_syscall, si_arch): Define new macro.
39246         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39247         _sigsys.
39248         (si_call_addr, si_syscall, si_arch): Define new marcro.
39249         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39250         _sigsys.
39251         (si_call_addr, si_syscall, si_arch): Define new macro.
39252         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39253         _sigsys.
39254         (si_call_addr, si_syscall, si_arch): Define new macro.
39256 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39258         [BZ #13717]
39259         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39260         Change to 2.4.21 where previously 2.4.1.
39261         * sysdeps/unix/sysv/linux/configure: Regenerated.
39262         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39263         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39264         Linux kernel version.
39265         (__ASSUME_STD_AUXV): Remove.
39266         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39267         kernel version.
39268         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39269         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39270         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39271         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39272         (__ASSUME_NETLINK_SUPPORT): Likewise.
39273         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39274         (__no_netlink_support): Remove conditional definition.
39275         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39276         Remove.
39277         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39278         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39279         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39280         (if_nameindex_ioctl): Remove.
39281         (if_nameindex_netlink): Do not handle __no_netlink_support.
39282         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39283         code.
39284         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39285         Remove conditional code.
39286         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39287         code.
39288         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39289         unconditional.
39290         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39291         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39292         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39293         Remove.
39294         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39295         [!__ASSUME_STD_AUXV]: Remove conditional code.
39296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39297         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39298         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39300         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39301         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39302         code.
39303         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39305         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39306         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39307         conditional code.
39308         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39310         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39311         code.
39312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39313         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39314         conditional code.
39315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39316         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39317         code unconditional.
39318         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39319         conditional code.
39320         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39321         unconditional.
39322         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39323         conditional code.
39324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39325         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39326         unconditional.
39327         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39328         conditional code.
39329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39330         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39331         code unconditional.
39332         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39333         conditional code.
39334         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39335         unconditional.
39336         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39337         conditional code.
39338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39339         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39340         code unconditional.
39341         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39342         conditional code.
39343         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39344         unconditional.
39345         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39346         conditional code.
39348 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39350         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39351         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39352         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39353         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39354         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39355         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39356         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39357         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39358         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39359         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39360         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39361         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39362         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39363         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39364         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39365         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39366         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39367         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39368         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39369         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39370         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39371         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39372         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39374 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39376         * Versions.def: Add GLIBC_2.17.
39377         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39378         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39379         Introduce __libc_secure_getenv.
39380         * stdlib/Versions (2.17): Add secure_getenv
39381         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39382         * stdlib/secure-getenv.c: Rename __secure_getenv to
39383         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39384         symbol __secure_getenv for GLIBC_2.0.
39385         * stdlib/tst-secure-getenv.c: New.
39386         * stdlib/Makefile (tests): Add testcase.
39387         * manual/startup.texi (Environment Access): Document
39388         secure_getenv.
39389         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39390         __libc_secure_getenv.
39391         * inet/ruserpass.c (ruserpass): Likewise.
39392         * malloc/mtrace.c (mtrace): Likewise.
39393         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39394         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39395         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39396         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39397         HAVE_SECURE_GETENV.
39398         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39399         __secure_getenv to __libc_secure_getenv.
39400         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39402         Likewise.
39403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39404         Likewise.
39405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39407         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39413 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39415         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39416         (struct La_i86_retval): Likewise.
39417         (struct La_x86_64_regs): Likewise.
39418         (struct La_x86_64_retval): Likewise.
39419         (struct La_x32_regs): Likewise.
39420         (struct La_x32_retval): Likewise.
39421         (struct La_ppc32_regs): Likewise.
39422         (struct La_ppc32_retval): Likewise.
39423         (struct La_ppc64_regs): Likewise.
39424         (struct La_ppc64_retval): Likewise.
39425         (struct La_sh_regs): Likewise.
39426         (struct La_sh_retval): Likewise.
39427         (struct La_s390_32_regs): Likewise.
39428         (struct La_s390_32_retval): Likewise.
39429         (struct La_s390_64_regs): Likewise.
39430         (struct La_s390_64_retval): Likewise.
39431         (struct La_sparc32_regs): Likewise.
39432         (struct La_sparc32_retval): Likewise.
39433         (struct La_sparc64_regs): Likewise.
39434         (struct La_sparc64_retval): Likewise.
39435         (struct audit_ifaces): Remove architecture-specific pltenter and
39436         pltexit members.
39437         * sysdeps/i386/ldsodefs.h: New file.
39438         * sysdeps/powerpc/ldsodefs.h: Likewise.
39439         * sysdeps/s390/ldsodefs.h: Likewise.
39440         * sysdeps/sh/ldsodefs.h: Likewise.
39441         * sysdeps/sparc/ldsodefs.h: Likewise.
39442         * sysdeps/x86_64/ldsodefs.h: Likewise.
39444 2012-07-25  Marek Polacek  <polacek@redhat.com>
39446         [BZ #6808]
39447         * math/libm-test.inc (yn_test): Add another test.
39448         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39449         to ERANGE when the result is +-Inf.
39450         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39451         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39452         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39453         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39455 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
39457         * conform/data/time.h-data (NULL): Use macro-constant.  Require
39458         equal to 0.
39459         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
39460         clock_t.
39461         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
39463 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
39465         * configure.in <sysdeps resolving>: Correct printing
39466         Implies_before.
39467         * configure: Regenerate.
39469 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
39471         * math/w_ilogb.c: Include <limits.h>.
39472         * math/w_ilogbl.c: Likewise.
39474 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39476         * manual/lang.texi (__va_copy): Document primarily as ISO C99
39477         va_copy.  Document allowing for unavailable va_copy only as
39478         pre-C99 compatibility.
39479         * manual/string.texi (Copying and Concatenation): Use va_copy
39480         instead of __va_copy in concat example.
39482 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
39484         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39485         (__sendto): Use create_address_port.  Initialize APORT and deallocate
39486         it if not null.
39488         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39489         with O_NOLINK passed to __file_name_lookup.
39491         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39492         with O_NOLINK passed to __file_name_lookup.
39494         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39495         negative N or less than NGIDS.
39497         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39498         type to string_t.  Set ERANGE as errno and return it if NAME is not big
39499         enough.  Use memcpy instead of strncpy.
39501 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39503         * elf/Makefile (check-data): Remove.
39504         (localplt.data): New vpath directive.
39505         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39506         instead of $(check-data).
39507         * scripts/data/localplt-generic.data: Move to ...
39508         * sysdeps/generic/localplt.data: ... here.
39509         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39510         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39511         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39513         ... here.
39514         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39516         ... here.
39517         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39519         ... here.
39520         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39522         ... here.
39523         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39525         ... here.
39526         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39528         ... here.
39530 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39532         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39533         PPC32 and PPC64 files.
39534         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39535         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39537 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39539         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39540         __makecontext_ret to ...
39541         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39542         ... here and call exit if uc_link is NULL.  New file.
39543         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39544         __makecontext_ret.S.
39545         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39546         __makecontext_ret to ...
39547         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39548         ... here and call exit if uc_link is NULL.  New file.
39549         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39550         __makecontext_ret.S.
39552 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39554         * elf/elf.h (R_390_IRELATIVE): New definition.
39555         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39556         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39557         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39558         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39559         (elf_machine_lazy_rel): Likewise.
39560         * sysdeps/s390/dl-irel.h: New file.
39561         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39562         * sysdeps/s390/s390-64/memset.S: New asm code.
39563         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39564         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39565         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39566         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39567         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39568         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39569         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39570         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39571         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39572         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39573         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39574         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39575         * sysdeps/s390/s390-32/memset.S: New asm code.
39576         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39578 2012-07-17  Marek Polacek  <polacek@redhat.com>
39580         [BZ #14349]
39581         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39582         * sysdeps/s390/s390-64/configure.in: Likewise.
39583         * sysdeps/sparc/configure.in: Likewise.
39584         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39585         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39586         * sysdeps/i386/configure.in: Likewise.
39587         * sysdeps/x86_64/configure.in: Likewise.
39588         * sysdeps/sh/configure.in: Likewise.
39589         * sysdeps/s390/s390-32/configure: Regenerated.
39590         * sysdeps/s390/s390-64/configure: Likewise.
39591         * sysdeps/x86_64/configure: Likewise.
39592         * sysdeps/sh/configure: Likewise.
39593         * sysdeps/powerpc/powerpc64/configure: Likewise.
39594         * sysdeps/powerpc/powerpc32/configure: Likewise.
39595         * sysdeps/sparc/configure: Likwise.
39596         * sysdeps/i386/configure: Likewise.
39598         * elf/dl-open.c: Comment fixes.
39600 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39602         * Makefile [CXX] (check-data): Remove.
39603         [CXX] (c++-types.data): New vpath directive.
39604         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39605         vpath.  Do not allow for C++ type data being missing.
39606         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39607         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39608         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39609         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39610         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39611         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39612         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39614         ... here.
39615         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39617         ... here.
39618         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39620         ... here.
39621         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39623         ... here.
39624         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39626         ... here.
39627         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39629         ... here.
39630         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39632         ... here.
39633         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39636         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39637         definitions to architecture-specific files.
39638         (TLS_IE): Likewise.
39639         (TLS_LD): Likewise.
39640         (TLS_GD): Likewise.
39641         * sysdeps/i386/tls-macros.h: New file.
39642         * sysdeps/powerpc/tls-macros.h: Likewise.
39643         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39644         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39645         * sysdeps/sh/tls-macros.h: Likewise.
39646         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39647         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39648         * sysdeps/x86_64/tls-macros.h: Likewise.
39650 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39652         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39653         zero value for regular exit case.
39655         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39656         (__start_context): Preserve zero value for regular exit case.
39658 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39659             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39661         * manual/setjmp.texi (setcontext): Clarify normal process
39662         termination when uc_link is the null pointer.
39663         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39664         exit call.
39666 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39668         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39669         preprocessor.  Test for each exception mask separately.
39671 2012-07-16  Andreas Jaeger  <aj@suse.de>
39673         * po/ru.po: Update from translation team.
39675 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39677         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39678         equal to 0.
39679         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39680         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39681         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39682         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39683         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39685 2012-07-13  Andreas Jaeger  <aj@suse.de>
39687         * po/fr.po: Update from translation team.
39689 2012-07-12  Marek Polacek  <polacek@redhat.com>
39691         [BZ #14173]
39692         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39693         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39694         loop condition.
39696 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39698         [BZ #13717]
39699         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39700         Change to 2.4.1 where previously 2.4.0.
39701         * sysdeps/unix/sysv/linux/configure: Regenerated.
39702         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39703         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39704         version.
39705         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39706         (__ASSUME_AT_CLKTCK): Remove.
39707         (__ASSUME_AT_PAGESIZE): Likewise.
39708         (__ASSUME_AT_XID): Likewise.
39709         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39710         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39711         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39712         unconditionally.
39713         (HAVE_AUX_PAGESIZE): Likewise.
39714         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39715         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39716         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39718 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39720         [BZ #14307]
39721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39722         the temporary buffer used to invoke __gethostbyname2_r,
39723         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39724         host_data / struct gaih_addrtuple.
39725         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39726         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39727         header file nss/nsswitch.h.
39728         * nss/nsswitch.h (global scope): Add definition of implementation
39729         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39730         resolv/nss_dns/dns-host.c).
39732 2012-07-11  Andreas Jaeger  <aj@suse.de>
39734         * po/fr.po: Update from translation team.
39736         * po/sv.po: Update from translation team
39737         * po/fr.po: Another update from translation team.
39739 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39741         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39742         for subnormals or multiply small sinh result by itself.
39743         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39746 2012-07-11  David S. Miller  <davem@davemloft.net>
39748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39750 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39752         [BZ #14347]
39753         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39754         (INTERNAL_MARK): Shift it here.
39756 2012-07-10  Marek Polacek  <polacek@redhat.com>
39758         [BZ #14151]
39759         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39760         libc_cv_asm_global_directive with .globl.
39761         * configure: Regenerated.
39762         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39763         with .globl.
39764         * sysdeps/i386/configure: Regenerated.
39765         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39766         with .globl.
39767         * sysdeps/x86_64/configure: Regenerated.
39768         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39769         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39770         * elf/tst-unique2mod2.c: Likewise.
39771         * elf/tst-unique2mod1.c: Likewise.
39772         * elf/tst-unique1mod2.c: Likewise.
39773         * elf/tst-unique1mod1.c: Likewise.
39774         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39775         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39776         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39777         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39778         * sysdeps/mach/sysdep.h: Likewise.
39779         * sysdeps/i386/sysdep.h: Likewise.
39780         * sysdeps/i386/i386-mcount.S: Likewise.
39781         * sysdeps/x86_64/_mcount.S: Likewise.
39782         * sysdeps/x86_64/sysdep.h: Likewise.
39783         * sysdeps/sh/_mcount.S: Likewise.
39784         * sysdeps/sh/sysdep.h: Likewise.
39785         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39786         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39787         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39788         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39789         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39790         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39791         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39792         * locale/localeinfo.h: Likewise.
39793         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39794         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39796 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39798         [BZ #14336]
39799         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39800         system".
39801         * manual/message.texi (The Uniforum approach): Likewise.
39802         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39803         (glibc iconv Implementation): Likewise.
39805 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39807         [BZ #14337]
39808         * math/s_clog.c (__clog): Avoid scaling a value down where that
39809         could result in underflow.
39810         * math/s_clog10.c (__clog10): Likewise.
39811         * math/s_clog10f.c (__clog10f): Likewise.
39812         * math/s_clog10l.c (__clog10l): Likewise.
39813         * math/s_clogf.c (__clogf): Likewise.
39814         * math/s_clogl.c (__clogl): Likewise.
39815         * math/libm-test.inc (clog_test): Add more tests.
39816         (clog10_test): Likewise.
39817         * sysdeps/i386/fpu/libm-test-ulps: Update.
39818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39820 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39822         [BZ #14283]
39823         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39824         by 7 not 8 to examine high bit of fractional part.
39826         [BZ #14042]
39827         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39828         for call to __mcount_internal.
39829         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39830         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39831         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39833 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39835         [BZ #14154]
39836         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39837         approximation for values within 0x1p-13f of an odd multiple of
39838         pi/4.
39839         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39840         exception.  Add more tests.
39841         * sysdeps/i386/fpu/libm-test-ulps: Update.
39843         [BZ #6778]
39844         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39845         inputs and return -1 for them.  Do not check for +Inf in case not
39846         reachable for +Inf.
39847         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39848         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39849         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39850         and return -1 for them.  Do not check for +Inf in case not
39851         reachable for +Inf.
39852         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39853         define.
39854         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39855         and return -1 for them.  Do not check for +Inf in case not
39856         reachable for +Inf.
39857         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39858         spurious underflow.
39859         * sysdeps/i386/fpu/libm-test-ulps: Update.
39860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39862 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39864         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39866 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39868         [BZ #14157]
39869         [BZ #14331]
39870         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39871         could result in spurious underflow.  Scale down values above
39872         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39873         * math/s_csqrtf.c (__csqrtf): Likewise.
39874         * math/s_csqrtl.c (__csqrtl): Likewise.
39875         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39876         spurious underflow.
39877         * sysdeps/i386/fpu/libm-test-ulps: Update.
39878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39880 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39882         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39883         xopen-msg.sed.
39884         * catgets/xopen-msg.awk: New file.
39885         * catgets/xopen-msg.sed: Removed.
39887         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39888         po2text.sed.
39889         * intl/po2test.awk: New file.
39890         * intl/po2test.sed: Removed.
39892 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39894         [BZ #14328]
39895         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39896         or multiply small sinh result by itself.
39897         * math/s_ctanf.c (__ctanf): Likewise.
39898         * math/s_ctanh.c (__ctanh): Likewise.
39899         * math/s_ctanhf.c (__ctanhf): Likewise.
39900         * math/s_ctanhl.c (__ctanhl): Likewise.
39901         * math/s_ctanl.c (__ctanl): Likewise.
39902         * math/libm-test.inc (ctan_test_tonearest): New function.
39903         (ctan_test_towardzero): Likewise.
39904         (ctan_test_downward): Likewise.
39905         (ctan_test_upward): Likewise.
39906         (ctanh_test_tonearest): Likewise.
39907         (ctanh_test_towardzero): Likewise.
39908         (ctanh_test_downward): Likewise.
39909         (ctanh_test_upward): Likewise.
39910         (main): Call these new functions.
39911         * sysdeps/i386/fpu/libm-test-ulps: Update.
39912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39914 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39916         * .gitignore: Delete /ports entry.
39918 2012-07-03  Andreas Jaeger  <aj@suse.de>
39920         * po/bg.po: Update from translation team.
39921         * po/cs.po: Likewise.
39922         * po/de.po: Likewise.
39923         * po/hr.po: Likewise.
39924         * po/nl.pl: Likewise.
39925         * po/pl.po: Likewise.
39926         * po/vi.po: Likewise.
39928 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39930         * Makeconfig [!+link] (+link-before-libc): New variable.
39931         [!+link] (+link-after-libc): Likewise.
39932         [!+link] (+link-tests): Likewise.
39933         [!+link] (+link): Define in terms of $(+link-before-libc) and
39934         $(+link-after-libc).
39935         [!+link-static] (+link-static-before-libc): New variable.
39936         [!+link-static] (+link-static-after-libc): Likewise.
39937         [!+link-static] (+link-static-tests): Likewise.
39938         [!+link-static] (+link-static): Define in terms of
39939         $(+link-static-before-libc) and $(+link-static-after-libc).
39940         [build-shared] (link-libc-before-gnulib): New variable.
39941         [build-shared] (link-libc-tests): Likewise.
39942         [build-shared] (link-libc): Define in terms of
39943         $(link-libc-before-gnulib).
39944         [!build-shared] (link-libc-tests): New variable.
39945         (link-libc-static-tests): New variable.
39946         [!gnulib] (gnulib-arch): New variable.
39947         [!gnulib] (gnulib-tests): Likewise.
39948         [!gnulib] (static-gnulib-arch): Likewise.
39949         [!gnulib] (static-gnulib-tests): Likewise.
39950         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39951         Define with "=" instead of ":=".
39952         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39953         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39954         * Rules (binaries-all-notests): New variable.
39955         (binaries-all-tests): Likewise.
39956         (binaries-static-notests): Likewise.
39957         (binaries-static-tests): Likewise.
39958         (binaries-all): Define using $(binaries-all-notests) and
39959         $(binaries-all-tests).
39960         (binaries-static): Define using $(binaries-static-notests) and
39961         $(binaries-static-tests).
39962         (binaries-shared-tests): New variable.
39963         (binaries-shared-notests): Likewise.
39964         (binaries-shared): Remove variable.
39965         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39966         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39967         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39968         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39969         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39970         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39971         * elf/Makefile (sln-modules): New variable.
39972         (extra-objs): Add $(sln-modules:=.o).
39973         (ldconfig-modules): Add static-stubs.
39974         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39975         * elf/static-stubs.c: New file.
39977         [BZ #14283]
39978         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39979         by 7 not 8 to examine high bit of fractional part.  Use volatile
39980         variables when splitting into final array of floats if
39981         __FLT_EVAL_METHOD__ != 0.
39982         * math/libm-test.inc (cos_test): Add another test.
39983         (sin_test): Likewise.
39984         * sysdeps/i386/fpu/libm-test-ulps: Update.
39986         [BZ #14273]
39987         * math/libm-test.inc (cosh_test): Add more tests.
39989         * version.h (RELEASE): Set to "development".
39990         (VERSION): Set to "2.16.90".
39992 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39994         * NEWS: Update copyright. Remove last-updated date.
39995         Mention math library bug fixes and timezone data changes.
39996         * README: Mention GNU/Hurd, x32, and HPPA support status.
39998 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
40000         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40002 2012-06-27  Andreas Jaeger  <aj@suse.de>
40004         * manual/contrib.texi (Contributors): Add Samuel Thibault.
40006 2012-06-25  Andreas Jaeger  <aj@suse.de>
40008         * sysdeps/s390/fpu/libm-test-ulps: Update.
40010 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
40011             Thomas Schwinge  <thomas@codesourcery.com>
40013         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40014         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40015         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40016         fanotify_mark.
40018 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
40020         * sysdeps/mach/start.c: Remove file.
40021         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40022         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40023         * sysdeps/sh/init-first.c: Likewise.
40025         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40026         registers for frame unwinding purposes, add CFI directives.
40027         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40028         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40029         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40030         Likewise.
40032         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40033         __fortify_fail returning.
40034         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40036         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40037         sysdeps/sh/____longjmp_chk.S.
40038         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40039         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40040         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40041         (gen-as-const-headers): Append sigaltstack-offsets.sym.
40043         * sysdeps/sh/abort-instr.h: New file.
40044         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40045         process in case exit returns.
40047         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40048         initialize the GOT register before use.
40050         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40051         calculation of ARGC > 4.
40053         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40054         meaningful names to some local labels.
40056 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40057             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40059         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40060         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40061         (__arch_compare_and_exchange_val_16_acq): Likewise.
40062         (__arch_compare_and_exchange_val_32_acq): Likewise.
40063         (atomic_exchange_and_add): Fix gUSA sequence.
40064         (atomic_add): Likewise.
40065         (atomic_add_negative): Likewise.
40066         (atomic_add_zero): Likewise.
40067         (atomic_bit_test_set): Likewise.
40069 2012-06-22  Andreas Schwab  <schwab@redhat.com>
40071         [BZ #13579]
40072         * include/link.h (struct link_map): Add l_free_initfini.
40073         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40074         l_initfini.
40075         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40076         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40077         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40078         set.
40080 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
40082         * configure.in: Use AC_LANG_SOURCE.
40083         * configure: Regenerate.
40085 2012-06-22  Roland McGrath  <roland@hack.frob.com>
40087         * configure.in (libc_cv_localstatedir): New substituted variable.
40088         * configure: Regenerated.
40089         * config.make.in (localstatedir): New variable, substituted from
40090         libc_cv_localstatedir.
40091         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40092         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40093         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40094         * sysdeps/gnu/configure: Regenerated.
40096 2012-06-21  Jeff Law  <law@redhat.com>
40098         [BZ #14277]
40099         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40100         free.  Simplify list management for _LIBC case.
40102 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
40104         [BZ #14273]
40105         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40106         Clear sign bit of 64-bit integer value before comparing against
40107         overflow value.
40109         * sysdeps/mach/configure: Regenerated.
40111 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
40113         [BZ #14278]
40114         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40116 2012-06-21  Jeff Law  <law@redhat.com>
40118         [BZ #13882]
40119         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
40120         uint16_t for elements in the "seen" array to avoid char overflows.
40121         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40122         * elf/dl-open.c (dl_open_worker): Likewise.
40124 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
40126         * scripts/list-sources.sh: Scan PORTS for translations.
40127         * po/libc.pot: Regenerated.
40129 2012-06-21  Andreas Jaeger  <aj@suse.de>
40131         [BZ #12194]
40132         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40133         warning.
40134         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40135         * bits/byteswap-16.h (__bswap_16): Likewise.
40136         * bits/byteswap.h (__bswap_constant_16): Likewise.
40138 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
40140         [BZ #14117]
40141         * sysdeps/i386/fpu_control.h: Removed.
40142         * sysdeps/x86_64/fpu_control.h: Moved to ...
40143         * sysdeps/x86/fpu_control.h: Here.
40145         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40146         (_FPU_SETCW): Likewise.
40148 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
40150         [BZ #14117]
40151         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40152         * sysdeps/x86/fpu/bits/mathinline.h: This.
40153         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40155         [BZ #14050]
40156         [BZ #14117]
40157         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40158         functions if __x86_64__ is defined.
40160 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
40162         * string/endian.h: Add !__ASSEMBLER__ condition for including
40163         conversion interfaces.
40165 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
40167         [BZ #14241]
40168         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40169         of ABS(x) in calculating zero to negative powers other than odd
40170         integers.
40171         * math/libm-test.inc (pow_test): Add more tests.
40173 2012-06-15  Andreas Jaeger  <aj@suse.de>
40175         * manual/contrib.texi (Contributors): Update entry of Liubov
40176         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40177         Machado Filho.
40179 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
40181         * string/string.h: Add __wur to GNU version of strerror_r.
40183 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
40185         [BZ #14229]
40186         * string/Makefile (tests): Add tst-strtok_r.
40187         * string/tst-strtok_r.c: New file.
40188         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40189         RAX_LP/RDX_LP on SAVE_PTR.
40191 2012-06-14  Roland McGrath  <roland@hack.frob.com>
40193         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40195 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
40197         * libm_test.inc (csqrt_test): Allow more spurious underflow
40198         exceptions.
40199         (j0_test): Likewise.
40200         (j1_test): Likewise.
40201         (y0_test): Likewise.
40202         (y1_test): Likewise.
40204 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
40206         * po/Makefile (libc.pot): Use UTF-8 charset.
40208 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
40210         [BZ #14210]
40211         Suppress sign-conversion warning from FD_SET.
40212         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40213         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40214         not unsigned long int.
40215         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40217 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
40219         [BZ #14050]
40220         [BZ #14117]
40221         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40222         __extern_always_inline instead of __extern_inline.
40223         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40224         (__signbit): Likewise.
40225         (__signbitl): Support C++ namespace.
40226         (lrintf): New inline function.
40227         (lrint): Likewise.
40228         (llrintf): Likewise.
40229         (llrint): Likewise.
40230         (fmaxf): Likewise.
40231         (fmax): Likewise.
40232         (fminf): Likewise.
40233         (fmin): Likewise.
40234         (rint): Likewise.
40235         (rintf): Likewise.
40236         (ceil): Likewise.
40237         (ceilf): Likewise.
40238         (floor): Likewise.
40239         (floorf): Likewise.
40240         (nearbyint): Likewise.
40241         (nearbyintf): Likewise.
40243 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
40245         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40246         non-default versions.
40248 2012-06-11  Roland McGrath  <roland@hack.frob.com>
40250         [BZ #14218]
40251         * manual/argp.texi (Argp): Reword argp_parse description slightly.
40253 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
40255         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40256         (FE_UPWARD, FE_DOWNWARD): Don't define.
40257         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40258         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40260         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40261         reading it.
40262         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40263         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40265 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40267         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40268         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40269         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40270         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40272 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40274         [BZ #14117]
40275         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40276         * sysdeps/i386/fpu/Implies: New file.
40277         * sysdeps/x86_64/fpu/Implies: Likewise.
40278         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40279         * sysdeps/x86/fpu/bits/fenv.h: This.
40281         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40282         __SSE_MATH__.
40284 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40286         [BZ #14134]
40287         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40288         character 0xffff that matches the last element of the
40289         conversion table.
40291 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40293         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40294         fmodl commit.
40296 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40298         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40299         values higher than 25.6283.
40301 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40303         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40304         subnormal exponent extraction and add some __builtin_expect.
40305         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40306         Fix for subnormal mantissa calculation.
40308 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40310         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40311         cpu2 is -1 and errno is not ENOSYS.
40313 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40315         [BZ #14117]
40316         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40317         * sysdeps/x86/bits/string.h: This.
40318         * sysdeps/x86_64/bits/string.h: Removed.
40320         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40321         if not compiling for x86-64, but compiling for >= i486.
40323         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40324         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40326         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40327         New macro from Linux kernel 3.4.0.
40328         (FP_XSTATE_MAGIC2): Likewise.
40329         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40330         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40331         (struct _fpx_sw_bytes): New struct.
40332         (struct _xsave_hdr): Likewise.
40333         (struct _ymmh_state): Likewise.
40334         (struct _xstate): Likewise.
40336         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40337         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40338         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40339         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40340         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40341         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40343         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40344         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40345         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40346         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40347         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40348         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40350 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40352         [BZ #13743]
40353         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40354         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40355         (sysdep_headers): Include sys/platform/ppc.h.
40356         * sysdeps/powerpc/test-gettimebase.c: Test for
40357         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40358         * manual/Makefile (appendices): Include platform.texi.
40359         * manual/contrib.texi (Contributors): Update @node pointers.
40360         * manual/maint.texi (Maintenance): Likewise.
40361         (Platform): New node.
40362         * manual/platform.texi: New file.  Document the new features.
40364 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40365             Jakub Jelinek  <jakub@redhat.com>
40367         [BZ #14188]
40368         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40369         where __builtin_expect is unavailable.
40371 2012-06-03  David S. Miller  <davem@davemloft.net>
40373         * stdlib/longlong.h: Updated from GCC.
40375 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40377         [BZ #14042]
40378         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40379         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40380         __mcount_internal.
40381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40382         (GLIBC_2.16): Likewise.
40384 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40386         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40388 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40391         (default-abi): New variable.
40392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40393         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40394         variable.
40395         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40396         Likewise.
40397         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40398         Likewise.
40399         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40400         Likewise.
40402         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40403         definition.  Document in comment.
40405 2012-06-01  David S. Miller  <davem@davemloft.net>
40407         * stdlib/longlong.h: Updated from GCC.
40409 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40411         [BZ #14117]
40412         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40413         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40414         sys/debugreg.h sys/io.h here.
40415         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40416         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40417         sys/io.h.
40418         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40419         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40420         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40421         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40422         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40423         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40425         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40426         Define only if __x86_64__ is defined.
40428 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40430         [BZ #14048]
40431         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40432         Use int64_t for variable i.
40433         * math/libm-test.inc (fmod_test): Add more tests.
40435         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40436         z computation is not scheduled after fetestexcept.
40437         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40438         Use math_force_eval instead of asm to ensure calculation scheduled
40439         before exception test.
40440         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40441         Ensure a1 + u.d computation is not scheduled after fetestexcept.
40443 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
40445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40446         computation is not scheduled after fetestexcept.
40448 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40450         [BZ #14117]
40451         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40452         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40454 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40456         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40457         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40459 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40461         [BZ #14117]
40462         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40463         <bits/wordsize.h>.
40464         (__WCHAR_MIN): Support __WORDSIZE == 64.
40465         (__WCHAR_MAX): Likewise.
40467         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40468         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40470         [BZ #14183]
40471         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40472         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40474         [BZ #14117]
40475         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40476         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40478         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40479         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40481         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40482         Defined to 1 if __x86_64__ isn't defined.
40483         (_STAT_VER_LINUX_OLD): New.
40484         (st_atime): Remove duplicate.
40485         (st_mtime): Likewise.
40486         (st_ctime): Likewise.
40488 2012-05-31  David S. Miller  <davem@davemloft.net>
40490         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40491         entries.
40493 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
40495         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40496         gen-libm-test.pl.
40498         [BZ #14132]
40499         * elf/dl-reloc.c: Include <_itoa.h>.
40500         (_dl_reloc_bad_type): Remove use of INTUSE.
40501         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40502         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40503         * stdio-common/psiginfo.c (psiginfo): Likewise.
40504         * stdio-common/psignal.c (psignal): Likewise.
40505         * string/strsignal.c (strsignal): Likewise.
40506         * include/signal.h (_sys_siglist): Declare hidden proto.
40507         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40508         INTVARDEF with libc_hidden_data_def.
40509         * stdio-common/itoa-udigits.c: Likewise.
40510         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40511         (_itoa_lower_digits_internal): Remove declaration.
40512         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40513         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40514         (_sys_sigabbrev_internal): Remove aliases.
40515         (_sys_siglist): Define hidden alias.
40517 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40520         bits/sysctl.h.
40522 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40524         [BZ #14117]
40525         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40526         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40528         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40529         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40530         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40531         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40532         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40533         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40535         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40536         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40537         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40539         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40540         with __addr.
40541         (insw): Likewise.
40542         (insl): Likewise.
40543         (outsb): Likewise.
40544         (outsw): Likewise.
40545         (outsl): Likewise.
40547         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40548         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40549         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40551         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40552         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40553         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40554         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40555         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40556         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40558         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40559         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40561         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40562         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40564         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40565         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40566         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40568         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40569         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40570         to ...
40571         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40573         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40574         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40575         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40577         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40578         for x86-64.
40579         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40581 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40583         * math/math.h (M_El): Use two more decimal places.
40584         (M_LOG2El): Likewise.
40585         (M_LOG10El): Likewise.
40586         (M_LN2l): Likewise.
40587         (M_LN10l): Likewise.
40588         (M_PIl): Likewise.
40589         (M_PI_2l): Likewise.
40590         (M_PI_4l): Likewise.
40591         (M_1_PIl): Likewise.
40592         (M_2_PIl): Likewise.
40593         (M_2_SQRTPIl): Likewise.
40594         (M_SQRT2l): Likewise.
40595         (M_SQRT1_2l): Likewise.
40597 2012-05-31  David S. Miller  <davem@davemloft.net>
40599         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40600         values between float registers.
40601         * sysdeps/sparc/sparc64/memset.S: Likewise.
40602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40604 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40606         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40607         -D_FORTIFY_SOURCE=1.
40608         (CPPFLAGS-tst-longjmp_chk.c): Define.
40609         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40610         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40611         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40612         CFLAGS-tst-wchar-h.c.
40614 2012-05-31  Marek Polacek  <polacek@redhat.com>
40616         [BZ #14132]
40617         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40618         __endmntent_internal): Remove declaration.
40619         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40620         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40621         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40623 2012-05-30  David S. Miller  <davem@davemloft.net>
40625         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40626         (___Q_simulate_exceptions): Use real FP ops rather than writing
40627         into the %fsr.
40628         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40629         Likewise.
40631 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40633         [BZ #14117]
40634         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40635         * sysdeps/x86/bits/xtitypes.h: This.
40637         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40638         * sysdeps/x86/bits/wordsize.h: This.
40640         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40641         * sysdeps/x86/bits/huge_vall.h: This.
40643         * sysdeps/i386/bits/select.h: Removed.
40644         * sysdeps/x86_64/bits/select.h: Renamed to ...
40645         * sysdeps/x86/bits/select.h: This.
40647         * sysdeps/i386/bits/setjmp.h: Removed.
40648         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40649         * sysdeps/x86/bits/setjmp.h: This.
40651         * sysdeps/i386/bits/mathdef.h: Removed.
40652         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40653         * sysdeps/x86/bits/mathdef.h: This.
40655 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40657         [BZ #14132]
40658         * include/sys/socket.h (__connect_internal)
40659         (__libc_sa_len_internal): Remove declaration.
40660         (__connect, __libc_sa_len): Declare hidden_proto.
40661         (SA_LEN): Remove use of INTUSE.
40662         * socket/connect.c: Add libc_hidden_def.
40663         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40664         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40665         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40666         alias.
40667         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40668         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40669         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40670         of adding _internal alias.
40672 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40674         [BZ #14117]
40675         * sysdeps/i386/bits/link.h: Removed.
40676         * sysdeps/i386/bits/linkmap.h: Likewise.
40677         * sysdeps/x86_64/bits/link.h: Renamed to ...
40678         * sysdeps/x86/bits/link.h: This.
40679         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40680         * sysdeps/x86/bits/linkmap.h: This.
40682         * sysdeps/i386/bits/endian.h: Removed.
40683         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40684         * sysdeps/x86/bits/endian.h: This.
40686         * sysdeps/i386/bits/byteswap.h: Removed.
40687         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40688         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40689         * sysdeps/x86/bits/byteswap.h: This.
40690         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40691         * sysdeps/x86/bits/byteswap-16.h: This.
40692         * sysdeps/i386/Implies: Add x86.
40693         * sysdeps/x86_64/Implies: Likewise.
40695 2012-05-30  David S. Miller  <davem@davemloft.net>
40697         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40698         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40699         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40700         (FP_TRAPPING_EXCEPTIONS): Define.
40701         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40702         (FP_TRAPPING_EXCEPTIONS): Define.
40703         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40704         subnormals only when inexact has been signalled or underflow
40705         exceptions are enabled.
40706         (_FP_PACK_CANONICAL): Likewise.
40708 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40710         [BZ #14183]
40711         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40712         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40714 2012-05-30  Richard Henderson  <rth@twiddle.net>
40716         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40717         with #ifndef NOT_IN_libc.
40719         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40720         marked to avoid plt entry.
40722 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40724         [BZ #14112]
40725         * Makeconfig (default-abi): New macro.
40726         (abi-includes): Likewise.
40727         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40728         $(abi-$(default-abi)-lib-soname) for soname if defined.
40729         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40730         abi-variants.
40731         * Makefile (installed-stubs): Likewise.
40732         * include/stubs-biarch.h: Removed.
40733         * scripts/lib-names.awk: Only handle one library at a time.
40734         * scripts/soversions.awk: Remove WORDSIZE support.
40735         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40736         entries.
40737         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40738         Removed.
40739         (syscall-list-default-condition): Likewise.
40740         (syscall-list-default-condition): Likewise.
40741         (syscall-list-includes): Likewise.
40742         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40743         syscall-list-* with abi-*.  Handle undefined abi-variants.
40744         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40745         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40746         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40747         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40748         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40749         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40750         Removed.
40751         (syscall-list-32-options): Likewise.
40752         (syscall-list-32-condition): Likewise.
40753         (syscall-list-64-options): Likewise.
40754         (syscall-list-64-condition): Likewise.
40755         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40756         macro.
40757         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40758         Renamed to ...
40759         (abi-*): This.
40760         (abi-64-ld-soname): New macro.
40761         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40762         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40763         Renamed to ...
40764         (abi-*): This.
40765         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40766         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40768 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40770         * sysdeps/unix/sysv/linux/kernel-features.h
40771         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40772         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40773         include <kernel-features.h>.
40774         [!__NR_ftruncate64]: Remove conditional code.
40775         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40776         [__NR_ftruncate64]: Make code unconditional.
40777         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40778         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40779         include <kernel-features.h>.
40780         [!__NR_ftruncate64]: Remove conditional code.
40781         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40782         [__NR_ftruncate64]: Make code unconditional.
40783         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.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.
40790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40791         include <kernel-features.h>.
40792         [!__NR_ftruncate64]: Remove conditional code.
40793         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40794         [__NR_ftruncate64]: Make code unconditional.
40795         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40797         * configure.in (libc_cv_fpie): Weaken to a compile test using
40798         LIBC_TRY_CC_OPTION.
40799         * configure: Regenerated.
40801 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40807         Refreshed.
40808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40814         Refreshed.
40816 2012-05-27  David S. Miller  <davem@davemloft.net>
40818         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40819         (___Q_zero): New.
40820         (__Q_simulate_exceptions): Return void.  Change to simulate
40821         exceptions by writing into the %fsr.
40822         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40823         (__Qp_handle_exceptions): Likewise.
40824         (numbers): Delete.
40825         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40826         __Qp_handle_exceptions.
40827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40828         __Qp_handle_exceptions.
40829         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40830         as unused and give dummy FP_RND_NEAREST initializer.
40831         (FP_INHIBIT_RESULTS): Define.
40832         (___Q_simulate_exceptions): Update declaration.
40833         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40834         formatting.
40835         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40836         as unused and give dummy FP_RND_NEAREST initializer.
40837         (__Qp_handle_exceptions): Update declaration.
40838         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40839         formatting.
40841 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40843         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40844         the temporary FPU control word.
40845         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40846         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40847         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40848         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40849         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40850         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40851         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40852         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40853         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40854         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40855         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40857 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40859         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40860         fields.
40862 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40864         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40865         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40866         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40867         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40868         Likewise.
40869         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40870         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40871         Likewise.
40873 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40875         * po/h.po: Update from translation team.
40877 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40879         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40881         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40882         handling of denormals.
40883         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40884         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40885         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40886         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40887         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40888         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40889         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40890         Likewise.
40892 2012-05-26  Marek Polacek  <polacek@redhat.com>
40894         [BZ #14152]
40895         * math/libm-test.inc (fma_test): Don't always expect underflow
40896         exception.
40898 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40900         [BZ #12416]
40901         * elf/tst-execstack.c: Include stackinfo.h.
40902         (do_test): Adjust test case to ensure that pthread_getattr_np
40903         behaviour remains the same after marking stack executable.
40905 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40907         * sysdeps/unix/sysv/linux/kernel-features.h
40908         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40909         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40910         kernel-features.h.
40911         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40912         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40913         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40914         kernel-features.h.
40915         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40916         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40918 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40920         * configure.in: Define the default includes to being none.
40921         * configure: Regenerated.
40923 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40925         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40926         * sysdeps/x86_64/setjmp.S: Likewise.
40927         * sysdeps/i386/bsd-setjmp.S: Likewise.
40928         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40929         * sysdeps/i386/setjmp.S: Likewise.
40930         * sysdeps/i386/__longjmp.S: Likewise.
40931         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40932         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40934         * include/stap-probe.h: New file.
40935         * configure.in: Handle --enable-systemtap.
40936         * configure: Regenerated.
40937         * config.h.in (USE_STAP_PROBE): New #undef.
40938         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40939         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40940         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40942 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40944         [BZ #13717]
40945         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40946         to 2.4.0 where earlier.
40947         * sysdeps/unix/sysv/linux/configure: Regenerated.
40948         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40949         <kernel-features.h>.
40950         [__ASSUME_32BITUIDS]: Make code unconditional.
40951         [!__ASSUME_32BITUIDS]: Remove conditional code.
40952         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40953         <kernel-features.h>.
40954         [__ASSUME_32BITUIDS]: Make code unconditional.
40955         [!__ASSUME_32BITUIDS]: Remove conditional code.
40956         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40957         [__ASSUME_32BITUIDS]: Make code unconditional.
40958         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40959         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40960         <kernel-features.h>.
40961         [__ASSUME_32BITUIDS]: Make code unconditional.
40962         [!__ASSUME_32BITUIDS]: Remove conditional code.
40963         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40964         <kernel-features.h>.
40965         [__ASSUME_32BITUIDS]: Make code unconditional.
40966         [!__ASSUME_32BITUIDS]: Remove conditional code.
40967         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40968         <kernel-features.h>.
40969         [__ASSUME_32BITUIDS]: Make code unconditional.
40970         [!__ASSUME_32BITUIDS]: Remove conditional code.
40971         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40972         <kernel-features.h>.
40973         [__ASSUME_32BITUIDS]: Make code unconditional.
40974         [!__ASSUME_32BITUIDS]: Remove conditional code.
40975         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40976         <kernel-features.h>.
40977         [__ASSUME_32BITUIDS]: Make code unconditional.
40978         [!__ASSUME_32BITUIDS]: Remove conditional code.
40979         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40980         <kernel-features.h>.
40981         [__ASSUME_32BITUIDS]: Make code unconditional.
40982         [!__ASSUME_32BITUIDS]: Remove conditional code.
40983         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40984         <kernel-features.h>.
40985         [__ASSUME_32BITUIDS]: Make code unconditional.
40986         [!__ASSUME_32BITUIDS]: Remove conditional code.
40987         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40988         <kernel-features.h>.
40989         [__ASSUME_32BITUIDS]: Make code unconditional.
40990         [!__ASSUME_32BITUIDS]: Remove conditional code.
40991         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40992         <kernel-features.h>.
40993         [__ASSUME_32BITUIDS]: Make code unconditional.
40994         [!__ASSUME_32BITUIDS]: Remove conditional code.
40995         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40996         <kernel-features.h>.
40997         [__ASSUME_32BITUIDS]: Make code unconditional.
40998         [!__ASSUME_32BITUIDS]: Remove conditional code.
40999         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41000         <kernel-features.h>.
41001         [__NR_setresgid] (__setresgid): Do not declare.
41002         [__ASSUME_32BITUIDS]: Make code unconditional.
41003         [!__ASSUME_32BITUIDS]: Remove conditional code.
41004         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41005         <kernel-features.h>.
41006         [__NR_setresuid] (__setresuid): Do not declare.
41007         [__ASSUME_32BITUIDS]: Make code unconditional.
41008         [!__ASSUME_32BITUIDS]: Remove conditional code.
41009         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41010         <kernel-features.h>.
41011         [__ASSUME_32BITUIDS]: Make code unconditional.
41012         [!__ASSUME_32BITUIDS]: Remove conditional code.
41013         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41014         <kernel-features.h>.
41015         [__ASSUME_32BITUIDS]: Make code unconditional.
41016         [!__ASSUME_32BITUIDS]: Remove conditional code.
41017         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41018         <kernel-features.h>.
41019         [__ASSUME_32BITUIDS]: Make code unconditional.
41020         [!__ASSUME_32BITUIDS]: Remove conditional code.
41021         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41022         <kernel-features.h>.
41023         [__ASSUME_32BITUIDS]: Make code unconditional.
41024         [!__ASSUME_32BITUIDS]: Remove conditional code.
41025         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41026         <kernel-features.h>.
41027         [__ASSUME_32BITUIDS]: Make code unconditional.
41028         [!__ASSUME_32BITUIDS]: Remove conditional code.
41029         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41030         <kernel-features.h>.
41031         [__ASSUME_32BITUIDS]: Make code unconditional.
41032         [!__ASSUME_32BITUIDS]: Remove conditional code.
41033         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41034         <kernel-features.h>.
41035         [__ASSUME_32BITUIDS]: Make code unconditional.
41036         [!__ASSUME_32BITUIDS]: Remove conditional code.
41037         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41038         <kernel-features.h>.
41039         [__ASSUME_32BITUIDS]: Make code unconditional.
41040         [!__ASSUME_32BITUIDS]: Remove conditional code.
41041         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41042         <kernel-features.h>.
41043         [__ASSUME_32BITUIDS]: Make code unconditional.
41044         [!__ASSUME_32BITUIDS]: Remove conditional code.
41045         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41046         <kernel-features.h>.
41047         [__ASSUME_32BITUIDS]: Make code unconditional.
41048         [!__ASSUME_32BITUIDS]: Remove conditional code.
41049         * sysdeps/unix/sysv/linux/kernel-features.h
41050         (__ASSUME_SETRESUID_SYSCALL): Remove.
41051         (__ASSUME_SETRESGID_SYSCALL): Likewise.
41052         (__ASSUME_32BITUIDS): Likewise.
41053         (__ASSUME_LDT_WORKS): Likewise.
41054         (__ASSUME_O_DIRECTORY): Likewise.
41055         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41056         architecture but not kernel version.
41057         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41058         (__ASSUME_MMAP2_SYSCALL): Likewise.
41059         (__ASSUME_STAT64_SYSCALL): Likewise.
41060         (__ASSUME_IPC64): Likewise.
41061         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41062         <kernel-features.h>.
41063         [__ASSUME_32BITUIDS]: Make code unconditional.
41064         [!__ASSUME_32BITUIDS]: Remove conditional code.
41065         * sysdeps/unix/sysv/linux/opendir.c: Do not include
41066         <kernel-features.h>.
41067         [__ASSUME_O_DIRECTORY]: Make code unconditional.
41068         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41069         132096]: Remove conditional code.
41070         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41071         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41072         <kernel-features.h>.
41073         [__ASSUME_32BITUIDS]: Make code unconditional.
41074         [!__ASSUME_32BITUIDS]: Remove conditional code.
41075         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41076         <kernel-features.h>.
41077         [__ASSUME_32BITUIDS]: Make code unconditional.
41078         [!__ASSUME_32BITUIDS]: Remove conditional code.
41079         * sysdeps/unix/sysv/linux/setegid.c: Do not include
41080         <kernel-features.h>.
41081         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41082         unconditional.
41083         (__setresgid): Do not declare.
41084         [__ASSUME_32BITUIDS]: Make code unconditional.
41085         [!__ASSUME_32BITUIDS]: Remove conditional code.
41086         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41087         <kernel-features.h>.
41088         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41089         unconditional.
41090         (__setresuid): Do not declare.
41091         [__ASSUME_32BITUIDS]: Make code unconditional.
41092         [!__ASSUME_32BITUIDS]: Remove conditional code.
41093         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41094         <kernel-features.h>.
41095         [__ASSUME_32BITUIDS]: Make code unconditional.
41096         [!__ASSUME_32BITUIDS]: Remove conditional code.
41097         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41098         <kernel-features.h>.
41099         [__ASSUME_32BITUIDS]: Make code unconditional.
41100         [!__ASSUME_32BITUIDS]: Remove conditional code.
41102 2012-05-25  Richard Henderson  <rth@twiddle.net>
41104         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41105         dl_hwcap to ifunc resolver.
41106         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41107         elf_ifunc_invoke.
41108         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41109         dl_hwcap to ifunc resolver.
41110         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41112 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41114         [BZ #14153]
41115         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41116         for |x| <= 2**-26, not 2**-57.
41117         * math/libm-test.inc (acos_test): Do not allow spurious underflow
41118         exception.
41120 2012-05-24  Jeff Law  <law@redhat.com>
41122         * stdio-common/Makefile (tests): Add bug25.
41123         * stdio-common/bug25.c: New test.
41125 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41127         [BZ #13576]
41128         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41129         multiple of MALLOC_ALIGNMENT in size.
41130         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41132 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41134         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41135         Require >= 256.
41136         (FILENAME_MAX): Use macro-int-constant.
41137         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
41138         (_IOFBF): Use macro-int-constant.
41139         (_IOLBF): Likewise.
41140         (_IONBF): Likewise.
41141         (SEEK_CUR): Likewise.
41142         (SEEK_END): Likewise.
41143         (SEEK_SET): Likewise.
41144         (TMP_MAX): Likewise.
41145         (EOF): Use macro-int-constant.  Require < 0.
41146         (NULL): Use macro-constant.  Require == 0.
41147         (stdin): Require type to be FILE *.
41148         (stdout): Likewise.
41149         (stderr): Likewise.
41150         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41151         macro-int-constant.
41152         (EXIT_SUCCESS): Likewise.
41153         (NULL): Use macro-constant.  Require == 0.
41154         (RAND_MAX): Use macro-int-constant.
41155         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41156         [C99-based standards] (strtof): Require function.
41157         [C99-based standards] (strtold): Likewise.
41158         [C99-based standards] (strtoll): Likewise.
41159         [C99-based standards] (strtoull): Likewise.
41160         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41161         [ISO || ISO99 || ISO11] (limits.h): Likewise.
41162         [ISO || ISO99 || ISO11] (math.h): Likewise.
41163         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41164         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41165         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41167 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
41169         [BZ #14132]
41170         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41171         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41172         * intl/dgettext.c (DCGETTEXT): Likewise.
41173         * intl/gettext.c (DCGETTEXT): Likewise.
41174         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41175         * posix/regex_internal.h (gettext): Likewise.
41176         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41177         Remove declaration.
41178         * include/argz.h (__argz_count_internal)
41179         (__argz_stringify_internal): Remove declaration.
41180         (__argz_count, __argz_stringify): Declare hidden proto.
41181         * intl/dcgettext.c: Remove use of INTDEF.
41182         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41183         * string/argz-stringify.c: Likewise.
41184         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41185         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41186         Declare hidden proto.
41187         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41188         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41189         Declare hidden proto.
41190         * include/stdio.h (__asprintf_internal): Don't declare.
41191         (__asprintf): Don't define as macro.  Declare hidden proto.
41192         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41193         (__fsetlocking): Declare hidden proto.
41194         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41195         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41196         hidden proto.
41197         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41198         (_IO_setlinebuf): Remove use of INTUSE.
41199         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41200         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41201         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41202         Remove declaration.
41203         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41204         (_IO_do_flush): Remove use of INTUSE.
41205         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41206         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41207         (_IO_adjust_column, _IO_least_wmarker)
41208         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41209         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41210         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41211         (_IO_default_doallocate, _IO_wdefault_doallocate)
41212         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41213         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41214         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41215         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41216         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41217         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41218         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41219         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41220         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41221         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41222         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41223         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41224         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41225         proto.
41226         (_IO_flush_all_internal, _IO_adjust_column_internal)
41227         (_IO_default_uflow_internal, _IO_default_finish_internal)
41228         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41229         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41230         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41231         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41232         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41233         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41234         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41235         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41236         (_IO_file_close_internal, _IO_file_close_it_internal)
41237         (_IO_file_underflow_internal, _IO_file_overflow_internal)
41238         (_IO_file_init_internal, _IO_file_attach_internal)
41239         (_IO_file_fopen_internal, _IO_file_read_internal)
41240         (_IO_file_sync_internal, _IO_file_seek_internal)
41241         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41242         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41243         (_IO_str_underflow_internal, _IO_str_overflow_internal)
41244         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41245         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41246         (_IO_list_all_internal, _IO_link_in_internal)
41247         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41248         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41249         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41250         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41251         (_IO_do_write_internal, _IO_padn_internal)
41252         (_IO_getline_info_internal, _IO_getline_internal)
41253         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41254         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41255         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41256         (_IO_vfscanf_internal, _IO_vfprintf_internal)
41257         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41258         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41259         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41260         with libc_hidden_ver, remove use of INTUSE.
41261         * libio/genops.c: Likewise.
41262         * libio/freopen.c: Likewise.
41263         * libio/freopen64.c: Likewise.
41264         * libio/iofclose.c: Likewise.
41265         * libio/iofdopen.c: Likewise.
41266         * libio/iofflush.c: Likewise.
41267         * libio/iofflush_u.c: Likewise.
41268         * libio/iofgets.c: Likewise.
41269         * libio/iofgets_u.c: Likewise.
41270         * libio/iofopen.c: Likewise.
41271         * libio/iofopncook.c: Likewise.
41272         * libio/iofread.c: Likewise.
41273         * libio/iofread_u.c: Likewise.
41274         * libio/ioftell.c: Likewise.
41275         * libio/iofwrite.c: Likewise.
41276         * libio/iogetline.c: Likewise.
41277         * libio/iogets.c: Likewise.
41278         * libio/iogetwline.c: Likewise.
41279         * libio/iopadn.c: Likewise.
41280         * libio/iopopen.c: Likewise.
41281         * libio/ioseekoff.c: Likewise.
41282         * libio/ioseekpos.c: Likewise.
41283         * libio/iosetbuffer.c: Likewise.
41284         * libio/iosetvbuf.c: Likewise.
41285         * libio/ioungetc.c: Likewise.
41286         * libio/ioungetwc.c: Likewise.
41287         * libio/iovdprintf.c: Likewise.
41288         * libio/iovsprintf.c: Likewise.
41289         * libio/iovsscanf.c: Likewise.
41290         * libio/memstream.c: Likewise.
41291         * libio/obprintf.c: Likewise.
41292         * libio/oldfileops.c: Likewise.
41293         * libio/oldiofclose.c: Likewise.
41294         * libio/oldiofdopen.c: Likewise.
41295         * libio/oldiofopen.c: Likewise.
41296         * libio/oldiopopen.c: Likewise.
41297         * libio/oldstdfiles.c: Likewise.
41298         * libio/putc.c: Likewise.
41299         * libio/setbuf.c: Likewise.
41300         * libio/setlinebuf.c: Likewise.
41301         * libio/stdfiles.c: Likewise.
41302         * libio/strops.c: Likewise.
41303         * libio/vasprintf.c: Likewise.
41304         * libio/vscanf.c: Likewise.
41305         * libio/vsnprintf.c: Likewise.
41306         * libio/vswprintf.c: Likewise.
41307         * libio/wfiledoalloc.c: Likewise.
41308         * libio/wfileops.c: Likewise.
41309         * libio/wgenops.c: Likewise.
41310         * libio/wmemstream.c: Likewise.
41311         * libio/wstrops.c: Likewise.
41312         * libio/__fpurge.c: Likewise.
41313         * libio/__fsetlocking.c: Likewise.
41314         * assert/assert.c: Likewise.
41315         * debug/fgets_chk.c: Likewise.
41316         * debug/fgets_u_chk.c: Likewise.
41317         * debug/fread_chk.c: Likewise.
41318         * debug/fread_u_chk.c: Likewise.
41319         * debug/gets_chk.c: Likewise.
41320         * debug/obprintf_chk.c: Likewise.
41321         * debug/vasprintf_chk.c: Likewise.
41322         * debug/vdprintf_chk.c: Likewise.
41323         * debug/vsnprintf_chk.c: Likewise.
41324         * debug/vsprintf_chk.c: Likewise.
41325         * malloc/mtrace.c: Likewise.
41326         * misc/error.c: Likewise.
41327         * misc/syslog.c: Likewise.
41328         * stdio-common/asprintf.c: Likewise.
41329         * stdio-common/fxprintf.c: Likewise.
41330         * stdio-common/getw.c: Likewise.
41331         * stdio-common/isoc99_fscanf.c: Likewise.
41332         * stdio-common/isoc99_scanf.c: Likewise.
41333         * stdio-common/isoc99_vfscanf.c: Likewise.
41334         * stdio-common/isoc99_vscanf.c: Likewise.
41335         * stdio-common/isoc99_vsscanf.c: Likewise.
41336         * stdio-common/printf-prs.c: Likewise.
41337         * stdio-common/printf_fp.c: Likewise.
41338         * stdio-common/printf_fphex.c: Likewise.
41339         * stdio-common/printf_size.c: Likewise.
41340         * stdio-common/putw.c: Likewise.
41341         * stdio-common/scanf.c: Likewise.
41342         * stdio-common/sprintf.c: Likewise.
41343         * stdio-common/tmpfile.c: Likewise.
41344         * stdio-common/vfprintf.c: Likewise.
41345         * stdio-common/vfscanf.c: Likewise.
41346         * stdlib/strfmon_l.c: Likewise.
41347         * sunrpc/openchild.c: Likewise.
41348         * sunrpc/xdr_stdio.c: Likewise.
41349         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41350         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41352 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41354         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41356         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41357         in the third column, to generate for the shared library an IFUNC
41358         that uses _dl_vdso_vsym.
41359         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41360         * Makeconfig (object-suffixes-noshared): New variable.
41362         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41363         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41364         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41365         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41367         [BZ #14132]
41368         * include/sys/time.h (__gettimeofday): Remove macro.
41369         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41370         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41371         Remove INTDEF.
41372         (__gettimeofday): Add libc_hidden_def.
41373         (gettimeofday): Add libc_hidden_weak.
41374         * sysdeps/mach/gettimeofday.c: Likewise.
41375         * sysdeps/posix/gettimeofday.c: Likewise.
41376         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41377         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41378         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41379         (__gettimeofday_internal): Remove strong_alias.
41380         (__gettimeofday): Add libc_hidden_def.
41381         (gettimeofday): Add libc_hidden_weak.
41382         * sysdeps/unix/syscalls.list (gettimeofday):
41383         Remove __gettimeofday_internal alias.
41385 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41386             H.J. Lu  <hongjiu.lu@intel.com>
41388         [BZ #12495]
41389         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41390         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41391         (largebin_index_32_big): New.
41392         (largebin_index): Use it for 16-byte alignment.
41393         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41394         correction with front_misalign.
41396 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41400         Likewise.
41401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41402         Likewise.
41403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41404         Likewise.
41405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41406         Likewise.
41407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41408         Likewise.
41409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41410         Likewise.
41411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41412         Likewise.
41413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41414         Likewise.
41415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41416         Likewise.
41417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41418         Likewise.
41419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41420         Likewise.
41421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41422         Likewise.
41424         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41425         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41427 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41429         [BZ #10846]
41430         [BZ #14036]
41431         * math/libm-test.inc (exp_test): Add test from bug 14036.
41432         (pow_test): Add test from bug 10846.
41434         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41435         and other flags.
41436         (special_function): Do not include flags in test name.
41437         (parse_args): Likewise.
41438         * sysdeps/i386/fpu/libm-test-ulps: Update.
41439         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41440         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41441         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41444         * math/gen-libm-test.pl (%beautify): Add entries for underflow
41445         exceptions.
41446         * math/libm-test.inc ("Philosophy"): Update comment about
41447         exception testing.
41448         (UNDERFLOW_EXCEPTION): New macro.
41449         (UNDERFLOW_EXCEPTION_OK): Likewise.
41450         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41451         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41452         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41453         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41454         (INVALID_EXCEPTION_OK): Update value.
41455         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41456         (OVERFLOW_EXCEPTION_OK): Likewise.
41457         (IGNORE_ZERO_INF_SIGN): Likewise.
41458         (test_exceptions): Handle underflow exceptions.
41459         (acos_test): Update for underflow exception expectations.
41460         (cexp_test): Likewise.
41461         (clog_test): Likewise.
41462         (clog10_test): Likewise.
41463         (csqrt_test): Likewise.
41464         (ctan_test): Likewise.
41465         (ctanh_test): Likewise.
41466         (exp_test): Likewise.
41467         (exp10_test): Likewise.
41468         (exp2_test): Likewise.
41469         (expm1_test): Likewise.
41470         (fma_test): Likewise.
41471         (j0_test): Likewise.
41472         (jn_test): Likewise.
41473         (nexttoward_test): Likewise.
41474         (pow_test): Likewise.
41475         (scalbn_test): Likewise.
41476         (scalbln_test): Likewise.
41477         (tan_test): Likewise.
41478         (y1_test): Likewise.
41479         * sysdeps/i386/fpu/libm-test-ulps: Update.
41480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41482 2012-05-23  David S. Miller  <davem@davemloft.net>
41484         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41485         (__libc_sigaction): Remove unused local variables.
41487 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41489         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41491 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
41493         mktime: avoid signed integer overflow
41494         * time/mktime.c (__mktime_internal): Do not mishandle the case
41495         where diff == INT_MIN.
41497         mktime: simplify computation of average
41498         * time/mktime.c (ranged_convert): Use new time_t_avg function
41499         instead of rolling our own (probably-slower) code.
41501         mktime: do not assume signed right shift propagates sign bit
41502         * time/mktime.c (isdst_differ): New static function.
41503         (__mktime_internal): No need to normalize tm_isdst now.
41504         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41505         tm_isdst values.
41507         mktime: merge another wrapv change from gnulib
41508         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41509         from some compilers.
41511         mktime: remove incorrect attempt at unusual arithmetics
41512         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41513         The code didn't really work on such machines anyway.
41514         (TYPE_MINIMUM): Assume two's complement.
41515         (twos_complement_arithmetic): Verify that long_int and time_t
41516         are two's complement (or unsigned, in the latter case).
41518         mktime: check signed shifts on long_int and time_t, too
41519         * time/mktime.c (SHR): Check that shifts work as desired
41520         on the types long_int and time_t too, as SHR is used on
41521         such types.
41523         mktime: do not assume 'long' is wide enough
41524         * time/mktime.c (verify): Move decl up.
41525         (long_int): New type.
41526         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41527         to remove assumption in the code that 'long' is wide enough to
41528         store year values.  This assumption is not true on x32 and on
41529         some non-glibc platforms.
41531         mktime: merge wrapv change from gnulib
41532         * time/mktime.c (WRAPV): New macro.
41533         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41534         (guess_time_tm, __mktime_internal): Do not assume that signed
41535         integer overflow wraps around; modern compilers generate code
41536         where this assumption is no longer valid.
41538 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41540         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41541         Replace "jmp L(pseudo_end)" with "ret".
41542         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41543         Likewise.
41545 2012-05-23  Andreas Jaeger  <aj@suse.de>
41547         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41548         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41550 2012-05-23  Andreas Jaeger  <aj@suse.de>
41551             Maximilian Attems  <max@stro.at>
41553         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41554         New macros.
41556 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41558         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41559         code so that pseudo_end is just ret and the stack pointer is
41560         correct also for static library in error case.
41562 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41564         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41565         move to syscalls.list.
41566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41571         * manual/install.texi (Running make install): Do not mention Linux
41572         kernel version for which pt_chown is not needed.
41573         (Linux): Do not mention problems with nscd with 2.0 kernels.
41574         * INSTALL: Regenerated.
41576 2012-05-23  Andreas Jaeger  <aj@suse.de>
41578         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41579         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41580         macro.
41581         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41582         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41583         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41584         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41585         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41586         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41587         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41588         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41589         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41590         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41591         * sysdeps/unix/sysv/linux/bits/in.h
41592         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41594 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41596         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41597         (PREPARE_VERSION): Just use assert instead, it will be elided
41598         under [NDEBUG] anyway.
41600 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41602         * sysdeps/unix/sysv/linux/Makefile: Include
41603         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41604         (sysdep_routines): Remove sysctl.
41605         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41606         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41607         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41608         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41609         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41611 2012-05-22  Andreas Jaeger  <aj@suse.de>
41613         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41614         that pseudo_end is just ret and the stack pointer is correct also
41615         for static library in error case.
41617 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41619         [BZ #14122]
41620         * nss/nsswitch.c (defconfig_entries): New variable.
41621         (__nss_database_lookup): Don't leak defconfig entries.
41622         (nss_parse_service_list): Don't leak on error paths.
41623         (free_database_entries): New function.
41624         (free_defconfig): New function.
41625         (free_mem): Move common code to free_database_entries.
41627 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41629         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41630         Add arch_prctl.
41631         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41633         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41634         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41636         New macro.
41637         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41638         (INTERNAL_SYSCALL_TYPES): Likewise.
41639         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41640         (LOAD_REGS_TYPES_[1-6]): Likewise.
41641         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41642         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41644 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41646         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41647         copysignl for GLIBC_2_0.
41648         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41649         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41650         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41651         logbl for GLIBC_2_0.
41652         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41653         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41655 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41657         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41658         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41660         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41661         Use "neg %eax".
41663         * time/mktime.c: Update copyright years.
41665 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41667         mktime: merge comment-quoting-style change from gnulib
41668         * time/mktime.c: Quote 'like this' in comments.
41669         The GNU coding standards suggest that we no longer quote `like this',
41670         as "`" and "'" are typically rendered asymmetrically nowadays.
41671         The typical gnulib style is to quote 'like this' when quoting
41672         code, and "like this" when quoting English.
41674         * time/mktime.c (compile-command): Add "-I.".
41676         mktime: merge mktime-internal.h change from gnulib
41677         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41679         mktime: merge time_r change from gnulib
41680         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41682         mktime: merge DEBUG change from gnulib
41683         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41684         case system <time.h> has a #define.
41686         mktime: merge <sys/types.h> change from gnulib
41687         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41688         since <time.t> is now guaranteed to define time_t.
41690         mktime: merge HAVE_CONFIG_H change from gnulib
41691         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41693 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41695         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41696         Use "neg %eax".
41698         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41699         __rlim_t cast.
41700         (struct rusage): Use anonymous union to pad each field to
41701         __syscall_slong_t.
41703 2012-05-21  David S. Miller  <davem@davemloft.net>
41705         * Makefules (o-iterator): Remove .s cases.
41706         (compile-command.s): Delete.
41707         (COMPILE.s): Delete.
41708         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41710 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41712         * configure.in (libc_cv_predef_stack_protector): Only consider
41713         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41714         * configure: Regenerated.
41716 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41718         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41719         New macro.  Use R*LP on int and pointer.
41720         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41721         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41722         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41723         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41725         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41726         [__WORDSIZE_TIME64_COMPAT32] instead of
41727         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41728         (struct utmp): Likewise.
41729         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41730         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41731         Renamed to ...
41732         (__WORDSIZE_TIME64_COMPAT32): This.
41733         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41734         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41735         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41736         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41737         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41738         (__WORDSIZE_TIME64_COMPAT32): New macro.
41740 2012-05-21  Andreas Jaeger  <aj@suse.de>
41742         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41743         only if [SHARED]. Add prototype for __wcschr_ia32.
41745 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41747         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41748         of %rbp unmolested in the jmp_buf while mangling the low bits.
41749         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41750         unmolested high bits of %rbp while demangling the low bits.
41751         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41753 2012-05-21  Andreas Jaeger  <aj@suse.de>
41755         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41756         * sunrpc/svc_simple.c: Use it for registerrpc.
41757         * sunrpc/xcrypt.c: Use it for passwd2des.
41759         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41761 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41763         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41764         Don't define if [__SYSCALL_WORDSIZE != 32].
41765         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41766         New macro.
41768 2012-05-21  Bruno Haible  <bruno@clisp.org>
41769             Andreas Jaeger  <aj@suse.de>
41771         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41772         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41773         inptr and inend for must_buffer_ch.
41774         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41775         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41776         * stdio-common/Makefile (tests): Remove bug15.
41777         (bug15-ENV): Remove macro.
41778         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41779         anymore.
41781 2012-05-19  Andreas Jaeger  <aj@suse.de>
41782             Roland McGrath  <roland@hack.frob.com>
41784         * manual/contrib.texi: Completely rewritten. It contains now an
41785         alphabetical list of contributors and their contributions.
41787 2012-05-21  Richard Henderson  <rth@twiddle.net>
41789         * misc/getauxval.c (__getauxval): Use unsigned long int.
41790         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41791         (getauxval): Use unsigned long int.
41793 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41795         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41797 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41799         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41800         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41801         __alignof__ (long double).
41803 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41807 2012-05-20  Richard Henderson  <rth@twiddle.net>
41809         * misc/getauxval.c: New file.
41810         * misc/sys/auxv.h: New file.
41811         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41812         (routines): Add getauxval.
41813         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41814         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41815         * elf/dl-sysdep.c (_dl_auxv): Remove.
41816         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41817         * elf/dl-support.c (_dl_auxv): New variable.
41818         (_dl_aux_init): Initialize it.
41819         * manual/startup.texi (Auxiliary Vector): New node.
41820         * sysdeps/generic/bits/hwcap.h: New file.
41821         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41822         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41823         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41824         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41825         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41826         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41828         Update.
41829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41832         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41838 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41842 2012-05-19  David S. Miller  <davem@davemloft.net>
41844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41846 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41848         [BZ #14123]
41849         * math/s_ccosh.c: Include <float.h>
41850         (__ccosh): Avoid internal overflow calculating sinh and cosh
41851         values before multiplying by sin and cos values.
41852         * math/s_ccoshf.c: Likewise.
41853         * math/s_ccoshl.c: Likewise.
41854         * math/s_csin.c: Likewise.
41855         * math/s_csinf.c: Likewise.
41856         * math/s_csinl.c: Likewise.
41857         * math/s_csinh.c: Likewise.
41858         * math/s_csinhf.c: Likewise.
41859         * math/s_csinhl.c: Likewise.
41860         * math/libm-test.inc (ccos_test): Add more tests.
41861         (ccosh_test): Likewise.
41862         (csin_test): Likewise.
41863         (csinh_test): Likewise.
41864         * sysdeps/i386/fpu/libm-test-ulps: Update.
41865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41867 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41869         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41870         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41872         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41874 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41876         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41877         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41878         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41879         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41880         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41881         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41882         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41883         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41884         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41885         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41886         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41887         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41888         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41889         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41890         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41891         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41892         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41893         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41894         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41895         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41896         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41897         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41898         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41899         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41900         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41901         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41902         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41903         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41904         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41905         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41906         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41908 2012-05-18  Andreas Jaeger  <aj@suse.de>
41910         * csu/.gitignore: Delete.
41912 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41914         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41915         (timex): Use __syscall_slong_t.
41917 2012-05-18  Andreas Jaeger  <aj@suse.de>
41918             Carlos O'Donell  <carlos_odonell@mentor.com>
41920         * manual/install.texi (Configuring and compiling): Update
41921         description about files modified in the source directory.
41922         * INSTALL: Regenerated.
41924 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41926         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41927         value.  Use "or" to set return value to -1.
41928         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41929         negate return value.
41931 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41933         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41934         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41935         failure if the compiler has Graphite support disabled.
41936         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41937         Likewise.
41938         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41939         (CFLAGS-memmove.c): Likewise.
41940         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41941         Likewise.
41943 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41945         * sysdeps/x86_64/x32/_itoa.h: New file.
41947         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41948         getdents system call only if kernel and user dirents have the
41949         same d_ino and d_off.
41951         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41952         LLONG_MAX != LONG_MAX.
41953         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41954         (_fitoa_word): Likewise.
41956         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41957         years.
41958         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41959         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41960         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41962         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41963         include <bits/wordsize.h>.  Check __x86_64__ instead of
41964         __WORDSIZE.
41965         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41966         if __x86_64__ is defined.  Use anonymous union on fpstate.
41968         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41969         anonymous union.
41971 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41973         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41974         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41975         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41976         Refer to _rtld_local_ro instead of _rtld_global_ro.
41977         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41978         Likewise.
41979         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41980         Likewise.
41981         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41982         Likewise.
41983         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41984         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41985         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41987         * sysdeps/powerpc/powerpc32/dl-machine.c
41988         (__elf_machine_runtime_setup) [PROF]: Don't reference
41989         _dl_prof_resolve.
41991 2012-05-18  Andreas Jaeger  <aj@suse.de>
41993         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41994         function only available for GCCs before 3.4 since GCC 3.4
41995         introduced a builtin.
41996         (lrint): Likewise.
41997         (llrintf): Likewise.
41998         (llrint): Likewise.
41999         (fmaxf): Likewise.
42000         (fmax): Likewise.
42001         (fminf): Likewise.
42002         (fmin): Likewise.
42003         (rint): Likewise.
42004         (rintf): Likewise.
42005         (nearbyint): Likewise.
42006         (nearbyintf): Likewise.
42007         (ceil): Likewise.
42008         (ceilf): Likewise.
42009         (floor): Likewise.
42010         (floorf): Likewise.
42012 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42014         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42015         on both fields and cast pointer to __syscall_ulong_t.
42017         * bits/types.h (__fsword_t): New type.
42018         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42019         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42020         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42021         (__FSWORD_T_TYPE): Likewise.
42022         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42023         (__FSWORD_T_TYPE): Likewise.
42024         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42025         (__FSWORD_T_TYPE): Likewise.
42026         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42027         (__FSWORD_T_TYPE): Likewise.
42028         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42029         __SWORD_TYPE with __fsword_t.
42030         (statfs64): Likewise.
42032 2012-05-17  David S. Miller  <davem@davemloft.net>
42034         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42036 2012-05-17  Andreas Jaeger  <aj@suse.de>
42038         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42039         warning.
42041 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42043         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42045 2012-05-17  Andreas Jaeger  <aj@suse.de>
42047         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42048         when it is used.
42050 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42052         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42054 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42056         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42057         * sysdeps/x86_64/tst-mallocalign1.c: New file.
42059 2012-05-17  Andreas Jaeger  <aj@suse.de>
42060             Carlos O'Donell  <carlos_odonell@mentor.com>
42062         [BZ #14059]
42063         * sysdeps/x86_64/multiarch/init-arch.h
42064         (bit_YMM_Usable): Rename to...
42065         (bit_AVX_Usable): ... this.
42066         (bit_FMA4_Usable): New macro.
42067         (bit_XMM_state): New macro.
42068         (bit_YMM_state): New macro.
42069         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42070         [__ASSEMBLER__] (index_AVX_Usable): ... this.
42071         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42072         (CPUID_OSXSAVE): New macro.
42073         (CPUID_AVX): New macro.
42074         (CPUID_FMA4): New macro.
42075         (index_YMM_Usable): Rename to...
42076         (index_AVX_Usable): ... this.
42077         (HAS_AVX): Use HAS_ARCH_FEATURE.
42078         (HAS_FMA4): Likewise.
42079         (HAS_YMM_USABLE): Remove.
42080         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42081         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42082         are present.
42083         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42084         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42085         * sysdeps/x86_64/multiarch/Makefile: Likewise.
42086         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42087         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42089 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42091         * math/libm-test.c: Support platforms without multiple rounding modes.
42092         * math/bug-nextafter.c: Support platforms without FP exceptions.
42093         * math/bug-nexttoward.c: Likewise.
42094         * math/test-fenv.c: Likewise.
42095         * math/test-misc.c: Likewise.
42096         * stdlib/bug-getcontext.c: Likewise.
42098 2012-05-17  Andreas Jaeger  <aj@suse.de>
42100         * manual/examples/search.c (critter_cmp): Change signature to
42101         avoid warnings.
42102         * manual/string.texi (Collation Functions): Likewise.
42104 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42106         * bits/types.h: Fold copyright years.
42107         * bits/typesizes.h: Likewise.
42108         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42109         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42110         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42111         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42112         * time/time.h: Likewise.
42114 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
42116         [BZ #208]
42117         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42118         in instead of returning them.  Return void.
42119         (__libc_mallinfo): Accumulate over all arenas.
42120         (__malloc_stats): Adjust for change in int_mallinfo interface.
42122 2012-05-16  Roland McGrath  <roland@hack.frob.com>
42124         [BZ #10375]
42125         * configure.in (NM): Add AC_CHECK_TOOL for it.
42126         (libc_extra_cflags): New substituted variable.
42127         Check for -fstack-protector being used implicitly.
42128         * configure: Regenerated.
42129         * config.make.in (config-extra-cflags): New variable,
42130         gets @libc_extra_cflags@.
42131         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42133         [BZ #10375]
42134         * configure.in: Check for _FORTIFY_SOURCE being predefined.
42135         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42136         * configure: Regenerated.
42137         * config.make.in (CPPUNDEFS): New substituted variable.
42138         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42139         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42140         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42142 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42144         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42145         (mq_attr): Use __syscall_slong_t.
42147 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42149         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42150         Check __x86_64__ instead of __WORDSIZE.
42151         (_STAT_VER_LINUX): Likewise.
42152         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
42153         __syscall_ulong_t and __syscall_slong_t.
42154         (stat64): Likewise.
42156 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42158         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42160 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42162         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42164 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42166         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42167         __syscall_ulong_t.
42169         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42170         include <bits/wordsize.h>.  Check __x86_64__ instead of
42171         __WORDSIZE.
42172         (greg_t): Use "__extension__ long long int" if __x86_64__ is
42173         defined.
42174         (mcontext_t): Replace "unsigned long" with "unsigned long long".
42176         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42177         include <bits/wordsize.h>.  Check __x86_64__ instead of
42178         __WORDSIZE.
42179         (user_regs_struct): Use "__extension__ unsigned long long"
42180         instead of "unsigned long" if __x86_64__ is defined.
42181         (user): Likewise.  Pad after pointer field if __ILP32__ is
42182         defined.
42184 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
42186         * configure.in (makeinfo): Require version 4.5 or later.  Allow
42187         versions 5 to 9.
42188         * configure: Regenerated.
42189         * manual/install.texi (texinfo): Increase version requirement to
42190         4.5 or later.
42191         * INSTALL: Regenerated.
42193         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42195 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42197         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42199         * sysdeps/x86_64/x32/ffs.c: New file.
42201         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42202         __syscall_ulong_t.
42203         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42204         defined.  Use __syscall_ulong_t.
42205         (shminfo): Use __syscall_ulong_t.
42206         (shm_info): Likewise.
42208         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42209         __syscall_ulong_t.
42211         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42212         <bits/wordsize.h>.
42213         (msgqnum_t): Use __syscall_ulong_t.
42214         (msglen_t): Likewise.
42215         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
42216         __syscall_ulong_t.
42218         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42219         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42221         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42223         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42224         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42226         * sysvipc/sys/msg.h (msgbuf): Replace long int with
42227         __syscall_slong_t.
42229         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42230         include <bits/wordsize.h>.  Check __x86_64__ instead of
42231         __WORDSIZE.
42233         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42234         "unsigned long long int" if __x86_64__ is defined.
42235         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42237         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42238         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42239         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42241         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42242         <stdint.h>.
42243         (GET_PC): Cast to uintptr_t first.
42244         (GET_FRAME): Likewise.
42245         (GET_STACK): Likewise.
42247         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42248         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42249         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42250         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42251         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42252         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42253         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42254         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42255         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42256         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42257         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42258         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42259         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42260         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42261         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42262         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42263         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42264         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42265         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42266         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42267         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42268         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42269         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42270         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42271         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42272         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42273         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42274         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42275         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42277 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42279         * Makerules (+depfiles): Also collect depfiles from .oS in
42280         $(extra-objs).
42281         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42282         .oS, $(libnldbl-routines)).
42284         * Makerules (native-compile-mkdep-flags): Define.
42285         * sunrpc/Makefile (extra-objs): Add $(addprefix
42286         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42287         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42288         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42289         calling $(make-target-directory).
42291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42293         * bits/types.h (__snseconds_t): Removed.
42294         * time/time.h (struct timespec): Replace __snseconds_t with
42295         __syscall_slong_t.
42296         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42297         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42298         Likewise.
42299         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42300         (__SNSECONDS_T_TYPE): Likewise.
42301         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42302         (__SNSECONDS_T_TYPE): Likewise.
42303         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42304         (__SNSECONDS_T_TYPE): Likewise.
42306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42308         * sysdeps/mach/hurd/bits/typesizes.h
42309         (__SYSCALL_SLONG_TYPE): New macro.
42310         (__SYSCALL_ULONG_TYPE): Likewise.
42312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42314         * bits/types.h (__syscall_slong_t): New type.
42315         (__syscall_ulong_t): Likewise.
42317         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42318         (__SYSCALL_ULONG_TYPE): Likewise.
42319         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42320         (__SYSCALL_SLONG_TYPE): Likewise.
42321         (__SYSCALL_ULONG_TYPE): Likewise.
42322         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42323         (__SYSCALL_SLONG_TYPE): Likewise.
42324         (__SYSCALL_ULONG_TYPE): Likewise.
42325         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42326         (__SYSCALL_SLONG_TYPE): Likewise.
42327         (__SYSCALL_ULONG_TYPE): Likewise.
42329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42331         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42332         Add sigaltstack-offsets.sym.
42333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42334         <sigaltstack-offsets.h>.
42335         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42336         longjmp_msg pointer.
42337         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42338         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42339         signal stack.
42340         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42342 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42344         * elf/stackguard-macros.h: Remove file.
42345         * sysdeps/generic/stackguard-macros.h: New file.
42346         * sysdeps/i386/stackguard-macros.h: Likewise.
42347         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42348         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42349         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42350         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42351         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42352         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42353         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42354         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42355         <elf/stackguard-macros.h>.
42357         [BZ #14109]
42358         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42359         __aligned__ in attribute.
42360         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42361         (gregset_t): Likewise.
42363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42365         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42366         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42367         * sysdeps/x86_64/x32/Implies-after: New file.
42369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42371         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42372         and access return value for _dl_profile_fixup.  Use R10_LP to
42373         load frame size.
42375 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42377         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42381         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42382         * sysdeps/x86_64/x32/sysdep.h: New file.
42384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42386         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42387         * sysdeps/x86_64/setjmp.S: Likewise.
42389 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42391         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42392         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42393         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42394         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42395         remove unused global constant.
42397 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42399         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42400         include of <not-cancel.h>.
42402 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42404         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42406 2012-05-15  Jeff Law  <law@redhat.com>
42407             Andreas Jaeger  <aj@suse.de>
42409         [BZ #13594]
42410         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42411         out from...
42412         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42413         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42414         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42415         code changing __hst_map_handle.map.
42417 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42419         * configure.in (sysnames): Look for Implies-before and Implies-after
42420         files.
42421         * configure: Regenerated.
42423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42425         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42426         8-byte data alignment with LP_SIZE alignment.
42428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42430         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42431         into R10_LP.
42433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42435         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42439         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42440         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42441         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42442         Likewise.
42443         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42447         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42448         (stackinfo_sub_sp): Likewise.
42450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42452         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42453         RAX_LP.
42455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42457         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42458         into R*_LP.
42460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42462         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42463         sizes into R*_LP.
42465 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42467         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42471         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42472         into R11_LP and load __x86_64_shared_cache_size_half into
42473         R8_LP.
42475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42477         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42478         R8_LP.
42480 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42482         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42483         logb for POWER7.
42484         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42485         logbf for POWER7.
42486         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42487         logbl for POWER7.
42488         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42489         powerpc32/power7/fpu/s_logb.c via #include.
42490         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42491         powerpc32/power7/fpu/s_logbf.c via #include.
42492         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42493         powerpc32/power7/fpu/s_logbl.c via #include.
42495 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42497         * README.libm: Remove file.
42499 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42501         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42502         count for x32.  Use R*_LP and omit operand-size suffix.
42504 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42506         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42507         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42508         * sysdeps/x86_64/x32/shlib-versions: New file.
42510 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42512         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42513         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42514         Use _dl_fatal_printf instead.
42516 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42518         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42519         set if not set by the user.  Do not allow for being unset.
42520         * sysdeps/unix/sysv/linux/configure: Regenerated.
42522 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42524         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42525         the `q' suffix from lea and replace .quad with ASM_ADDR.
42527 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42530         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42531         instead of $17.
42532         (PTR_DEMANGLE): Likewise.
42534 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42536         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42537         (LP_OP): Likewise.
42538         (ASM_ADDR): Likewise.
42539         (RAX_LP): Likewise.
42540         (RBP_LP): Likewise.
42541         (RBX_LP): Likewise.
42542         (RCX_LP): Likewise.
42543         (RDI_LP): Likewise.
42544         (RSI_LP): Likewise.
42545         (RSP_LP): Likewise.
42546         (R8_LP): Likewise.
42547         (R9_LP): Likewise.
42548         (R10_LP): Likewise.
42549         (R10_LP): Likewise.
42550         (R11_LP): Likewise.
42551         (R12_LP): Likewise.
42552         (R13_LP): Likewise.
42553         (R14_LP): Likewise.
42554         (R15_LP): Likewise.
42556 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42558         * sysdeps/x86_64/x32/dl-machine.h: New file.
42560 2012-05-14  Andreas Jaeger  <aj@suse.de>
42562         * manual/Makefile (subdir): Remove export of subdir.
42563         (all): Remove target.
42564         (.PHONY): Remove all from list.
42565         (mkinstalldirs): Remove.
42566         (.PHONY): Remove installdirs from list.
42567         ($(inst_infodir)/libc.info): Use make-target-directory.
42568         (installdirs): Remove.
42569         (subdir_%): Remove.
42570         (glibc-targets): Remove.
42571         (lib): Remove.
42572         (stubs): Remove.
42573         ($(objpfx)stubs ../po/manual.pot): Remove.
42574         ($(objpfx)stamp%): Remove.
42575         (make-target-directory): Remove.
42576         (subdir_install): Remove.
42577         (routines): Remove.
42578         (aux): Remove.
42579         (sources): Remove.
42580         (objects): Remove.
42581         (headers): Remove.
42583         [BZ #13750]
42584         * manual/.gitignore: Remove, it's not needed anymore.
42585         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42586         all files in it.
42587         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42588         directory.
42589         (texis): Renamed to $(objpfx)texis.
42590         (texis-path): New, contains path to generated files.
42591         (chapters.%): Use texis-path for complete path, add extra argument
42592         libc-texinfo.sh.
42593         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42594         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42595         (summary,texi, stamp-summary): Use complete path of
42596         files. Generate files in build dir.
42597         (dir-add.texi): Build in build dir.
42598         (libm-err.texi,stamp-libm-err): Likewise.
42599         (version.texi, stamp-version): Likewise.
42600         (.%c.texi): Likewise.
42601         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42602         (mostlyclean): Remove target.
42603         (realclean): Remove target.
42604         (generated): Add new variable with contents from mostlyclean and
42605         realclean, remove entries duplicated in common-mostlyclean, add
42606         stamp-libm-err and stamp-version.
42607         (generated-dirs): Add libc directory.
42608         ($(inst_infodir)/libc.info): Install files from build dir.
42610         * manual/install.texi (Configuring and compiling): Adjust since
42611         the info files are not part of the tar ball anymore.
42613 2012-05-14  Andreas Jaeger  <aj@suse.de>
42615         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42616         variable.
42618 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42620         [BZ #13717]
42621         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42622         to 2.2.0 where earlier.
42623         * sysdeps/unix/sysv/linux/configure: Regenerated.
42624         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42625         Remove conditional code.
42626         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42627         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42628         Remove conditional code.
42629         [!__NR_lchown]: Likewise.
42630         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42631         [__NR_lchown]: Likewise.
42632         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42633         comment referencing __ASSUME_LCHOWN_SYSCALL.
42634         * sysdeps/unix/sysv/linux/i386/sigaction.c
42635         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42636         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42637         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42638         Remove conditional code.
42639         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42640         (__protocol_available): Remove #if 0 code.
42641         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42642         conditional code.
42643         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42644         * sysdeps/unix/sysv/linux/kernel-features.h
42645         (__ASSUME_GETCWD_SYSCALL): Don't define.
42646         (__ASSUME_REALTIME_SIGNALS): Likewise.
42647         (__ASSUME_PREAD_SYSCALL): Likewise.
42648         (__ASSUME_PWRITE_SYSCALL): Likewise.
42649         (__ASSUME_POLL_SYSCALL): Likewise.
42650         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42651         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42652         non-SPARC.
42653         (__ASSUME_SIOCGIFNAME): Don't define.
42654         (__ASSUME_MSG_NOSIGNAL): Likewise.
42655         (__ASSUME_SENDFILE): Define unconditionally.
42656         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42657         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42658         conditional code.
42659         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42660         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42661         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42662         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42663         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42664         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42665         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42667         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42668         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42670         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42671         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42673         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42674         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42676         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42677         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42679         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42680         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42682         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42683         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42685         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42686         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42688         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42689         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42690         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42691         Remove conditional code.
42692         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42693         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42694         Remove conditional code.
42695         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42696         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42697         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42698         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42699         Remove conditional code.
42700         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42701         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42702         Remove conditional code.
42703         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42704         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42705         Remove conditional code.
42706         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42707         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42708         Remove conditional code.
42709         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42710         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42711         Remove conditional code.
42712         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42713         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42714         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42715         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42716         * sysdeps/unix/sysv/linux/sigaction.c
42717         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42718         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42719         * sysdeps/unix/sysv/linux/sigpending.c
42720         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42721         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42722         * sysdeps/unix/sysv/linux/sigprocmask.c
42723         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42724         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42725         * sysdeps/unix/sysv/linux/sigsuspend.c
42726         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42727         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42728         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42729         (__libc_missing_rt_sigs): Remove.
42730         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42731         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42732         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42733         Remove conditional code.
42734         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42735         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42736         return 1.
42737         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42738         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42739         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42740         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42742 2012-05-14  Andreas Jaeger  <aj@suse.de>
42744         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42745         it's not used in glibc.
42746         (__coshm1): Likewise.
42747         (__acosh1p): Likewise.
42748         (__sgn): Likewise.
42750         * manual/string.texi (Copying and Concatenation): Add missing
42751         variable in concat example.
42752         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42754 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42756         [BZ #14103]
42757         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42758         __builtin_clzl with __builtin_clzll.
42760 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42762         [BZ #14104]
42763         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42764         libc_freeres_ptr.
42766 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42768         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42769         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42770         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42771         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42773 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42775         * NEWS: Update ia64 info.
42777 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42779         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42780         used as bcopy.
42782 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42784         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42785         * sysdeps/unix/syscalls.list (dup3): Likewise.
42786         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42787         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42789 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42791         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42792         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42794 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42796         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42797         thread pointer.
42798         (TLS_IE): Use mov/add instead of movq/addq to load thread
42799         pointer.
42800         (TLS_GD_PREFIX): New.
42801         (TLS_GD): Use it.
42803 2012-05-11  David S. Miller  <davem@davemloft.net>
42805         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42806         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42807         (_FPU_SETCW): Likewise.
42809 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42811         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42812         is 32-byte aligned.
42814 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42816         [BZ #11837]
42817         * iconvdata/gb18030.c: Update tables.
42818         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42819         characters specially.
42820         (BODY for TO_LOOP): Add encoding of missing ranges.
42822 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42824         [BZ #13673]
42825         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42826         * sysdeps/mach/hurd/dup3.c: Likewise.
42827         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42828         * sysdeps/powerpc/memmove.c:: Likewise.
42830 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42832         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42833         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42835 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42837         * elf/elf.h (R_X86_64_RELATIVE64): New.
42838         (R_X86_64_NUM): Updated.
42839         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42840         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42841         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42842         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42843         tst-quad1pie tst-quad2pie
42844         (modules-names): Add tst-quadmod1 tst-quadmod2.
42845         ($(objpfx)tst-quad1): New dependency.
42846         ($(objpfx)tst-quad2): Likewise.
42847         ($(objpfx)tst-quad1pie): Likewise.
42848         ($(objpfx)tst-quad2pie): Likewise.
42849         * sysdeps/x86_64/tst-quad1.c: New file.
42850         * sysdeps/x86_64/tst-quad1pie.c: New file.
42851         * sysdeps/x86_64/tst-quad2.c: Likewise.
42852         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42853         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42854         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42855         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42856         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42858 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42860         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42861         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42862         * streams/stropts.h (t_scalar_t): Define type.
42864         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42865         (_PATH_PRESERVE): Set to "/var/lib".
42866         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42868         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42869         instead of int.
42871         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42872         if __dir_mkfile succeeded.
42874         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42875         checking for _hurd_dtablesize.  Unlock it right after having
42876         finished _hurd_dtable allocation.
42878 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42880         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42881         * sysdeps/mach/hurd/configure: Regenerated.
42882         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42883         special-casing to...
42884         * sysdeps/gnu/configure.in: ... this new file.
42885         * sysdeps/unix/sysv/linux/configure: Regenerated.
42886         * sysdeps/gnu/configure: New generated file.
42888         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42889         for Linux: use nsec instead of usec, as well as:
42890         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42891         members of type struct timespec.
42892         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42893         New macros.
42894         (struct stat64): Likewise.
42895         (_STATBUF_ST_NSEC): New macro.
42896         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42898         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42899         __strtoul_internal rather than strtoul.
42901 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42903         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42904         and reject them.
42906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42908         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42909         which preserves existing values.
42910         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42912 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42914         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42915         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42916         greater than FD_SETSIZE.
42918 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42920         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42921         allocated, call __vm_protect to finish enabling the existing space, and
42922         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42923         allocate the remainder.
42925 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42927         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42928         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42930 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42932         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42933         sysdeps/mach/hurd/readlink.c.
42935         * posix/tst-sysconf.c (posix_options): Only use
42936         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42937         _POSIX_SYNCHRONIZED_IO when they are defined
42938         * sysdeps/mach/hurd/bits/posix_opt.h:
42939         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42940         (_XOPEN_REALTIME): Undefine macro.
42941         (_XOPEN_REALTIME_THREADS): Undefine macro.
42942         (_XOPEN_SHM): Undefine macro.
42943         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42944         macro to -1.
42945         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42946         macro to -1.
42947         (_POSIX_ASYNC_IO): Undefine macro.
42948         (_POSIX_PRIORITIZED_IO): Undefine macro.
42949         (_POSIX_SPIN_LOCKS): Define macro to -1.
42951         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42952         SA_NODEFER, SA_RESETHAND.
42953         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42954         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42955         F_DUPFD_CLOEXEC.
42957 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42959         * elf/Makefile (pldd-modules): Define unconditionally.
42961 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42963         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42967         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42968         Return ENOENT when name is empty.
42969         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42971 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42973         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42975         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42979         Fix mlock in all cases except non-readable pages.
42980         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42981         instead of VM_PROT_ALL as parameter to __vm_wire function.
42983         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42984         (__mkdir): When path is `/', just fail with EEXIST.
42985         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42987 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42989         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42990         <sys/uio.h> (for writev).
42991         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42992         and <sys/param.h> (for MIN).
42994 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42996         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42997         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42998         if interrupted.
43000 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43002         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43003         Depend on against $(link-rpcuserlibs).
43005 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43007         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43008         (__libc_stack_end): Do not use attribute_relro.
43009         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43010         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43011         to libthread-provided value.
43012         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43013         attribute_relro.
43015 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43017         [BZ #3748]
43018         * bits/libc-lock.h (__libc_once_get): New macro.
43019         * sysdeps/mach/bits/libc-lock.h: Likewise.
43020         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43021         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43022         instead of using implementation details.
43024         * libio/fileops.c: Unconditionally include <kernel-features.h>.
43025         * libio/freopen.c: Likewise.
43026         * libio/freopen64.c: Likewise.
43027         * misc/syslog.c: Likewise.
43028         * nscd/connections.c: Likewise.
43029         * nscd/netgroupcache.c: Likewise.
43030         * sysdeps/posix/getcwd.c: Likewise.
43032 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43034         * math/w_ilogbf.c: Add #include <limits.h>.
43036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43038         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43039         path instead of returning without unlocking.
43041         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43042         immediate-write ioctls.
43043         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43045 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43047         * sysdeps/mach/hurd/i386/init-first.c (init): Use
43048         __builtin_frame_address instead of making assumptions about the
43049         location of the return address relative to DATA.  Force early load of
43050         the return address.
43051         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43052         __builtin_frame_address.
43054         dup3 for GNU Hurd.
43055         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43056         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
43057         implement dup3 and do some further code clean-ups.
43058         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43059         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43061 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43063         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43065         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43066         HURD_CRITICAL_END around holding _hurd_dtable_lock.
43067         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43068         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43069         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43070         d->port.lock.
43072         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43073         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
43074         when handler == SIG_ERR, not when handler != SIG_ERR.
43076 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43078         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43079         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43080         definitions.
43082         accept4 for GNU Hurd.
43083         * include/sys/socket.h (__libc_accept4): New prototype.
43084         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
43085         to implement __libc_accept4.
43086         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43087         __libc_accept4.
43088         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43090         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43091         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43092         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43093         signal-defines.sym.
43095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43097         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43099 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43101         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43102         assertion on O_CLOEXEC flag.
43103         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43104         * hurd/intern-fd.c: Likewise.
43105         * hurd/port2fd.c: Likewise.
43107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43109         [BZ #3906]
43110         * bits/in.h (IPV6_PKTINFO): Define new macro.
43111         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43113 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43115         [BZ #13954]
43116         [BZ #13955]
43117         [BZ #13956]
43118         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43119         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43120         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43121         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43122         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43123         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43124         * math/libm-test.inc (logb_test) : Additional logb tests.
43126 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
43127             Andreas Jaeger  <aj@suse.de>
43129         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43130         * configure: Regenerated.
43131         * config.h.in (LINK_OBSOLETE_RPC): New macro.
43132         * config.make.in (link-obsolete-rpc): New substituted variable.
43133         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43134         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43135         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43136         (shared-only-routines): Don't set it under [link-obsolete-rpc],
43137         so that libc.a contains the symbols.
43138         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43139         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43140         * sunrpc/auth_none.c: Likewise.
43141         * sunrpc/auth_unix.c: Likewise.
43142         * sunrpc/authdes_prot.c: Likewise.
43143         * sunrpc/authuxprot.c: Likewise.
43144         * sunrpc/clnt_gen.c: Likewise.
43145         * sunrpc/clnt_perr.c: Likewise.
43146         * sunrpc/clnt_raw.c: Likewise.
43147         * sunrpc/clnt_simp.c: Likewise.
43148         * sunrpc/clnt_tcp.c: Likewise.
43149         * sunrpc/clnt_udp.c: Likewise.
43150         * sunrpc/clnt_unix.c: Likewise.
43151         * sunrpc/des_crypt.c: Likewise.
43152         * sunrpc/des_soft.c: Likewise.
43153         * sunrpc/get_myaddr.c: Likewise.
43154         * sunrpc/key_call.c: Likewise.
43155         * sunrpc/key_prot.c: Likewise.
43156         * sunrpc/netname.c: Likewise.
43157         * sunrpc/pm_getmaps.c: Likewise.
43158         * sunrpc/pm_getport.c: Likewise.
43159         * sunrpc/pmap_clnt.c: Likewise.
43160         * sunrpc/pmap_prot.c: Likewise.
43161         * sunrpc/pmap_prot2.c: Likewise.
43162         * sunrpc/pmap_rmt.c: Likewise.
43163         * sunrpc/publickey.c: Likewise.
43164         * sunrpc/rpc_cmsg.c: Likewise.
43165         * sunrpc/rpc_common.c: Likewise.
43166         * sunrpc/rpc_dtable.c: Likewise.
43167         * sunrpc/rpc_prot.c: Likewise.
43168         * sunrpc/rpc_thread.c: Likewise.
43169         * sunrpc/rtime.c: Likewise.
43170         * sunrpc/svc.c: Likewise.
43171         * sunrpc/svc_auth.c: Likewise.
43172         * sunrpc/svc_raw.c: Likewise.
43173         * sunrpc/svc_run.c: Likewise.
43174         * sunrpc/svc_tcp.c: Likewise.
43175         * sunrpc/svc_udp.c: Likewise.
43176         * sunrpc/svc_unix.c: Likewise.
43177         * sunrpc/svcauth_des.c: Likewise.
43178         * sunrpc/xcrypt.c: Likewise.
43179         * sunrpc/xdr.c: Likewise.
43180         * sunrpc/xdr_array.c: Likewise.
43181         * sunrpc/xdr_float.c: Likewise.
43182         * sunrpc/xdr_intXX_t.c: Likewise.
43183         * sunrpc/xdr_mem.c: Likewise.
43184         * sunrpc/xdr_rec.c: Likewise.
43185         * sunrpc/xdr_ref.c: Likewise.
43186         * sunrpc/xdr_sizeof.c: Likewise.
43187         * sunrpc/xdr_stdio.c: Likewise.
43189 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43191         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43192         change.  Update copyright years.
43194 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43196         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43198 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
43199             Joseph Myers  <joseph@codesourcery.com>
43200             Paul Pluzhnikov  <ppluzhnikov@google.com>
43202         [BZ #14012]
43203         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43204         requiring rpcgen.
43205         [cross-compiling] (extra-libs): Likewise.
43206         [cross-compiling] (extra-libs-others): Likewise.
43207         [cross-compiling] (librpcsvc-routines): Likewise.
43208         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43209         [cross-compiling] (omit-deps): Likewise.
43210         (sunrpc-CPPFLAGS): New variable.
43211         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43212         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43213         (cross-rpcgen-objs): New variable.
43214         (extra-objs): Append $(cross-rpcgen-objs).
43215         ($(cross-rpcgen-objs)): New rule.
43216         ($(objpfx)cross-rpcgen): Likewise.
43217         (rpcgen-cmd): Define to use $(built-program-file).  Expand
43218         comment.
43219         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43220         ($(objpfx)x%.stmp): Likewise.
43221         * sunrpc/proto.h [IS_IN_build] (_): Define.
43222         [IS_IN_build] (_libc_intl_domainname): Likewise.
43224 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43226         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43227         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43228         and R_X86_64_TPOFF64.
43230 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43232         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43233         sysdeps/unix/sysv/syscalls.list.
43234         (stime): Likewise.
43235         (utime): Likewise.
43236         * sysdeps/unix/sysv/syscalls.list: Remove file.
43238 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
43240         [BZ #3440]
43241         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43242         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43243         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43244         (__LC_IDENTIFICATION): Make these macros useful in #if
43245         expressions, as required by C99.
43247 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
43249         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43250         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
43251         after this.
43253 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
43255         * stdlib/longlong.h: Updated from GCC.
43257 2012-05-09  Andreas Jaeger  <aj@suse.de>
43259         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43260         default is first entry.
43261         (run_mode): Set type.
43262         (main): Remove informal message about syslog.
43263         (options): Fix typo.
43265         [BZ #14053]
43266         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43267         to asm.
43268         (lrint): Likewise.
43269         (llrintf): Likewise.
43270         (llrint): Likewise.
43271         (rint): Likewise.
43272         (rintf): Likewise.
43273         (nearbyint): Likewise.
43274         (nearbyintf): Likewise.
43276 2012-05-09  Andreas Jaeger  <aj@suse.de>
43277             Pedro Alves  <palves@redhat.com>
43279         * nscd/nscd.c (run_mode): Use enum.
43280         (main): Cleanup coding style issue.
43282 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43283             Andreas Jaeger  <aj@suse.de>
43285         * nscd/nscd.c (go_background): Replaced with...
43286         (run_mode): ... this.
43287         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43288         (options): Add -F --foreground.
43289         (main): Implement it.
43290         (parse_opt): Parse it.
43292 2012-05-09  Andreas Jaeger  <aj@suse.de>
43294         [BZ #14083]
43295         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43296         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43297         -Wconversion warning.
43298         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43299         Likewise.
43301 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43303         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43304         == 0.
43305         (LC_ALL): Use macro-int-constant.
43306         (LC_COLLATE): Likewise.
43307         (LC_CTYPE): Likewise.
43308         (LC_MESSAGES): Likewise.
43309         (LC_MONETARY): Likewise.
43310         (LC_NUMERIC): Likewise.
43311         (LC_TIME): Likewise.
43312         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43313         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43314         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43315         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43316         Specify type.
43317         [C99-based standards] (float_t): Expect type.
43318         [C99-based standards] (double_t): Expect type.
43319         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43320         type.
43321         [C99-based standards] (HUGE_VALL): Likewise.
43322         [C99-based standards] (INFINITY): Likewise.
43323         [C99-based standards] (NAN): Likewise.
43324         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43325         [C99-based standards] (FP_NAN): Likewise.
43326         [C99-based standards] (FP_NORMAL): Likewise.
43327         [C99-based standards] (FP_SUBNORMAL): Likewise.
43328         [C99-based standards] (FP_ZERO): Likewise.
43329         [C99-based standards] (FP_FAST_FMA): Use
43330         optional-macro-int-constant.  Specify type.  Require == 1.
43331         [C99-based standards] (FP_FAST_FMAF): Likewise.
43332         [C99-based standards] (FP_FAST_FMAL): Likewise.
43333         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43334         [C99-based standards] (FP_ILOGBNAN): Likewise.
43335         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43336         Specify type.
43337         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43338         [C99-based standards] (math_errhandling): Specify type.
43339         [ISO99 || ISO11] (signgam): Do not allow.
43340         [non-C99-based standards] (copysignf): Do not allow.
43341         [non-C99-based standards] (exp2f): Likewise.
43342         [non-C99-based standards] (log2f): Likewise.
43343         [non-C99-based standards] (modff): Allow.
43344         [non-C99-based standards] (erff): Do not allow.
43345         [non-C99-based standards] (erfcf): Likewise.
43346         [non-C99-based standards] (gammaf): Likewise.
43347         [non-C99-based standards] (hypotf): Likewise.
43348         [non-C99-based standards] (j0f): Likewise.
43349         [non-C99-based standards] (j1f): Likewise.
43350         [non-C99-based standards] (jnf): Likewise.
43351         [non-C99-based standards] (lgammaf): Likewise.
43352         [non-C99-based standards] (tgammaf): Likewise.
43353         [non-C99-based standards] (y0f): Likewise.
43354         [non-C99-based standards] (y1f): Likewise.
43355         [non-C99-based standards] (ynf): Likewise.
43356         [non-C99-based standards] (isnanf): Likewise.
43357         [non-C99-based standards] (acoshf): Likewise.
43358         [non-C99-based standards] (asinhf): Likewise.
43359         [non-C99-based standards] (atanhf): Likewise.
43360         [non-C99-based standards] (cbrtf): Likewise.
43361         [non-C99-based standards] (expm1f): Likewise.
43362         [non-C99-based standards] (ilogbf): Likewise.
43363         [non-C99-based standards] (log1pf): Likewise.
43364         [non-C99-based standards] (logbf): Likewise.
43365         [non-C99-based standards] (nextafterf): Likewise.
43366         [non-C99-based standards] (remainderf): Likewise.
43367         [non-C99-based standards] (rintf): Likewise.
43368         [non-C99-based standards] (scalbf): Likewise.
43369         [non-C99-based standards] (copysignl): Likewise.
43370         [non-C99-based standards] (exp2l): Likewise.
43371         [non-C99-based standards] (log2l): Likewise.
43372         [non-C99-based standards] (modfl): Allow.
43373         [non-C99-based standards] (erfl): Do not allow.
43374         [non-C99-based standards] (erfcl): Likewise.
43375         [non-C99-based standards] (gammal): Likewise.
43376         [non-C99-based standards] (hypotl): Likewise.
43377         [non-C99-based standards] (j0l): Likewise.
43378         [non-C99-based standards] (j1l): Likewise.
43379         [non-C99-based standards] (jnl): Likewise.
43380         [non-C99-based standards] (lgammal): Likewise.
43381         [non-C99-based standards] (tgammal): Likewise.
43382         [non-C99-based standards] (y0l): Likewise.
43383         [non-C99-based standards] (y1l): Likewise.
43384         [non-C99-based standards] (ynl): Likewise.
43385         [non-C99-based standards] (isnanl): Likewise.
43386         [non-C99-based standards] (acoshl): Likewise.
43387         [non-C99-based standards] (asinhl): Likewise.
43388         [non-C99-based standards] (atanhl): Likewise.
43389         [non-C99-based standards] (cbrtl): Likewise.
43390         [non-C99-based standards] (expm1l): Likewise.
43391         [non-C99-based standards] (ilogbl): Likewise.
43392         [non-C99-based standards] (log1pl): Likewise.
43393         [non-C99-based standards] (logbl): Likewise.
43394         [non-C99-based standards] (nextafterl): Likewise.
43395         [non-C99-based standards] (remainderl): Likewise.
43396         [non-C99-based standards] (rintl): Likewise.
43397         [non-C99-based standards] (scalbl): Likewise.
43398         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43399         [non-C99-based standards] (FP_*): Do not allow.
43400         [C99-based standards] (FP_*): Change to
43401         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43402         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43403         allow.
43404         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43405         (SIG_ERR): Likewise.
43406         [X/Open-based standards] (SIG_HOLD): Likewise.
43407         (SIG_IGN): Likewise.
43408         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43409         positive value.
43410         (SIGFPE): Likewise.
43411         (SIGILL): Likewise.
43412         (SIGINT): Likewise.
43413         (SIGSEGV): Likewise.
43414         (SIGTER): Likewise.
43415         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43416         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43417         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43418         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43419         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43420         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43421         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43422         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43423         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43424         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43425         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43426         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43427         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43428         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43429         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43430         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43431         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43432         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43433         [X/Open-based standards] (SIGTRAP): Likewise.
43434         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43435         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43436         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43437         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43438         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43439         allow.
43441 2012-05-08  Ian Wienand  <ianw@vmware.com>
43443         [BZ #14080]
43444         * time/tzset.c (__tzset_parse_tz): Update default rules for
43445         daylight time changes in the Energy Policy Act of 2005.
43447 2012-05-09  Andreas Jaeger  <aj@suse.de>
43449         [BZ #13983]
43450         * elf/ldconfig.c (parse_conf): Change string to make clear that
43451         ldconfig only issued a warning if ld.so.conf does not exist.
43453 2012-05-08  David S. Miller  <davem@davemloft.net>
43455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43456         movxtod instead of popping the value on the stack.
43458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43460 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
43462         * config.h.in: Add HAVE_ARM_PCS_VFP.
43464 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
43466         [BZ #13979]
43467         * include/features.h: Warn if user requests __FORTIFY_SOURCE
43468         checking but the checks are disabled for any reason.
43470 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
43472         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43473         and ELF64_R_TYPE with ELFW(R_TYPE).
43475 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
43477         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43478         (ulimit): Likewise.
43480         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43481         (settimeofday): Likewise.
43483 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
43485         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
43486         a struct th_u2 inside the union, and move tu_block/tu_code into
43487         a new th_u3 union of tu_block/tu_code inside of that.  Move
43488         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
43489         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
43490         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43491         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43492         (th_stuff): Change to th_u1.tu_stuff.
43493         (th_data): Define.
43494         (th_msg): Change to th_u1.th_u2.tu_data.
43496 2012-05-07  David S. Miller  <davem@davemloft.net>
43498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43500         [BZ #14074]
43501         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43502         (SETUP_PIC_REG): Use it.
43503         (SETUP_PIC_REG_LEAF): Use it.
43505 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43507         [BZ #13885]
43508         [BZ #13923]
43509         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43510         USE_AS_EXPM1L.
43511         (EXPL_FINITE): Likewise.
43512         (FLDLOG): Likewise.
43513         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43514         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43515         e_expl.S.
43516         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43517         USE_AS_EXPM1L.
43518         (EXPL_FINITE): Likewise.
43519         (FLDLOG): Likewise.
43520         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43521         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43522         e_expl.S.
43523         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43524         test of -max_value argument for long double.
43525         * sysdeps/i386/fpu/libm-test-ulps: Update.
43526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43528 2012-05-06  David S. Miller  <davem@davemloft.net>
43530         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43531         quad soft-float symbols whose references which are compiler
43532         generated.
43533         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43535 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43537         [BZ #13884]
43538         [BZ #13914]
43539         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43540         USE_AS_EXP10L.
43541         (EXPL_FINITE): Likewise.
43542         (FLDLOG): Likewise.
43543         (c0): Likewise.
43544         (c1): Likewise.
43545         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43546         Adjust comments for base varying.
43547         (__expl_finite): Change alias to EXPL_FINITE.
43548         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43549         e_expl.S.
43550         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43551         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43552         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43553         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43554         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43555         USE_AS_EXP10L.
43556         (EXPL_FINITE): Likewise.
43557         (FLDLOG): Likewise.
43558         (c0): Likewise.
43559         (c1): Likewise.
43560         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43561         Adjust comments for base varying.
43562         (__expl_finite): Change alias to EXPL_FINITE.
43563         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43564         tests for bugs.
43565         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43567         [BZ #14064]
43568         * math/libm-test.inc (check_float_internal): Correct ulp
43569         calculation for subnormal expected results.
43571 2012-05-06  Andreas Jaeger  <aj@suse.de>
43573         * Makeconfig (+math-flags): New, set to -frounding-math.
43574         (+cflags): Add +math-flags so that all of glibc gets compiled with
43575         it.
43577         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43579 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43581         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43582         Disable one test.
43584         [BZ #13787]
43585         [BZ #13922]
43586         [BZ #14036]
43587         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43588         (__ieee754_expl): Allow for and saturate large arguments.
43589         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43590         (u_threshold): Likewise.
43591         (__exp): Call __ieee754_exp before checking for overflow and
43592         underflow.
43593         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43594         (u_threshold): Likewise.
43595         (__expf): Call __ieee754_expf before checking for overflow and
43596         underflow.
43597         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43598         (u_threshold): Likewise.
43599         (__expl): Call __ieee754_expl before checking for overflow and
43600         underflow.
43601         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43602         (__ieee754_expl): Allow for and saturate large arguments.
43603         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43604         missing overflow exception on overflow.
43605         (expm1_test): Do not allow missing overflow exception on overflow.
43607         * sysdeps/i386/fpu/e_expl.c: Move to ...
43608         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43609         rather than using inline asm.
43610         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43611         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43612         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43614         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43615         (nice): Likewise.
43616         (poll): Likewise.
43617         (signal): Likewise.
43618         (time): Likewise.
43619         (times): Likewise.
43621 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43623         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43624         sysdeps/unix/common/syscalls.list.
43625         (fchmod): Likewise.
43626         (fchown): Likewise.
43627         (ftruncate): Likewise.
43628         (getrusage): Likewise.
43629         (gettimeofday): Likewise.
43630         (setpgid): Likewise.
43631         (setregid): Likewise.
43632         (setreuid): Likewise.
43633         (sigaction): Likewise.
43634         (truncate): Likewise.
43635         (vhangup): Likewise.
43636         * sysdeps/unix/common/syscalls.list: Remove file.
43637         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43638         * sysdeps/unix/sysv/linux/Implies: Likewise.
43640 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43642         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43644         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43645         Moved to ...
43646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43647         Here.
43648         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43649         to ...
43650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43651         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43652         to ...
43653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43654         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43655         to ...
43656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43657         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43658         to ...
43659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43660         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43661         to ...
43662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43663         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43664         to ...
43665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43666         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43667         to ...
43668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43669         Here.
43670         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43671         to ...
43672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43673         Here.
43674         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43675         to ...
43676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43677         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43678         Moved to ...
43679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43680         Here.
43681         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43682         to ...
43683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43685 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43687         * sysdeps/unix/common/bits/dirent.h: Remove file.
43688         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43690         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43691         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43692         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43693         * sysdeps/unix/bsd/isatty.c: Likewise.
43694         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43695         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43696         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43698 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43700         [BZ #13563]
43701         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43702         long double comparison inaccuracies.
43703         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43706 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43708         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43709         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43711 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43713         [BZ #14049]
43714         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43715         nonzero digits before rounding a hex value.
43716         * stdlib/tst-strtod.c (tests): Add another test.
43718 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43720         * sysdeps/s390/fpu/libm-test-ulps: Update.
43722 2012-05-03  Andreas Jaeger  <aj@suse.de>
43724         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43725         does not get optimized out.
43726         (malloc_opt_barrier): New.
43728 2012-05-03  Andreas Jaeger  <aj@suse.de>
43729             Roland McGrath  <roland@hack.frob.com>
43731         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43732         intermediate file deletion.
43733         (generated): Add .symlist files.
43735 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43737         [BZ #13775]
43738         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43739         Redirect under this condition.
43740         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43741         [__USE_GNU] (__dprintf_chk): Not under this condition.
43742         [__USE_GNU] (__vdprintf_chk): Likewise.
43743         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43744         under this condition.
43745         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43746         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43747         [__USE_XOPEN2K8] (vdprintf): Likewise.
43748         [__USE_GNU] (__dprintf_chk): Not under this condition.
43749         [__USE_GNU] (__vdprintf_chk): Likewise.
43750         [__USE_GNU] (dprintf): Likewise.
43751         [__USE_GNU] (vdprintf): Likewise.
43753 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43755         * elf/Makefile (common-generated): Set this instead of generated for
43756         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43757         $(all-built-dso)-derived lists.
43759 2012-05-03  Andreas Jaeger  <aj@suse.de>
43761         * sysdeps/i386/fpu/libm-test-ulps: Update.
43763         * FAQ: Removed.
43764         * FAQ.in: Likewise.
43765         * scripts/gen-FAQ.pl: Likewise.
43766         * manual/install.texi (Installation): Point to online location of
43767         FAQ.
43768         * Makefile (files-for-dist): Remove FAQ.
43769         (FAQ): Remove.
43771 2012-05-02  Allan McRae  <allan@archlinux.org>
43773         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43774         (LDFLAGS-reldepmod5.so): Likewise.
43775         (LDFLAGS-reldep6mod1.so): Likewise.
43776         (LDFLAGS-reldep6mod4.so): Likewise.
43777         (LDFLAGS-reldep8mod3.so): Likewise.
43778         (LDFLAGS-unload4mod1.so): Likewise.
43779         (LDFLAGS-unload4mod2.so): Likewise.
43780         (LDFLAGS-tst-initorder): Likewise.
43781         (LDFLAGS-tst-initordera2.so): Likewise.
43782         (LDFLAGS-tst-initordera3.so): Likewise.
43783         (LDFLAGS-tst-initordera4.so): Likewise.
43784         (LDFLAGS-tst-initorderb2.so): Likewise.
43785         (LDFLAGS-noload): Likewise.
43786         (LDFLAGS-next): Likewise.
43787         (LDFLAGS-order2mod1.so): Likewise.
43788         (LDFLAGS-order2mod2.so): Likewise.
43789         (LDFLAGS-tst-initorder2): Likewise.
43790         (LDFLAGS-tst-initorder2a.so): Likewise.
43791         (LDFLAGS-tst-initorder2b.so): Likewise.
43792         (LDFLAGS-tst-initorder2c.so): Likewise.
43793         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43795 2012-05-02  David S. Miller  <davem@davemloft.net>
43797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43799 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43801         [BZ #14055]
43802         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43804 2012-05-02  Andreas Jaeger  <aj@suse.de>
43806         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43807         since we manipulate rounding mode.
43808         (CPPFLAGS-test-idouble.c): Likewise.
43809         (CPPFLAGS-test-ifloat.c): Likewise.
43810         (CFLAGS-test-ldouble.c): Likewise.
43811         (CFLAGS-test-double.c): Likewise.
43812         (CFLAGS-test-float.c): Likewise.
43813         (CFLAGS-test-misc.c): Likewise.
43814         (CFLAGS-test-test-fenv.c): Likewise.
43816 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43818         [BZ #2550]
43819         [BZ #2570]
43820         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43821         comparisons to determine direction to adjust input.
43823 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43825         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43826         output to the target.
43828         * scripts/localplt.awk: New file.
43829         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43830         (check-localplt-CFLAGS): Variable removed.
43831         ($(all-built-dso:=.jmprel)): New static pattern rule.
43832         (generated): Add those targets.
43833         (localplt-built-dso): New variable.
43834         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43836         * elf/check-localplt.c: File removed.
43838         * scripts/check-execstack.awk: New file.
43839         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43840         (check-execstack-CFLAGS): Variable removed.
43841         ($(objpfx)check-execstack.h): Target removed.
43842         ($(objpfx)execstack-default): New target.
43843         (generated): Add that instead of check-execstack.h.
43844         ($(all-built-dso:=.phdr)): New static pattern rule.
43845         (generated): Add those targets.
43846         * elf/check-execstack.c: File removed.
43848         * scripts/check-textrel.awk: New file.
43849         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43850         (check-textrel-CFLAGS): Variable removed.
43851         (all-built-dso): Use := to define.o
43852         ($(all-built-dso:=.dyn)): New static pattern rule.
43853         (generated): Add those targets.
43854         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43855         * config.make.in (READELF): New substituted variable.
43856         * elf/check-textrel.c: File removed.
43858 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43860         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43861         allow.
43862         * conform/data/ctype.h-data [C99-based standards] (isblank):
43863         Expect function.
43864         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43865         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43866         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43867         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43868         Specify type.  Require positive value.
43869         (EILSEQ): Likewise.
43870         (ERANGE): Likewise.
43871         [ISO || POSIX] (EILSEQ): Do not expect.
43872         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43873         Specify type.  Require positive value.
43874         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43875         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43876         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43877         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43878         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43879         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43880         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43881         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43882         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43883         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43884         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43885         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43886         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43887         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43888         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43889         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43890         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43891         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43892         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43893         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43894         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43895         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43896         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43897         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43898         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43899         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43900         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43901         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43902         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43903         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43904         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43905         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43906         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43907         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43908         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43909         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43910         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43911         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43912         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43913         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43914         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43915         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43916         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43917         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43918         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43919         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43920         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43921         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43922         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43923         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43924         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43925         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43926         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43927         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43928         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43929         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43930         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43931         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43932         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43933         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43934         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43935         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43936         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43937         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43938         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43939         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43940         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43941         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43942         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43943         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43944         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43945         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43946         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43947         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43948         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43949         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43950         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43951         Require >= 2.
43952         (FLT_ROUNDS): Expect as macro, not constant.
43953         (FLT_MANT_DIG): Use macro-int-constant.
43954         (DBL_MANT_DIG): Likewise.
43955         (LDBL_MANT_DIG): Likewise.
43956         (FLT_DIG): Likewise.
43957         (DBL_DIG): Likewise.
43958         (LDBL_DIG): Likewise.
43959         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43960         (DBL_MIN_EXP): Likewise.
43961         (LDBL_MIN_EXP): Likewise.
43962         (FLT_MAX_EXP): Use macro-int-constant.
43963         (DBL_MAX_EXP): Likewise.
43964         (LDBL_MAX_EXP): Likewise.
43965         (FLT_MAX_10_EXP): Likewise.
43966         (DBL_MAX_10_EXP): Likewise.
43967         (LDBL_MAX_10_EXP): Likewise.
43968         (FLT_MAX): Use macro-constant.
43969         (DBL_MAX): Likewise.
43970         (LDBL_MAX): Likewise.
43971         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43972         (DBL_EPSILON): Likewise.
43973         (LDBL_EPSILON): Likewise.
43974         (FLT_MIN): Likewise.
43975         (DBL_MIN): Likewise.
43976         (LDBL_MIN): Likewise.
43977         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43978         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43979         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43980         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43981         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43982         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43983         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43984         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43985         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43986         [ISO11] (FLT_TRUE_MIN): Likewise.
43987         [ISO11] (LDBL_TRUE_MIN): Likewise.
43988         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43989         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43990         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43991         (SCHAR_MAX): Likewise.
43992         (UCHAR_MAX): Likewise.
43993         (CHAR_MIN): Likewise.
43994         (CHAR_MAX): Likewise.
43995         (MB_LEN_MAX): Use macro-int-constant.
43996         (SHRT_MIN): Use macro-int-constant.  Specify type.
43997         (SHRT_MAX): Likewise.
43998         (USHRT_MAX): Likewise.
43999         (INT_MAX): Likewise.
44000         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
44001         bound negative.
44002         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44003         bound with "U".
44004         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44005         bound with "L".
44006         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
44007         bound negative.  Suffix upper bound with "L".
44008         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44009         bound with "UL".
44010         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44011         Specify type.
44012         [C99-based standards] (LLONG_MAX): Likewise.
44013         [C99-based standards] (ULLONG_MAX): Likewise.
44014         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
44015         == 0.
44016         [ISO11] (max_align_t): Require type.
44017         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44019         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44020         from $CFLAGS, without defining away __attribute__ calls.
44021         (checknamespace): Use $CFLAGS_namespace.
44023         * conform/conformtest.pl (@keywords): Only include C99 keywords
44024         for standards based on C99 or C11.
44026         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44027         Disable tests.
44028         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44029         UNIX98]: Likewise.
44031         * conform/conformtest.pl: Handle "macro-int-constant" and test for
44032         usability of symbols in #if.
44034         * conform/conformtest.pl: If macro or constant types start
44035         "promoted:", expect the symbol to be of the following type
44036         promoted by the integer promotions.
44038         * conform/conformtest.pl: Parse all "constant" and "macro" lines
44039         in one place.  Also handle "macro-constant".
44041         * conform/conformtest.pl: Only accept expected macro values with
44042         "==".  Parse all "macro" lines in one place.
44043         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44045         * conform/conformtest.pl: Handle braced types on "constant" lines
44046         instead of handling "typed-constant".
44047         * conform/data/signal.h-data: Use "constant" instead of
44048         "typed-constant".
44050         * conform/conformtest.pl: Handle "optional-" at start of lines in
44051         one place rather than duplicating several cases.  Handle each
44052         format of "macro" line with initial "optional-".
44054         * conform/conformtest.pl: Only accept expected constant or
44055         optional-constant values with "==".  Parse all "constant" lines in
44056         one place.  Parse all "optional-constant" lines in one place.
44057         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44058         * conform/data/fmtmsg.h-data: Likewise.
44059         * conform/data/netinet/in.h-data: Likewise.
44060         * conform/data/tar.h-data: Likewise.
44061         * conform/data/limits.h-data: Use "==" form on "constant" and
44062         "optional-constant" lines.
44064         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44065         Use -std=c99 for XOPEN2K.
44066         (@knownproblems): Remove.
44067         (newtoken): Don't check %isknown.
44069         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44070         Do not expect macro.
44071         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44072         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44073         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44074         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44075         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44076         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44077         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44078         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44079         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44080         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44081         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44082         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44083         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44084         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44085         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44086         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44087         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44088         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44089         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44090         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44091         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44092         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44093         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44094         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44095         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44096         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44097         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44098         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44099         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44100         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44101         [XPG3] (acosh): Likewise.
44102         [XPG3] (asinh): Likewise.
44103         [XPG3] (atanh): Likewise.
44104         [XPG3] (cbrt): Likewise.
44105         [XPG3] (expm1): Likewise.
44106         [XPG3] (ilogb): Likewise.
44107         [XPG3] (log1p): Likewise.
44108         [XPG3] (logb): Likewise.
44109         [XPG3] (nextafter): Likewise.
44110         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44111         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44112         [XPG3] (remainder): Likewise.
44113         [XPG3] (rint): Likewise.
44114         [XPG3 || XPG4 || UNIX98] (round): Likewise.
44115         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44116         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44117         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44118         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44119         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44120         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44121         [UNIX98 || XOPEN2K] (scalb): Expect.
44122         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44123         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44124         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44125         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44126         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44127         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44128         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44129         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44130         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44131         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44132         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44133         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44134         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44135         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44136         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44137         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44138         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44139         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44140         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44141         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44142         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44143         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44144         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44145         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44146         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44147         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44148         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44149         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44150         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44151         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44152         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44153         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44154         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44155         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44156         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44157         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44158         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44159         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44160         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44161         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44162         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44163         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44164         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44165         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44166         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44167         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44168         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44169         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44170         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44171         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44172         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44173         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44174         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44175         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44176         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44177         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44178         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44179         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44180         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44181         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44182         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44183         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44184         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44185         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44186         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44187         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44188         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44189         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44190         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44191         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44192         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44193         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44194         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44195         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44196         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44197         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44198         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44199         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44200         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44201         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44202         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44203         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44204         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44205         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44206         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44207         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44208         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44209         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44210         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44211         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44212         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44213         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44214         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44215         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44216         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44217         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44218         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44219         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44220         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44221         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44222         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44223         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44224         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44225         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44226         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44227         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44228         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44229         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44230         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44231         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44232         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44233         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44234         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44235         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44236         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44237         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44238         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44239         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44240         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44241         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44242         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44243         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44244         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44245         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44246         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44247         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44248         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44249         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44250         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44251         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44252         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44253         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44254         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44255         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44256         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44257         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44258         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44260         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44261         _XOPEN_SOURCE_EXTENDED for XPG4.
44263         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44265         * Makeconfig (localtime): Remove variable.
44266         (inst_localtime-file): Likewise.
44268 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44271         Update.
44272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44273         Update.
44274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44275         Update.
44276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44277         Update.
44278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44279         Update.
44280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44281         Update.
44282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44283         Update.
44284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44285         Update.
44286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44287         Update.
44289 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44291         [BZ #2550]
44292         [BZ #2570]
44293         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44294         comparisons to determine direction to adjust input.
44295         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44296         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44297         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44298         Likewise.
44299         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44300         Likewise.
44301         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44302         Likewise.
44303         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44304         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44305         Likewise.
44306         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44307         Likewise.
44308         * math/libm-test.inc (nexttoward_test): Add more tests.
44310 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44312         [BZ #14040]
44313         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44314         in version GLIBC_2.1, not GLIBC_2.0.
44315         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44316         Likewise.
44318 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44320         [BZ #13942]
44321         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44322         (1 - x) * (1 + x).
44323         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44324         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44325         * math/libm-test.inc (acos_test): Add more tests.
44326         (asin_test): Likewise.
44327         * sysdeps/i386/fpu/libm-test-ulps: Update.
44328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44330         [BZ #14034]
44331         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44332         of square root.
44333         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44334         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44335         * math/libm-test.inc (acos_test_tonearest): New function.
44336         (acos_test_towardzero): Likewise.
44337         (acos_test_downward): Likewise.
44338         (acos_test_upward): Likewise.
44339         (asin_test_tonearest): Likewise.
44340         (asin_test_towardzero): Likewise.
44341         (asin_test_downward): Likewise.
44342         (asin_test_upward): Likewise.
44343         (main): Call the new functions.
44344         * sysdeps/i386/fpu/libm-test-ulps: Update.
44345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44347         [BZ #13884]
44348         [BZ #13924]
44349         * math/e_exp10.c: Include <float.h>.
44350         (__ieee754_exp10): Handle underflow here rather than multiplying
44351         large negative argument by M_LN10.
44352         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44353         of __ieee754_expf.
44354         * math/e_exp10l.c: Include <float.h>.
44355         (__ieee754_exp10l): Handle underflow here rather than multiplying
44356         large negative argument by M_LN10l.
44357         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44358         spurious overflow exception on underflow.
44360 2012-04-29  Marek Polacek  <polacek@redhat.com>
44362         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44363         (__fortify_function): New macro.
44364         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44365         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44366         __extern_always_inline.
44367         * libio/bits/stdio2.h: Likewise.
44368         * libio/bits/stdio.h: Likewise.
44369         * string/string.h: Likewise.
44370         * string/bits/string3.h: Likewise.
44371         * include/stdio.h: Likewise.
44372         * stdlib/bits/stdlib.h: Likewise.
44373         * stdlib/stdlib.h: Likewise.
44374         * rt/bits/mqueue2.h: Likewise.
44375         * rt/mqueue.h: Likewise.
44376         * posix/bits/unistd.h: Likewise.
44377         * posix/unistd.h: Likewise.
44378         * io/bits/poll2.h: Likewise.
44379         * io/bits/fcntl2.h: Likewise.
44380         * io/fcntl.h: Likewise.
44381         * io/sys/poll.h: Likewise.
44382         * misc/bits/syslog.h: Likewise.
44383         * misc/bits/syslog-ldbl.h: Likewise.
44384         * misc/sys/syslog.h: Likewise.
44385         * socket/bits/socket2.h: Likewise.
44386         * socket/sys/socket.h: Likewise.
44387         * debug/tst-chk1.c: Likewise.
44388         * wcsmbs/bits/wchar2.h: Likewise.
44389         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44390         * wcsmbs/wchar.h: Likewise.
44392 2012-04-29  Andreas Jaeger  <aj@suse.de>
44394         * Makerules (tests): Remove enable-check-abi protection.
44395         (check-abi-warn): Remove.
44396         (check-abi-%): Remove check-abi-warn usage.
44398         * configure.in: Remove check-abi configure option.
44399         * configure: Regenerated.
44400         * config.make.in (enable-check-abi): Remove.
44402 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44404         [BZ #14033]
44405         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44406         double functions to double *_finite functions.
44408         [BZ #13941]
44409         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44410         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44411         LDBL_MIN_EXP.
44412         * stdio-common/Makefile (tests): Add tst-sprintf3.
44413         * stdio-common/tst-sprintf3.c: New file.
44415         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44416         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44418 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44420         * conform/conformtest.pl: Remove duplicate typed-constant
44421         handling.
44423 2012-04-28  David S. Miller  <davem@davemloft.net>
44425         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44426         (check-abi-%): Remove AWK script prerequisite and explicit
44427         abilist directory.
44428         (check-abi): Rewrite to just diff the symlist with the abilist.
44429         (config-tls, config-abi-config): Delete, no longer used.
44430         (update-abi-%): Remove AWK script and explicit abilist directory.
44431         (update-abi): Rewrite to simply compare and conditionally copy the
44432         symlist and the sysdep abilist file.  Remove update-abi-config
44433         checks.
44434         * abilist/ld.abilist: Remove.
44435         * abilist/libBrokenLocale.abilist: Remove.
44436         * abilist/libanl.abilist: Remove.
44437         * abilist/libcrypt.abilist: Remove.
44438         * abilist/libdl.abilist: Remove.
44439         * abilist/librt.abilist: Remove.
44440         * abilist/libthread_db.abilist: Remove.
44441         * abilist/libutil.abilist: Remove.
44442         * scripts/extract-abilist.awk: Remove.
44443         * scripts/merge-abilist.awk: Remove.
44444         * sysdeps/generic/libcidn.abilist: New file.
44445         * sysdeps/generic/libnss_compat.abilist: New file.
44446         * sysdeps/generic/libnss_db.abilist: New file.
44447         * sysdeps/generic/libnss_dns.abilist: New file.
44448         * sysdeps/generic/libnss_files.abilist: New file.
44449         * sysdeps/generic/libnss_hesiod.abilist: New file.
44450         * sysdeps/generic/libnss_nis.abilist: New file.
44451         * sysdeps/generic/libnss_nisplus.abilist: New file.
44452         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44453         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44454         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44455         file.
44456         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44457         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44458         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44459         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44460         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44461         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44462         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44463         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44464         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44465         file.
44466         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44467         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44468         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44469         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44470         file.
44471         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44472         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44473         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44474         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44475         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44476         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44477         file.
44478         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44479         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44480         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44481         file.
44482         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44483         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44484         New file.
44485         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44486         New file.
44487         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44488         New file.
44489         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44490         New file.
44491         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44492         New file.
44493         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44494         New file.
44495         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44496         New file.
44497         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44498         New file.
44499         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44500         New file.
44501         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44502         New file.
44503         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44504         New file.
44505         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44506         New file.
44507         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44508         New file.
44509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44510         file.
44511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44512         New file.
44513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44514         New file.
44515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44516         file.
44517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44518         New file.
44519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44520         New file.
44521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44522         file.
44523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44524         New file.
44525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44526         New file.
44527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44528         New file.
44529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44530         New file.
44531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44532         New file.
44533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44534         New file.
44535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44537         file.
44538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44539         New file.
44540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44541         file.
44542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44543         file.
44544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44545         file.
44546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44547         file.
44548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44549         file.
44550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44551         New file.
44552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44553         file.
44554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44555         file.
44556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44557         New file.
44558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44559         file.
44560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44562         file.
44563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44564         New file.
44565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44566         file.
44567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44568         file.
44569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44570         file.
44571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44572         file.
44573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44574         file.
44575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44576         New file.
44577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44578         file.
44579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44580         file.
44581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44582         New file.
44583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44584         file.
44585         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44586         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44587         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44588         file.
44589         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44590         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44591         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44592         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44593         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44594         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44595         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44596         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44597         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44598         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44601         file.
44602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44603         New file.
44604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44605         file.
44606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44607         file.
44608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44609         file.
44610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44611         file.
44612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44613         file.
44614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44615         New file.
44616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44617         New file.
44618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44619         file.
44620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44621         New file.
44622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44623         file.
44624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44626         file.
44627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44628         New file.
44629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44630         file.
44631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44632         file.
44633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44634         file.
44635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44636         file.
44637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44638         file.
44639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44640         New file.
44641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44642         New file.
44643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44644         file.
44645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44646         New file.
44647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44648         file.
44650 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44652         * conform/conformtest.pl: Fix typo in handling typed-constant from
44653         allow-header.
44655 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44657         * README: Cut down references to pre-2.6 Linux kernels and
44658         Linuxthreads.  Update lists of configurations in libc and ports
44659         and sort alphabetically.  Say "or newer" with Linux kernel version
44660         requirements.
44662         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44664 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44666         [BZ #887]
44667         * math/libm-test.inc (logb_test_downward): New test to expose
44668         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44669         rounding mode.
44671 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44673         [BZ #14027]
44674         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44675         to be done.
44676         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44677         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44679 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44681         * sysdeps/unix/i386/brk.S: Remove file.
44682         * sysdeps/unix/i386/dl-brk.S: Likewise.
44683         * sysdeps/unix/i386/pipe.S: Likewise.
44684         * sysdeps/unix/i386/sigreturn.S: Likewise.
44685         * sysdeps/unix/i386/syscall.S: Likewise.
44686         * sysdeps/unix/i386/vfork.S: Likewise.
44687         * sysdeps/unix/i386/wait.S: Likewise.
44689         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44690         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44692         * configure.in (arm*-none*): Do not allow without
44693         --enable-hacker-mode.
44694         (netbsd*): Remove case setting base_os.
44695         (386bsd*): Likewise.
44696         (freebsd*): Likewise.
44697         (bsdi*): Likewise.
44698         (osf*): Likewise.
44699         (sunos*): Likewise.
44700         (ultrix*): Likewise.
44701         (newsos*): Likewise.
44702         (dynix*): Likewise.
44703         (*bsd*): Likewise.
44704         (sysv*): Likewise.
44705         (isc*): Likewise.
44706         (esix*): Likewise.
44707         (sco*): Likewise.
44708         (minix*): Likewise.
44709         (irix4*): Likewise.
44710         (irix6*): Likewise.
44711         (solaris[2-9]*): Likewise.
44712         (none): Likewise.
44713         * configure: Regenerated.
44715 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44717         [BZ #11521]
44718         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44719         overflow or cancellation in calculating denominator.
44720         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44721         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44722         down expression to avoid unexpected rounding in newer GCCs.
44723         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44725 2012-04-26  David S. Miller  <davem@davemloft.net>
44727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44728         long-double compat symbols.
44729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44743 2012-04-25  David S. Miller  <davem@davemloft.net>
44745         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44746         HWCAP_* values only after the memory barriers have been defined.
44747         (atomic_full_barrier): Define.
44748         (atomic_read_barrier): Define.
44749         (atomic_write_barrier): Define.
44751 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44753         * shlib-versions: Add libgcc_s version information.
44754         * sysdeps/generic/libgcc_s.h: Remove.
44755         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44756         libgcc_s.h.
44757         * sysdeps/gnu/unwind-resume.c: Likewise.
44758         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44760 2012-04-25  David S. Miller  <davem@davemloft.net>
44762         * sysdeps/unix/sparc/brk.S: Delete.
44763         * sysdeps/unix/sparc/dl-brk.S: Delete.
44764         * sysdeps/unix/sparc/pipe.S: Delete.
44765         * sysdeps/unix/sparc/sysdep.S: Delete.
44766         * sysdeps/unix/sparc/sysdep.h: Delete.
44767         * sysdeps/unix/sparc/vfork.S: Delete.
44768         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44769         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44770         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44771         (ret_ERRVAL, r0, r1, MOVE): Define.
44772         (JUMPTARGET): Remove.
44773         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44774         sysdeps/unix/sparc/sysdep.h
44775         (ENTRY, END): Remove.
44776         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44778 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44780         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44781         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44782         -DIS_IN_build.
44784         * timezone/README: Update upstream location and email address for
44785         tzcode and tzdata.
44786         * timezone/zdump.c: Update from tzcode 2012b.
44787         * timezone/zic.c: Likewise.
44789         * configure.in (libc_cv_as_needed): Remove test.
44790         * configure: Regenerated.
44791         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44792         conditional definition.
44793         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44794         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44795         * config.make.in (have-as-needed): Remove variable.
44797 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44798             Paul Pluzhnikov  <ppluzhnikov@google.com>
44800         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44801         strings correctly.
44803 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44805         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44806         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44807         * sysdeps/sh/strlen.S: Likewise.
44809 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44811         * sysdeps/unix/fork.S: Remove file.
44812         * sysdeps/unix/i386/fork.S: Likewise.
44813         * sysdeps/unix/sparc/fork.S: Likewise.
44815         * sysdeps/unix/system.c: Remove file.
44816         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44818         * sysdeps/unix/getegid.S: Remove file.
44819         * sysdeps/unix/geteuid.S: Likewise.
44821 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44823         * scripts/check-localplt.awk: New file.
44824         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44825         of diff.
44826         * scripts/data/localplt-generic.data: Add a comment.
44828         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44829         NODE when __dir_mkfile failed.
44830         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44831         Reported by Ludovic Courtès <ludo@gnu.org>.
44833 2012-04-24  Andreas Jaeger  <aj@suse.de>
44835         * Makerules (common-clean): Also remove gen-as-const-headers
44836         files.
44838 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44840         * Makerules (native-compile): Do not change working directory for
44841         build.  Use $(OUTPUT_OPTION) in command.
44842         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44844 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44846         [BZ #13886]
44847         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44848         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44849         * math/libm-test.inc (floor_test): Add more tests.
44850         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44852 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44854         * sysdeps/unix/getdents.c: Remove file.
44855         * sysdeps/unix/sysv/getdents.c: Likewise.
44856         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44858         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44859         sysdeps/unix/mman/syscalls.list.
44860         (mmap): Likewise.
44861         (mprotect): Likewise.
44862         (msync): Likewise.
44863         (munmap): Likewise.
44864         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44865         * sysdeps/unix/mman/syscalls.list: Remove.
44866         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44868         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44869         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44870         * configure: Regenerated.
44871         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44872         $(libgcc_s_suffix).
44873         * config.make.in (libgcc_s_suffix): Remove variable.
44875 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44877         * sysdeps/unix/sysv/gethostname.c: Move to ...
44878         * sysdeps/posix/gethostname.c: ... here.
44880         * sysdeps/unix/execve.S: Remove file.
44882         * sysdeps/unix/_exit.S: Remove file.
44884 2012-04-23  Andreas Jaeger  <aj@suse.de>
44886         [BZ #13739]
44887         * manual/Makefile: Remove make dist support, there's no
44888         need for a stand-alone documentation tar ball.
44889         (TEXI2DVI): Define always, it's not in Makeconfig.
44890         (dist): Removed.
44891         (tar-it): Removed.
44892         (edition): Removed.
44893         (glibc-doc-$(edition).tar): Removed
44894         (%.Z): Removed.
44895         (%.gz): Removed.
44896         (%.uu): Removed.
44897         (ETAGS): Remove, it's in Makeconfig.
44898         (move-if-change): Remove, it's in Makeconfig.
44900 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44902         [BZ #13970]
44903         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44904         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44905         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44906         (strtod_l, strtof_l, strtold_l): Remove __wur.
44907         It is not necessarily an error to ignore strtol's return value.
44908         One can reliably look at the stored endptr to decide whether
44909         the number had valid syntax.
44911 2012-04-21  Andreas Jaeger  <aj@suse.de>
44913         [BZ #13739]
44914         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44916 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44918         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44919         * sysdeps/unix/sysv/Versions: Remove file.
44921 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44923         [BZ #13927]
44924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44926 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44928         [BZ #7064]
44929         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44930         version from __vm86.
44932 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44934         * sysdeps/unix/common/lxstat.c: Remove file.
44935         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44937         * sysdeps/unix/sysv/Makefile: Remove file.
44939         * sysdeps/unix/sysv/direct.h: Remove file.
44941         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44942         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44943         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44944         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44945         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44946         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44947         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44949         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44951         * sysdeps/unix/xmknod.c: Remove file.
44952         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44954         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44956         * sysdeps/unix/sysv/i386/time.S: Remove file.
44958         * sysdeps/unix/fxstat.c: Remove file.
44959         * sysdeps/unix/xstat.c: Likewise.
44960         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44962         * sysdeps/unix/sysv/sigaction.c: Remove file.
44964         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44965         (sysdep_headers): Remove variable.
44966         [termio.h not in sysdep_headers] (generated): Likewise.
44967         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44968         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44969         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44970         * sysdeps/unix/sysv/tcflow.c: Likewise.
44971         * sysdeps/unix/sysv/tcflush.c: Likewise.
44972         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44973         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44974         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44975         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44976         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44978         * sysdeps/unix/siglist.c: Remove file.
44980         * sysdeps/unix/getppid.S: Remove file.
44982         * sysdeps/unix/mkdir.c: Remove file.
44983         * sysdeps/unix/rmdir.c: Likewise.
44985 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44987         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44988         ERR_MAX value.
44989         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44990         errlist-compat value.
44992 2012-04-18  David S. Miller  <davem@davemloft.net>
44994         * sysdeps/generic/memcopy.h (reg_char): Delete.
44995         * debug/strcat_chk.c: Use char, not reg_char.
44996         * debug/strcpy_chk.c: Likewise.
44997         * debug/strncat_chk.c: Likewise.
44998         * debug/strncpy_chk.c: Likewise.
44999         * string/memchr.c: Likewise.
45000         * string/memrchr.c: Likewise.
45001         * string/rawmemchr.c: Likewise.
45002         * string/strcat.c: Likewise.
45003         * string/strchr.c: Likewise.
45004         * string/strchrnul.c: Likewise.
45005         * string/strcmp.c: Likewise.
45006         * string/strcpy.c: Likewise.
45007         * string/strncat.c: Likewise.
45008         * string/strncmp.c: Likewise.
45009         * string/strncpy.c: Likewise.
45011 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45013         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45014         __builtin_memcopy is called when src and dest ranges are known to not
45015         overlap.
45017 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45019         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45020         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45021         fwd_align_merge macro call.
45022         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45023         bwd_align_merge macro call.
45024         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45026 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45028         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45029         bwd_align_merge macros.
45030         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45031         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45032         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45034 2012-04-18  David S. Miller  <davem@davemloft.net>
45036         * sysdeps/sparc/sparc64/memcopy.h: Delete.
45038 2012-04-18  Andreas Jaeger  <aj@suse.de>
45040         [BZ# 6794]
45041         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45042         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45043         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45045         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45046         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45047         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45049         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45050         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45051         Adjust for changed ldbl-128 files.
45053         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45054         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45055         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45057 2012-04-17  David S. Miller  <davem@davemloft.net>
45059         * sysdeps/sparc/sparc32/memcopy.h: Delete.
45061 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
45063         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45064         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45065         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45066         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45067         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45068         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45070 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45072         [BZ #6794]
45073         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45074         * math/libm-test.inc: Add ilogb errno and exception tests.
45075         * math/w_ilogb.c: New file: ilogb wrapper.
45076         * math/w_ilogbf.c: New file: ilogbf wrapper.
45077         * math/w_ilogbl.c: New file: ilogbl wrapper.
45078         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45079         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45080         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45081         exception being thrown with 0.0 as argument.
45082         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45083         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45084         exception being thrown with 0.0 as argument.
45085         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45086         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45087         exception being thrown with 0.0 as argument.
45088         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45089         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45090         exception being thrown with 0.0 as argument.
45091         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45092         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45093         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45094         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45095         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45096         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45097         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45098         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45099         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45101 2012-04-17  Petr Baudis  <pasky@ucw.cz>
45103         * include/sys/uio.h: Change __vector to __iovec to avoid clash
45104         with altivec.
45106 2012-04-16  Marek Polacek  <polacek@redhat.com>
45108         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45110 2012-04-16  Marek Polacek  <polacek@redhat.com>
45112         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45113         operands of fdivp instruction.
45115 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45117         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45118         * elf/tst-auditmod3b.c: Likewise.
45119         * elf/tst-auditmod4b.c: Likewise.
45120         * elf/tst-auditmod5b.c: Likewise.
45121         * elf/tst-auditmod6b.c: Likewise.
45122         * elf/tst-auditmod6c.c: Likewise.
45123         * elf/tst-auditmod7b.c: Likewise.
45124         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45125         * sysdeps/x86_64/preconfigure.in: Likewise.
45126         * sysdeps/x86_64/preconfigure: Regenerated.
45128 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45130         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45131         __ILP32__.
45133 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
45135         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45136         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45138 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
45140         [BZ #13973]
45141         * locale/iso-639.def: Fix gl language name. Spotted by
45142         Yaron Shahrabani.
45144 2012-04-12  Roland McGrath  <roland@hack.frob.com>
45146         [BZ #2074]
45147         * libio/libio.h (__io_write_fn): Update comment.
45149 2012-04-12  Petr Baudis  <pasky@ucw.cz>
45151         [BZ #2074]
45152         * stdio.texi (Hook Functions): The user provided writer function
45153         is not allowed to return -1.
45155 2012-04-11  David S. Miller  <davem@davemloft.net>
45157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45159 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
45161         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45162         Add a leading slash to rtkaio.
45164 2012-04-11  Jim Meyering  <meyering@redhat.com>
45166         [BZ #11959]
45167         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45168         It is not necessarily an error to ignore fwrite's return
45169         value.  One can reliably use ferror to test for errors after
45170         the fact.
45172 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45174         * bits/types.h (__snseconds_t): New type.
45175         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45177         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45178         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45179         (__SNSECONDS_T_TYPE): Likewise.
45180         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45181         (__SNSECONDS_T_TYPE): Likewise.
45182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45183         (__SNSECONDS_T_TYPE): Likewise.
45185 2012-04-10  Andreas Jaeger  <aj@suse.de>
45187         [BZ #2636]
45188         * manual/time.texi (Processor Time): Return type of times is
45189         elapsed real time since an arbitrary point in the past.
45190         (CPU Time): Move CLK_TCK from here...
45191         (Processor Time): ...to here.  Correct description.
45192         * manual/conf.texi (Constants for Sysconf): Correct description of
45193         _SC_CLK_TCK.
45195 2012-04-10  David S. Miller  <davem@davemloft.net>
45197         [BZ #13967]
45198         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45199         where the is a gap between DT_REL(A) and DT_JMPREL.
45201 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45203         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45204         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45205         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45207 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45209         * elf/dl-support.c (_dl_inhibit_cache): New variable.
45210         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45211         (dl_main): Handle --inhibit-cache.
45212         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45213         _dl_inhibit_cache.
45214         * elf/dl-load.c (_dl_map_object): Use it.
45215         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45217 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45219         [BZ #13872]
45220         * sysdeps/i386/fpu/e_powl.S (p78): New object.
45221         (__ieee754_powl): Saturate large exponents rather than testing for
45222         overflow of y*log2(x).
45223         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45224         * math/libm-test.inc (pow_test): Do not permit spurious overflow
45225         exceptions.
45227         [BZ #11521]
45228         * math/s_ctan.c: Include <float.h>.
45229         (__ctan): Avoid internal overflow or cancellation in calculating
45230         denominator.
45231         * math/s_ctanf.c: Likewise.
45232         * math/s_ctanl.c: Likewise.
45233         * math/s_ctanh.c: Likewise.
45234         * math/s_ctanhf.c: Likewise.
45235         * math/s_ctanhl.c: Likewise.
45236         * math/libm-test.inc (ctan_test): Add more tests.
45237         (ctanh_test): Likewise.
45238         * sysdeps/i386/fpu/libm-test-ulps: Update.
45239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45241 2012-04-09  Andreas Jaeger  <aj@suse.de>
45243         [BZ #6894]
45244         * manual/filesys.texi (Directory Entries): Mention that d_namlen
45245         is an optional BSD extension.
45247         [BZ #10254]
45248         * manual/stdio.texi (Opening Streams): Document additional fopen
45249         parameters.
45251 2012-04-09  Roland McGrath  <roland@hack.frob.com>
45253         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45254         %eax without telling the compiler.
45256 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45258         [BZ # 13963]
45259         * manual/install.texi: Use sourceware.org.
45261 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45263         [BZ #13873]
45264         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45265         (__ieee754_pow): Generate overflow and underflow using huge*huge
45266         and tiny*tiny rather than just returning constant infinity or zero
45267         for large exponents.
45268         * math/libm-test.inc (pow_test): Require overflow exceptions for
45269         applicable cases of large exponents.
45271         [BZ #706]
45272         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45273         (__ieee754_pow): Use iterative multiplication algorithm only for
45274         integer exponents with absolute value below 1024.  Check for odd
45275         integer exponents when using algorithm for real exponents.
45276         * math/libm-test.inc (pow_test): Add more tests.
45277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45279 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45281         [BZ #13705]
45282         * math/libm-test.inc (exp_test): Do not allow overflow exception
45283         on underflow test.
45285 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45287         [BZ #13705]
45288         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45289         instead of __kernel_standard_f.
45291 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45293         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45294         * sysdeps/x86_64/memset_chk.S: Likewise.
45296 2012-04-08  Andreas Jaeger  <aj@suse.de>
45298         [BZ #10153]
45299         * manual/startup.texi (Environment Access): Describe return value
45300         for putenv and setenv.
45302         [BZ #6895]
45303         * manual/filesys.texi (Directory Entries): Add description for
45304         DT_LNK.
45306         [BZ #6890]
45307         * manual/filesys.texi (Directory Entries): Clarify that it's file
45308         system not operating system in the description of DT_UNKNOWN.
45310         [BZ #6578]
45311         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45313 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45315         [BZ #6649]
45316         * manual/llio.texi (Opening and Closing Files): Add cross
45317         reference to explain mode argument.
45319 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45321         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45322         * sysdeps/x86_64/memset_chk.S: Likewise.
45324 2012-04-07  David S. Miller  <davem@davemloft.net>
45326         * elf/elf.h (R_SPARC_WDISP10): Define.
45327         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45328         R_SPARC_SIZE32.
45329         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45330         R_SPARC_SIZE64 and R_SPARC_H34.
45332 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45334         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45335         conditions and remove no longer applicable assertion.
45337 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45339         * bits/byteswap.h: Include <features.h>.
45340         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45341         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45343 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45345         * bits/byteswap.h (__bswap_16): Removed.
45346         Include <bits/byteswap-16.h> to get __bswap_16.
45347         * sysdeps/i386/bits/byteswap.h: Likewise.
45348         * sysdeps/s390/bits/byteswap.h: Likewise.
45349         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45350         * bits/byteswap-16.h: New file.
45351         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45352         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45353         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45354         * string/Makefile (headers): Add bits/byteswap-16.h.
45356 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45358         [BZ #13895]
45359         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45360         extra indirection.
45361         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45362         * nss/tst-nss-static.c: New.
45364 2012-04-06  Robert Millan  <rmh@gnu.org>
45366         [BZ #6486]
45367         * manual/llio.texi (File Position Primitive): lseek
45368         refers to WHENCE when it really means OFFSET.
45370 2012-04-06  Andreas Jaeger  <aj@suse.de>
45372         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45373         strncmp declarations.
45375         * abilist/libc.abilist: Add __poll and __ppoll.
45377 2012-04-05  David S. Miller  <davem@davemloft.net>
45379         * scripts/check-local-headers.sh: Accept a host triplet in the
45380         path matched by the exclude regexp.
45382         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45383         definition.
45384         * sysdeps/powerpc/powerpc32/dl-machine.h
45385         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45386         * sysdeps/s390/s390-32/dl-machine.h
45387         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45388         * sysdeps/sparc/sparc32/dl-machine.h
45389         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45390         * sysdeps/sparc/sparc64/dl-machine.h
45391         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45393         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45394         lazy binding.
45395         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45396         undefined symbol errors.
45398         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45399         DT_NEEDED entries.
45401 2012-04-05  Michael Matz  <matz@suse.de>
45403         [BZ #13592]
45404         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45406 2012-04-05  Andreas Jaeger  <aj@suse.de>
45408         [BZ #13908]
45409         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45410         comment.
45412 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45414         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45415         which ROUND is no valid rounding mode.
45417 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45419         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45420         read again.
45421         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45423 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45425         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45426         an exception using FPU order intentionally.
45428 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45430         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45431         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45432         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45433         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45435 2012-04-05  Simon Josefsson  <simon@josefsson.org>
45437         [BZ #12340]
45438         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45439         EINVAL when BUFLEN is too smal.
45441 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45443         [BZ #13553]
45444         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45445         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45447 2012-04-03  Andreas Jaeger  <aj@suse.de>
45449         [BZ #13938]
45450         * manual/setjmp.texi (System V contexts): Fix sentence.
45452         [BZ #13926]
45453         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45454         New macro for this case.
45455         [!__GNUC__] (__bswap_64): New inline function for this case.
45456         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45457         * bits/byteswap.h: Likewise.
45458         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45459         ull, guard with __GLIBC_HAVE_LONG_LONG.
45461         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45462         __GLIBC_HAVE_LONG_LONG.
45464         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45465         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45467 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45469         [BZ #13691]
45470         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45471         inptr and inend, rather than using last_ch.
45473 2012-04-02  David S. Miller  <davem@davemloft.net>
45475         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45476         * stdio-common/printf-parse.h (read_int): Change return type to
45477         'int', return -1 on INT_MAX overflow.
45478         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45479         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
45480         overflows INT_MAX.  Check for overflow of in-format-string precision
45481         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
45482         SIZE_MAX not INT_MAX for integer overflow test.
45483         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45484         skip the construct in the format string but do not record anything.
45485         * stdio-common/bug22.c: Adjust to test both width/prevision
45486         INT_MAX overflow as well as total length INT_MAX overflow.  Check
45487         explicitly for proper errno values.
45489 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45491         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45492         CHAR_MAX.
45493         * string/test-strcmp.c [! WIDE]: Likewise.
45494         * time/tst-mktime2.c: Likewise for INT_MAX.
45495         * string/test-string.h: #include <sys/param.h> for MIN.
45497         * csu/init-first.c (__libc_init_first): Call __ctype_init.
45498         * sysdeps/i386/init-first.c (init): Likewise.
45499         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45500         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45501         * sysdeps/sh/init-first.c (init): Likewise.
45503 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45505         * po/ru.po: Update from translation team.
45506         * po/vi.po: Likewise.
45508 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45510         * resolv/nss_dns/dns-host.c: Merge copyright years.
45512 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45514         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45515         Optimize memcpy with prefetch if
45516         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45517         src, dst pointers have unequal 16 byte alignments.
45519 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45521         [BZ #13928]
45522         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45523         from a CNAME entry and return the minimum ttl for the query.
45524         (gaih_getanswer_slice): Likewise.
45526 2012-03-30  Jeff Law  <law@redhat.com>
45528         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45529         due to long keys.
45530         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45531         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45533         * resolv/nss_dns/dns-host.c: Update copyright year.
45535 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45537         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45538         requests to save a system call.  Fix check that all bytes are sent.
45540         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45541         comments for sendmmsg.
45543 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45545         [BZ #13691]
45546         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45547         with only 1 character between 0x0041 and 0x01b0.
45548         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45549         * wcsmbs/tst-mbsnrtowcs.c: New file.
45551 2012-03-29  David S. Miller  <davem@davemloft.net>
45553         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45554         small copies by hand.
45556 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45558         [BZ #13761]
45559         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45560         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45561         group memberships.
45563 2012-03-28  David S. Miller  <davem@davemloft.net>
45565         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45566         that branches into memcpy.
45567         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45568         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45569         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45570         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45571         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45572         bits.
45573         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45574         implementation too.
45575         * sysdeps/sparc/mempcpy.S: New file.
45577         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45578         the IFUNC routine in the libc case.
45579         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45581         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45582         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45583         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45584         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45585         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45586         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45587         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45588         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45590         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45591         loop to 256 bytes instead of 64 bytes and fix test signedness.
45593         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45594         * sysdeps/sparc/sparc32/Makefile: rather than here...
45595         * sysdeps/sparc/sparc64/Makefile: and here.
45597 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45599         * malloc/mallocbug.c: Avoid warnings about unused variables.
45601 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45603         [BZ #13760]
45604         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45605         in the right place. Discard and retry query if response is
45606         larger than input buffer size.
45608 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45610         [BZ #369]
45611         [BZ #2678]
45612         [BZ #3866]
45613         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45614         x for large integer exponent.
45615         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45616         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45617         sign of result as needed afterwards.
45618         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45619         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45620         result for underflowing pow the same as for overflow.
45621         (__kernel_standard_l): Handle powl overflow and underflow here
45622         rather than calling __kernel_standard.
45623         * math/libm-test.inc (pow_test): Add more tests.
45625         [BZ #3868]
45626         [BZ #13879]
45627         [BZ #13910]
45628         [BZ #13911]
45629         [BZ #13912]
45630         [BZ #13913]
45631         [BZ #13915]
45632         [BZ #13916]
45633         [BZ #13917]
45634         [BZ #13918]
45635         [BZ #13919]
45636         [BZ #13920]
45637         [BZ #13921]
45638         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45639         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45640         (__kernel_standard_l): New function.
45641         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45642         __kernel_standard.
45643         * math/w_acosl.c (__acosl): Likewise.
45644         * math/w_asinl.c (__asinl): Likewise.
45645         * math/w_atan2l.c (__atan2l): Likewise.
45646         * math/w_atanhl.c (__atanhl): Likewise.
45647         * math/w_coshl.c (__coshl): Likewise.
45648         * math/w_exp10l.c (__exp10l): Likewise.
45649         * math/w_exp2l.c (__exp2l): Likewise.
45650         * math/w_fmodl.c (__fmodl): Likewise.
45651         * math/w_hypotl.c (__hypotl): Likewise.
45652         * math/w_j0l.c (__j0l, __y0l): Likewise.
45653         * math/w_j1l.c (__j1l, __y1l): Likewise.
45654         * math/w_jnl.c (__jnl, __ynl): Likewise.
45655         * math/w_lgammal.c (__lgammal): Likewise.
45656         * math/w_log10l.c (__log10l): Likewise.
45657         * math/w_log2l.c (__log2l): Likewise.
45658         * math/w_logl.c (__logl): Likewise.
45659         * math/w_powl.c (__powl): Likewise.
45660         * math/w_remainderl.c (__remainderl): Likewise.
45661         * math/w_scalbl.c (sysv_scalbl): Likewise.
45662         * math/w_sinhl.c (__sinhl): Likewise.
45663         * math/w_sqrtl.c (__sqrtl): Likewise.
45664         * math/w_tgammal.c (__tgammal): Likewise.
45665         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45666         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45667         * math/libm-test.inc (acos_test): Add more tests.
45668         (acosh_test): Likewise.
45669         (asin_test): Likewise.
45670         (atanh_test): Likewise.
45671         (exp_test): Likewise.
45672         (exp10_test): Likewise.
45673         (exp2_test): Likewise.
45674         (expm1_test): Likewise.
45675         (lgamma_test): Likewise.
45676         (log_test): Likewise.
45677         (log10_test): Likewise.
45678         (log1p_test): Likewise.
45679         (log2_test): Likewise.
45680         (pow_test): Do not allow some spurious overflow exceptions.
45681         (sqrt_test): Add more tests.
45682         (tgamma_test): Likewise.
45683         (y0_test): Likewise.
45684         (y1_test): Likewise.
45685         (yn_test): Likewise.
45687 2012-03-27  Anton Blanchard  <anton@samba.org>
45689         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45690         MAP_HUGETLB.
45691         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45692         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45693         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45695 2012-03-27  David S. Miller  <davem@davemloft.net>
45697         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45699         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45700         have-as-vis3 check.
45702 2012-03-27  Andreas Jaeger  <aj@suse.de>
45704         * sysdeps/x86_64/elf/configure.in: Moved to ...
45705         * sysdeps/x86_64/configure.in: ... here.
45706         * sysdeps/x86_64/elf/start.S: Moved to ...
45707         * sysdeps/x86_64/start.S: ... here.
45708         * sysdeps/x86_64/elf/configure: Delete.
45710         * sysdeps/x86_64/configure.in: Merge contents from
45711         sysdeps/i386/configure.in (without i686 check).
45713         * sysdeps/i386/elf/Versions: Merge into ...
45714         * sysdeps/i386/Versions: ... this.
45715         * sysdeps/i386/elf/Versions: Delete file.
45716         * sysdeps/i386/elf/start.S: Moved to ...
45717         * sysdeps/i386/start.S: ...here.
45718         * sysdeps/i386/elf/configure.in: Merge into...
45719         * sysdeps/i386/configure.in: ...here.
45720         * sysdeps/i386/elf/configure.in: Delete file.
45721         * sysdeps/i386/elf/configure: Delete file.
45723         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45724         * debug/backtracesyms.c: ... here.
45725         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45726         * debug/backtracesymsfd.c: ... here.
45727         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45728         * sysdeps/generic/ifunc-sel.h: ... here.
45730         * sysdeps/unix/i386/start.c: Delete file.
45731         * sysdeps/unix/sparc/start.c: Delete file.
45732         * sysdeps/unix/start.c: Delete file.
45734         * sysdeps/sh/elf/configure.in: Moved to ...
45735         * sysdeps/sh/configure.in: ... here.
45736         * sysdeps/sh/elf/start.S: Moved to ...
45737         * sysdeps/sh/start.S: ... here.
45738         * sysdeps/sh/elf/configure: Delete file.
45740         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45741         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45742         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45743         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45744         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45745         * sysdeps/powerpc/powerpc64/start.S: here.
45746         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45747         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45748         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45749         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45750         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45752         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45753         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45754         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45755         * sysdeps/powerpc/powerpc32/start.S: ... here.
45756         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45757         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45758         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45760         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45761         * sysdeps/powerpc/ifunc-sel.h: ... here.
45762         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45763         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45765         * sysdeps/sparc/elf/configure.in: Moved to ...
45766         * sysdeps/sparc/configure.in: ... here.
45767         * sysdeps/sparc/elf/configure: Delete file.
45768         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45769         * sysdeps/sparc/sparc32/start.S: ... here.
45770         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45771         * sysdeps/sparc/sparc64/start.S: ... here.
45772         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45773         * sysdeps/sparc/sparc32/Makefile: ... this.
45774         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45775         * sysdeps/sparc/sparc64/Makefile: ... this.
45777         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45778         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45779         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45780         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45781         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45782         * sysdeps/s390/s390-32/setjmp.S: ... here.
45783         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45784         * sysdeps/s390/s390-32/configure.in: ... here.
45785         * sysdeps/s390/s390-32/elf/configure: Delete file.
45786         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45787         * sysdeps/s390/s390-32/start.S: ... here.
45789         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45790         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45791         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45792         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45793         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45794         * sysdeps/s390/s390-64/setjmp.S: ... here.
45795         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45796         * sysdeps/s390/s390-64/configure.in: ... here
45797         * sysdeps/s390/s390-64/elf/configure: Delete file.
45798         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45799         * sysdeps/s390/s390-64/start.S: ... here.
45800         * sysdeps/s390/s390-64/elf/configure: Delete.
45802         * configure.in: Remove support for elf directories in sysdeps.
45804         * configure: Regenerated.
45805         * sysdeps/i386/configure: Regenerated.
45806         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45807         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45808         * sysdeps/s390/s390-32/configure: Regenerated.
45809         * sysdeps/s390/s390-64/configure: Regenerated.
45810         * sysdeps/sh/configure: Regenerated.
45811         * sysdeps/sparc/configure: Regenerated.
45812         * sysdeps/x86_64/configure: Regenerated.
45814 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45818         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45819         denormal result into account.
45821 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45823         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45824         Reported by Allan McRae <allan@archlinux.org>.
45826 2012-03-23  Jeff Law  <law@redhat.com>
45828         * nss/getnssent.c (__nss_getent): Fix typo.
45830 2012-03-23  David S. Miller  <davem@davemloft.net>
45832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45834 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45836         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45837         to pad to uint64_t for each field.
45838         (dl_tls_index): Replace unsigned long with uint64_t.
45840 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45841         Paul Pluzhnikov  <ppluzhnikov@google.com>
45843         [BZ #6528]
45844         * grp/Makefile (otherlibs): Don't set it.
45845         * inet/Makefile (otherlibs): Likewise.
45846         * login/Makefile (otherlibs): Likewise.
45847         * nscd/Makefile (otherlibs): Likewise.
45848         * posix/Makefile (otherlibs): Likewise.
45849         * pwd/Makefile (otherlibs): Likewise.
45850         * rt/Makefile (otherlibs): Likewise.
45851         * sunrpc/Makefile (otherlibs): Likewise.
45852         * nss/Makefile (otherlibs): Likewise.
45853         Add libnss_files to routines and static-only-routines.
45854         ($(objpfx)getent): Remove rule.
45855         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45856         static-only-routines.
45858 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45860         [BZ #13892]
45861         * math/s_cexp.c: Include <float.h>.
45862         (__cexp): Handle exp result overflowing not necessarily
45863         overflowing both real and imaginary parts of result.
45864         * math/s_cexpf.c: Likewise.
45865         * math/s_cexpl.c: Likewise.
45866         * math/libm-test.inc (cexp_test): Add more tests.
45867         * sysdeps/i386/fpu/libm-test-ulps: Update.
45868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45870 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45872         * include/link.h (ELFW): New macro.
45873         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45874         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45876 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45878         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45879         with uint64_t.
45881 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45883         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45884         declaration.
45885         (struct La_x32_retval): Likewise.
45887 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45889         * sysdeps/x86_64/preconfigure.in: New file.
45890         * sysdeps/x86_64/preconfigure: New generated file.
45892 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45894         [BZ #13824]
45895         * math/e_exp2l.c: Include <float.h>.
45896         (__ieee754_exp2l): Handle overflow and underflow cases
45897         separately.  Only pass fractional part of argument to
45898         __ieee754_expl.
45899         * math/libm-test.inc (exp2_test): Add more tests.
45901         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45902         negating x to take absolute value.
45903         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45904         Likewise.
45905         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45906         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45907         Likewise.
45908         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45909         computing low part if x was negated.
45910         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45912 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45914         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45915         la_x32_gnu_pltexit.
45916         (pltexit): Cast int_retval to ptrdiff_t.
45917         * elf/tst-auditmod3b.c: Likewise.
45918         * elf/tst-auditmod4b.c: Likewise.
45919         * elf/tst-auditmod5b.c: Likewise.
45920         * elf/tst-auditmod6b.c: Likewise.
45921         * elf/tst-auditmod6c.c: Likewise.
45922         * elf/tst-auditmod7b.c: Likewise.
45924         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45925         and x32_gnu_pltexit.
45927         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45928         __ELF_NATIVE_CLASS.
45929         (La_x32_regs): New macro.
45930         (La_x32_retval): Likewise.
45931         (la_x32_gnu_pltenter): New function prototype.
45932         (la_x32_gnu_pltexit): Likewise.
45934 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45936         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45937         exponent.
45939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45941         * configure.in (libc_cv_cc_nofma): Check for option to disable
45942         generation of FMA instructions.
45943         * configure: Regenerate.
45944         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45945         * sysdeps/ieee754/dbl-64/Makefile: New file.
45946         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45947         Remove brandred-fma4.
45948         (CFLAGS-brandred-fma4.c): Remove.
45949         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45950         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45951         define.
45952         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45953         define.
45955 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45957         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45958         LLONG_MAX != LONG_MAX.
45959         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45960         (_fitoa_word): Likewise.
45961         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45962         LLONG_MAX != LONG_MAX.
45963         * stdio-common/_itowa.h: Include <_itoa.h>.
45964         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45965         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45966         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45967         only if not defined.
45968         (_ITOA_WORD_TYPE): Likewise.
45969         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45970         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45972 2012-03-21  David S. Miller  <davem@davemloft.net>
45974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45976 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45978         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45979         of x86_64 when setting libc_cv_slibdir, libdir and
45980         libc_cv_localedir.
45981         * sysdeps/unix/sysv/linux/configure: Regenerated.
45983 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45985         * manual/lang.texi (Old Varargs): Remove section.
45986         (How Variadic): Update menu.
45987         (va_start): Do not mention varargs.h.
45989 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45990             Joseph Myers  <joseph@codesourcery.com>
45992         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45993         link test.
45994         * configure: Regenerated.
45996 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45998         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45999         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46000         conformtest.pl
46002 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46004         * NOTES: Remove.
46005         * Makefile (files-for-dist): Remove NOTES.
46006         (NOTES): Remove rule.
46007         * README: Don't refer to NOTES.
46008         * manual/creature.texi: Don't include macros.texi.
46009         * manual/intro.texi (creature.texi): Remove comment referring to
46010         NOTES.
46012         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46013         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46014         * configure: Regenerated.
46015         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46016         LIBC_TRY_CC_OPTION.
46017         (libc_cv_as_i686): Likewise.
46018         (libc_cv_cc_avx): Likewise.
46019         (libc_cv_cc_sse2avx): Likewise.
46020         (libc_cv_cc_fma4): Likewise.
46021         (libc_cv_cc_novzeroupper): Likewise.
46022         * sysdeps/i386/configure: Regenerated.
46024         [BZ #13883]
46025         * sysdeps/i386/fpu/s_cexp.S: Remove.
46026         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46027         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46028         * math/libm-test.inc (cexp_test): Add more tests.
46029         * sysdeps/i386/fpu/libm-test-ulps: Update.
46030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46032 2012-03-21  Allan McRae  <allan@archlinux.org>
46034         * timezone/Makefile: Do not install iso3166.tab and zone.tab
46036 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46038         [BZ #13871]
46039         * math/w_exp2.c: Do not include <float.h>.
46040         (o_threshold, u_threshold): Remove.
46041         (__exp2): Calculate result before checking finiteness and calling
46042         __kernel_standard.
46043         * math/w_exp2f.c: Likewise.
46044         * math/w_exp2l.c: Likewise.
46045         * math/libm-test.inc (exp2_test): Require overflow exception for
46046         1e6 input.
46048         [BZ #3866]
46049         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46050         range of signed 64-bit integers before using fistpll.  Remove
46051         checks for whether integers fit in mantissa bits.
46052         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46053         the range of signed 32-bit integers before using fistpl.  Remove
46054         checks for whether integers fit in mantissa bits.
46055         * sysdeps/i386/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         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46060         divide-by-zero is raised for zero to large negative powers.
46061         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46062         (__ieee754_powl): Test for y outside the range of signed 64-bit
46063         integers before using fistpll.  Reduce 64-bit values to 63-bit
46064         ones as needed.
46065         * math/libm-test.inc (pow_test): Add more tests.
46067 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46069         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46070         <stdio-common/_itoa.h>.
46071         * debug/segfault.c: Likewise.
46072         * elf/dl-cache.c: Likewise.
46073         * elf/dl-minimal.c: Likewise.
46074         * elf/dl-misc.c: Likewise.
46075         * elf/dl-sysdep.c: Likewise.
46076         * elf/dl-version.c: Likewise.
46077         * elf/rtld.c: Likewise.
46078         * hurd/hurdsock.c: Likewise.
46079         * hurd/lookup-retry.c: Likewise.
46080         * malloc/malloc.c: Likewise.
46081         * malloc/mtrace.c: Likewise.
46082         * nscd/nscd_getgr_r.c: Likewise.
46083         * nscd/nscd_getpw_r.c: Likewise.
46084         * nscd/nscd_getserv_r.c: Likewise.
46085         * posix/getopt_init.c: Likewise.
46086         * posix/wordexp.c: Likewise.
46087         * stdio-common/_itoa.c: Likewise.
46088         * stdio-common/printf_fphex.c: Likewise.
46089         * stdio-common/vfprintf.c: Likewise.
46090         * string/_strerror.c: Likewise.
46091         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46092         * sysdeps/i386/i686/hp-timing.h: Likewise.
46093         * sysdeps/mach/_strerror.c: Likewise.
46094         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46095         * sysdeps/mach/hurd/sethostid.c: Likewise.
46096         * sysdeps/mach/hurd/xmknodat.c: Likewise.
46097         * sysdeps/mach/xpg-strerror.c: Likewise.
46098         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46099         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46100         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46101         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46102         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46103         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46104         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46105         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46106         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46107         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46108         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46109         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46110         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46111         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46112         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46113         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46114         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46115         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46116         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46117         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46118         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46120         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46122         * stdio-common/_itoa.h: Moved to ...
46123         * sysdeps/generic/_itoa.h: Here.
46125         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46127         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46128         instead of "_itoa.h" and "_itowa.h".
46129         * stdio-common/vfprintf.: Likewise.
46131 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46133         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46134         <bits/wordsize.h>.
46135         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46136         (__signbit): Likwise.
46137         (llrintf): Likwise.
46138         (llrint): Likwise.
46140 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46142         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46143         __WORDSIZE != 64.
46145 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
46147         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46148         OVERFLOW_EXCEPTION_OK.
46149         * math/libm-test.inc ("Philosophy"): Update comment about
46150         exception testing.
46151         (OVERFLOW_EXCEPTION): Define.
46152         (OVERFLOW_EXCEPTION_OK): Likewise.
46153         (INVALID_EXCEPTION_OK): Renumber.
46154         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46155         (IGNORE_ZERO_INF_SIGN): Likewise.
46156         (test_exceptions): Handle FE_OVERFLOW.
46157         (exp10_test): Expect overflow exceptions.
46158         (exp2_test): Likewise.
46159         (expm1_test): Likewise.
46160         (nextafter_test): Likewise.
46161         (pow_test): Likewise.
46162         (scalbn_test): Likewise.
46163         (scalbln_test): Likewise.
46165 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46167         * sysdeps/x86_64/bits/atomic.h
46168         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46169         64bit integer.
46170         (atomic_exchange_acq): Likewise.
46171         (__arch_exchange_and_add_body): Likewise.
46172         (__arch_add_body): Likewise.
46173         (atomic_add_negative): Likewise.
46174         (atomic_add_zero): Likewise.
46176 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46178         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46179         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46181 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46183         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46184         Check __x86_64__ instead of __WORDSIZE.
46186 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46188         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46190 2012-03-19  David S. Miller  <davem@davemloft.net>
46192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46194         * sysdeps/sparc/fpu/fenv_private.h: New file.
46195         * sysdeps/sparc/fpu/math_private.h: Use it.
46196         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46197         Remove.
46198         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46199         (libc_feholdexcept_setroundl): Remove.
46200         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46201         Remove.
46202         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46203         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46205 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46207         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46208         int64_t instead of long int.
46209         (INSERT_WORDS64): Likwise.
46211 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46213         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46214         _Unwind_GetCFA return to _Unwind_Ptr first.
46216 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
46218         [BZ #13629]
46219         * math/s_clog.c: Include <float.h>.
46220         (__clog): Scale large or subnormal inputs.
46221         * math/s_clogf.c: Likewise.
46222         * math/s_clogl.c: Likewise.
46223         * math/s_clog10.c: Include <float.h>.
46224         (M_LOG10_2): Define.
46225         (__clog10): Scale large or subnormal inputs.
46226         * math/s_clog10f.c: Likewise.
46227         * math/s_clog10l.c: Likewise.
46228         * math/libm-test.inc (clog_test): Add more tests.
46229         (clog10_test): Likewise.
46230         * sysdeps/i386/fpu/libm-test-ulps: Update.
46231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46233         [BZ #11451]
46234         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46235         x and y.
46236         * math/libm-test.inc (atan2_test): Add another test.
46238         * Makerules (common-objdir-compile): Remove.
46239         * sysdeps/unix/Makefile (config-generated): Do not add
46240         $(unix-generated) to variable.
46241         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46242         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46243         Remove rule.
46244         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46245         Likewise.
46246         [generic bits/local_lim.h] (before-compile): Do not append to
46247         variable.
46248         [generic bits/local_lim.h] (common-generated): Likewise.
46249         [generic sys/param.h] (before-compile): Do not append to variable.
46250         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46251         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46252         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46253         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46254         include.
46255         [generic sys/param.h] (sys/param.h-includes): Remove variable.
46256         [generic sys/param.h] (sys/param.h-includes): Remove rule.
46257         [generic sys/param.h] ($(addprefix
46258         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46259         [generic sys/param.h] (common-generated): Do not append to
46260         variable.
46261         [generic sys/param.h] (sysdep_headers): Likewise.
46262         [generic bits/errno.h] (before-compile): Do not append to
46263         variable.
46264         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46265         rule.
46266         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46267         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46268         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46269         [generic bits/errno.h] (common-generated): Do not append to
46270         variable.
46271         [generic bits/ioctls.h] (before-compile): Do not append to
46272         variable.
46273         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46274         rule.
46275         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46276         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46277         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46278         rule.
46279         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46280         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46281         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46282         [generic bits/ioctls.h] (common-generated): Do not append to
46283         variable.
46284         [generic sys/syscall.h] (syscall.h): Remove variable.
46285         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46286         rule.
46287         [generic sys/syscall.h] (before-compile): Do not append to
46288         variable.
46289         [generic sys/syscall.h] (common-generated): Likewise.
46290         * sysdeps/unix/errnos-tmpl.c: Remove file.
46291         * sysdeps/unix/errnos.awk: Likewise.
46292         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46293         * sysdeps/unix/ioctls.awk: Likewise.
46294         * sysdeps/unix/mk-local_lim.c: Likewise.
46295         * sysdeps/unix/snarf-ioctls: Likewise.
46297 2012-03-19  Richard Henderson  <rth@twiddle.net>
46299         * sysdeps/i386/fpu/fenv_private.h: New file.
46300         * sysdeps/i386/fpu/math_private.h: Use it.
46301         (math_opt_barrier, math_force_eval): Remove.
46302         (libc_feholdexcept_setround_53bit): Remove.
46303         (libc_feupdateenv_53bit): Remove.
46304         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46305         (math_opt_barrier, math_force_eval): Remove.
46306         (libc_feholdexcept): Remove.
46307         (libc_feholdexcept_setround): Remove.
46308         (libc_fetestexcept, libc_fesetenv): Remove.
46309         (libc_feupdateenv_test): Remove.
46310         (libc_feupdateenv, libc_feholdsetround): Remove.
46311         (libc_feresetround): Remove.
46313         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46314         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46316         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46317         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46318         (libc_feupdateenv_testl): New.
46319         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46320         (libc_feupdateenv_testf): New.
46321         (libc_feupdateenv): Use libc_feupdateenv_test.
46322         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46323         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46325         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46326         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46327         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46328         (libc_feresetround_noex): New.
46329         (libc_feresetround_noexf): New.
46330         (libc_feresetround_noexl): New.
46331         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46332         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46333         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46334         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46335         SET_RESTORE_ROUND.
46336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46337         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46338         (__cos): Likewise.
46339         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46340         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46341         SET_RESTORE_ROUND_NOEX.
46342         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46343         SET_RESTORE_ROUND_NOEXF.
46344         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46345         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46346         (libc_feholdsetroundf): New.
46347         (libc_feresetround, libc_feresetroundf): New.
46349         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46350         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46351         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46353         * sysdeps/generic/math_private.h: Include <fenv.h>.
46354         (default_libc_feholdexcept): New.
46355         (default_libc_feholdexcept_setround): New.
46356         (default_libc_fesetenv, default_libc_feupdateenv): New.
46357         (libc_feholdexcept): Only define if undefined.
46358         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46359         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46360         (libc_feholdexcept_setroundl): Likewise.
46361         (libc_feholdexcept_setround_53bit): Likewise.
46362         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46363         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46364         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46365         (libc_feupdateenv_53bit): Likewise.
46366         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46367         (libc_feholdexcept): Convert from macro to inline function.
46368         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46369         (libc_fesetenv, libc_feupdateenv): Likewise.
46371         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46372         not previously defined.
46373         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46374         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46375         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46376         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46377         * sysdeps/ieee754/flt-32/math_private.h: New file.
46378         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46379         math_private.h below SET_FLOAT_WORD.
46380         (__isnan, __isinf_ns, __finite): Remove.
46381         (__isnanf, __isinf_nsf, __finitef): Remove.
46383 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46387 2012-03-17  David S. Miller  <davem@davemloft.net>
46389         [BZ #6471]
46390         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46391         for 2.16.
46393 2012-03-16  David S. Miller  <davem@davemloft.net>
46395         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46396         warnings.
46398         [BZ #6471]
46399         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46400         properly.
46401         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46402         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46403         sysdep_routines when subdir is sysvipc.
46404         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46405         __getshmlba helper.
46407         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46409 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46411         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46412         [__LP64__].
46414 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46416         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46417         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46418         (__lround): Renamed to ...
46419         (__llround): This.  Replace long int with long long int.
46420         Define lround functions as aliases of llround functions.
46421         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46423 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46425         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46426         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46427         adresses to uintptr_t.  Replace "long int" and "unsigned long
46428         int" with "greg_t" on va_arg.
46430 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46432         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46433         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46435         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46436         Move e_machine check before EI_CLASS check.  Handle x32
46437         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46438         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46439         SKIP_EM_IA_64 and include
46440         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46442         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46443         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46444         (add_system_dir): New macro.
46446         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46447         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46449 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46451         [BZ #2551]
46452         [BZ #2552]
46453         [BZ #2553]
46454         [BZ #2554]
46455         [BZ #2562]
46456         [BZ #2563]
46457         [BZ #2565]
46458         [BZ #2566]
46459         [BZ #2576]
46460         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46461         (y0): Likewise.
46462         * math/w_j0f.c (j0f): Likewise.
46463         (y0f): Likewise.
46464         * math/w_j0l.c (__j0l): Likewise.
46465         (__y0l): Likewise.
46466         * math/w_j1.c (j1): Likewise.
46467         (y1): Likewise.
46468         * math/w_j1f.c (j1f): Likewise.
46469         (y1f): Likewise.
46470         * math/w_j1l.c (__j1l): Likewise.
46471         (__y1l): Likewise.
46472         * math/w_jn.c (jn): Likewise.
46473         (yn): Likewise.
46474         * math/w_jnf.c (jnf): Likewise.
46475         (ynf): Likewise.
46476         * math/w_jnl.c (__jnl): Likewise.
46477         (__ynl): Likewise.
46478         * math/libm-test.inc (j0_test): Add more tests.
46479         (j1_test): Likewise.
46480         (jn_test): Likewise.  Add trailing semicolon to existing test.
46481         (y0_test): Likewise.
46482         (y1_test): Likewise.
46483         * sysdeps/i386/fpu/libm-test-ulps: Update.
46484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46486         [BZ #13851]
46487         [BZ #13854]
46488         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46489         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46490         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46491         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46492         (__tanl): Set errno for infinite argument.
46493         * sysdeps/i386/fpu/mptan.c: Remove.
46494         * sysdeps/i386/fpu/s_tan.S: Likewise.
46495         * sysdeps/i386/fpu/s_tanl.S: Likewise.
46496         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46497         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46498         * math/libm-test.inc (tan_test): Add more tests and enable more
46499         tests for double and long double.
46500         * sysdeps/i386/fpu/libm-test-ulps: Update.
46501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46503 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46505         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46506         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46508 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46510         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46511         * configure.in: Use it for both main tree and add-ons.
46512         * configure: Regenerated.
46514 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46516         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46518 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46520         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46521         in comment.
46523         [BZ #13851]
46524         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46525         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46526         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46527         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46528         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46529         infinite argument.
46530         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46531         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46532         != 0 for prec == 2.
46533         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46534         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46535         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46536         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46537         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46538         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46539         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46540         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46541         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46542         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46543         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46544         * math/libm-test.inc (cos_test): Add more tests and enable more
46545         tests for long double.
46546         (sin_test): Likewise.
46547         (sincos_test): Likewise.
46548         * sysdeps/i386/fpu/libm-test-ulps: Update.
46549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46551 2012-03-16  David S. Miller  <davem@davemloft.net>
46553         * sysdeps/sparc/fpu/math_private.h: New file.
46555 2012-03-15  David S. Miller  <davem@davemloft.net>
46557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46558         file.
46559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46561         file.
46562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46564         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46565         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46566         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46567         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46568         sysdep routines.
46569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46571         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46572         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46574         * sysdeps/sparc/sparc-ifunc.h: New file.
46575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46576         sparc-ifunc.h
46577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46579         Likewise.
46580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46581         Likewise.
46582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46586         Likewise.
46587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46592         Likewise.
46593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46594         Likewise.
46595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46599         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46600         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46601         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46602         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46603         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46604         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46607         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46609         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46610         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46611         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46612         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46613         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46614         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46615         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46616         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46617         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46618         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46620 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46622         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46623         scaling.
46624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46626 2012-03-15  Andreas Jaeger  <aj@suse.de>
46628         [BZ #13852]
46629         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46630         ieee754/flt-32 implementation for sin, cos and sincos.
46631         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46632         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46633         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46634         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46635         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46636         ieee754/flt-32 implementation for tan.
46638         * math/libm-test.inc (cos_test): Enable some large input tests for
46639         float as well
46640         (sin_test): Likewise.
46641         (sincos_test): Likewise.
46642         (tan_test): Add tests for large input.
46644         * sysdeps/i386/fpu/libm-test-ulps: Update.
46646 2012-03-15  Andreas Jaeger  <aj@suse.de>
46648         [BZ #13658]
46649         * math/libm-test.inc (cos_test): Add more test cases.
46650         (sin_test): Likewise.
46651         (sincos_test): Likewise.
46653 2012-03-15  Andreas Jaeger  <aj@suse.de>
46655         [BZ #13837]
46656         * math/libm-test.inc (cos_test): Add a test case for large input
46657         value.
46658         (sin_test): Likewise.
46659         (sincos_test): Likewise.
46661 2012-03-15  Andreas Jaeger  <aj@suse.de>
46662             Joseph Myers  <joseph@codesourcery.com>
46664         [BZ #13658]
46665         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46666         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46667         * sysdeps/i386/fpu/branred.c: Likewise.
46668         * sysdeps/i386/fpu/dosincos.c: Likewise.
46669         * sysdeps/i386/fpu/mpa.c: Likewise.
46670         * sysdeps/i386/fpu/s_cos.S: Likewise.
46671         * sysdeps/i386/fpu/s_sin.S: Likewise.
46672         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46673         * sysdeps/i386/fpu/sincos32.c: Likewise.
46675         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46676         Define.
46677         (libc_feupdateenv_53bit): Define.
46678         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46679         Define.
46680         (libc_feupdateenv_53bit): Define.
46682         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46683         53 bit (without extend i386 double precision).
46685         * math/libm-test.inc (sincos_test): Add tests for large input.
46686         (sin): Likewise.
46687         (cos): Likewise.
46689         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46691 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46695 2012-03-15  David S. Miller  <davem@davemloft.net>
46697         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46698         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46699         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46700         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46706         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46707         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46708         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46709         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46710         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46711         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46713         file.
46714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46716         file.
46717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46719         file.
46720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46722         file.
46723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46724         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46725         fmin/fmax sysdep routines.
46726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46728 2012-03-14  David S. Miller  <davem@davemloft.net>
46730         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46731         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46734         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46735         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46736         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46737         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46739         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46741         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46742         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46743         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46744         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46745         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46746         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46747         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46748         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46749         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46750         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46751         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46752         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46753         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46754         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46755         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46756         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46757         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46758         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46759         routines.
46760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46761         file.
46762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46764         file.
46765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46767         file.
46768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46770         file.
46771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46773         file.
46774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46776         file.
46777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46778         file.
46779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46780         file.
46781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46782         file.
46783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46784         New file.
46785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46786         file.
46787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46788         file.
46789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46791         file.
46792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46794         file.
46795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46797         file.
46798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46800         VIS3 routines.
46802         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46803         New file.
46805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46807         * sysdeps/sparc/configure.in: New file.
46808         * sysdeps/sparc/configure: Generate.
46809         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46810         * configure: Regenerate.
46811         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46812         * config.make.in (have-as-vis3): New.
46813         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46814         available use -Av9d instead of -Av9a.
46815         * sysdeps/sparc/sparc64/Makefile: Likewise.
46816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46818         New file.
46819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46820         file.
46821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46822         New file.
46823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46824         file.
46825         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46826         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46827         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46828         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46829         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46831         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46832         fzeros/fnegs to load 0x80000000 into a float register instead of
46833         using the stack.
46834         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46836 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46838         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46839         bits/syscall.h.
46840         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46841         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46842         ($(inst_includedir)/bits/syscall.h): Remove rule.
46843         ($(objpfx)bits/syscall.d): Include instead of
46844         $(objpfx)syscall-list.d.
46845         (generated): Change syscall-list.h and syscall-list.d to
46846         bits/syscall.h and bits/syscall.d.
46848 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46850         [BZ #13846]
46851         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46853 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46855         [BZ #13841]
46856         * math/s_csqrt.c: Include <float.h>.
46857         (__csqrt): Scale large or subnormal inputs.
46858         * math/s_csqrtf.c: Likewise.
46859         * math/s_csqrtl.c: Likewise.
46860         * math/libm-test.inc (csqrt_test): Add more tests.
46861         * sysdeps/i386/fpu/libm-test-ulps: Update.
46862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46864         [BZ #13840]
46865         * math/libm-test.inc (hypot_test): Add more tests.
46867 2012-03-13  David S. Miller  <davem@davemloft.net>
46869         [BZ #13840]
46870         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46871         double-precision for the calculation instead of scaling.
46873 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46875         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46876         manipulate bits before adding and subtracting TWO52[sx].
46877         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46878         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46879         Likewise.
46880         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46882 2012-03-13  David S. Miller  <davem@davemloft.net>
46884         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46885         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46886         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46887         rtld-global-offsets.h
46888         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46890         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46891         large parameters.
46893         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46895         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46896         'err' in the ifdef scope in which it is actually used.
46898         * nss/nss_db/db-init.c: Include string.h
46900 2012-03-12  David S. Miller  <davem@davemloft.net>
46902         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46903         masking out of the most significant byte of random value used.
46904         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46905         Fix coding style in previous change.
46907         * sysdeps/unix/sysv/linux/kernel-features.h
46908         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46909         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46910         expression.
46911         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46912         later.
46914 2012-03-11  David S. Miller  <davem@davemloft.net>
46916         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46917         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46918         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46919         for 'resultvar' otherwise things get truncated on 64-bit.
46921         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46922         Fix masking out of the most significant byte of random value used.
46924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46926 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46930 2012-03-09  David S. Miller  <davem@davemloft.net>
46932         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46933         variables with appropriate CPP guards.
46934         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46935         from the frame pointer, not the stack pointer.  Correct layout
46936         comments.  Fix test on resulting framesize and the management of
46937         the outregs buffer for pltexit.  Preserve floating point return
46938         values across _dl_call_pltexit call.
46939         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46940         framesize and the management of the outregs buffer for pltexit.
46941         Preserve floating point return values across _dl_call_pltexit
46942         call.
46943         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46944         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46945         (la_sparc64_gnu_pltexit): New functions.
46946         (print_exit): Fix format string for return register value.
46948 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46950         * sunrpc/Makefile (others): Add rpcgen.
46951         ($(objpfx)rpcgen): Remove special build rule and dependency on
46952         libc.
46953         * sunrpc/rpcgen.c: New file.
46955 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46957         [BZ #13673]
46958         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46959         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46960         * sysdeps/i386/crti.S: Likewise.
46961         * sysdeps/i386/crtn.S: Likewise.
46962         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46963         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46964         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46965         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46966         * sysdeps/sh/crti.S: Likewise.
46967         * sysdeps/sh/crtn.S: Likewise.
46968         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46970         [BZ #13673]
46971         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46972         with URL.
46973         * locale/programs/locfile-kw.gperf: Likewise.
46974         * locale/programs/charmap-kw.h: Regenerated.
46975         * locale/programs/locfile-kw.h: Likewise.
46977         [BZ #13673]
46978         * intl/plural.y: Replace FSF snail mail address with URL.
46979         * intl/plural.c: Regenerated.
46981 2012-03-09  Richard Henderson  <rth@twiddle.net>
46983         * include/math_private.h: Remove file.
46984         * math/math_private.h: Move file ...
46985         * sysdeps/generic/math_private.h: ... here.
46987         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46988         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46989         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46991         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46992         and <math_private.h>.
46993         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46994         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46995         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46996         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46997         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46998         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46999         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47000         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47001         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47002         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47003         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47004         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47005         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47006         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47007         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47008         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47009         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47010         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47011         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47012         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47014         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47015         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47016         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47017         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47018         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47019         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47020         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47021         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47022         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47023         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47024         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47025         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47026         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47027         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47028         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47029         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47030         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47031         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47032         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47033         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47034         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47035         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47036         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47037         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47038         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47039         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47040         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47041         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47042         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47043         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47044         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47045         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47046         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47047         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47048         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47049         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47050         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47051         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47052         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47053         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47054         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47055         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47056         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47057         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47058         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47059         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47060         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47061         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47062         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47063         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47064         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47065         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47066         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47067         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47068         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47069         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47070         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47071         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47072         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47073         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47074         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47075         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47076         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47077         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47078         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47079         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47080         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47081         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47082         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47083         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47084         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47085         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47086         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47087         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47088         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47089         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47090         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47091         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47092         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47093         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47094         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47095         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47096         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47097         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47098         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47099         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47100         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47101         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47102         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47103         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47104         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47105         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47106         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47107         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47108         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47109         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47110         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47111         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47112         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47113         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47114         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47115         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47116         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47117         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47118         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47119         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47120         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47121         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47122         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47123         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47124         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47125         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47126         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47127         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47128         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47129         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47130         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47131         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47132         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47133         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47134         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47135         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47136         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47137         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47138         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47139         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47140         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47141         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47142         * sysdeps/ieee754/k_standard.c: Likewise.
47143         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47144         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47145         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47146         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47147         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47148         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47149         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47150         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47151         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47152         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47153         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47154         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47155         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47156         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47157         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47158         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47159         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47160         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47161         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47162         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47163         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47164         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47165         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47166         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47167         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47168         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47169         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47170         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47171         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47172         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47173         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47174         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47175         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47176         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47177         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47178         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47179         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47180         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47181         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47182         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47183         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47184         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47185         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47186         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47187         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47188         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47189         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47190         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47191         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47192         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47193         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47194         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47195         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47196         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47197         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47198         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47199         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47200         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47201         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47202         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47203         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47204         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47205         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47206         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47207         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47208         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47209         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47210         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47211         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47212         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47213         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47214         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47215         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47216         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47217         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47218         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47219         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47220         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47221         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47222         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47223         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47224         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47225         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47226         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47227         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47228         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47229         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47230         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47231         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47232         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47233         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47234         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47235         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47236         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47237         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47238         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47239         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47240         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47241         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47242         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47243         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47244         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47245         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47246         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47247         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47248         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47249         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47250         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47251         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47252         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47253         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47254         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47255         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47256         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47257         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47258         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47259         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47260         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47261         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47262         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47263         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47264         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47265         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47266         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47267         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47268         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47269         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47270         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47271         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47272         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47273         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47274         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47275         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47276         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47277         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47278         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47279         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47280         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47281         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47282         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47283         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47284         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47285         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47286         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47287         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47288         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47289         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47290         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47291         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47292         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47293         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47294         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47295         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47296         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47297         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47298         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47299         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47300         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47301         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47302         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47303         * sysdeps/ieee754/s_lib_version.c: Likewise.
47304         * sysdeps/ieee754/s_matherr.c: Likewise.
47305         * sysdeps/ieee754/s_signgam.c: Likewise.
47306         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47307         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47308         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47309         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47310         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47311         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47312         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47313         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47314         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47315         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47316         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47317         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47318         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47319         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47320         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47321         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47322         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47323         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47324         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47325         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47326         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47328 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47330         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47331         * sunrpc/rpc_main.c: Likewise.
47332         * sunrpc/rpc_svcout.c: Likewise.
47334 2012-03-09  David S. Miller  <davem@davemloft.net>
47336         * include/math_private.h: New file.
47338 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47340         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47341         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47342         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47343         from <bits/socket_type.h>.
47344         (enum __socket_type): Don't define here.
47345         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47346         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47347         bits/socket_type.h.
47349         [BZ #13566]
47350         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47351         checking __USE_GNU.
47353         * Makerules ($(inst_includedir)/%.h): New rule.
47354         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47355         (install-others): Remove variable setting.
47356         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47358 2012-03-08  Richard Henderson  <rth@twiddle.net>
47360         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47361         from macro to inline function; merge with the
47362         !__LIBC_INTERNAL_MATH_INLINES version.
47363         (__ieee754_sqrtf): Likewise.
47365         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47366         to inline function.
47367         (__rintf, __floor, __floorf): Likewise.
47369         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47370         macro to inline function.
47371         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47373         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47374         not <math/math_private.h>.
47376 2012-03-08  David S. Miller  <davem@davemloft.net>
47378         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47379         copyright year.
47380         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47382 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47384         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47385         normalization.
47386         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47387         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47389 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47391         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47392         be defined individually, they must be defined as a block.  Define
47393         S for printing a string instead of hidint the different by using a
47394         macro for adding the 'l'.
47395         * stdio-common/tst-fphex-wide.c: Adjust.
47397 2012-03-07  Marek Polacek  <polacek@redhat.com>
47399         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47401 2012-03-08  Marek Polacek  <polacek@redhat.com>
47403         [BZ #13806]
47404         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47405         * stdio-common/tst-fphex.c: Define a few macros to make the
47406         test reusable.  Use them.
47407         * stdio-common/tst-fphex-wide.c: New file.
47409 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47411         [BZ #6911]
47412         * manual/macros.texi (gnusystems): New macro.
47413         (nongnusystems): Likewise.
47414         (gnulinuxhurdsystems): Likewise.
47415         (gnuhurdsystems): Likewise..
47416         (gnulinuxsystems): Likewise.
47417         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47418         variants of the GNU system, not "GNU system".
47419         * manual/conf.texi: Likewise.
47420         * manual/errno.texi: Likewise.  Update example of errno macro
47421         expansion.
47422         * manual/filesys.texi: Likewise.
47423         (getumask): Document as specific to GNU/Hurd.
47424         * manual/install.texi: Likewise.  Reword some references to
47425         GNU/Linux.
47426         * manual/intro.texi: Likewise.
47427         * manual/io.texi: Likewise.
47428         (File Name Portability): Detail which constraints are inapplicable
47429         to all GNU systems and which are only inapplicable to GNU/Hurd.
47430         * manual/job.texi: Likewise.
47431         * manual/llio.texi: Likewise.
47432         (O_NOCTTY): Document as present on GNU/Linux.
47433         * manual/maint.texi: Likewise.
47434         * manual/memory.texi: Likewise.
47435         * manual/pattern.texi: Likewise.
47436         * manual/pipe.texi: Likewise.
47437         * manual/process.texi: Likewise.
47438         * manual/resource.texi: Likewise.
47439         (RUSAGE_CHILDREN): Remove statement about specifying a particular
47440         child on GNU/Hurd.
47441         * manual/setjmp.texi: Likewise.
47442         * manual/signal.texi: Likewise.
47443         * manual/startup.texi: Likewise.
47444         * manual/stdio.texi: Likewise.
47445         * manual/terminal.texi: Likewise.
47446         (ONLCR): Document as POSIX.
47447         (OXTABS): Document availability on GNU/Linux as XTABS.
47448         (ONOEOT): Document availability separately from other bits.
47449         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47450         * manual/time.texi: Likewise.
47451         * manual/users.texi: Likewise.
47452         * INSTALL: Regenerated.
47453         * sysdeps/gnu/errlist.c: Regenerated.
47455         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47456         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47457         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
47458         puts.
47459         * configure: Regenerated.
47461 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
47463         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47464         default includes instead of AC_HEADER_CHECK.
47465         * sysdeps/i386/configure: Regenerated.
47467         [BZ #10716]
47468         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47469         * math/s_cacoshf.c (__cacoshf): Likewise.
47470         * math/s_cacoshl.c (__cacoshl): Likewise.
47471         * math/s_casinh.c (__casinh): Set signs of result from argument.
47472         * math/s_casinhf.c (__casinhf): Likewise.
47473         * math/s_casinhl.c (__casinhl): Likewise.
47474         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47475         (casinh_test): Add more tests.
47476         * sysdeps/i386/fpu/libm-test-ulps: Update.
47477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47479 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
47481         * po/zh_TW.po: Update from translation team.
47483         * login/Makefile (distribute): Remove variable.
47484         * catgets/Makefile: Likewise.
47485         * mach/Makefile: Likewise.
47486         * malloc/Makefile: Likewise.
47487         * misc/Makefile: Likewise.
47488         * iconv/Makefile: Likewise.
47489         * nscd/Makefile: Likewise.
47490         * hurd/Makefile: Likewise.
47491         * manual/Makefile: Likewise.
47492         * locale/Makefile: Likewise.
47493         * intl/Makefile: Likewise.
47494         * conform/Makefile: Likewise.
47495         * nss/Makefile: Likewise.
47496         * time/Makefile: Likewise.
47497         * soft-fp/Makefile: Likewise.
47498         * dirent/Makefile: Likewise.
47499         * gmon/Makefile: Likewise.
47500         * po/Makefile: Likewise.
47501         * rt/Makefile: Likewise.
47502         * socket/Makefile: Likewise.
47503         * math/Makefile: Likewise.
47504         * signal/Makefile: Likewise.
47505         * debug/Makefile: Likewise.
47506         * elf/Makefile: Likewise.
47507         * timezone/Makefile: Likewise.
47508         * stdlib/Makefile: Likewise.
47509         * iconvdata/Makefile: Likewise.
47510         * sunrpc/Makefile: Likewise.
47511         * io/Makefile: Likewise.
47512         * argp/Makefile: Likewise.
47513         * inet/Makefile: Likewise.
47514         * hesiod/Makefile: Likewise.
47515         * grp/Makefile: Likewise.
47516         * csu/Makefile: Likewise.
47517         * wctype/Makefile: Likewise.
47518         * crypt/Makefile: Likewise.
47519         * libio/Makefile: Likewise.
47520         * string/Makefile: Likewise.
47521         * nis/Makefile: Likewise.
47522         * resolv/Makefile: Likewise.
47523         * stdio-common/Makefile: Likewise.
47524         * wcsmbs/Makefile: Likewise.
47525         * dlfcn/Makefile: Likewise.
47526         * posix/Makefile: Likewise.
47528         [BZ #6959]
47529         * timezone/Makefile: Don't install timezone files, just the programs
47530         and scripts.
47532 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47534         * nss/databases.def: Add missing gshadow entry.
47536         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47538 2012-03-06  Marek Polacek  <polacek@redhat.com>
47540         [BZ #13726]
47541         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47542         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47543         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47544         * stdio-common/tst-long-dbl-fphex.c: New file.
47546 2012-03-06  David S. Miller  <davem@davemloft.net>
47548         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47549         (set_obp_int): New function.
47550         (get_obp_int): New function.
47551         (__get_clockfreq_via_dev_openprom): Likewise.
47552         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47553         Avoid unused variable warnings on 'val' and use builtin_expect.
47554         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47555         __builtin_expect.
47556         (INLINE_CLONE_SYSCALL): Likewise.
47558 2012-03-05  David S. Miller  <davem@davemloft.net>
47560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47562 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47566         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47567         only for |x| >= 40.
47568         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47570 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47572         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47573         Replace gettimeofday with __vdso_gettimeofday.
47575         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47576         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47577         __vdso_clock_gettime and __vdso_getcpu.
47579         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47580         time with __vdso_time.
47582 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47584         * manual/lang.texi (size_t): Note types to which size_t may be
47585         equivalent with the GNU C Library, but do not describe when
47586         differences between them are significant.
47588 2012-03-05  Andreas Jaeger  <aj@suse.de>
47590         * sysdeps/i386/fpu/libm-test-ulps: Update.
47592 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47594         [BZ #3976]
47595         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47596         (__ieee754_pow): Save and restore rounding mode and use
47597         round-to-nearest for main computations.
47598         * math/libm-test.inc (pow_test_tonearest): New function.
47599         (pow_test_towardzero): Likewise.
47600         (pow_test_downward): Likewise.
47601         (pow_test_upward): Likewise.
47602         (main): Call the new functions.
47603         * sysdeps/i386/fpu/libm-test-ulps: Update.
47604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47606         [BZ #3976]
47607         * math/libm-test.inc (cosh_test_tonearest): New function.
47608         (cosh_test_towardzero): Likewise.
47609         (cosh_test_downward): Likewise.
47610         (cosh_test_upward): Likewise.
47611         (sinh_test_tonearest): Likewise.
47612         (sinh_test_towardzero): Likewise.
47613         (sinh_test_downward): Likewise.
47614         (sinh_test_upward): Likewise.
47615         (main): Call the new functions.
47616         * sysdeps/i386/fpu/libm-test-ulps: Update.
47617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47619 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47621         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47622         default stack guard is set in last bytes.
47623         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47625 2012-03-05  Kees Cook  <keescook@chromium.org>
47627         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47629         [BZ #13656]
47630         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47631         possibly allocate from heap instead of stack.
47632         * stdio-common/bug-vfprintf-nargs.c: New file.
47633         * stdio-common/Makefile (tests): Add nargs overflow test.
47635 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47639 2012-03-03  Marek Polacek  <polacek@redhat.com>
47641         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47642         * math/math_private.h: Likewise.
47643         * stdlib/tst-strtod.c: Likewise.
47644         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47645         * sysdeps/x86_64/bits/atomic.h: Likewise.
47647 2012-03-02  David S. Miller  <davem@davemloft.net>
47649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47653         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47654         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47655         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47656         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47658 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47660         [BZ #13792]
47661         * manual/examples/README: New file, says the example source files
47662         can be used under GPL>=2.
47663         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47664         line containing just "*/".
47665         * manual/examples/add.c: Add copyright header (GPL>=2).
47666         * manual/examples/argp-ex1.c: Likewise.
47667         * manual/examples/argp-ex2.c: Likewise.
47668         * manual/examples/argp-ex3.c: Likewise.
47669         * manual/examples/argp-ex4.c: Likewise.
47670         * manual/examples/atexit.c: Likewise.
47671         * manual/examples/db.c: Likewise.
47672         * manual/examples/dir.c: Likewise.
47673         * manual/examples/dir2.c: Likewise.
47674         * manual/examples/execinfo.c: Likewise.
47675         * manual/examples/filecli.c: Likewise.
47676         * manual/examples/filesrv.c: Likewise.
47677         * manual/examples/fmtmsgexpl.c: Likewise.
47678         * manual/examples/genpass.c: Likewise.
47679         * manual/examples/inetcli.c: Likewise.
47680         * manual/examples/inetsrv.c: Likewise.
47681         * manual/examples/isockad.c: Likewise.
47682         * manual/examples/longopt.c: Likewise.
47683         * manual/examples/memopen.c: Likewise.
47684         * manual/examples/memstrm.c: Likewise.
47685         * manual/examples/mkfsock.c: Likewise.
47686         * manual/examples/mkisock.c: Likewise.
47687         * manual/examples/mygetpass.c: Likewise.
47688         * manual/examples/pipe.c: Likewise.
47689         * manual/examples/popen.c: Likewise.
47690         * manual/examples/rprintf.c: Likewise.
47691         * manual/examples/search.c: Likewise.
47692         * manual/examples/select.c: Likewise.
47693         * manual/examples/setjmp.c: Likewise.
47694         * manual/examples/sigh1.c: Likewise.
47695         * manual/examples/sigusr.c: Likewise.
47696         * manual/examples/stpcpy.c: Likewise.
47697         * manual/examples/strdupa.c: Likewise.
47698         * manual/examples/strftim.c: Likewise.
47699         * manual/examples/strncat.c: Likewise.
47700         * manual/examples/subopt.c: Likewise.
47701         * manual/examples/swapcontext.c: Likewise.
47702         * manual/examples/termios.c: Likewise.
47703         * manual/examples/testopt.c: Likewise.
47704         * manual/examples/testpass.c: Likewise.
47705         * manual/examples/timeval_subtract.c: Likewise.
47707         [BZ #13792]
47708         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47709         function to ...
47710         * manual/timeval_subtract.c.texi: ... here, new file.
47712 2012-03-02  David S. Miller  <davem@davemloft.net>
47714         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47716 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47718         [BZ #3976]
47719         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47720         (__sin): Save and restore rounding mode and use round-to-nearest
47721         for all computations.
47722         (__cos): Save and restore rounding mode and use round-to-nearest
47723         for all computations.
47724         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47725         <fenv.h>.
47726         (tan): Save and restore rounding mode and use round-to-nearest for
47727         all computations.
47728         * math/libm-test.inc (cos_test_tonearest): New function.
47729         (cos_test_towardzero): Likewise.
47730         (cos_test_downward): Likewise.
47731         (cos_test_upward): Likewise.
47732         (sin_test_tonearest): Likewise.
47733         (sin_test_towardzero): Likewise.
47734         (sin_test_downward): Likewise.
47735         (sin_test_upward): Likewise.
47736         (tan_test_tonearest): Likewise.
47737         (tan_test_towardzero): Likewise.
47738         (tan_test_downward): Likewise.
47739         (tan_test_upward): Likewise.
47740         (main): Call the new functions.
47741         * sysdeps/i386/fpu/libm-test-ulps: Update.
47742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47744         [BZ #10135]
47745         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47746         small n, then large n, before computing and testing k+n.
47747         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47748         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47749         Likewise.
47750         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47751         Likewise.
47752         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47753         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47754         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47755         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47756         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47757         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47758         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47759         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47760         * math/libm-test.inc (scalbn_test): Add more tests.
47761         (scalbln_test): Likewise.
47763         * manual/filesys.texi (mode_t): Describe constraints on size and
47764         signedness, not exact equivalence to a particular type.
47765         (ino_t): Likewise.
47766         (ino64_t): Likewise.
47767         (dev_t): Likewise.
47768         (nlink_t): Likewise.
47769         (blkcnt_t): Likewise.
47770         (blkcnt64_t): Likewise.
47771         * manual/llio.texi (off_t): Likewise.
47773         [BZ #3976]
47774         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47775         (__ieee754_exp): Save and restore rounding mode and use
47776         round-to-nearest for all computations.
47777         * math/libm-test.inc (exp_test_tonearest): New function.
47778         (exp_test_towardzero): Likewise.
47779         (exp_test_downward): Likewise.
47780         (exp_test_upward): Likewise.
47781         (main): Call the new functions.
47782         * sysdeps/i386/fpu/libm-test-ulps: Update.
47783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47785 2012-03-01  Chris Demetriou  <cgd@google.com>
47787         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47788         have predictable order.
47790 2012-03-01  David S. Miller  <davem@davemloft.net>
47792         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47794         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47795         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47796         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47797         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47799         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47800         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47801         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47803         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47804         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47805         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47806         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47807         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47811         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47812         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47813         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47815         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47816         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47817         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47818         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47819         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47820         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47821         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47822         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47823         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47824         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47825         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47826         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47827         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47828         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47829         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47830         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47831         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47832         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47833         * sysdeps/sparc/elf/configure: Regenerated.
47835 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47837         * configure.in (AS, LD): Require binutils 2.20 or later.
47838         * configure: Regenerated.
47839         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47840         as required minimum version.
47841         * INSTALL: Regenerated.
47843         [BZ #2541]
47844         [BZ #4108]
47845         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47846         before squaring exponent.
47847         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47848         bottom long double and 27 bits of top long double before squaring
47849         exponent.
47850         * math/libm-test.inc (erfc_test): Add more tests.
47851         * sysdeps/i386/fpu/libm-test-ulps: Update.
47852         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47855 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47857         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47858         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47859         containing bit-fields.
47860         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47861         * soft-fp/single.h (_FP_UNION_S): Likewise.
47862         * soft-fp/double.h (_FP_UNION_D): Likewise.
47864 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47866         [BZ #13786]
47867         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47868         not include ../strcmp.S.
47869         [USE_AS_STRNCASECMP_L]: Likewise.
47870         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47871         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47872         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47873         (__strncasecmp_l_ia32): Define as alias to
47874         __strncasecmp_l_nonascii.
47876         [BZ #5794]
47877         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47878         * sysdeps/i386/fpu/libm-test-ulps: Update.
47879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47881         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47884 2012-02-29  Jeff Law  <law@redhat.com>
47886         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47887         out of bounds read.
47889 2012-02-29  Marek Polacek  <polacek@redhat.com>
47891         [BZ #13706]
47892         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47893         * elf/Makefile: Add rules to run tst-unused-dep.out.
47895 2012-02-28  David S. Miller  <davem@davemloft.net>
47897         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47898         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47899         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47900         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47901         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47902         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47904 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47906         * math/libm-test.inc (llround_test): Move one test from
47907         lround_test.  Use TEST_f_L in moved test.
47908         (lround_test): Move misplaced test to llround_test.  Add testcase
47909         from bug 2561.
47911 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47913         * sysdeps/x86_64/fpu/e_expf.S: New file.
47914         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47916 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47918         [BZ #13637]
47919         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47920         of remain_len that may cause incomplete multi-byte character and
47921         false match.
47922         * posix/bug-regex33.c: New file.
47923         * posix/Makefile (tests): Add bug-regex33.
47925 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47927         * manual/macros.texi: New file.
47928         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47929         * manual/libc.texinfo: Include macros.texi.
47930         * manual/creatute.texi: Likewise.
47931         * manual/install.texi: Likewise.
47932         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47933         @glibcadj{} in references to the GNU C Library.
47934         * manual/charset.texi: Likewise.
47935         * manual/conf.texi: Likewise.
47936         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47937         when not using those macros.
47938         * manual/creature.texi: Likewise.
47939         * manual/crypt.texi: Likewise.
47940         * manual/errno.texi: Likewise.
47941         * manual/filesys.texi: Likewise.
47942         * manual/header.texi: Likewise.
47943         * manual/install.texi: Likewise.
47944         * manual/intro.texi: Likewise.
47945         * manual/io.texi: Likewise.
47946         * manual/job.texi: Likewise.
47947         * manual/lang.texi: Likewise.
47948         * manual/libc.texiinfo: Likewise.
47949         * manual/llio.texi: Likewise.
47950         * manual/locale.texi: Likewise.
47951         * manual/maint.texi: Likewise.
47952         * manual/math.texi: Likewise.
47953         * manual/memory.texi: Likewise.
47954         * manual/message.texi: Likewise.
47955         * manual/nss.texi: Likewise.
47956         * manual/pattern.texi: Likewise.
47957         * manual/process.texi: Likewise.
47958         * manual/resource.texi: Likewise.
47959         * manual/search.texi: Likewise.
47960         * manual/setjmp.texi: Likewise.
47961         * manual/signal.texi: Likewise.
47962         * manual/socket.texi: Likewise.
47963         * manual/startup.texi: Likewise.
47964         * manual/stdio.texi: Likewise.
47965         * manual/string.texi: Likewise.
47966         * manual/sysinfo.texi: Likewise.
47967         * manual/syslog.texi: Likewise.
47968         * manual/terminal.texi: Likewise.
47969         * manual/time.texi: Likewise.
47970         * manual/users.texi: Likewise.
47971         * INSTALL: Regenerated.
47972         * NOTES: Regenerated.
47973         * sysdeps/gnu/errlist.c: Regenerated.
47975 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47977         * include/dirent.h: Include <dirstream.h> before
47978         <dirent/dirent.h>.
47980 2012-02-28  David S. Miller  <davem@davemloft.net>
47982         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47983         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47984         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47985         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47987 2012-02-27  David S. Miller  <davem@davemloft.net>
47989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47991         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47992         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47995         frame pointer instead of stack pointer relative arg slot.
47996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47997         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47998         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48000 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
48002         [BZ #3992]
48003         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48005 2012-02-27  David S. Miller  <davem@davemloft.net>
48007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48011         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48012         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48013         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48014         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48016 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48018         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48019         later.  Allow versions 5-9.
48020         * configure: Regenerated.
48021         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48022         required minimum version and 4.6 as recommended version.  Do not
48023         mention bugs in GCC 2.7 and 2.8.
48024         * INSTALL: Regenerated.
48026 2012-02-27  David S. Miller  <davem@davemloft.net>
48028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48032         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48033         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48034         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48035         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48037         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48038         manipulate bits before adding and subtracting TWO112[sx].
48039         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48041 2012-02-27  Roland McGrath  <roland@hack.frob.com>
48043         [BZ #13775]
48044         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48045         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48046         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48047         being in POSIX, because they are in 1003.1-2008.
48049         * rt/tst-aio.c: Include <fcntl.h>.
48050         * rt/tst-aio7.c: Likewise.
48051         * rt/tst-aio64.c: Likewise.
48053         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48055 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48057         * manual/install.texi (--with-headers): Describe headers as
48058         interface headers, not private headers.
48059         (Specific advice for GNU/Linux systems): Describe use of headers
48060         from "make headers_install", not private headers from older
48061         kernels.
48062         * INSTALL: Regenerated.
48063         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48064         Change to 2.6.19.
48065         * sysdeps/unix/sysv/linux/configure: Regenerated.
48067         * manual/llio.texi (fclean): Remove documentation.
48069         * manual/Makefile (libc-texi-generated): New variable.  Include
48070         version.texi.
48071         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48072         $(libc-texi-generated), not duplicated list of files.
48073         (version.texi, stamp-version): New rules.
48074         (realclean): Remove $(libc-texi-generated), not individual files
48075         from that list.  Do not remove dir-add.texinfo.
48076         * manual/libc.texinfo: Comment out uses of edition numbers and
48077         references to printed manual.  Remove last-updated dates.
48078         (EDITION): Comment out.
48079         (ISBN): Likewise.
48080         (VERSION, UPDATED): Remove.
48081         (version.texi): Include.
48083 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
48085         * sysdeps/posix/spawni.c: Include <signal.h>.
48086         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48087         * sysdeps/pthread/aio_fsync.c: Likewise.
48089 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
48091         * conform/Makefile (tests): Run only when not cross-compiling and
48092         when fast-check is not defined.
48094         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48095         * conform/data/limits.h-data: Fixes for POSIX2008.
48096         * conform/run-conformtest.sh: Run all tests.
48097         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48098         headers.
48099         * include/bits/dlfcn.h: Likewise.
48100         * include/langinfo.h: Likewise.
48101         * include/monetary.h: Likewise.
48102         * include/sys/poll.h: Likewise.
48104         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48105         for __USE_GNU.
48106         * posix/spawn.h: Define __need_sigset_t.
48107         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48108         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48109         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
48110         to get sigevent_t only.
48111         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48112         only for __USE_GNU.
48113         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48114         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48115         process_vm_writev only for __USE_GNU.
48116         * termios/termios.h: Declare tcgetsid also for POSIX2008.
48118         * conform/Makefile: For now ignore errors from run-conformtest.
48119         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
48120         POSIX to avoid namespace pollution.  Don't prepend headers.
48121         * conform/data/aio.h-data: Fixes for POSIX testing.
48122         * conform/data/fcntl.h-data: Likewise.
48123         * conform/data/glob.h-data: Likewise.
48124         * conform/data/grp.h-data: Likewise.
48125         * conform/data/pthread.h-data: Likewise.
48126         * conform/data/pwd.h-data: Likewise.
48127         * conform/data/signal.h-data: Likewise.
48128         * conform/data/spawn.h-data: Likewise.
48129         * conform/data/stdio.h-data: Likewise.
48130         * conform/data/stdlib.h-data: Likewise.
48131         * conform/data/stropts.h-data: Likewise.
48132         * conform/data/sys/mman.h-data: Likewise.
48133         * conform/data/sys/stat.h-data: Likewise.
48134         * conform/data/sys/types.h-data: Likewise.
48135         * conform/data/sys/wait.h-data: Likewise.
48136         * conform/data/time.h-data: Likewise.
48137         * conform/data/unistd.h-data: Likewise.
48138         * conform/data/utime.h-data: Likewise.
48140         * io/sys/stat.h: fchmod was always in POSIX.
48141         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48142         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48143         * rt/aio.h: Define __need_timespec before including <time.h>.
48144         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48145         struct.  Add forward declaration of pthread_attr_t and use it in
48146         sigevent.
48147         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48148         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48149         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48150         always remove CLK_TCK definition.
48152 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
48154         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48156 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
48158         * conform/run-conformtest.sh: New file.
48159         * conform/Makefile: Run run-conformtest for tests.
48160         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
48161         support.
48163         * conform/data/uchar.h-data: New file.
48164         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48165         * conform/data/arpa/inet.h-data: Likewise.
48166         * conform/data/assert.h-data: Likewise.
48167         * conform/data/complex.h-data: Likewise.
48168         * conform/data/cpio.h-data: Likewise.
48169         * conform/data/ctype.h-data: Likewise.
48170         * conform/data/dirent.h-data: Likewise.
48171         * conform/data/dlfcn.h-data: Likewise.
48172         * conform/data/errno.h-data: Likewise.
48173         * conform/data/fcntl.h-data: Likewise.
48174         * conform/data/float.h-data: Likewise.
48175         * conform/data/fmtmsg.h-data: Likewise.
48176         * conform/data/fnmatch.h-data: Likewise.
48177         * conform/data/ftw.h-data: Likewise.
48178         * conform/data/glob.h-data: Likewise.
48179         * conform/data/grp.h-data: Likewise.
48180         * conform/data/iconv.h-data: Likewise.
48181         * conform/data/inttypes.h-data: Likewise.
48182         * conform/data/langinfo.h-data: Likewise.
48183         * conform/data/libgen.h-data: Likewise.
48184         * conform/data/limits.h-data: Likewise.
48185         * conform/data/locale.h-data: Likewise.
48186         * conform/data/math.h-data: Likewise.
48187         * conform/data/monetary.h-data: Likewise.
48188         * conform/data/mqueue.h-data: Likewise.
48189         * conform/data/ndbm.h-data: Likewise.
48190         * conform/data/net/if.h-data: Likewise.
48191         * conform/data/netdb.h-data: Likewise.
48192         * conform/data/netinet/in.h-data: Likewise.
48193         * conform/data/nl_types.h-data: Likewise.
48194         * conform/data/poll.h-data: Likewise.
48195         * conform/data/pthread.h-data: Likewise.
48196         * conform/data/pwd.h-data: Likewise.
48197         * conform/data/regex.h-data: Likewise.
48198         * conform/data/sched.h-data: Likewise.
48199         * conform/data/search.h-data: Likewise.
48200         * conform/data/semaphore.h-data: Likewise.
48201         * conform/data/setjmp.h-data: Likewise.
48202         * conform/data/signal.h-data: Likewise.
48203         * conform/data/spawn.h-data: Likewise.
48204         * conform/data/stdarg.h-data: Likewise.
48205         * conform/data/stdio.h-data: Likewise.
48206         * conform/data/stdlib.h-data: Likewise.
48207         * conform/data/string.h-data: Likewise.
48208         * conform/data/strings.h-data: Likewise.
48209         * conform/data/stropts.h-data: Likewise.
48210         * conform/data/sys/ipc.h-data: Likewise.
48211         * conform/data/sys/mman.h-data: Likewise.
48212         * conform/data/sys/msg.h-data: Likewise.
48213         * conform/data/sys/resource.h-data: Likewise.
48214         * conform/data/sys/select.h-data: Likewise.
48215         * conform/data/sys/sem.h-data: Likewise.
48216         * conform/data/sys/shm.h-data: Likewise.
48217         * conform/data/sys/socket.h-data: Likewise.
48218         * conform/data/sys/stat.h-data: Likewise.
48219         * conform/data/sys/statvfs.h-data: Likewise.
48220         * conform/data/sys/time.h-data: Likewise.
48221         * conform/data/sys/timeb.h-data: Likewise.
48222         * conform/data/sys/times.h-data: Likewise.
48223         * conform/data/sys/types.h-data: Likewise.
48224         * conform/data/sys/uio.h-data: Likewise.
48225         * conform/data/sys/un.h-data: Likewise.
48226         * conform/data/sys/utsname.h-data: Likewise.
48227         * conform/data/sys/wait.h-data: Likewise.
48228         * conform/data/syslog.h-data: Likewise.
48229         * conform/data/tar.h-data: Likewise.
48230         * conform/data/termios.h-data: Likewise.
48231         * conform/data/utime.h-data: Likewise.
48232         * conform/data/utmpx.h-data: Likewise.
48233         * conform/data/varargs.h-data: Likewise.
48234         * conform/data/wchar.h-data: Likewise.
48235         * conform/data/wctype.h-data: Likewise.
48236         * conform/data/wordexp.h-data: Likewise.
48238         * include/stropts.h: New file.
48239         * include/uchar.h: New file.
48240         * include/aio.h: Changes to allow conformtest.pl to use the headers.
48241         * include/assert.h: Likewise.
48242         * include/ctype.h: Likewise.
48243         * include/dirent.h: Likewise.
48244         * include/dlfcn.h: Likewise.
48245         * include/fcntl.h: Likewise.
48246         * include/fnmatch.h: Likewise.
48247         * include/glob.h: Likewise.
48248         * include/grp.h: Likewise.
48249         * include/libio.h: Likewise.
48250         * include/locale.h: Likewise.
48251         * include/math.h: Likewise.
48252         * include/net/if.h: Likewise.
48253         * include/netdb.h: Likewise.
48254         * include/netinet/in.h: Likewise.
48255         * include/pthread.h: Likewise.
48256         * include/pwd.h: Likewise.
48257         * include/regex.h: Likewise.
48258         * include/sched.h: Likewise.
48259         * include/search.h: Likewise.
48260         * include/setjmp.h: Likewise.
48261         * include/signal.h: Likewise.
48262         * include/stdio.h: Likewise.
48263         * include/stdlib.h: Likewise.
48264         * include/string.h: Likewise.
48265         * include/sys/cdefs.h: Likewise.
48266         * include/sys/mman.h: Likewise.
48267         * include/sys/msg.h: Likewise.
48268         * include/sys/resource.h: Likewise.
48269         * include/sys/select.h: Likewise.
48270         * include/sys/socket.h: Likewise.
48271         * include/sys/stat.h: Likewise.
48272         * include/sys/statvfs.h: Likewise.
48273         * include/sys/time.h: Likewise.
48274         * include/sys/times.h: Likewise.
48275         * include/sys/uio.h: Likewise.
48276         * include/sys/utsname.h: Likewise.
48277         * include/sys/wait.h: Likewise.
48278         * include/termios.h: Likewise.
48279         * include/time.h: Likewise.
48280         * include/ulimit.h: Likewise.
48281         * include/unistd.h: Likewise.
48282         * include/utime.h: Likewise.
48283         * include/wchar.h: Likewise.
48284         * include/wctype.h: Likewise.
48285         * include/wordexp.h: Likewise.
48287         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48289         * time/time.h: TIME_UTC must be a macro.
48290         Make timespec_get available for ISO C11 only as well.
48292 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48294         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48295         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48297 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48299         * configure.in: Use -o not -a in test for unsupported multi-arch.
48301 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48303         * manual/texinfo.tex: Update to version 2012-01-19.16.
48305 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48307         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48309 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48311         [BZ #13738]
48312         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48313         * manual/fdl-1.3.texi: New file.
48314         * manual/fdl-1.1.texi: File removed.
48316         [BZ #13738]
48317         * manual/libc.texinfo (FDL_VERSION): New @set.
48318         Use it for mention of FDL in cover text.
48319         (Documentation License): Use it in @include file name.
48321 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48322             Roland McGrath  <roland@hack.frob.com>
48324         [BZ #5461]
48325         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48326         (not LONG_LONG_MAX and LONG_LONG_MIN.
48327         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48328         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48329         name.
48330         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48332 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48334         [BZ #2547]
48335         [BZ #11365]
48336         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48337         manipulate bits before adding and subtracting TWO23[sx].
48338         * math/libm-test.inc (nearbyint_test): Add more tests.
48340 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48342         [BZ #2548]
48343         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48344         bits before adding and subtracting TWO23[sx].
48345         * math/libm-test.inc (rint_test): Add more tests.
48346         (rint_test_tonearest): Likewise.
48347         (rint_test_towardzero): Likewise.
48348         (rint_test_downward): Likewise.
48349         (rint_test_upward: Likewise.
48351 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48353         [BZ #10110]
48354         * include/stdc-predef.h: New file.  Extracted from features.h.
48355         * include/features.h: Include stdc-predef.h.
48356         * Makefile (headers): Add stdc-predef.h.
48357         * CONFORMANCE (Compiler limitations): Update.
48359 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48361         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48363 2012-02-21  David S. Miller  <davem@davemloft.net>
48365         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48366         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48368 2012-02-20  David S. Miller  <davem@davemloft.net>
48370         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48371         using a normal save/restore sequence, rather than allocating a
48372         dummy stack frame just to store a frame pointer and restore.
48373         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48375 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48377         * manual/install.texi: Fix stray word in line-wrapped comment.
48379 2012-02-20  David S. Miller  <davem@davemloft.net>
48381         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48382         both binutils and gcc support GOTDATA.
48384         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48385         "rd %pc" in the PIC register setup sequences.
48387         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48388         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48389         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48390         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48391         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48392         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48393         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48394         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48395         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48396         (SYSCALL_ERROR_HANDLER): Likewise.
48397         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48398         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48399         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48400         (SYSCALL_ERROR_HANDLER): Likewise.
48402         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48403         (HAVE_GCC_GOTDATA): New.
48404         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48405         relocation support in both binutils and gcc.
48406         * sysdeps/sparc/elf/configure: Regenerate.
48408         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48409         * sysdeps/sparc/sparc32/elf/configure: Delete.
48410         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48411         * sysdeps/sparc/sparc64/elf/configure: Delete.
48412         * sysdeps/sparc/elf/configure.in: New file.
48413         * sysdeps/sparc/elf/configure: Generate.
48415         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48416         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48417         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48418         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48419         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48421 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48423         * manual/install.texi: Do not mention specific glibc version
48424         numbers.
48425         * manual/libc.texinfo (VERSION, UPDATED): Update.
48426         (@copying): Use @copyright{} and range of years.
48428 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48430         [BZ #13695]
48431         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48432         [crti.S not in sysdirs] (generated): Do not append.
48433         [crti.S not in sysdirs] (omit-deps): Likewise.
48434         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48435         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48436         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48437         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48438         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48439         Likewise.
48440         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48441         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48442         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48443         * csu/defs.awk: Remove file.
48444         * sysdeps/generic/initfini.c: Likewise.
48445         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48446         variable.
48447         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48448         Likewise.
48450 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48452         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48453         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48454         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48455         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48456         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48457         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48458         <bits/epoll.h>.
48459         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48460         (__EPOLL_PACKED): Define to empty if not defined by
48461         <bits/epoll.h>.
48462         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48463         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48464         bits/epoll.h.
48466 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48468         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48469         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48470         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48471         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48472         <bits/timerfd.h>.
48473         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48474         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48475         bits/timerfd.h.
48477 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48479         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48480         in C locale.
48481         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48482         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48483         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48486 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
48488         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48489         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48491 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
48493         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48494         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48495         defined.
48496         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48497         Likewise.
48498         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48499         entry for 2.16.
48501 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48503         * math/w_acos.c: Use non-signaling floating-point comparisons.
48504         * math/w_acosf.c: Likewise.
48505         * math/w_acosh.c: Likewise.
48506         * math/w_acoshf.c: Likewise.
48507         * math/w_acoshl.c: Likewise.
48508         * math/w_acosl.c: Likewise.
48509         * math/w_asin.c: Likewise.
48510         * math/w_asinf.c: Likewise.
48511         * math/w_asinl.c: Likewise.
48512         * math/w_atanh.c: Likewise.
48513         * math/w_atanhf.c: Likewise.
48514         * math/w_atanhl.c: Likewise.
48515         * math/w_exp2.c: Likewise.
48516         * math/w_exp2f.c: Likewise.
48517         * math/w_exp2l.c: Likewise.
48518         * math/w_j0.c: Likewise.
48519         * math/w_j0f.c: Likewise.
48520         * math/w_j0l.c: Likewise.
48521         * math/w_j1.c: Likewise.
48522         * math/w_j1f.c: Likewise.
48523         * math/w_j1l.c: Likewise.
48524         * math/w_jn.c: Likewise.
48525         * math/w_jnf.c: Likewise.
48526         * math/w_log.c: Likewise.
48527         * math/w_log10.c: Likewise.
48528         * math/w_log10f.c: Likewise.
48529         * math/w_log10l.c: Likewise.
48530         * math/w_log2.c: Likewise.
48531         * math/w_log2f.c: Likewise.
48532         * math/w_log2l.c: Likewise.
48533         * math/w_logf.c: Likewise.
48534         * math/w_logl.c: Likewise.
48535         * math/w_sqrt.c: Likewise.
48536         * math/w_sqrtf.c: Likewise.
48537         * math/w_sqrtl.c: Likewise.
48538         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48539         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48540         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48541         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48542         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48544 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48546         [BZ #9739]
48547         * manual/string.texi (strnlen): Use correct parameter name in
48548         equivalent expression.
48550 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48552         [BZ #11174]
48553         * manual/users.texi (seteuid): Consistently use neweuid for
48554         argument name.
48556 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48558         [BZ #13704]
48559         * manual/nss.texi (Services in the NSS configuration): Correct
48560         list of services in example configuration file.
48562 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48564         [BZ #11322]
48565         * manual/arith.texi: Remove statements about negative zero
48566         behaving identically to zero.
48568 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48570         [BZ #5993]
48571         * manual/install.texi: Do not document upgrading from libc5.
48573 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48575         [BZ #4596]
48576         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48578 2012-02-18  David S. Miller  <davem@davemloft.net>
48580         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48581         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48582         %o7 across the call.
48583         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48584         instead.
48585         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48586         SETUP_PIC_REG_LEAF.
48587         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48588         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48589         * sysdeps/sparc/crtn.S: Likewise.
48591 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48593         * aout/Makefile: Remove.
48595 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48597         [BZ #13058]
48598         * manual/examples/argp-ex1.c (main): Format definition in GNU
48599         style.
48600         * manual/examples/argp-ex2.c (main): Likewise.
48601         * manual/examples/argp-ex3.c (main): Likewise.
48602         * manual/examples/argp-ex4.c (main): Likewise.
48603         * manual/examples/longopt.c (main): Use new-style prototype
48604         definition.
48605         * manual/examples/strncat.c (main): Specify return type and use
48606         (void) for arguments.
48607         * manual/examples/subopt.c (main): Use char **argv argument.
48609 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48611         [BZ #5077]
48612         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48613         rounding modes.
48615 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48617         [BZ #6907]
48618         * manual/string.texi (strchr): Change when strchrnul is
48619         recommended.
48621 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48623         [BZ #174]
48624         * manual/locale.texi (setlocale): Document LOCPATH.
48626 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48628         [BZ #10210]
48629         * manual/process.texi (execle): Move @dots{} before last argument.
48631 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48633         [BZ #12047]
48634         * manual/charset.texi (Generic Charset Conversion): Fix typo
48635         (LC_TYPE -> LC_CTYPE).
48637 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48639         [BZ #5805]
48640         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48641         (scalbnf): Likewise.
48642         (scalbnl): Likewise.
48643         (scalbln): Likewise.
48644         (scalblnf): Likewise.
48645         (scalblnl): Likewise.
48646         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48647         (vwarnx): Likewise.
48648         (verr): Likewise.
48649         (verrx): Likewise.
48650         * manual/filesys.texi (telldir): Use braces around return type.
48651         * manual/llio.texi (mmap): Add space after comma.
48652         (mmap64): Likewise.
48653         * manual/math.texi (jn): Use @var{} on parameter names.
48654         (jnf): Likewise.
48655         (jnl): Likewise.
48656         (yn): Likewise.
48657         (ynf): Likewise.
48658         (ynl): Likewise.
48659         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48660         line.
48661         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48662         "...".
48663         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48664         (sched_get_priority_max): Likewise.
48665         * manual/signal.texi (sigvec): Add space after comma.
48666         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48667         names.
48668         (if_indextoname): Likewise.
48669         (if_freenameindex): Likewise.
48670         (sendto): Use ',' instead of '.' in prototype.
48671         * manual/startup.texi (syscall): Use @dots{} instead of literal
48672         "...".
48673         * manual/stdio.texi (__fpending): Separate initial words of
48674         paragraph from @deftypefun line.
48675         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48676         "...".
48677         (vsyslog): Use @var{} on parameter names.
48678         * manual/terminal.texi (stty): Use @var{} on parameter names.
48679         * manual/users.texi (getutmp): Use @var{} on parameter names.
48680         (getutmpx): Likewise.
48682 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48684         [BZ #6884]
48685         * manual/stdio.texi (fopen): Fix typos in description of
48686         ",ccs=STRING".
48688 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48690         [BZ #4026]
48691         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48692         get clock_id definition.
48694 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48696         [BZ #4822]
48697         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48698         (madvise): Cast every argument to void on its own.
48700 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48702         [BZ #9902]
48703         * manual/startup.texi (Exit Status): Fix typo.
48705 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48707         [BZ #10140]
48708         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48709         * manual/examples/argp-ex2.c: Likewise.
48710         * manual/examples/argp-ex3.c: Likewise.
48712 2012-02-16  Richard Henderson  <rth@redhat.com>
48714         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48715         * sysdeps/s390/s390-32/initfini.c: Remove.
48716         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48717         * sysdeps/s390/s390-64/initfini.c: Remove.
48719 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48721         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48722         compiler output for sysdeps/generic/initfini.c.
48723         * sysdeps/sh/elf/initfini.c: Remove file.
48725 2012-02-16  David S. Miller  <davem@davemloft.net>
48727         [BZ #11494]
48728         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48730         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48731         * sysdeps/sparc/crti.S: New file.
48732         * sysdeps/sparc/crtn.S: New file.
48733         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48734         * sysdeps/sparc/sparc64/Makefile: Likewise.
48736 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48738         [BZ #3335]
48739         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48741 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48743         [BZ #4822]
48744         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48746         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48747         (write, read, close): Likewise.
48748         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48750 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48752         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48753         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48754         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48755         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48756         <bits/signalfd.h>.
48757         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48758         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48759         bits/signalfd.h.
48761 2012-02-14  Marek Polacek  <polacek@redhat.com>
48763         * sysdeps/x86_64/crti.S: New file.
48764         * sysdeps/x86_64/crtn.S: New file.
48765         * sysdeps/x86_64/elf/initfini.c: Remove file.
48767 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48769         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48770         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48771         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48772         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48773         <bits/inotify.h>.
48774         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48775         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48776         bits/inotify.h.
48778 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48780         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48781         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48782         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48783         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48784         <bits/eventfd.h>.
48785         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48786         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48787         bits/eventfd.h.
48789 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48791         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48792         __feraiseexcept instead of feraiseexcept.
48794         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48795         nanosleep invocations.
48796         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48797         strings, and add error checking for a nanosleep invocations.
48799 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48801         Replace FSF snail mail address with URLs, as per GNU coding standards.
48802         Most of the snail mail addresses were wrong anyway, and omitting
48803         them makes the source code easier to maintain.  Almost all of the
48804         changes are to license notices and to locale LC_IDENTIFICATION
48805         addresses, except for this one:
48806         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48807         not its snail mail address.
48809 2012-02-09  Richard Henderson  <rth@twiddle.net>
48811         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48812         of kernel-features.h.
48814         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48816 2012-02-08  Marek Polacek  <polacek@redhat.com>
48818         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48819         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48820         * sysdeps/gnu/_G_config.h: Likewise.
48821         * sysdeps/generic/_G_config.h: Likewise.
48823 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48825         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48826         tests.
48827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48829         * sysdeps/powerpc/powerpc32/crti.S: New file.
48830         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48831         * sysdeps/powerpc/powerpc64/crti.S: New file.
48832         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48834         * Makeconfig (have-initfini): Don't set.
48835         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48836         * configure.in (nopic_initfini): Don't substitute.
48837         * config.h.in (HAVE_INITFINI): Don't #undef.
48838         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48839         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48841 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48843         Support crti.S and crtn.S provided directly by architectures.
48844         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48845         [crti.S in sysdirs] (omit-deps): Likewise.
48846         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48847         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48848         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48849         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48850         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48851         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48852         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48853         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48854         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48855         compiler output for sysdeps/generic/initfini.c.
48856         * sysdeps/i386/elf/Makefile: Remove file.
48857         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48859 2012-02-07  Marek Polacek  <polacek@redhat.com>
48861         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48862         * sysdeps/gnu/_G_config.h: Likewise.
48863         * sysdeps/mach/hurd/_G_config.h: Likewise.
48865 2012-02-07  Marek Polacek  <polacek@redhat.com>
48867         * math/Makefile (tests): Add tst-CMPLX2.
48868         * math/tst-CMPLX2.c: New file.
48870 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48872         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48874         * math/libm-test.inc (jn_test): Add missing L suffix.
48876 2012-02-06  Marek Polacek  <polacek@redhat.com>
48878         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48879         * sysdeps/i386/fpu/e_powf.S: Likewise.
48880         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48881         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48882         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48883         * sysdeps/i386/fpu/e_pow.S: Likewise.
48884         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48885         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48886         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48887         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48888         * sysdeps/i386/fpu/e_log2.S: Likewise.
48889         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48890         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48891         * sysdeps/i386/fpu/e_powl.S: Likewise.
48892         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48893         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48894         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48895         * sysdeps/i386/fpu/e_logl.S: Likewise.
48896         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48897         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48898         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48899         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48900         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48901         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48902         * sysdeps/i386/fpu/e_log.S: Likewise.
48903         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48904         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48905         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48906         * sysdeps/i386/fpu/e_logf.S: Likewise.
48907         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48908         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48909         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48910         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48911         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48912         * sysdeps/i386/fpu/e_log10.S: Likewise.
48913         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48914         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48915         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48916         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48917         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48918         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48919         * sysdeps/i386/asm-syntax.h: Likewise.
48920         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48921         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48922         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48923         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48924         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48925         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48926         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48927         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48928         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48929         * sysdeps/powerpc/sysdep.h: Likewise.
48930         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48931         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48933 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48935         [BZ #411]
48936         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48938 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48940         * sysdeps/i386/sysdep.h: Include <features.h>.
48941         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48942         version.
48944 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48946         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48947         Define.
48948         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48949         LOAD_PIC_REG_STR.
48951 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48953         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48954         (SETUP_PIC_REG): Use GET_PC_THUNK.
48955         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48956         macro.
48958 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48960         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48961         for non-PIC compilation.
48962         (SETUP_PIC_REG): Add .p2align directive.
48963         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48964         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48965         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48966         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48967         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48968         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48969         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48970         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48971         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48972         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48973         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48974         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48975         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48976         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48977         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48978         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48979         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48980         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48981         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48982         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48983         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48984         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48985         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48986         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48987         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48988         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48989         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48990         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48991         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48992         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48993         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48994         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48995         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48996         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48997         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48998         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48999         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49000         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49001         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49002         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49003         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49005 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49007         * math/tst-CMPLX.c: Include <stdio.h>.
49009 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
49011         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49012         float.
49013         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49014         * sysdeps/sparc/bits/mathdef.h: Likewise.
49016 2012-01-31  Marek Polacek  <polacek@redhat.com>
49018         * libio/libio.h: Don't define _PARAMS.
49019         * locale/programs/config.h: Don't define PARAMS.
49020         * stdlib/strtol_l.c: Likewise.
49021         (__strtol_l): Remove PARAMS from the prototype.
49023 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
49025         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
49026         names.  Just use the correct names.  Remove unnecessary wrapper
49027         functions.
49028         * malloc/arena.c: Likewise.
49029         * malloc/hooks.c: Likewise.
49031         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49032         ARENA_TEST says not to.  Simplify test for creation of a new arena.
49033         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49035 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
49037         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49038         into tail calls.
49039         (update_get_addr): New function.
49040         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49041         GET_ADDR_MODULE parameter.
49043 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49045         * crypt/cert.c: Remove __STDC__ conditionals.
49046         * crypt/crypt-entry.c: Likewise.
49047         * crypt/crypt_util.c: Likewise.
49048         * libio/filedoalloc.c: Likewise.
49049         * libio/fileops.c: Likewise.
49050         * libio/genops.c: Likewise.
49051         * libio/iofclose.c: Likewise.
49052         * libio/iofdopen.c: Likewise.
49053         * libio/iofopen.c: Likewise.
49054         * libio/iofopen64.c: Likewise.
49055         * libio/iogetdelim.c: Likewise.
49056         * libio/iopopen.c: Likewise.
49057         * libio/obprintf.c: Likewise.
49058         * libio/oldfileops.c: Likewise.
49059         * libio/oldiofclose.c: Likewise.
49060         * libio/oldiofdopen.c: Likewise.
49061         * libio/oldiofopen.c: Likewise.
49062         * libio/oldiopopen.c: Likewise.
49063         * libio/wfiledoalloc.c: Likewise.
49064         * libio/wgenops.c: Likewise.
49065         * locale/programs/xmalloc.c: Likewise.
49066         * misc/syslog.c: Likewise.
49067         * stdio-common/xbug.c: Likewise.
49068         * string/memchr.c: Likewise.
49069         * string/memcmp.c: Likewise.
49070         * string/memrchr.c: Likewise.
49071         * string/rawmemchr.c: Likewise.
49072         * sysdeps/posix/getcwd.c: Likewise.
49073         * time/strftime_l.c: Likewise.
49075 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49077         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49078         * config.make.in (config-cflags-sse2avx): Define.
49079         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49080         Fix typo.
49082 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
49084         * scripts/config.guess: Update from upstream config git repository.
49085         * scripts/config.sub: Likewise.
49087 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
49089         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49090         (EM_NUM): Update.
49091         (R_TILEPRO_*, R_TILEGX_*): New macros.
49093         * scripts/firstversions.awk: Fix bug in version range handling.
49095         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49097         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49099         * include/sys/epoll.h: New file.
49100         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49101         libc_hidden_def.
49103 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
49105         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49106         Avoid unnecessary __WORDSIZE == 64 test.
49107         (fmaxf): Use VEX format if possible.
49108         (fmax): Likewise.
49109         (fminf): Likewise.
49110         (fmin): Likewise.
49112         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49113         * math/math_private.h: Remove libc_fegetround* and
49114         libc_fesetround*.
49115         * sysdeps/i386/configure.in: Check for -msse2avx.
49116         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49117         also if SSE2AVX is defined.
49118         Remove libc_fegetround* and libc_fesetround*.
49119         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49120         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
49121         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49122         of HAS_YMM_USABLE.
49123         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49124         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49125         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49126         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49127         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49129         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49131 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49133         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49134         size is not set.
49135         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49137 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
49139         [BZ #13618]
49140         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49141         relocation.
49142         * Makeconfig (libm): Define.
49143         * elf/Makefile: Add rules to build and run tst-relsort1.
49144         * elf/tst-relsort1.c: New file.
49145         * elf/tst-relsort1mod1.c: New file.
49146         * elf/tst-relsort1mod2.c: New file.
49148 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
49150         * math/s_ldexp.c: Remove __STDC__ conditionals.
49151         * math/s_ldexpf.c: Likewise.
49152         * math/s_ldexpl.c: Likewise.
49153         * math/s_nextafter.c: Likewise.
49154         * math/s_nexttowardf.c: Likewise.
49155         * math/s_significand.c: Likewise.
49156         * math/s_significandf.c: Likewise.
49157         * math/s_significandl.c: Likewise.
49158         * math/w_jnl.c: Likewise.
49159         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49160         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49161         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49162         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49163         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49164         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49165         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49166         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49167         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49168         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49169         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49170         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49171         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49172         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49173         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49174         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49175         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49176         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49177         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49178         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49179         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49180         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49181         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49182         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49183         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49184         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49185         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49186         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49187         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49188         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49189         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49190         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49191         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49192         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49193         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49194         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49195         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49196         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49197         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49198         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49199         * sysdeps/ieee754/k_standard.c: Likewise.
49200         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49201         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49202         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49203         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49204         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49205         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49206         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49207         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49208         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49209         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49210         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49211         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49212         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49213         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49214         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49215         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49216         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49217         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49218         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49219         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49220         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49221         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49222         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49223         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49224         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49225         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49226         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49227         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49228         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49229         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49230         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49231         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49232         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49233         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49234         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49235         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49236         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49237         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49238         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49239         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49240         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49241         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49242         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49243         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49244         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49245         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49246         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49247         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49248         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49249         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49250         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49251         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49252         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49253         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49254         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49255         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49256         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49257         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49258         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49259         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49260         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49261         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49262         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49263         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49264         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49265         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49266         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49267         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49268         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49269         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49270         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49271         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49272         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49273         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49274         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49275         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49276         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49277         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49278         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49279         * sysdeps/ieee754/s_matherr.c: Likewise.
49280         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49281         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49282         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49283         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49285 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49287         * crypt/md5.h: Remove __STDC__ conditionals.
49288         * libio/libioP.h: Likewise.
49289         * locale/programs/config.h: Likewise.
49290         * sysdeps/generic/sysdep.h: Likewise.
49291         * sysdeps/i386/asm-syntax.h: Likewise.
49292         * sysdeps/s390/asm-syntax.h: Likewise.
49293         * sysdeps/unix/sysdep.h: Likewise.
49294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49297 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49299         * libio/libio.h: Remove __STDC__ conditionals.
49300         * malloc/obstack.h: Likewise.
49301         * math/complex.h: Likewise.
49302         * math/math.h: Likewise.
49303         * sysdeps/generic/_G_config.h: Likewise.
49304         * sysdeps/gnu/_G_config.h: Likewise.
49305         * sysdeps/mach/hurd/_G_config.h: Likewise.
49306         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49307         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49308         * sysdeps/sparc/bits/mathdef.h: Likewise.
49310 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49312         [BZ #13583]
49313         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49314         Clean up HAS_* macros.
49315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49316         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49317         possible.
49318         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49319         HAS_AVX.
49320         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49321         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49322         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49323         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49324         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49326 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49328         * elf/tst-unique3.cc (gets): Remove declaration.
49329         * elf/tst-unique3lib.cc (gets): Likewise.
49330         * elf/tst-unique3lib2.cc (gets): Likewise.
49331         * elf/tst-unique4.cc (gets): Likewise.
49333 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49335         * include/stdio.h: Add C++ protection.  Add gets declarations and
49336         definitions.
49337         * debug/tst-chk1.c: Don't declare gets here.
49338         * stdio-common/tst-gets.c: Likewise.
49340 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49342         * posix/glob: Remove directory.
49344 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49346         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49348 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49350         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49351         of the non-standard EPFNOSUPPORT.
49353 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49355         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49356         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49357         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49359 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49361         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49363 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49365         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49366         transient errors.
49367         * nscd/grpcache.c (cache_addgr): Likewise.
49368         * nscd/hstcache.c (cache_addhst): Likewise.
49369         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49370         * nscd/pwdcache.c (cache_addpw): Likewise.
49371         * nscd/servicescache.c (cache_addserv): Likewise.
49373 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49375         * malloc/malloc.c: Various cleanups.
49376         * malloc/hooks.c: Likewise.
49378         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49379         * stdlib/bug-fmtmsg1.c: New file.
49381         * stdlib/fmtmsg.c (init): Add missing unlock.
49382         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49384 2012-01-12  Marek Polacek  <polacek@redhat.com>
49386         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49387         and _GNU_SOURCE.
49389 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49391         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49392         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49393         macro to ensure uniqueness of label name.
49394         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49395         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49397 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49399         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49401         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49402         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49403         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49404         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49406 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49408         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49410         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49411         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49412         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49414         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49416         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49417         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49418         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49419         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49421         * math/bits/math-finite.h: Add ldexp support.
49423 2012-01-10  Marek Polacek  <polacek@redhat.com>
49425         * locale/programs/localedef.h (show_archive_content): Add noreturn
49426         attribute.
49428 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49430         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49432 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49434         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49436         * io/Makefile (headers): Add bits/poll2.h.
49438 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
49440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49441         typo #include statement.
49443 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49445         * include/sys/cdefs.h: Define __attribute_alloc_size.
49446         * catgets/gencat.c: Add alloc_size attribute and apply consistently
49447         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49448         * elf/pldd.c: Likewise.
49449         * iconv/iconv_charmap.c: Likewise.
49450         * iconv/iconvconfig.c: Likewise.
49451         * iconv/strtab.c: Likewise.
49452         * locale/programs/locale.c: Likewise.
49453         * locale/programs/localedef.h: Likewise.
49454         * locale/programs/simple-hash.c: Likewise.
49455         * nscd/nscd.h: Likewise.
49456         * nss/makedb.c: Likewise.
49457         * sysdeps/generic/ldconfig.h: Likewise.
49458         * locale/programs/localedef.c: Remove xmalloc prototype.
49459         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49461 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49463         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49464         appropriate.
49466 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49468         * math/Makefile (tests): Add tst-CMPLX.
49469         * math/tst-CMPLX.c: New file.
49471         * math/complex.h (CMPLXL): Fix typo.
49473         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49474         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49475         GLIBC_2.16.
49476         * debug/tst-chk1.c: Add poll and ppoll tests.
49477         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49478         * include/sys/poll.h: Add hidden proto for ppoll.
49479         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49480         * sysdeps/mach/hurd/ppoll.c: Likewise.
49481         * io/ppoll.c: Likewise.
49482         * debug/poll_chk.c: New file.
49483         * debug/ppoll_chk.c: New file.
49484         * include/bits/poll2.h: New file.
49485         * io/bits/poll2.h: New file.
49487         [BZ #1350]
49488         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49490         * configure.in: static is always set to yes.  Remove.
49491         * config.make.in: Don't set build-static.
49492         * Makeconfig: Remove use of build-static.
49493         * dlfcn/Makefile: Likewise.
49494         * elf/Makefile: Likewise.
49495         * math/Makefile: Likewise.
49496         * misc/Makefile: Likewise.
49497         * nptl/Makefile: Likewise.
49498         * sysdeps/mach/hurd/Makefile: Likewise.
49500         * configure.in: PWD_P is not used anymore.
49501         * config.make.in: Remove PWD_P entry.
49503         * configure.in: Remove last remnants of RANLIB.
49504         No need to check for signed size_t anymore.
49505         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49506         and IA-64.
49507         Remove __builtin_expect test because we require at least gcc 3.4.
49508         * aclocal.m4: Likewise.
49510         * wcsmbs/mbrtoc16.c: Implement using towc function.
49511         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49512         * wcsmbs/wcsmbsload.c: Likewise.
49513         * iconv/gconv_simple.c: Likewise.
49514         * iconv/gconv_int.h: Likewise.
49515         * iconv/gconv_builtin.h: Likewise.
49516         * iconv/iconv_prog.c: Remove CHAR16 handling.
49518         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49520         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49522         * configure.in: Remove --with-elf and --enable-bounded options.
49523         Dont set base_machine for ia64.  More non-ELF conditions removed.
49524         Remove testing and setting of leading underscore information.
49525         * config.make.in (build-bounded): Set to no.
49526         * config.h.in: Remove NO_UNDERSCORES entry.
49527         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49528         them.
49529         * csu/start.c: Remove !NO_UNDERSCORE code.
49530         * locale/localeinfo.h: Likewise.
49531         * sysdeps/generic/machine-gmon.h: Likewise.
49532         * sysdeps/generic/sysdep.h: Likewise.
49533         * sysdeps/i386/sysdep.h: Likewise.
49534         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49535         * sysdeps/mach/sysdep.h: Likewise.
49536         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49537         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49538         * sysdeps/sh/sysdep.h: Likewise.
49539         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49540         * sysdeps/unix/i386/sysdep.S: Likewise.
49541         * sysdeps/unix/sparc/start.c: Likewise.
49542         * sysdeps/unix/sparc/sysdep.S: Likewise.
49543         * sysdeps/unix/sparc/sysdep.h: Likewise.
49544         * sysdeps/unix/start.c: Likewise.
49545         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49546         * sysdeps/x86_64/sysdep.h: Likewise.
49548 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49550         [BZ #13553]
49551         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49552         for non-gcc.
49553         * argp/argp-fmtstream.h: Use const instead __const.
49554         * argp/argp.h: Likewise.
49555         * assert/assert.h: Likewise.
49556         * bits/fenv.h: Likewise.
49557         * bits/sched.h: Likewise.
49558         * bits/sigset.h: Likewise.
49559         * bits/sigthread.h: Likewise.
49560         * catgets/nl_types.h: Likewise.
49561         * conform/data/pthread.h-data: Likewise.
49562         * crypt/crypt-private.h: Likewise.
49563         * crypt/crypt.h: Likewise.
49564         * crypt/crypt_util.c: Likewise.
49565         * ctype/ctype.h: Likewise.
49566         * debug/execinfo.h: Likewise.
49567         * debug/mbsnrtowcs_chk.c: Likewise.
49568         * debug/mbsrtowcs_chk.c: Likewise.
49569         * debug/wcsnrtombs_chk.c: Likewise.
49570         * debug/wcsrtombs_chk.c: Likewise.
49571         * debug/wcstombs_chk.c: Likewise.
49572         * dirent/dirent.h: Likewise.
49573         * dlfcn/dlfcn.h: Likewise.
49574         * elf/neededtest4.c: Likewise.
49575         * grp/grp.h: Likewise.
49576         * gshadow/gshadow.h: Likewise.
49577         * iconv/gconv.h: Likewise.
49578         * iconv/gconv_int.h: Likewise.
49579         * iconv/gconv_simple.c: Likewise.
49580         * iconv/iconv.h: Likewise.
49581         * iconv/loop.c: Likewise.
49582         * iconv/skeleton.c: Likewise.
49583         * include/aio.h: Likewise.
49584         * include/aliases.h: Likewise.
49585         * include/argz.h: Likewise.
49586         * include/arpa/inet.h: Likewise.
49587         * include/assert.h: Likewise.
49588         * include/dirent.h: Likewise.
49589         * include/dlfcn.h: Likewise.
49590         * include/execinfo.h: Likewise.
49591         * include/fcntl.h: Likewise.
49592         * include/fenv.h: Likewise.
49593         * include/glob.h: Likewise.
49594         * include/grp.h: Likewise.
49595         * include/libintl.h: Likewise.
49596         * include/mntent.h: Likewise.
49597         * include/netdb.h: Likewise.
49598         * include/pwd.h: Likewise.
49599         * include/rpc/netdb.h: Likewise.
49600         * include/sched.h: Likewise.
49601         * include/search.h: Likewise.
49602         * include/shadow.h: Likewise.
49603         * include/signal.h: Likewise.
49604         * include/stdio.h: Likewise.
49605         * include/stdlib.h: Likewise.
49606         * include/string.h: Likewise.
49607         * include/sys/socket.h: Likewise.
49608         * include/sys/stat.h: Likewise.
49609         * include/sys/statfs.h: Likewise.
49610         * include/sys/statvfs.h: Likewise.
49611         * include/sys/syslog.h: Likewise.
49612         * include/sys/time.h: Likewise.
49613         * include/sys/uio.h: Likewise.
49614         * include/time.h: Likewise.
49615         * include/unistd.h: Likewise.
49616         * include/utmp.h: Likewise.
49617         * include/wchar.h: Likewise.
49618         * include/wctype.h: Likewise.
49619         * inet/aliases.h: Likewise.
49620         * inet/arpa/inet.h: Likewise.
49621         * inet/netinet/ether.h: Likewise.
49622         * inet/netinet/in.h: Likewise.
49623         * intl/libintl.h: Likewise.
49624         * io/bits/fcntl2.h: Likewise.
49625         * io/fcntl.h: Likewise.
49626         * io/ftw.h: Likewise.
49627         * io/sys/poll.h: Likewise.
49628         * io/sys/stat.h: Likewise.
49629         * io/sys/statfs.h: Likewise.
49630         * io/sys/statvfs.h: Likewise.
49631         * io/utime.h: Likewise.
49632         * libio/bits/stdio.h: Likewise.
49633         * libio/bits/stdio2.h: Likewise.
49634         * libio/libio.h: Likewise.
49635         * libio/libioP.h: Likewise.
49636         * libio/stdio.h: Likewise.
49637         * locale/lc-ctype.c: Likewise.
49638         * locale/locale.h: Likewise.
49639         * login/utmp.h: Likewise.
49640         * malloc/arena.c: Likewise.
49641         * malloc/malloc.c: Likewise.
49642         * malloc/malloc.h: Likewise.
49643         * malloc/mcheck.c: Likewise.
49644         * malloc/mtrace.c: Likewise.
49645         * math/bits/mathcalls.h: Likewise.
49646         * math/fenv.h: Likewise.
49647         * math/math_private.h: Likewise.
49648         * misc/bits/error.h: Likewise.
49649         * misc/bits/syslog.h: Likewise.
49650         * misc/err.h: Likewise.
49651         * misc/error.h: Likewise.
49652         * misc/fstab.h: Likewise.
49653         * misc/mntent.h: Likewise.
49654         * misc/regexp.h: Likewise.
49655         * misc/search.h: Likewise.
49656         * misc/sgtty.h: Likewise.
49657         * misc/sys/mman.h: Likewise.
49658         * misc/sys/syslog.h: Likewise.
49659         * misc/sys/uio.h: Likewise.
49660         * misc/sys/xattr.h: Likewise.
49661         * misc/ttyent.h: Likewise.
49662         * nis/rpcsvc/ypclnt.h: Likewise.
49663         * nss/nss.h: Likewise.
49664         * posix/bits/unistd.h: Likewise.
49665         * posix/fnmatch.h: Likewise.
49666         * posix/glob.h: Likewise.
49667         * posix/sched.h: Likewise.
49668         * posix/spawn.h: Likewise.
49669         * posix/sys/wait.h: Likewise.
49670         * posix/unistd.h: Likewise.
49671         * posix/wordexp.h: Likewise.
49672         * pwd/pwd.h: Likewise.
49673         * resolv/netdb.h: Likewise.
49674         * resource/sys/resource.h: Likewise.
49675         * rt/aio.h: Likewise.
49676         * rt/bits/mqueue2.h: Likewise.
49677         * rt/mqueue.h: Likewise.
49678         * shadow/shadow.h: Likewise.
49679         * signal/signal.h: Likewise.
49680         * socket/send.c: Likewise.
49681         * socket/sendto.c: Likewise.
49682         * socket/sys/socket.h: Likewise.
49683         * stdio-common/printf.h: Likewise.
49684         * stdlib/bits/stdlib.h: Likewise.
49685         * stdlib/fmtmsg.h: Likewise.
49686         * stdlib/monetary.h: Likewise.
49687         * stdlib/stdlib.h: Likewise.
49688         * stdlib/ucontext.h: Likewise.
49689         * streams/stropts.h: Likewise.
49690         * string/argz.h: Likewise.
49691         * string/bits/string2.h: Likewise.
49692         * string/string.h: Likewise.
49693         * string/strings.h: Likewise.
49694         * sunrpc/rpc/auth.h: Likewise.
49695         * sunrpc/rpc/auth_des.h: Likewise.
49696         * sunrpc/rpc/clnt.h: Likewise.
49697         * sunrpc/rpc/netdb.h: Likewise.
49698         * sunrpc/rpc/pmap_clnt.h: Likewise.
49699         * sunrpc/rpc/xdr.h: Likewise.
49700         * sysdeps/generic/inttypes.h: Likewise.
49701         * sysdeps/generic/net/if.h: Likewise.
49702         * sysdeps/generic/sys/swap.h: Likewise.
49703         * sysdeps/gnu/net/if.h: Likewise.
49704         * sysdeps/gnu/utmpx.h: Likewise.
49705         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49706         * sysdeps/i386/i486/bits/string.h: Likewise.
49707         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49708         * sysdeps/s390/bits/string.h: Likewise.
49709         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49710         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49711         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49712         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49713         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49714         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49715         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49716         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49717         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49718         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49719         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49720         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49721         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49722         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49723         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49724         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49725         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49726         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49727         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49728         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49729         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49730         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49731         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49732         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49733         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49734         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49735         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49736         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49737         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49738         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49739         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49740         * sysvipc/sys/ipc.h: Likewise.
49741         * sysvipc/sys/msg.h: Likewise.
49742         * sysvipc/sys/sem.h: Likewise.
49743         * sysvipc/sys/shm.h: Likewise.
49744         * termios/termios.h: Likewise.
49745         * time/sys/time.h: Likewise.
49746         * time/time.h: Likewise.
49747         * wcsmbs/bits/wchar2.h: Likewise.
49748         * wcsmbs/uchar.h: Likewise.
49749         * wcsmbs/wchar.h: Likewise.
49750         * wctype/wctype.h: Likewise.
49752         [BZ #13551]
49753         * Makeconfig: Remove all but ELF support including AIX support.
49754         * Makerules: Likewise.
49755         * config.h.in: Likewise.
49756         * config.make.in: Likewise.
49757         * configure: Likewise.
49758         * configure.in: Likewise.
49759         * csu/Makefile: Likewise.
49760         * csu/version.c: Likewise.
49761         * debug/Makefile: Likewise.
49762         * dlfcn/Makefile: Likewise.
49763         * elf/Makefile: Likewise.
49764         * extra-lib.mk: Likewise.
49765         * iconv/Makefile: Likewise.
49766         * include/libc-symbols.h: Likewise.
49767         * include/shlib-compat.h: Likewise.
49768         * resolv/Makefile: Likewise.
49769         * resolv/res_libc.c: Likewise.
49770         * rt/Makefile: Likewise.
49771         * sysdeps/i386/asm-syntax.h: Likewise.
49772         * sysdeps/i386/sysdep.h: Likewise.
49773         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49774         * sysdeps/mach/sysdep.h: Likewise.
49775         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49776         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49777         * sysdeps/s390/asm-syntax.h: Likewise.
49778         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49779         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49780         * sysdeps/sh/sysdep.h: Likewise.
49781         * sysdeps/unix/sparc/sysdep.h: Likewise.
49782         * sysdeps/wordsize-32/divdi3.c: Likewise.
49783         * sysdeps/x86_64/sysdep.h: Likewise.
49785         * argp/Versions: Remove _argp_unlock_xxx.
49787         [BZ #13559]
49788         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49789         * abilist/libBrokenLocale.abilist: Likewise.
49790         * abilist/libanl.abilist: Likewise.
49791         * abilist/libc.abilist: Likewise.
49792         * abilist/libcrypt.abilist: Likewise.
49793         * abilist/libdl.abilist: Likewise.
49794         * abilist/libm.abilist: Likewise.
49795         * abilist/libnsl.abilist: Likewise.
49796         * abilist/libpthread.abilist: Likewise.
49797         * abilist/libresolv.abilist: Likewise.
49798         * abilist/librt.abilist: Likewise.
49799         * abilist/libthread_db.abilist: Likewise.
49800         * abilist/libutil.abilist: Likewise.
49801         * abilist/libnss_db.abilist: New file.
49803         * scripts/abilist.awk: Add support for indirect functions.
49805         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49807         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49809         * shlib-versions: Remove entries for ports architectures.
49811         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49812         files in ports.
49813         * elf/stackguard-macros.h: Remove support for IA-64.
49814         * elf/tst-auditmod1.c: Likewise.
49815         * sysdeps/generic/ldsodefs.h: Likewise.
49817         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49818         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49819         configure files.
49821         [BZ #13552]
49822         * configure.in: Remove --enable-omitfp support.
49823         * FAQ.in: Adjust.
49824         * config.make.in: Likewise.
49825         * Makeconfig: Likewise.
49826         * manual/install.texi: Likewise.
49828         In case anyone cares, the IA-64 architecture could move to ports.
49829         * sysdeps/ia64/*: Removed.
49830         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49831         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49833         [BZ #13555]
49834         * configure.in: Remove entries for unsupported architectures.
49836         [BZ #13533]
49837         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49838         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49839         routines.
49840         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49841         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49842         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49843         fall back to using wcrtomb.
49844         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49845         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49846         renaming.
49847         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49848         * wcsmbs/tst-c16c32-1.c: New file.
49850         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49851         local variable.
49853         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49855         * elf/tst-unique3.cc: Add explicit declaration of gets.
49856         * elf/tst-unique3lib.cc: Likewise.
49857         * elf/tst-unique3lib2.cc: Likewise.
49858         * elf/tst-unique4.cc: Likewise.
49860         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49862 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49864         [BZ #13566]
49865         * assert/assert.h (static_assert): Don't define for C++.
49866         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49867         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49869 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49871         * iconv/loop.c (single loop): Fix assertion in storing of
49872         remaining bytes.
49874         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49876 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49878         * posix/getconf.c: Update copyright year.
49879         * nss/getent.c: Likewise.
49880         * nss/makedb.c: Likewise.
49881         * iconv/iconvconfig.c: Likewise.
49882         * iconv/iconv_prog.c: Likewise.
49883         * elf/ldconfig.c: Likewise.
49884         * elf/pldd.c: Likewise.
49885         * elf/sotruss.ksh: Likewise.
49886         * catgets/gencat.c: Likewise.
49887         * csu/version.c: Likewise.
49888         * elf/ldd.bash.in: Likewise.
49889         * elf/sprof.c (print_version): Likewise.
49890         * locale/programs/locale.c: Likewise.
49891         * locale/programs/localedef.c: Likewise.
49892         * login/programs/pt_chown.c: Likewise.
49893         * nscd/nscd.c (print_version): Likewise.
49894         * debug/xtrace.sh: Likewise.
49895         * malloc/memusage.sh: Likewise.
49896         * malloc/mtrace.pl: Likewise.
49897         * debug/catchsegv.sh: Likewise.
49899 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49901         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49902         pure attribute.
49904 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49906         [BZ #13533]
49907         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49908         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49909         transformations.
49910         * iconv/gconv_int.h: Likewise.
49911         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49912         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49913         from libc for GLIBC_2.16.
49914         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49915         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49916         * wcsmbs/uchar.h: Really define mbstate_t.
49917         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49918         * wcsmbs/c16rtomb.c: New file.
49919         * wcsmbs/mbrtoc16.c: New file.
49920         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49921         for C/POSIX locale.
49922         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49923         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49925         * wcsmbs/wchar.h: Add missing __restrict.
49927 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49929         [BZ #13532]
49930         * time/Makefile (routines): Add timespec_get.
49931         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49932         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49933         timespec for ISO C11.
49934         * time/timespec_get.c: New file.
49935         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49936         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49938         [BZ #13531]
49939         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49940         * stdlib/stdlib.h: Declare aligned_alloc.
49941         * Versions.def: Add GLIBC_2.16 for libc.
49942         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49944         [BZ 13527]
49945         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49946         ISO C11.
49948         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49949         code.
49951         [BZ #13528]
49952         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49954         [BZ #13529]
49955         * assert/assert.h (static_assert): Define.
49957         * version.h: Update for 2.16 development version.
49959         [BZ #13526]
49960         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49961         _ISOC11_SOURCE.
49963         * version.h (RELEASE): Bump for 2.15 release.
49964         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49966         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49967         Patch by Marek Polacek <mpolacek@redhat.com>.
49969         * bits/byteswap.h: Protect long long constants with __extension__.
49970         * sysdeps/i386/bits/byteswap.h: Likewise.
49971         * sysdeps/ia64/bits/byteswap.h: Likewise.
49972         * sysdeps/s390/bits/byteswap.h: Likewise.
49973         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49975 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49977         [BZ #13540]
49978         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49979         destination buffer.
49980         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49982 2011-12-23  Marek Polacek  <polacek@redhat.com>
49984         * elf/dl-addr.c (determine_info): Add inline keyword.
49985         * elf/tst-auditmod4b.c (check_avx): Likewise.
49986         * elf/tst-auditmod6b.c (check_avx): Likewise.
49987         * elf/tst-auditmod6c.c (check_avx): Likewise.
49988         * elf/tst-auditmod7b.c (check_avx): Likewise.
49990 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49992         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49993         !__SSE_MATH__.
49995 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49997         [BZ #13540]
49998         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49999         processing for last bytes.
50001 2011-08-06  Bruno Haible  <bruno@clisp.org>
50003         [BZ #13061]
50004         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50005         U+0385, not to U+1FEE.
50007         [BZ #13062]
50008         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50009         entry for U+00A5 U+0301.
50011 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50013         [BZ #13166]
50014         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50015         buffer for the output is too small.
50017         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50018         optimization.
50020         [BZ #13185]
50021         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50022         SSE flags if possible.
50024 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50026         [BZ #13540]
50027         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50028         processing for last bytes.
50030 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
50032         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50033         (syscall-list-default-options, syscall-list-default-condition)
50034         (syscall-list-includes): Define.
50035         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50036         list of ABIs and options and #if conditions for each ABI.  Do not
50037         handle common syscalls between ABIs specially.
50038         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50039         Remove.
50040         (syscall-list-variants, syscall-list-32bit-options)
50041         (syscall-list-32bit-condition, syscall-list-64bit-options)
50042         (syscall-list-64bit-condition): Define.
50043         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50044         (syscall-list-variants, syscall-list-32bit-options)
50045         (syscall-list-32bit-condition, syscall-list-64bit-options)
50046         (syscall-list-64bit-condition): Define.
50047         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50048         Remove.
50049         (syscall-list-variants, syscall-list-32bit-options)
50050         (syscall-list-32bit-condition, syscall-list-64bit-options)
50051         (syscall-list-64bit-condition): Define.
50052         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50053         Remove.
50054         (syscall-list-variants, syscall-list-32bit-options)
50055         (syscall-list-32bit-condition, syscall-list-64bit-options)
50056         (syscall-list-64bit-condition): Define.
50058 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50060         * locale/iso-639.def: Add brx entry.
50062         [BZ #13328]
50063         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50064         Proposed by Mariusz_Cukr <marcukr@op.pl>.
50066         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50067         __feraiseexcept_renamed.
50069 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50071         [BZ #13538]
50072         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50073         EPOLLET with unsigned values.
50074         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50075         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50077         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50078         to large cancellation.
50079         * math/s_cacoshf.c: Likewise.
50080         * math/s_cacoshl.c: Likewise.
50082 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
50084         [BZ #13305]
50085         [BZ #12786]
50086         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50087         * math/s_cacoshf.c: Likewise.
50088         * math/s_cacoshl.c: Likewise.
50090 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50092         [BZ #13439]
50093         * iconv/gconv.h: Define __GCONV_SWAP.
50094         * iconvdata/unicode.c: The swap bit must be stored in __flags.
50095         * iconvdata/utf-16.c: Likewise.
50096         * iconvdata/utf-32.c: Likewise.
50098 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
50100         [BZ #13524]
50101         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50102         numerator after shifting it by one limb.
50104 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
50106         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50107         under [__USE_EXTERN_INLINES].
50109 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50111         [BZ #13446]
50112         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50114 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50116         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50117         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50118         optimized code.
50119         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50120         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50121         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50122         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50123         for strncasecmp/strncasecmp_l compilation.
50124         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50125         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50127 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
50129         [BZ #13484]
50130         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50131         of __asm__.
50133 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50135         [BZ #13506]
50136         * time/tzfile.c (__tzfile_read): Check values from file header.
50138 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50140         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50141         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50142         * powerpc/powerpc32/dl-start.S: Likewise.
50143         * powerpc/powerpc32/elf/start.S: Likewise.
50144         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50145         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50146         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50147         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50148         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50149         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50150         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50151         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50152         * powerpc/powerpc32/fpu/s_round.S: Likewise.
50153         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50154         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50155         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50156         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50157         * powerpc/powerpc32/memset.S: Likewise.
50158         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50159         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50160         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50161         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50162         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50163         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50164         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50165         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50166         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50167         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50168         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50169         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50170         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50172 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50174         * math/libm-test.inc: Added more nearbyint tests.
50175         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50176         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50177         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50178         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50180 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
50182         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50183         FD_CLOEXEC.
50185 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50187         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50188         Add wcscpy-ssse3 wcscpy-c.
50189         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50190         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50191         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50192         * sysdeps/x86_64/wcschr.S: New file.
50193         * sysdeps/x86_64/wcsrchr.S: New file.
50194         * string/test-strcmp.c: Remove checking of wcscmp function for
50195         wrong alignments.
50196         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50197         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50198         wcsrchr-sse2 wcsrchr-c.
50199         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50200         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50201         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50202         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50203         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50204         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50205         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50206         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50207         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50208         * wcsmbc/wcschr.c (WCSCHR): New macro.
50210 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50212         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50213         * wcsmbs/test-wcsrchr.c: New file.
50214         * string/test-strrchr.c: Add wcsrchr support.
50215         (WIDE): New macro.
50216         * wcsmbs/test-wcscpy.c: New file.
50217         * string/test-strcpy.c: Add wcscpy support.
50218         (WIDE): New macro.
50220 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
50222         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50223         the inner loop.
50225 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
50227         [BZ #13472]
50228         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50230 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
50232         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50233         Minor optimizations.
50235         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50236         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50237         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50239 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
50241         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50242         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50243         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50244         for gcc to avoid warnings.
50245         * inet/Makefile (tests): Add tst-checks.
50246         * inet/tst-checks.c: New file.
50248         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50249         warning.
50251         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50252         __wmemcmp_sse2.
50254         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50255         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50257         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50259 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50261         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50262         problem.
50264         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50266 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50268         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50269         conditional on GCC version.
50270         (__arch_compare_and_exchange_val_8_acq)
50271         (__arch_compare_and_exchange_val_16_acq)
50272         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50273         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50274         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50276 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50278         * sysdeps/sh/backtrace.c: New file.
50280 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50282         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50283         parenthesis.
50285 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50287         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50288         falling back to utime.
50290 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50292         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50293         expectations for float.
50295 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50297         * locale/weight.h (findidx): Add parameter len.
50298         * locale/weightwc.h (findidx): Likewise.
50299         * posix/fnmatch_loop.c (FCT): Adjust caller.
50300         * posix/regcomp.c (build_equiv_class): Likewise.
50301         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50302         * posix/regexec.c (check_node_accept_bytes): Likewise.
50303         * string/strcoll_l.c (STRCOLL): Likewise.
50304         * string/strxfrm_l.c (STRXFRM): Likewise.
50306 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50308         * Makefile.in: Remove CVSOPT handling.
50309         * configure.in: Remove use of AC_REVISION.
50310         * iconvdata/Makefile (distribute): No need to filter out CVS.
50311         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50312         handling.
50314 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50316         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50317         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50318         [USE_AS_STRNCASECMP_L]: Likewise.
50319         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50320         NO_TLS_DIRECT_SEG_REFS.
50321         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50322         Fix argument offsets for non-PIC.
50323         [USE_AS_STRNCASECMP_L]: Likewise.
50324         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50325         NO_TLS_DIRECT_SEG_REFS.
50327 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50329         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50330         O_CLOEXEC.
50331         * locale/loadlocale.c (_nl_load_locale): Likewise.
50333 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50335         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50336         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50337         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50338         (SYSCALL_GETTIME): Set errno on error.
50340         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50341         count references to noai6ai_cached.
50343 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50345         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50347         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50348         FD_CLOEXEC for /proc/self/maps.
50350         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50351         FD_CLOEXEC for /proc/meminfo.
50353         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50354         gai.conf.
50356         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50357         FD_CLOEXEC for given file.
50359         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50361         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50362         FD_CLOEXEC for /etc/hosts.
50363         (_gethtent): Likewise.
50365         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50367         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50368         cancellation and set FD_CLOEXEC for /etc/netgroup.
50370         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50371         reading /etc/publickey.
50373         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50374         allow cancellation when reading /etc/group.
50376         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50377         cancellation.
50378         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50380         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50381         when using data file.
50383         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50385         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50386         (write_nis_obj): Use "c" and "e" in fopen.
50388         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50390         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50392         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50394         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50396         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50397         locale.alias.
50399         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50401         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50403         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50405         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50406         file parsing and set FD_CLOEXEC.
50408 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50410         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50412 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50414         * malloc/arena.c (arena_get2): Don't call reused_arena when
50415         _int_new_arena failed.
50417 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50419         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50420         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50421         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50422         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50423         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50424         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50425         to compile strcasecmp and strncasecmp.
50426         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50427         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50429         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50431 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
50433         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50434         locale-defines.sym to gen-as-const-headers.
50435         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50436         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50437         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50438         to compile strcasecmp and strncasecmp.
50439         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50440         strcasecmp_l and strncasecmp_l.
50441         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50442         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50443         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50444         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50445         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50446         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50447         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50448         * sysdeps/i386/i686/multiarch/strncase.S: New file.
50449         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50450         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50451         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50453 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
50455         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50456         result of SYSDEP_GETTIME_CPU to retval.
50457         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50458         parameter list to macro.  Remove trailing semicolon.  Adjust users.
50460         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50461         variable.
50463         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50464         mantissa words.
50465         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50467         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50468         from unused variable.
50470         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50471         DWARF definitions.
50472         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50473         for assembling.
50475         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50476         over namespaces.
50478         * sunrpc/rpc_prot.c (rejected): Fix case value.
50480         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50481         unsigned long long int to avoid warnings in shift.
50483         * posix/regex_internal.c (re_string_reconstruct): Actually use result
50484         of use of trans.
50485         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50486         variable tmp.
50488         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50489         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50490         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50492         * nis/nis_table.c (nis_list): Use variable of correct type for
50493         result of __follow_path call.
50495 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50497         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50498         of math functions ceil, trunc, floor, round, and sqrt, when
50499         avaliable on the platform.
50500         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50501         name clash.
50502         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50503         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50504         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50506 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50508         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50509         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50511 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50513         * include/unistd.h: Fix __readlink return type.
50514         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50516 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50518         * stdlib/ucontext.h: Undo last change for makecontext.
50520 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50522         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50524         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50525         * setjmp/setjmp.h: Mark functions as non-leaf.
50526         * setjmp/bits/setjmp2.h: Likewise.
50527         * stdlib/ucontext.h: Likewise.
50529 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50531         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50532         (reused_arena): Don't check arena limit.
50533         (arena_get2): Atomically check arena limit.
50535 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50537         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50538         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50540         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50541         instructions.
50543 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50545         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50546         handler when locking.
50548         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50549         Fix size of allocated buffer.
50551 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50553         [BZ #10103]
50554         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50555         declarations for long double functions.
50556         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50558         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50560 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50562         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50563         installed.
50565         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50566         is disabled.
50568 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50570         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50572 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50574         * include/alloca.h (stackinfo_alloca_round): Define.
50575         (extend_alloca): Use it.
50576         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50577         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50578         here.
50580         * scripts/check-local-headers.sh: Ignore libaudit.h.
50582         * nscd/Makefile (extra-objs): Make recursively expanded.
50584 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50586         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50587         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50589         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50590         * posix/tst-rfc3484-2.c: Likewise.
50591         * posix/tst-rfc3484-3.c: Likewise.
50593         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50594         process_vm_writev.
50595         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50596         process_vm_writev.
50597         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50598         process_vm_writev from libc using GLIBC_2.15 version.
50600         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50602 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50604         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50605         stack usage.
50607 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50609         [BZ #13367]
50610         * nss/getent.c (initgroups_keys): Show error message in case no group
50611         names are given.
50613         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50614         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50615         __bump_nl_timestamp.
50616         * nscd/connections (nscd_init): When host database is served open
50617         netlink socket and request notification about configuration changes.
50618         (main_loop_poll): Track netlink file descriptor and bump timestamp
50619         in case data becomes available.
50620         (main_loop_epoll): Likewise.
50621         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50622         (database_pers_head): Add extra_data fileds.
50623         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50624         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50625         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50626         Adjust caller.
50627         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50628         in6ai data, call __free_in6ai.
50629         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50630         Add -DHAVE_NETLINK.
50631         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50632         interface information.  Reuse previous data if netlink timestamp
50633         is not changed.
50634         (__bump_nl_timestamp): New function.
50635         (__free_in6ai): New function.
50637 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50639         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50640         close_not_cancel_no_status here.
50641         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50643 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50645         [BZ #13276]
50646         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50647         return value.
50649         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50650         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50651         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50653 2011-07-03  Andreas Jaeger  <aj@suse.de>
50655         [BZ #10709]
50656         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50657         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50658         * math/libm-test.inc (sin_test): Add test case.
50660 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50662         [BZ #13337]
50663         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50664         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50666         * elf/chroot_canon.c (chroot_canon): Cleanups.
50668         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50670         [BZ #13335]
50671         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50672         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50674         * string/test-strchr.c: Make usable for strchrnul testing.
50675         * string/test-strchrnul.c: New file.
50676         * string/Makefile (strop-tests): Add strchrnul.
50678         * po/it.po: Update from translation team.
50679         * po/es.po: Likewise.
50681 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50683         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50684         the three constants needed as parameters.  Drop the others.
50685         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50686         __m128i_strloadu_tolower.
50687         Create and initialize variable zero and use it in all the places
50688         where _mm_setzero_si128 was used.
50690         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50691         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50692         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50693         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50694         anymore.
50695         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50696         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50697         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50698         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50699         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50700         __mpranred, __mptan.
50701         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50702         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50703         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50704         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50705         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50706         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50707         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50708         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50709         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50711 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50713         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50714         redefine if SHARED.
50715         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50717         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50718         wide char related routines to wcsmbs subdir.
50720 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50722         [BZ #13344]
50723         * misc/sys/cdefs.h (__THROWNL): Define.
50724         * posix/unistd.h: Use __THREADNL instead of __THREAD
50725         for memory synchronization functions.
50727 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50729         [BZ #13349]
50730         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50731         doesn't exist.
50732         * manual/stdio.texi (Obstack Streams): Node removed.
50734 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50736         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50737         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50738         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50740         * math/math_private.h (math_force_eval): Allow non-addressable
50741         arguments.
50742         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50744 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50746         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50747         file is not needed.
50749         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50750         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50751         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50752         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50753         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50754         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50755         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50756         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50757         Add AVX variants.
50758         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50759         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50760         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50761         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50762         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50763         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50764         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50765         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50766         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50767         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50768         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50769         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50770         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50771         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50772         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50773         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50774         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50775         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50776         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50778         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50779         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50781         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50782         place.  Use VEX encoding when compiling for AVX.
50784 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50786         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50787         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50789         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50791 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50793         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50794         useless if() expression.
50795         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50796         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50797         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50798         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50799         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50800         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50801         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50802         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50803         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50804         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50805         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50806         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50807         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50808         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50809         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50810         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50811         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50812         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50813         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50815         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50817 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50819         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50820         condition.
50821         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50823 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50825         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50826         .text section.  Avoid duplicate constants.
50827         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50828         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50829         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50830         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50831         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50832         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50833         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50834         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50835         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50836         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50837         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50838         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50839         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50840         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50841         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50842         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50843         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50844         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50845         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50846         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50847         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50848         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50849         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50850         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50851         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50852         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50853         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50854         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50855         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50856         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50857         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50858         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50859         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50860         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50861         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50862         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50863         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50864         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50865         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50866         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50867         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50868         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50869         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50870         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50871         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50873 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50875         * sysdeps/x86_64/dla.h: Move to ...
50876         * sysdeps/x86_64/fpu/dla.h: ...here.
50877         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50878         situations.  Use __builtin_fma only for gcc 4.6 and up.
50880         * config.make.in: Add have-mfma4 entry.
50881         * configure.in: Substitute libc_cv_cc_fma4.
50882         * math/Makefile (dbl-only-routines): Add sincostab.
50883         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50884         Use __sincostab not sincos.
50885         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50886         name is a macro.
50887         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50889         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50890         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50891         using __copysign.
50892         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50893         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50894         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50895         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50896         and __inv.
50897         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50898         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50899         __copysign.
50900         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50901         define aliases when function name is a macro.
50902         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50903         sysdeps/ieee754/dbl-64/sincos.tbl.
50904         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50905         fma4-enabled routines.
50906         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50907         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50908         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50909         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50910         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50911         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50912         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50913         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50914         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50915         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50916         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50917         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50918         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50919         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50920         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50921         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50922         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50923         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50924         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50925         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50926         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50927         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50928         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50929         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50930         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50931         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50932         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50933         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50934         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50935         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50937         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50938         rename.
50939         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50940         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50941         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50944         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50945         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50946         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50948 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50950         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50952 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50954         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50956         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50957         prediction.
50958         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50960         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50961         Remove unused variable magic_bits.
50962         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50964         * string/strnlen.c: Define and use STRNLEN macro.
50965         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50966         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50967         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50968         * wcsmbs/wcslen.c: Define and use WCSLEN.
50969         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50970         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50971         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50972         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50973         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50974         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50975         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50977 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50980         strnlen-sse2-no-bsf.
50981         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50982         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50983         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50984         Add strnlen support.
50985         (USE_AS_STRNLEN): New macro.
50986         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50987         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50988         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50989         * sysdeps/x86_64/wcslen.S: New file.
50991 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50993         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50994         XMM-moves are used for copying on small sizes.
50996 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50998         * wcsmbs/Makefile (strop-tests): Add wcschr.
50999         * wcsmbs/test-wcschr.c: New file.
51000         * string/test-strchr.c: Update.
51001         Add wcschr support.
51002         (WIDE): New macro.
51004 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51006         * wcsmbs/Makefile (strop-tests): Add wcslen.
51007         * wcsmbs/test-wcslen.c: New file.
51008         * string/test-strlen.c: Update.
51009         Add wcslen support.
51010         (WIDE): New macro.
51012 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51014         * po/it.po: Update from translation team.
51016 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51018         * sysdeps/x86_64/wcscmp.S: Update.
51019         Fix wrong comparison semantics.
51020         wcscmp shall use signed comparison not unsigned.
51021         Don't use substraction to avoid overflow bug.
51022         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51023         * wcsmbc/wcscmp.c: Likewise.
51024         * string/test-strcmp.c: Likewise.
51025         Add new tests to check cases with negative values.
51027 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51029         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51030         * sysdeps/x86_64/dla.h: ...here.  New file.
51031         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51032         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51033         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51034         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51035         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51036         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51037         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51038         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51039         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51041 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
51043         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51044         __ynl_finite aliases.
51046 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51048         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51050         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51051         define DLA_FMA.
51052         [DLA_FMA] (EMULV): Use DLA_FMA.
51053         [DLA_FMA] (MUL12): Use EMULV.
51054         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51055         that are not needed.
51056         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51057         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51058         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51059         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51060         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51061         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51062         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51064 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
51066         * math/s_nan.c: Undef __nan.
51067         * math/s_nanf.c: Undef __nanf.
51068         * math/s_nanl.c: Undef __nanl.
51069         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51070         "math_private.h".
51072 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51074         * math/s_catan.c: Add branch predictions.
51075         * math/s_catanf.c: Likewise.
51076         * math/s_catanh.c: Likewise.
51077         * math/s_catanhf.c: Likewise.
51078         * math/s_catanhl.c: Likewise.
51079         * math/s_catanl.c: Likewise.
51080         * math/s_cexp.c: Likewise.
51081         * math/s_cexpf.c: Likewise.
51082         * math/s_cexpl.c: Likewise.
51083         * math/s_clog.c: Likewise.
51084         * math/s_clog10.c: Likewise.
51085         * math/s_clog10f.c: Likewise.
51086         * math/s_clog10l.c: Likewise.
51087         * math/s_clogf.c: Likewise.
51088         * math/s_clogl.c: Likewise.
51089         * math/s_csqrt.c: Likewise.
51090         * math/s_csqrtf.c: Likewise.
51091         * math/s_csqrtl.c: Likewise.
51092         * math/s_ctanf.c: Likewise.
51093         * math/s_ctanh.c: Likewise.
51094         * math/s_ctanhf.c: Likewise.
51095         * math/s_ctanhl.c: Likewise.
51096         * math/s_ctanl.c: Likewise.
51098         * math/math_private.h: Define __nan, __nanf, __nanl.
51099         * math/s_cacosh.c: Include <math_private.h>.
51100         * math/s_cacoshl.c: Likewise.
51101         * math/s_casinh.c: Likewise.
51102         * math/s_casinhf.c: Likewise.
51103         * math/s_casinhl.c: Likewise.
51104         * math/s_ccos.c: Rely entire on ccosh.
51105         * math/s_ccosf.c: Rely entire on ccoshf.
51106         * math/s_ccosl.c: Rely entirely on ccoshl.
51107         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
51108         Remove tests for FE_INVALID.
51109         * math/s_ccoshf.c: Likewise.
51110         * math/s_ccoshl.c: Likewise.
51111         * math/s_csin.c: Likewise.
51112         * math/s_csinf.c: Likewise.
51113         * math/s_csinh.c Likewise.
51114         * math/s_csinhf.c: Likewise.
51115         * math/s_csinhl.c: Likewise.
51116         * math/s_csinl.c: Likewise.
51117         * math/s_ctan.c: Likewise.
51118         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51119         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51120         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51122 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
51124         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51125         compilation problems.
51127         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51128         __builtin_expect.
51130 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
51132         * sysdeps/i386/configure.in: Test for -mfma4 option.
51133         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51134         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51135         COMMON_CPUID_INDEX_80000001.
51136         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51137         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51138         use it if FMA3 is not supported.
51139         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51141         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51142         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51144 2011-10-20  Andreas Schwab  <schwab@redhat.com>
51146         [BZ #12892]
51147         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51148         it would create a cycle with a link time dependency.
51150 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
51152         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51153         instruction.
51154         * string/Makefile (strop-tests): Add rawmemchr.
51155         * string/test-rawmemchr.c: New file.
51157         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51158         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
51159         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
51160         when compiling str{,n}casecmp and when AVX is available.  Hook up
51161         new optimized code in initializers.
51163 2011-10-19  Andreas Schwab  <schwab@redhat.com>
51165         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51166         __feraiseexcept instead of feraiseexcept.
51168 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
51170         * math/math_private.h: Define defaults for libc_fetestexcept and
51171         libc_feupdateenv.
51172         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51173         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51174         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51175         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51176         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51177         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51178         libc_fetestexcept and libc_feupdateenv.
51180         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51181         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51182         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51183         * sysdeps/x86_64/fpu/math_private.h: Define special version of
51184         libc_feholdexcept_setround.
51186         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51187         Add s_nearbyint-c and s_nearbyintf-c.
51188         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51189         nearbyintf inlines.
51190         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51191         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51192         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51193         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51195         * math/math_private.h: Define defaults for libc_fegetround,
51196         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51197         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51198         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51199         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51200         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51201         standard functions.
51202         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51203         Remove comments and hacks for old compiler versions.
51204         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51205         libc_fegetround, libc_fesetround, libc_feholdexcept, and
51206         libc_feholdexceptl.
51208 2011-10-18  Andreas Schwab  <schwab@redhat.com>
51210         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51211         (__feraiseexcept_renamed): Add __NTH.
51212         (feraiseexcept): Add __NTH.  Rename local variables to fix
51213         namespace violations.
51215 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
51217         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51219         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51221         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51222         recently added interfaces.
51223         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51225         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51226         about macro parameter expansion.
51228         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51229         __NO_MATH_INLINES is defined.  Cleanups.
51231         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51232         and __floorf is target has SSE4.1.
51233         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51234         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51235         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51236         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51238         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51239         name.
51240         (floorf): Likewise.
51242         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51244 2011-10-17  Andreas Schwab  <schwab@redhat.com>
51246         * misc/sys/cdefs.h: Fix last change.
51248         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51249         database lookup.
51251 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
51253         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51255         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51256         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51257         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51258         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51259         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51260         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51261         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51262         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51263         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51264         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51265         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51266         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51267         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51268         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51269         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51270         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51271         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51272         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51273         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51274         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51275         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51276         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51278         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51279         ceil, ceilf, floor, floorf.
51281         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51282         Perform IRELATIVE relocations last.
51284         * elf/do-rel.h: Add another parameter nrelative, replacing the
51285         local variable with the same name.  Change name of the function
51286         to end in Rel or Rela (uppercase).
51287         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51288         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51289         elf_dynamic_do_##reloc function.
51291 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51293         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51294         is sufficient, at least on modern CPUs.
51296         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51298         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51299         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51301         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51302         __expl_finite.
51303         * math/bits/math-finite.h: Add entries for exp.
51304         * math/e_expl.c: Add __*_finite alias.
51305         * sysdeps/i386/fpu/e_exp.S: Likewise.
51306         * sysdeps/i386/fpu/e_expf.S: Likewise.
51307         * sysdeps/i386/fpu/e_expl.c: Likewise.
51308         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51309         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51310         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51311         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51312         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51313         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51314         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51316         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51317         is sufficient, at least on modern CPUs.
51319         * ctype/ctype-info.c (__ctype_init): Define.
51320         * include/ctype.h (__ctype_init): Declare.
51321         (__ctype_b_loc): The variable is always initialized.
51322         (__ctype_toupper_loc): Likewise.
51323         (__ctype_tolower_loc): Likewise.
51324         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51325         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51327 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51329         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51331         * configure.in: Also look in $cxxmachine/include for C++ system
51332         headers.
51334 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51336         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51337         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51338         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51339         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51340         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51341         (USE_AS_WMEMCMP): New macro.
51342         Fixing indents.
51343         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51344         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51345         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51346         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51347         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51348         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51349         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51350         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51351         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51352         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51353         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51354         (USE_AS_WMEMCMP): New macro.
51355         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51356         * sysdeps/string/test-memcmp.c: Update.
51357         Fix simple_wmemcmp.
51358         Add new tests.
51359         * wcsmbs/wmemcmp.c: Update.
51360         (WMEMCMP): New macro.
51361         Fix overflow bug.
51363 2011-10-12  Andreas Jaeger  <aj@suse.de>
51365         [BZ #13268]
51366         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51368 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51370         * libio/iofwide.c (do_length): Avoid warning.
51372         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51374 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51376         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51378         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51379         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51380         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51381         * sysdeps/i386/i686/fpu/e_log.S: New file.
51382         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51383         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51385         * ctype/ctype.h: Add support for inlined isXXX functions when
51386         compiling C++ code.
51388 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51390         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51392         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51394 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51396         [BZ #13291]
51397         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51399 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51401         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51402         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51403         feraiseexcept.
51405         * sysdeps/x86_64/memrchr.S: Check for zero size.
51407         * string/stratcliff.c: Add memrchr tests.
51409 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51411         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51412         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51413         rawmemchr-sse2 rawmemchr-sse2-bsf.
51414         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51415         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51416         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51417         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51418         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51419         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51420         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51421         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51422         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51423         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51424         * string/memrchr.c (MEMRCHR): New macro.
51426 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51428         Add integration with gcc's -ffinite-math-only and optimize wrapper
51429         functions in libm.
51430         * Versions.def: Define GLIBC_2.15 version for libm.
51431         * math/Makefile (headers): Add bits/math-finite.h.
51432         * math/bits/math-finite.h: New file.
51433         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51434         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51435         * math/e_acoshl.c: Add __*_finite alias.
51436         * math/e_acosl.c: Likewise.
51437         * math/e_asinl.c: Likewise.
51438         * math/e_atan2l.c: Likewise.
51439         * math/e_atanhl.c: Likewise.
51440         * math/e_coshl.c: Likewise.
51441         * math/e_exp10.c: Likewise.
51442         * math/e_exp10f.c: Likewise.
51443         * math/e_exp10l.c: Likewise.
51444         * math/e_exp2l.c: Likewise.
51445         * math/e_fmodl.c: Likewise.
51446         * math/e_gammal_r.c: Likewise.
51447         * math/e_hypotl.c: Likewise.
51448         * math/e_j0l.c: Likewise.
51449         * math/e_j1l.c: Likewise.
51450         * math/e_jnl.c: Likewise.
51451         * math/e_lgammal_r.c: Likewise.
51452         * math/e_log10l.c: Likewise.
51453         * math/e_log2l.c: Likewise.
51454         * math/e_logl.c: Likewise.
51455         * math/e_powl.c: Likewise.
51456         * math/e_sinhl.c: Likewise.
51457         * math/e_sqrtl.c: Likewise.
51458         * math/e_scalb.c: Completely rewritten and optimized.
51459         * math/e_scalbf.c: Likewise.
51460         * math/e_scalbl.c: Likewise.
51461         * math/w_acos.c: Likewise.
51462         * math/w_acosf.c: Likewise.
51463         * math/w_acosl.c: Likewise.
51464         * math/w_acosh.c: Likewise.
51465         * math/w_acoshf.c: Likewise.
51466         * math/w_acoshl.c: Likewise.
51467         * math/w_asin.c: Likewise.
51468         * math/w_asinf.c: Likewise.
51469         * math/w_asinl.c: Likewise.
51470         * math/w_atan2.c: Likewise.
51471         * math/w_atan2f.c: Likewise.
51472         * math/w_atan2l.c: Likewise.
51473         * math/w_atanh.c: Likewise.
51474         * math/w_atanhf.c: Likewise.
51475         * math/w_atanhl.c: Likewise.
51476         * math/w_exp10.c: Likewise.
51477         * math/w_exp10f.c: Likewise.
51478         * math/w_exp10l.c: Likewise.
51479         * math/w_fmod.c: Likewise.
51480         * math/w_fmodf.c: Likewise.
51481         * math/w_fmodl.c: Likewise.
51482         * math/w_j0.c: Likewise.
51483         * math/w_j0f.c: Likewise.
51484         * math/w_j0l.c: Likewise.
51485         * math/w_j1.c: Likewise.
51486         * math/w_j1f.c: Likewise.
51487         * math/w_j1l.c: Likewise.
51488         * math/w_jn.c: Likewise.
51489         * math/w_jnf.c: Likewise.
51490         * math/w_log.c: Likewise.
51491         * math/w_logf.c: Likewise.
51492         * math/w_logl.c: Likewise.
51493         * math/w_log10.c: Likewise.
51494         * math/w_log10f.c: Likewise.
51495         * math/w_log10l.c: Likewise.
51496         * math/w_log2.c: Likewise.
51497         * math/w_log2f.c: Likewise.
51498         * math/w_log2l.c: Likewise.
51499         * math/w_pow.c: Likewise.
51500         * math/w_powf.c: Likewise.
51501         * math/w_powl.c: Likewise.
51502         * math/w_remainder.c: Likewise.
51503         * math/w_remainderf.c: Likewise.
51504         * math/w_remainderl.c: Likewise.
51505         * math/w_scalb.c: Likewise.
51506         * math/w_scalbf.c: Likewise.
51507         * math/w_scalbl.c: Likewise.
51508         * math/w_sqrt.c: Likewise.
51509         * math/w_sqrtf.c: Likewise.
51510         * math/w_sqrtl.c: Likewise.
51511         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51512         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51513         used.
51514         * math/math_private.h: Declare __kernel_standard_f.
51515         * math/w_cosh.c: Remove cruft and optimize a bit.
51516         * math/w_coshf.c: Likewise.
51517         * math/w_coshl.c: Likewise.
51518         * math/w_exp2.c: Likewise.
51519         * math/w_exp2f.c: Likewise.
51520         * math/w_exp2l.c: Likewise.
51521         * math/w_hypot.c: Likewise.
51522         * math/w_hypotf.c: Likewise.
51523         * math/w_hypotl.c: Likewise.
51524         * math/w_lgamma.c: Likewise.
51525         * math/w_lgamma_r.c: Likewise.
51526         * math/w_lgammaf.c: Likewise.
51527         * math/w_lgammaf_r.c: Likewise.
51528         * math/w_lgammal.c: Likewise.
51529         * math/w_lgammal_r.c: Likewise.
51530         * math/w_sinh.c: Likewise.
51531         * math/w_sinhf.c: Likewise.
51532         * math/w_sinhl.c: Likewise.
51533         * math/w_tgamma.c: Likewise.
51534         * math/w_tgammaf.c: Likewise.
51535         * math/w_tgammal.c: Likewise.
51536         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51537         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51538         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51539         Minor optimizations.  Pretty printing.  Remove cruft.
51540         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51541         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51542         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51543         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51544         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51545         * sysdeps/i386/fpu/e_asin.S: Likewise.
51546         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51547         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51548         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51549         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51550         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51551         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51552         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51553         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51554         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51555         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51556         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51557         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51558         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51559         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51560         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51561         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51562         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51563         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51564         * sysdeps/i386/fpu/e_log.S: Likewise.
51565         * sysdeps/i386/fpu/e_log10.S: Likewise.
51566         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51567         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51568         * sysdeps/i386/fpu/e_log2.S: Likewise.
51569         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51570         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51571         * sysdeps/i386/fpu/e_logf.S: Likewise.
51572         * sysdeps/i386/fpu/e_logl.S: Likewise.
51573         * sysdeps/i386/fpu/e_pow.S: Likewise.
51574         * sysdeps/i386/fpu/e_powf.S: Likewise.
51575         * sysdeps/i386/fpu/e_powl.S: Likewise.
51576         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51577         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51578         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51579         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51580         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51581         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51582         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51583         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51584         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51585         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51586         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51587         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51588         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51589         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51590         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51591         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51592         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51593         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51594         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51595         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51596         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51598         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51599         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51600         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51601         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51602         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51603         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51604         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51605         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51606         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51607         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51608         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51609         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51610         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51611         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51612         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51613         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51614         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51615         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51616         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51617         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51618         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51619         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51620         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51621         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51622         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51623         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51624         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51625         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51626         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51627         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51628         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51629         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51630         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51631         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51632         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51633         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51634         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51635         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51636         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51637         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51638         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51639         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51640         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51641         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51642         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51643         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51644         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51645         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51646         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51647         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51648         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51649         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51650         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51651         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51652         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51653         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51654         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51655         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51656         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51657         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51658         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51659         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51660         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51661         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51662         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51663         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51664         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51665         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51666         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51667         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51668         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51669         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51670         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51671         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51672         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51673         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51674         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51675         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51676         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51677         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51678         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51679         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51680         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51681         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51682         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51683         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51684         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51685         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51686         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51687         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51688         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51689         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51690         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51691         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51692         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51693         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51694         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51695         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51696         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51697         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51698         (__isnanf): Likewise.
51699         (__isinf_ns): Likewise.
51700         (__isinf_nsf): Likewise.
51701         (__finite): Likewise.
51702         (__finitef): Likewise.
51703         (__ieee754_sqrt): Define as macro.
51704         (__ieee754_sqrtf): Define as macro.
51705         (__ieee754_sqrtl): Define as macro.
51706         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51707         inlined copy.
51708         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51709         __FINITE_MATH_ONLY__ consistent.
51710         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51712 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51714         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51715         of rawmemchr.
51717         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51719 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51721         * po/ja.po: Update from translation team.
51723 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51725         * locale/programs/locarchive.c (prepare_address_space): New function.
51726         (create_archive, enlarge_archive, open_archive): Use it.
51728         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51729         inside [SHARED], where it is used.
51731         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51733         * nss/getent.c (netgroup_keys): Remove unused variable.
51734         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51736 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51738         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51739         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51740         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51741         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51742         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51743         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51744         * math/Makefile (libm-calls): Add s_isinf_ns.
51745         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51746         * math/multc3.c: Likewise.
51747         * math/s_casin.c: Likewise.
51748         * math/s_casinf.c: Likewise.
51749         * math/s_casinl.c: Likewise.
51750         * math/s_ccos.c: Likewise.
51751         * math/s_ccosf.c: Likewise.
51752         * math/s_ccosl.c: Likewise.
51753         * math/s_ctan.c: Likewise.
51754         * math/s_ctanf.c: Likewise.
51755         * math/s_ctanh.c: Likewise.
51756         * math/s_ctanhf.c: Likewise.
51757         * math/s_ctanhl.c: Likewise.
51758         * math/s_ctanl.c: Likewise.
51759         * math/w_fmod.c: Likewise.
51760         * math/w_fmodf.c: Likewise.
51761         * math/w_fmodl.c: Likewise.
51762         * math/w_remainder.c: Likewise.
51763         * math/w_remainderf.c: Likewise.
51764         * math/w_remainderl.c: Likewise.
51765         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51766         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51767         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51768         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51769         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51770         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51771         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51772         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51774         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51775         of the number.
51776         * stdio-common/printf_fphex.c: Likewise.
51777         * stdio-common/printf_size.c: Likewise.
51779         * math/e_exp10.c: Include math_private.h using <...> not "...".
51780         * math/e_exp10f.c: Likewise.
51781         * math/e_exp10l.c: Likewise.
51782         * math/e_exp2l.c: Likewise.
51783         * math/e_j0l.c: Likewise.
51784         * math/e_j1l.c: Likewise.
51785         * math/e_jnl.c: Likewise.
51786         * math/e_lgammal_r.c: Likewise.
51787         * math/e_rem_pio2l.c: Likewise.
51788         * math/e_scalb.c: Likewise.
51789         * math/e_scalbf.c: Likewise.
51790         * math/e_scalbl.c: Likewise.
51791         * math/k_cosl.c: Likewise.
51792         * math/k_sinl.c: Likewise.
51793         * math/k_tanl.c: Likewise.
51794         * math/s_cacoshf.c: Likewise.
51795         * math/s_catan.c: Likewise.
51796         * math/s_catanf.c: Likewise.
51797         * math/s_catanh.c: Likewise.
51798         * math/s_catanhf.c: Likewise.
51799         * math/s_catanhl.c: Likewise.
51800         * math/s_catanl.c: Likewise.
51801         * math/s_ccosh.c: Likewise.
51802         * math/s_ccoshf.c: Likewise.
51803         * math/s_ccoshl.c: Likewise.
51804         * math/s_cexp.c: Likewise.
51805         * math/s_cexpf.c: Likewise.
51806         * math/s_cexpl.c: Likewise.
51807         * math/s_clog.c: Likewise.
51808         * math/s_clog10.c: Likewise.
51809         * math/s_clog10f.c: Likewise.
51810         * math/s_clog10l.c: Likewise.
51811         * math/s_clogf.c: Likewise.
51812         * math/s_clogl.c: Likewise.
51813         * math/s_csin.c: Likewise.
51814         * math/s_csinf.c: Likewise.
51815         * math/s_csinh.c: Likewise.
51816         * math/s_csinhf.c: Likewise.
51817         * math/s_csinhl.c: Likewise.
51818         * math/s_csinl.c: Likewise.
51819         * math/s_csqrt.c: Likewise.
51820         * math/s_csqrtf.c: Likewise.
51821         * math/s_csqrtl.c: Likewise.
51822         * math/s_ctan.c: Likewise.
51823         * math/s_ctanf.c: Likewise.
51824         * math/s_ctanh.c: Likewise.
51825         * math/s_ctanhf.c: Likewise.
51826         * math/s_ctanhl.c: Likewise.
51827         * math/s_ctanl.c: Likewise.
51828         * math/s_ldexp.c: Likewise.
51829         * math/s_ldexpf.c: Likewise.
51830         * math/s_ldexpl.c: Likewise.
51831         * math/s_significand.c: Likewise.
51832         * math/s_significandf.c: Likewise.
51833         * math/s_significandl.c: Likewise.
51834         * math/w_acos.c: Likewise.
51835         * math/w_acosf.c: Likewise.
51836         * math/w_acosh.c: Likewise.
51837         * math/w_acoshf.c: Likewise.
51838         * math/w_acoshl.c: Likewise.
51839         * math/w_acosl.c: Likewise.
51840         * math/w_asin.c: Likewise.
51841         * math/w_asinf.c: Likewise.
51842         * math/w_asinl.c: Likewise.
51843         * math/w_atan2.c: Likewise.
51844         * math/w_atan2f.c: Likewise.
51845         * math/w_atan2l.c: Likewise.
51846         * math/w_atanh.c: Likewise.
51847         * math/w_atanhf.c: Likewise.
51848         * math/w_atanhl.c: Likewise.
51849         * math/w_cosh.c: Likewise.
51850         * math/w_coshf.c: Likewise.
51851         * math/w_coshl.c: Likewise.
51852         * math/w_dremf.c: Likewise.
51853         * math/w_exp10.c: Likewise.
51854         * math/w_exp10f.c: Likewise.
51855         * math/w_exp10l.c: Likewise.
51856         * math/w_exp2.c: Likewise.
51857         * math/w_exp2f.c: Likewise.
51858         * math/w_fmod.c: Likewise.
51859         * math/w_fmodf.c: Likewise.
51860         * math/w_fmodl.c: Likewise.
51861         * math/w_hypot.c: Likewise.
51862         * math/w_hypotf.c: Likewise.
51863         * math/w_hypotl.c: Likewise.
51864         * math/w_j0.c: Likewise.
51865         * math/w_j0f.c: Likewise.
51866         * math/w_j0l.c: Likewise.
51867         * math/w_j1.c: Likewise.
51868         * math/w_j1f.c: Likewise.
51869         * math/w_j1l.c: Likewise.
51870         * math/w_jn.c: Likewise.
51871         * math/w_jnf.c: Likewise.
51872         * math/w_jnl.c: Likewise.
51873         * math/w_lgamma.c: Likewise.
51874         * math/w_lgamma_r.c: Likewise.
51875         * math/w_lgammaf.c: Likewise.
51876         * math/w_lgammaf_r.c: Likewise.
51877         * math/w_lgammal.c: Likewise.
51878         * math/w_lgammal_r.c: Likewise.
51879         * math/w_log.c: Likewise.
51880         * math/w_log10.c: Likewise.
51881         * math/w_log10f.c: Likewise.
51882         * math/w_log10l.c: Likewise.
51883         * math/w_log2.c: Likewise.
51884         * math/w_log2f.c: Likewise.
51885         * math/w_log2l.c: Likewise.
51886         * math/w_logf.c: Likewise.
51887         * math/w_logl.c: Likewise.
51888         * math/w_pow.c: Likewise.
51889         * math/w_powf.c: Likewise.
51890         * math/w_powl.c: Likewise.
51891         * math/w_remainder.c: Likewise.
51892         * math/w_remainderf.c: Likewise.
51893         * math/w_remainderl.c: Likewise.
51894         * math/w_scalb.c: Likewise.
51895         * math/w_scalbf.c: Likewise.
51896         * math/w_scalbl.c: Likewise.
51897         * math/w_sinh.c: Likewise.
51898         * math/w_sinhf.c: Likewise.
51899         * math/w_sinhl.c: Likewise.
51900         * math/w_sqrt.c: Likewise.
51901         * math/w_sqrtf.c: Likewise.
51902         * math/w_sqrtl.c: Likewise.
51903         * math/w_tgamma.c: Likewise.
51904         * math/w_tgammaf.c: Likewise.
51905         * math/w_tgammal.c: Likewise.
51907         * po/ja.po: Update from translation team.
51909 2011-09-29  Andreas Jaeger  <aj@suse.de>
51911         [BZ #13179]
51912         * sunrpc/netname.c (netname2host): Fix logic.
51914         [BZ #6779]
51915         [BZ #6783]
51916         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51917         correctly.
51918         * math/w_remainder.c (__remainder): Likewise.
51919         * math/w_remainderf.c (__remainderf): Likewise.
51920         * math/libm-test.inc (remainder_test): Add test cases.
51922 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51924         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51925         sdiv_qrnnd.
51927 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51929         * string/test-memcmp.c: Avoid unncessary #defines.
51930         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51932 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51934         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51935         Use new sse2 version for core i3 - i7 as it's faster
51936         than sse42 version.
51937         (bit_Prefer_PMINUB_for_stringop): New.
51938         * sysdeps/x86_64/rawmemchr.S: Update.
51939         Replace with faster SSE2 version.
51940         * sysdeps/x86_64/memrchr.S: New file.
51941         * sysdeps/x86_64/memchr.S: Update.
51942         Replace with faster SSE2 version.
51944 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51946         * elf/dl-load.c (lose): Add cast to avoid warning.
51948 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51950         * po/ca.po: Update from translation team.
51952         * inet/getnetgrent_r.c: Hook up nscd.
51953         * nscd/Makefile (routines): Add nscd_netgroup.
51954         (nscd-modules): Add netgroupcache.
51955         (CFLAGS-netgroupcache.c): Define.
51956         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51957         (cache_search): Add const to second parameter.
51958         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51959         INNETGR.
51960         (dbs): Add netgrdb entry.
51961         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51962         (verify_persistent_db): Handle netgrdb.
51963         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51964         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51965         GETFDNETGR.
51966         (netgroup_response_header): Define.
51967         (innetgroup_response_header): Define.
51968         (datahead): Add netgroup_response_header and innetgroup_response_header
51969         elements.
51970         * nscd/nscd.conf: Add entries for netgroup cache.
51971         * nscd/nscd.h (dbtype): Add netgrdb.
51972         (_PATH_NSCD_NETGROUP_DB): Define.
51973         (netgroup_iov_disabled): Declare.
51974         (xmalloc, xcalloc, xrealloc): Move declarations here.
51975         (cache_search): Adjust prototype.
51976         Add netgroup-related prototypes.
51977         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51978         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51979         (__nscd_innetgr): Declare.
51980         * nscd/selinux.c (perms): Use access_vector_t as element type and
51981         add netgroup-related initializers.
51982         * nscd/netgroupcache.c: New file.
51983         * nscd/nscd_netgroup.c: New file.
51984         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51985         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51986         For four parameters use innetgr.
51987         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51988         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51989         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51990         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51992         * nscd/connections.c (register_traced_file): Don't register file
51993         for disabled databases.
51995 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51997         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51999         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52000         from tree and freeing node.
52002 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
52004         * nss/nsswitch.c (__nss_database_lookup): Handle
52005         nss_parse_service_list out of memory case.
52007 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
52009         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52010         out of memory case.
52012 2011-10-04  Andreas Schwab  <schwab@redhat.com>
52014         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52015         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52016         pass it down.
52017         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52018         elf_machine_rela, elf_machine_lazy_rel.
52019         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52020         (ELF_DYNAMIC_DO_REL): Likewise.
52021         (ELF_DYNAMIC_DO_RELA): Likewise.
52022         (ELF_DYNAMIC_RELOCATE): Likewise.
52023         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52024         to ELF_DYNAMIC_DO_REL.
52025         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52026         (dl_main): In trace mode always set __RTLD_NOIFUNC.
52027         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52028         elf_machine_rela.
52029         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52030         skip_ifunc, don't call ifunc function if non-zero.
52031         (elf_machine_rela): Likewise.
52032         (elf_machine_lazy_rel): Likewise.
52033         (elf_machine_lazy_rela): Likewise.
52034         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52035         (elf_machine_lazy_rel): Likewise.
52036         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52037         Likewise.
52038         (elf_machine_lazy_rel): Likewise.
52039         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52040         Likewise.
52041         (elf_machine_lazy_rel): Likewise.
52042         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52043         (elf_machine_lazy_rel): Likewise.
52044         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52045         (elf_machine_lazy_rel): Likewise.
52046         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52047         (elf_machine_lazy_rel): Likewise.
52048         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52049         (elf_machine_lazy_rel): Likewise.
52050         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52051         (elf_machine_lazy_rel): Likewise.
52052         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52053         (elf_machine_lazy_rel): Likewise.
52055 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
52057         * nss/nss_files/files-init.c (_nss_files_init): Use static
52058         initialization for all the *_traced_file variables.
52060 2011-09-28  Andreas Schwab  <schwab@redhat.com>
52062         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52064 2011-09-27  Roland McGrath  <roland@hack.frob.com>
52066         [BZ #13226]
52067         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52069 2011-09-27  Andreas Schwab  <schwab@redhat.com>
52071         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52072         Reread the line before reparsing it.
52074 2011-09-26  Andreas Schwab  <schwab@redhat.com>
52076         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52078 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
52079             Maxim Kuvyrkov  <maxim@codesourcery.com>
52080             Joseph Myers  <joseph@codesourcery.com>
52082         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52083         if needed for __stack_chk_guard.
52085 2011-09-19  Roland McGrath  <roland@hack.frob.com>
52087         * sysdeps/posix/spawni.c (script_execute): Always define it.
52088         It will be optimized away if unused.
52089         (maybe_script_execute): New function.
52090         (__spawni): Call it.
52092         * Makerules: Don't include tls.make.
52093         (config-tls): Always set to thread.
52094         * tls.make.c: File removed.
52096 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
52098         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52099         * config.make.in (CPPFLAGS-config): New substituted variable.
52101 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52103         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52105         [BZ #13192]
52106         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52107         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52109 2011-09-15  Roland McGrath  <roland@hack.frob.com>
52111         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52112         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52113         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52114         (CALL_FAIL): Likewise.
52115         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52116         (CALL_FAIL): Macro removed.
52117         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52119 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52121         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52122         for __FINITE_MATH_ONLY__ == 1.
52124 2011-09-15  Andreas Schwab  <schwab@redhat.com>
52126         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52127         __ieee754_sqrt instead of sqrt.
52128         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52129         __ieee754_sqrtf instead of sqrtf.
52130         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52131         __floorf instead of floorf.
52132         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52133         __floorf, __truncf instead of floorf, truncf.
52135 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
52137         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52139         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52140         __extern_always_inline.
52141         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52142         32-bit.
52144 2011-09-14  Andreas Schwab  <schwab@redhat.com>
52146         * elf/rtld.c (dl_main): Also relocate in dependency order when
52147         doing symbol dependency testing.
52149 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
52151         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52152         Always define `refsym'.
52154 2011-09-13  Andreas Schwab  <schwab@redhat.com>
52156         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52157         (__FD_ELT): Renamed from __FDELT.
52158         * misc/bits/select2.h (__FD_ELT): Likewise.
52159         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52160         __FD_MASK instead of __FDELT, __FDMASK.
52161         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52162         Likewise.
52163         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52164         Likewise.
52166         * elf/Makefile (gen-ldd): Fix pattern.
52168         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52169         (init_tls): Likewise.
52171 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
52173         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52175 2011-09-12  Andreas Schwab  <schwab@redhat.com>
52177         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52178         `struct cmsghdr *' instead of `void *'.
52179         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52180         Likewise.
52182 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
52184         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52185         if non-absolute.
52186         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52187         ldd_rewrite_script.
52189 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
52191         * configure.in: Remove --with-tls option.
52192         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52193         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52194         out in case it is missing.
52195         * sysdeps/ia64/elf/configure.in: Likewise.
52196         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52197         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52198         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52199         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52200         * sysdeps/sh/elf/configure.in: Likewise.
52201         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52202         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52203         * sysdeps/x86_64/elf/configure.in: Likewise.
52204         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52205         * sysdeps/mach/hurd/tls.h: Likewise.
52207         [BZ #13067]
52208         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52210         [BZ #13090]
52211         * configure.in: Fix use of AC_INIT.
52213         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52215 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
52217         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52218         __set_errno.
52219         * malloc/hooks.c: Likewise.
52221         [BZ #11929]
52222         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
52223         variables statically.
52224         (narenas): Initialize.
52225         (list_lock): Initialize.
52226         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
52227         initializtion of main_arena and list_lock.  Small cleanups.
52228         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52229         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
52230         Add initializers to main_arena and mp_.
52231         (malloc_state): Remove pagesize member.  Change all users to use
52232         GLRO(dl_pagesize).
52234         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52235         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
52236         is always initialized.
52238         * malloc/malloc.c: Removed unused configurations and dead code.
52239         * malloc/arena.c: Likewise.
52240         * malloc/hooks.c: Likewise.
52241         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52243         * include/tls.h: Removed.  USE___THREAD must always be defined.
52244         * bits/libc-tsd.h: Don't handle !USE___THREAD.
52245         * elf/dl-libc.c: Likewise.
52246         * elf/dl-tsd.c: Likewise.
52247         * include/errno.h: Likewise.
52248         * include/netdb.h: Likewise.
52249         * include/resolv.h: Likewise.
52250         * inet/herrno-loc.c: Likewise.
52251         * inet/herrno.c: Likewise.
52252         * malloc/arena.c: Likewise.
52253         * malloc/hooks.c: Likewise.
52254         * malloc/malloc.c: Likewise.
52255         * resolv/res-state.c: Likewise.
52256         * resolv/res_libc.c: Likewise.
52257         * sysdeps/i386/dl-machine.h: Likewise.
52258         * sysdeps/ia64/dl-machine.h: Likewise.
52259         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52260         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52261         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52262         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52263         * sysdeps/sh/dl-machine.h: Likewise.
52264         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52265         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52266         * sysdeps/unix/i386/sysdep.S: Likewise.
52267         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52268         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52269         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52270         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52271         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52272         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52273         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52274         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52275         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52276         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52277         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52278         * sysdeps/x86_64/dl-machine.h: Likewise.
52279         * tls.make.c: Likewise.
52281         * configure.in: Remove --with-__thread option.  Make tests for
52282         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52283         tls_model attribute fail if no support is available.  Remove
52284         USE_IN_LIBIO.
52285         * Makeconfig: Adjust for dropped configure option.  All features are
52286         now mandatory.
52287         * Makerules: Likewise.
52288         * Versions.def: Likewise.
52289         * argp/argp-fmtstream.c: Likewise.
52290         * argp/argp-fmtstream.h: Likewise.
52291         * argp/argp-help.c: Likewise.
52292         * assert/assert.c: Likewise.
52293         * config.h.in: Likewise.
52294         * config.make.in: Likewise.
52295         * configure: Likewise.
52296         * configure.in: Likewise.
52297         * csu/Versions: Likewise.
52298         * csu/init.c: Likewise.
52299         * elf/tst-audit2.c: Likewise.
52300         * elf/tst-tls10.c: Likewise.
52301         * elf/tst-tls10.h: Likewise.
52302         * elf/tst-tls11.c: Likewise.
52303         * elf/tst-tls12.c: Likewise.
52304         * elf/tst-tls14.c: Likewise.
52305         * elf/tst-tlsmod11.c: Likewise.
52306         * elf/tst-tlsmod12.c: Likewise.
52307         * elf/tst-tlsmod13.c: Likewise.
52308         * elf/tst-tlsmod13a.c: Likewise.
52309         * elf/tst-tlsmod14a.c: Likewise.
52310         * elf/tst-tlsmod15b.c: Likewise.
52311         * elf/tst-tlsmod16a.c: Likewise.
52312         * elf/tst-tlsmod16b.c: Likewise.
52313         * elf/tst-tlsmod7.c: Likewise.
52314         * elf/tst-tlsmod8.c: Likewise.
52315         * elf/tst-tlsmod9.c: Likewise.
52316         * gmon/gmon.c: Likewise.
52317         * grp/fgetgrent_r.c: Likewise.
52318         * grp/putgrent.c: Likewise.
52319         * hurd/fopenport.c: Likewise.
52320         * include/libc-symbols.h: Likewise.
52321         * include/tls.h: Likewise.
52322         * intl/gettextP.h: Likewise.
52323         * intl/loadinfo.h: Likewise.
52324         * locale/global-locale.c: Likewise.
52325         * locale/localeinfo.h: Likewise.
52326         * mach/devstream.c: Likewise.
52327         * malloc/arena.c: Likewise.
52328         * malloc/set-freeres.c: Likewise.
52329         * misc/err.c: Likewise.
52330         * misc/getttyent.c: Likewise.
52331         * misc/mntent_r.c: Likewise.
52332         * posix/getopt.c: Likewise.
52333         * posix/wordexp.c: Likewise.
52334         * pwd/fgetpwent_r.c: Likewise.
52335         * resolv/Versions: Likewise.
52336         * resolv/res_hconf.c: Likewise.
52337         * shadow/fgetspent_r.c: Likewise.
52338         * shadow/putspent.c: Likewise.
52339         * stdio-common/printf_fphex.c: Likewise.
52340         * stdio-common/tmpfile.c: Likewise.
52341         * stdlib/abort.c: Likewise.
52342         * stdlib/fmtmsg.c: Likewise.
52343         * sunrpc/auth_unix.c: Likewise.
52344         * sunrpc/clnt_perr.c: Likewise.
52345         * sunrpc/clnt_tcp.c: Likewise.
52346         * sunrpc/clnt_udp.c: Likewise.
52347         * sunrpc/clnt_unix.c: Likewise.
52348         * sunrpc/openchild.c: Likewise.
52349         * sunrpc/svc_simple.c: Likewise.
52350         * sunrpc/svc_tcp.c: Likewise.
52351         * sunrpc/svc_udp.c: Likewise.
52352         * sunrpc/svc_unix.c: Likewise.
52353         * sunrpc/xdr.c: Likewise.
52354         * sunrpc/xdr_array.c: Likewise.
52355         * sunrpc/xdr_rec.c: Likewise.
52356         * sunrpc/xdr_ref.c: Likewise.
52357         * sunrpc/xdr_stdio.c: Likewise.
52359 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52361         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52363 2011-07-03  Andreas Jaeger  <aj@suse.de>
52365         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52366         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52367         regenerate with gen-libm-tests.pl.
52369 2010-05-12  Petr Baudis  <pasky@suse.cz>
52371         [BZ #11589]
52372         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52373         around j0() zero points by switching to j1().
52374         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52375         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52376         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52377         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52379 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52381         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52382         instead of 0.
52383         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52384         instead of 0.
52385         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52386         Patch in part by Pavel Roskin <proski@gnu.org>.
52388         [BZ #13138]
52389         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52390         realloc.
52391         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52392         Free memory block if necessary.
52394         [BZ #12847]
52395         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52396         be NULL.  Don't lock in this case.
52398 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52400         * elf/elf.h (ELFOSABI_GNU): New macro.
52401         (ELFOSABI_LINUX): Define to that.
52403 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52405         * string/strncat.c (strncat): Undef the symbol in case it has been
52406         defined in bits/string.h.
52408 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52410         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52412         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52413         link map.
52415 2011-08-17  Andreas Jaeger  <aj@suse.de>
52417         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52419 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52420             Ian Lance Taylor  <iant@google.com>
52422         * math/libm-test.inc (lround_test): New testcase.
52423         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52425 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52427         * Makefile: Remove support for automatic cvs check-ins.
52428         * Makerules: Likewise.
52429         * config.make.in: Likewise.
52430         * configure.in: Likewise.
52431         * intl/Makefile: Likewise.
52432         * locale/Makefile: Likewise.
52433         * po/Makefile: Likewise.
52434         * posix/Makefile: Likewise.
52435         * sysdeps/gnu/Makefile: Likewise.
52436         * sysdeps/mach/hurd/Makefile: Likewise.
52437         * sysdeps/sparc/sparc32/Makefile: Likewise.
52439         [BZ #13118]
52440         * posix/Makefile (bug-regex32-ENV): Define.
52441         Patch by John Stanley <jpsinthemix@verizon.net>.
52443         * misc/Makefile (headers): Add bits/select2.h.
52444         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52445         * misc/bits/select2.h: New file.
52446         * include/bits/select2.h: New file.
52447         * debug/Makefile (routines): Add fdelt_chk.
52448         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52449         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52450         FD_ISSET.
52451         * debug/fdelt_chk.c: New file.
52453         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
52454         * wcsmbs/test-wmemcmp.c: Likewise.
52455         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52456         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52458 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52460         * string/Makefile (strop-tests): Add memcmp.
52461         * string/test-wmemcmp.c: New file.
52462         * string/test-memcmp.c: Add wmemcmp support.
52464 2011-09-08  Roland McGrath  <roland@hack.frob.com>
52466         [BZ #13153]
52467         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52468         2011-07-19 change.
52470         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52471         garbage value in a __mach_port_mod_refs call in the cases of the
52472         task-self and thread-self ports.
52474 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52476         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52478 2011-09-08  Andreas Schwab  <schwab@redhat.com>
52480         * elf/dl-load.c (lose): Check for non-null L.
52482 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52484         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52486         * elf/dl-libc.c (dlerror_run): Pass back error code from
52487         dl_catch_error.
52489         [BZ #13123]
52490         * elf/dl-load.c (lose): Free l_origin if it is valid.
52492         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52493         names.
52494         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52495         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52496         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52497         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52498         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52499         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52501 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52503         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52504         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52505         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52506         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52507         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52508         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52509         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52510         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52511         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52512         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52514 2011-08-15  Alan Modra  <amodra@gmail.com>
52516         [BZ #13092]
52517         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52518         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52519         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52520         ppc_mcount to static-only-routines.
52521         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52522         __mcount_internal.
52523         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52524         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52526 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52528         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52529         for finite and infinity parameters.
52531 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52533         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52534         and add nop instructions for throughput optimization.
52535         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52537 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52539         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52540         aligned copy for power7 with vector-scalar instructions.
52541         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52543 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52545         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52546         AVX check.
52548 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52550         [BZ #13144]
52551         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52552         last change.
52554 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52556         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52557         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52558         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52559         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52560         clock_gettime.
52562 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52564         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52565         Forgot to demangle the pointer.
52567         * sysdeps/i386/sysdep.h: Define atom_text_section.
52568         * sysdeps/x86_64/sysdep.h: Likewise.
52569         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52570         section with atom_text_section.
52571         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52572         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52573         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52574         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52575         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52577         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52578         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52579         already be defined.  Change to take two parameters and don't assign
52580         result to variable.  Adjust all users.
52581         Define INTERNAL_GETTIME if not already defined.
52582         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52583         call.
52584         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52585         HAVE_CLOCK_GETTIME_VSYSCALL.
52586         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52588         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52589         gettimeofday vsyscall, just use time.
52591 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52593         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52594         <errno.h>.
52596 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52598         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52599         syscall on x86-64.
52600         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52601         syscall.
52602         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52603         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52604         syscall if possible.
52606 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52608         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52609         e_ident.  Don't pass to find_mapsXX.
52610         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52612 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52615         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52616         * sysdeps/x86_64/multiarch/strchr.S: Update.
52617         Check bit_slow_BSF bit.
52618         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52619         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52620         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52622 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52624         [BZ #13134]
52625         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52626         before glibc 2.15.
52627         (tryshell): Define.
52628         (__spawni): Change last parameter to be flag.  Test
52629         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52630         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52631         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52632         * posix/spawni.c: Likewise.
52633         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52634         * posix/spawnp.c: Likewise.  Change normal version to use
52635         SPAWN_XFLAGS_USE_PATH.
52636         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52637         SPAWN_XFLAGS_TRY_SHELL.
52639         [BZ #13150]
52640         * posix/glob.h: Remove gcc 1.x support.
52642         [BZ #13068]
52643         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52645 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52647         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52648         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52649         strrchr-sse2-bsf
52650         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52651         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52652         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52653         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52654         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52655         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52657 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52659         * sysdeps/x86_64/wcscmp.S: New file.
52661         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52662         wcscmp-c wcscmp-sse2
52663         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52664         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52665         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52666         * wcsmbs/wcscmp.c: Allow renaming.
52668 2011-09-05  David S. Miller  <davem@davemloft.net>
52670         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52671         stack slot, rather than the struct return pointer slot.
52672         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52673         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52675         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52677 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52679         * po/ja.po: Update from translation team.
52681         [BZ #13144]
52682         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52683         kernel in 64-bit binaries.
52685 2011-09-01  David S. Miller  <davem@davemloft.net>
52687         * elf/elf.h (HWCAP_SPARC_*): Move to..
52688         * sysdeps/sparc/sysdep.h: this new file and add new values.
52689         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52690         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52691         _DL_HWCAP_COUNT to 24.
52692         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52693         entries.
52694         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52695         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52696         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52697         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52698         instead of magic constants.
52699         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52701 2011-08-31  David S. Miller  <davem@davemloft.net>
52703         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52704         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52705         Reimplement to do errno handling inline.
52706         (SYSCALL_ERROR_HANDLER): New macro.
52707         (__SYSCALL_STRING): Do not do errno handling in asm.
52708         (__CLONE_SYSCALL_STRING): Delete.
52709         (__INTERNAL_SYSCALL_STRING): Delete.
52710         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52711         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52712         (PSEUDO): Reimplement to do errno handling inline.
52713         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52714         (SYSCALL_ERROR_HANDLER): New macro.
52715         (__SYSCALL_STRING): Do not do errno handling in asm.
52716         (__CLONE_SYSCALL_STRING): Delete.
52717         (__INTERNAL_SYSCALL_STRING): Delete.
52718         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52719         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52720         i386.
52721         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52722         (inline_syscall*): Add 'err' argument.
52723         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52724         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52725         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52726         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52728         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52729         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52731 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52733         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52735 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52737         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52738         directive.
52740 2011-08-24  David S. Miller  <davem@davemloft.net>
52742         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52744 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52746         * elf/Makefile: Add rules to build and run unload8 test.
52747         * elf/unload8.c: New file.
52748         * elf/unload8mod1.c: New file.
52749         * elf/unload8mod1x.c: New file.
52750         * elf/unload8mod2.c: New file.
52751         * elf/unload8mod3.c: New file.
52753         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52754         it wasn't used.
52756 2011-08-23  David S. Miller  <davem@davemloft.net>
52758         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52759         subtract stack bias.
52760         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52761         %sp not %fp in calculations.
52762         (_JMPBUF_UNWINDS_ADJ): Likewise.
52764         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52765         (aio_suspend): Call it to force an exception region around the
52766         AIO_MISC_WAIT() invocation.
52768 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52770         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52771         backslash.
52773 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52775         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52776         protection macro.
52777         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52778         and <dl-machine.h>.
52779         (Elf64_FuncDesc): Remove.
52781 2011-08-22  David S. Miller  <davem@davemloft.net>
52783         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52784         sigaltstack check, add missing cfi directives.
52785         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52786         missing cfi directives, and sigaltstack handling.
52788 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52790         [BZ #11724]
52791         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52792         object is seen twice.
52793         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52795         * elf/Makefile (distribute): Add tst-initorder2.c.
52796         (tests): Add tst-initorder2.
52797         (modules-names): Add tst-initorder2a tst-initorder2b
52798         tst-initorder2c tst-initorder2d.  Add rules to build them.
52799         ($(objpfx)tst-initorder2.out): New rule.
52800         * elf/tst-initorder2.c: New file.
52801         * elf/tst-initorder2.exp: New file.
52803 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52805         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52807         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52808         dependencies back to end of function.
52810         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52811         $(elfobjdir)/ld.so.
52813 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52815         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52816         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52817         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52818         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52819         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52820         of __vdso_gettimeofday.
52821         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52822         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52823         attribute_hidden.
52824         (_libc_vdso_platform_setup): Remove initialization of
52825         __vdso_gettimeofday and __vdso_time.
52827 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52829         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52830         and fgetc_unlocked.
52831         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52832         getc_unlocked.
52834         * elf/dl-open.c (add_to_global): Report additions to the global scope
52835         for LD_DEBUG=scopes.
52836         (dl_open_worker): Also print scope of newly loaded dependencies.
52837         (_dl_show_scope): Indicate if there is no scope.
52839         [BZ #13114]
52840         * stdio-common/Makefile (tests): Add bug24.
52841         * stdio-common/bug24.c: New file.
52843 2011-08-19  Andreas Jaeger  <aj@suse.de>
52845         [BZ #13114]
52846         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52847         non-existant file when using close-on-exec mode.
52849 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52851         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52852         the very first instruction.
52854         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52855         the CFI state in the end.
52856         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52857         inclusion of dl-trampoline.h.
52858         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52860 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52862         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52863         expectations for long double.
52865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52866         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52868 2011-08-14  David S. Miller  <davem@davemloft.net>
52870         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52871         artificual limit depends upon the system page size.
52873 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52875         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52876         * resolv/Makefile: Define CFLAGS-libresolv.
52878 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52880         * nss/makedb.c (compute_tables): Make variables used in nested
52881         function static.
52883 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52885         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52886         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52887         if buffer was too small.
52889         * elf/pldd.c (main): Attach to all threads in the process.
52890         Rewrite /proc handling to use *at functions.
52892 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52894         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52895         specifies first scope to show.
52896         (dl_open_worker): Update callers.  Move printing scope of new
52897         object to before the relocation.
52898         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52899         * sysdeps/generic/ldsodefs.h: Update declaration.
52901         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52902         string for the scope number.
52904 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52906         * nscd/servicescache.c (cache_addserv): Make sure written is always
52907         initialized.
52909 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52911         * sysdeps/i386/i486/bits/atomic.h
52912         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52913         statement expression, so as to suppress "set but not used" warning.
52914         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52916         * string/strncat.c (STRNCAT): Use prototype definition.
52918         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52919         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52920         -Iprograms here.
52921         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52922         (localedef-modules): Add localedef.
52923         (locale-modules): Add locale.
52925         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52926         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52927         to avoid a warning.
52929 2011-08-14  David S. Miller  <davem@davemloft.net>
52931         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52932         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52934 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52936         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52937         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52938         * elf/rtld.c (dl_main): Set l_name of vDSO.
52939         Call _dl_show_scope when DL_DEBUG_SCOPES.
52940         (process_dl_debug): Recognize scopes flag and also set it for all.
52941         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52942         Declare _dl_show_scope.
52944         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52945         (do_dlopen): Pass caller_dlopen to dl_open.
52946         (__libc_dlopen_mode): Initialize caller_dlopen.
52948         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52949         of libc.  Make tolower call locale-independent.  Optimize a bit by
52950         using isdigit instead of isalnum.
52951         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52953 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52955         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52956         was a dependency or dynamically loaded.
52958 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52960         * intl/l10nflist.c: Allow architecture-specific pop function.
52961         * sysdeps/x86_64/l10nflist.c: New file.
52963         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52964         classification.
52966 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52968         * include/dirent.h: Add libc_hidden_proto for scandirat and
52969         scandirat64.  Don't declare __scandirat64.
52970         * dirent/scandirat.c: Add libc_hidden_def.
52971         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52972         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52974 2011-08-10  David S. Miller  <davem@davemloft.net>
52976         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52977         enum.
52978         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52979         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52980         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52982 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52984         * Versions.def [libc]: Add GLIBC_2.15.
52985         * dirent/Makefile (routines): Add scandirat and scandirat64.
52986         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52987         GLIBC_2.15.
52988         * dirent/dirent.h: Declare scandirat and scandirat64.
52989         * dirent/scandirat.c: New file.
52990         * dirent/scandirat64.c: New file.
52991         * sysdeps/wordsize-64/scandirat.c: New file.
52992         * sysdeps/wordsize-64/scandirat64.c: New file.
52993         * dirent/opendir.c: Define opendirat.
52994         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52995         using scandirat.
52996         * dirent/scandir64.c: Adjust for scandir.c change.
52997         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52998         __scandirat64, and __scandir_cancel_handler.
52999         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
53000         additional parameter and use openat instead of open (outside of ld.so).
53001         Add new __opendir as wrapper around __opendirat.
53002         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53003         here without requiring old scandirat implementation.
53005 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
53007         * dirent/scandir.c (cancel_handler): Renamed to
53008         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
53009         defined.  Adjust users.
53010         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53011         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53013 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
53015         * string/test-string.h (IMPL): Use __STRING to expand name and then
53016         stringify it.
53018         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
53019         of cleanups.
53021 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53023         * string/Makefile: Update.
53024         (strop-tests): Append strncat.
53025         * string/test-wcscmp.c: New file.
53026         New comprehensive test for wcscmp.
53027         * string/test-strcmp.c: Update.
53028         (WIDE): New define.
53030 2011-07-22  Andreas Schwab  <schwab@redhat.com>
53032         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53033         line.
53035 2011-07-26  Andreas Schwab  <schwab@redhat.com>
53037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53038         encoding to ACE if AI_IDN.
53040 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
53042         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53043         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53045 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53047         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53048         Fix overflow bug in strncat.
53049         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53051         * string/test-strncat.c: Update.
53052         Add new tests for checking overflow bugs.
53054 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53056         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53057         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53058         * sysdeps/i386/i686/multiarch/strcat.S: New file.
53059         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53060         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53061         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53062         * sysdeps/i386/i686/multiarch/strncat.S: New file.
53063         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53064         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53066         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53067         (USE_AS_STRCAT): Define.
53068         Add strcat and strncat support.
53069         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53071 2011-07-25  Andreas Schwab  <schwab@redhat.com>
53073         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53074         __n bigger than INT_MAX+1.
53075         (__strncmp_g): Likewise.
53077 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
53079         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53080         * libio/stido.h: Likewise.
53082         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53083         (AF_NFC): Define.
53084         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53085         (AF_NFC): Define.
53087         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53088         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53089         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53090         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53091         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53093         [BZ #13021]
53094         * scripts/test-installation.pl: Don't expect libnss_test1 to be
53095         installed.
53097         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53098         typo.
53099         (_dl_x86_64_save_sse): Likewise.
53101 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
53103         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53104         OSXSAVE.
53105         (_dl_x86_64_save_sse): Likewise.
53107         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53109         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53111 2011-07-21  Andreas Schwab  <schwab@redhat.com>
53113         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53114         change.
53115         (_dl_x86_64_save_sse): Use correct AVX check.
53117 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53119         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53120         bug in strncpy/strncat.
53121         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53123 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
53125         * string/tester.c (test_strcat): Add tests for different alignments
53126         of source and destination.
53127         (test_strncat): Likewise.
53129 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53131         [BZ #12852]
53132         * posix/glob.c (glob): Check passed in values before using them in
53133         expressions to avoid some overflows.
53134         (glob_in_dir): Likewise.
53136         [BZ #13007]
53137         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53138         check for AVX enablement so that we don't crash with old kernels and
53139         new hardware.
53140         * elf/tst-audit4.c: Add same checks here.
53141         * elf/tst-audit6.c: Likewise.
53143         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53145 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
53147         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53149 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53151         * po/cs.po: Update from translation team.
53152         * po/bg.po: Likewise.
53154 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
53156         * misc/sys/cdefs.h: Add support for const attribute.
53157         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53158         to gnu_dev_{major,minor,makedev} functions.
53160 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
53162         * intl/dcigettext.c (get_output_charset): Add missing bracket.
53164 2011-07-20  Andreas Schwab  <schwab@redhat.com>
53166         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53167         strlen results.
53169 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53171         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53172         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53173         register in order to avoid conflicts with the soft frame pointer
53174         being held in r11 when necessary.
53175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53176         (INTERNAL_VSYSCALL_NCS): Likewise.
53178 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
53180         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53181         * elf/dl-fini.c (_dl_fini): Adjust caller.
53182         * elf/dl-close.c (_dl_close_worker): Likewise.
53183         * sysdeps/generic/ldsodefs.h: Adjust declaration.
53185 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53187         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53188         "aux_cache->nlibs < 0".
53190         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53191         in the reload-count case.
53193 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53195         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53196         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53197         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53198         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53199         * sysdeps/x86_64/multiarch/strcat.S: New file.
53200         * sysdeps/x86_64/multiarch/strncat.S: New file.
53201         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53202         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53203         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53204         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53205         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53206         (USE_AS_STRCAT): Define.
53207         Add strcat and strncat support.
53208         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53209         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53210         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53211         * string/strncat.c: Update.
53212         (USE_AS_STRNCAT): Define.
53213         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53214         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53215         and i7.
53216         * sysdeps/x86_64/multiarch/init-arch.h
53217         (bit_Prefer_PMINUB_for_stringop): New.
53218         (index_Prefer_PMINUB_for_stringop): Likewise.
53219         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53220         bit_Prefer_PMINUB_for_stringop.
53222 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53224         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53225         buffer64.
53226         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53227         of casting of buffer.
53228         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53229         buffer32 and buffer64.
53230         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53231         writes instead of casting of buffer.
53232         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53233         buffer32.
53234         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53235         casting of buffer.
53237 2011-07-19  Andreas Schwab  <schwab@redhat.com>
53239         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53241 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53243         * nscd/nscd.c (termination_handler): Don't do anything for a database
53244         if it has not yet been initialized.
53246 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53248         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53250 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53252         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53254 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53256         * po/nl.po: Update from translation team.
53257         * po/sv.po: Likewise.
53259 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53261         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53262         now disallowed by GCC.
53264         * configure.in (use-default-link): Default to yes if a test -shared
53265         link meets our qualifications.
53266         * configure: Regenerated.
53268         * config.make.in (output-format): New variable.
53269         * configure.in: Check for ld --print-output-format support.
53270         * configure: Regenerated.
53271         * Makerules ($(common-objpfx)format.lds)
53272         [$(output-format) != unknown]: Just use $(output-format),
53273         instead of the linker-script munging.
53275 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53277         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53278         of $(common-objpfx)shlib.lds.
53279         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53281         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53282         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53284         * configure.in (-z relro check): Adjust test code to add a large
53285         writable data section after it.
53286         * configure: Regenerated.
53288 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53290         * configure.in (-z relro check): Fix test code to make the variable
53291         truly const.
53292         * configure: Regenerated.
53294 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53296         * nscd/nscd.h (struct traced_file): Define.
53297         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53298         elements.  Add traced_files.
53299         (inotify_fd): Declare.
53300         (register_traced_file): Declare.
53301         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53302         (inotify_fd): Export.
53303         (resolv_conf_descr): Remove.
53304         (nscd_init): Move inotify descriptor creation to main.
53305         Don't register files for notification here.
53306         (register_traced_file): New function.
53307         (invalidate_cache): Don't use reset_res to determine whether to call
53308         res_init, go through the list of registered files.
53309         (main_loop_poll): The inotify descriptors are now stored in the
53310         structures for the traced files.
53311         (main_loop_epoll): Likewise
53312         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53313         to __nss_disable_nscd.
53314         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53315         for a database anymore.  Check the records for all the registered
53316         files instead.
53317         * nss/Makefile (libnss_files-routines): Add files-init.
53318         (libnss_db-routines): Add db-init.
53319         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53320         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53321         * nss/nss_db/db-init.c: New file.
53322         * nss/nss_files/files-init.c: New file.
53323         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53324         __nss_lookup_function.
53325         (__nss_lookup_function): Call nss_load_library.
53326         (nss_load_all_libraries): New function.
53327         (__nss_disable_nscd): Take parameter with callback function for files
53328         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53329         used for the cached services.
53330         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53331         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53332         options for features to all the files in nscd.
53334         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53336 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53338         * csu/elf-init.c (__libc_csu_init): Comment typo.
53340 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53342         * po/pl.po: Update from translation team.
53343         * po/ja.po: Likewise.
53344         * po/ru.po: Likewise.
53345         * po/ko.po: Likewise.
53346         * po/fr.po: Likewise.
53348 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53350         * configure.in (.ctors/.dtors header and trailer check):
53351         Use an empirical test on a built program.
53352         * configure: Regenerated.
53354         * configure.in (-z relro check): Use an empirical test on a built DSO.
53355         Detect, but do not require, on ia64.
53356         * configure: Regenerated.
53358         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53359         Update tests that use readelf to use $READELF instead.
53360         * configure: Regenerated.
53362 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53364         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53365         if the result is not used.
53367 2011-07-05  Andreas Jaeger  <aj@suse.de>
53369         [BZ#9696]
53370         * stdlib/tst-strtod.c: Add testcase.
53372 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53374         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53375         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53376         The latter has a higher limit.  Take additional parameter to pass to
53377         the new function.
53378         (__pathconf): Pass file to __statfs_link_max.
53379         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53380         __statfs_link_max.
53381         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53382         __statfs_link_max.
53384         [BZ #12868]
53385         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53386         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53387         Handle Lustre.
53388         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53389         (__statfs_filesize_max): Likewise.
53390         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53392 2011-07-05  Andreas Jaeger  <aj@suse.de>
53394         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53396 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53398         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53399         `status' variable.
53400         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53401         Likewise.
53403 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53405         * Makefile (strop-tests): Add strncat.
53406         * string/test-strncat.c: New file.
53408 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53410         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53412 2011-06-21  Andreas Jaeger  <aj@suse.de>
53414         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53415         Copy rule from iconvdata/Makefile.
53417 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53419         [BZ #12922]
53420         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53421         but no long options are defined, just return 'W'.
53423 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53425         [BZ #9696]
53426         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53428 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53430         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53431         netgroups to read.
53432         (innetgr): Likewise.
53434 2011-07-05  Roland McGrath  <roland@hack.frob.com>
53436         * config.make.in (install_root): Default to $(DESTDIR).
53438 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
53440         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53442 2011-07-02  Roland McGrath  <roland@hack.frob.com>
53444         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53446         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53447         containing directory rather than embedding absolute directory names.
53449         * scripts/check-local-headers.sh: Rewritten using awk.
53450         Match by word, not by line.  Print error messages for matches.
53451         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53453         * Makerules [shlib-lds-flags empty]:
53454         ($(common-objpfx)libc_pic.opts): New target.
53455         ($(common-objpfx)libc_pic.os.clean): New target.
53456         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53458         * config.make.in (OBJCOPY): New variable.
53459         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53460         * configure: Regenerated.
53462         * config.make.in (use-default-link): New variable.
53463         * configure.in (use_default_link): Grok --with-default-link to set it.
53464         * configure: Regenerated.
53465         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53466         (shlib-lds, shlib-lds-flags): Define to empty.
53468         * Makerules (shlib-lds): New variable.
53469         (shlib-lds-flags): New variable.
53470         (build-shlib, build-moduile, build-module-asneeded): Use it.
53471         ($(common-objpfx)libc.so): Use $(shlib-lds).
53472         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53473         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53475         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53476         DT_FLAGS/DT_FLAGS_1 with zero flags.
53478         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53479         linker script munging.
53481 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
53483         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53484         as 128-bit value.
53485         * crypt/sha512.c (sha512_process_block): Perform total addition using
53486         128-bit if possible.
53487         (__sha512_finish_ctx): Likewise.
53488         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53489         as 64-bit value.
53490         * crypt/sha256.c (SWAP64): Define.
53491         (sha256_process_block): Perform total addition using 64-bit if
53492         possible.
53493         (__sha256_finish_ctx): Likewise.
53495 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
53497         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
53498         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53499         * nscd/hstcache.c (cache_addhst): Likewise.
53500         * nscd/grpcache.c (cache_addgr): Likewise.
53501         * nscd/aicache.c (addhstaiX): Likewise
53502         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53504 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53506         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53507         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53508         * nscd/hstcache.c (cache_addhst): Likewise.
53509         * nscd/grpcache.c (cache_addgr): Likewise.
53510         * nscd/aicache.c (addhstaiX): Likewise
53512 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53514         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53515         domain only when needed.
53517 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53520         is always restored.
53522 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53524         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53525         are re-adding the entry.
53526         * nscd/servicescache.c (cache_addserv): Likewise.
53528 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53530         * sysdeps/generic/dl-irel.h: fix protection against multiple
53531         inclusions.
53532         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53534 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53536         [BZ #12935]
53537         * malloc/memusage.sh: Fix quoting in message.
53538         * debug/xtrace.sh: Likewise.
53540         * configure.in: Remove support for --experimental-malloc option, make
53541         it the default.
53542         * config.make.in: Likewise.
53543         * malloc/Makefile: Likewise.
53545 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53547         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53548         two-byte characters.
53550 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53552         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53553         AC_CACHE_CHECK invocation.
53554         * configure: Regenerated.
53556         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53558 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53560         [BZ #12350]
53561         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53562         bit from old_res_options.
53564         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53566         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53567         value type for setfct.
53569 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53571         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53572         __gettimeofday instead of gettimeofday.
53574 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53576         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53578 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53580         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53582         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53583         info.
53585 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53587         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53588         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53589         strcpy-sse2-unaligned strncpy-sse2-unaligned
53590         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53591         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53592         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53593         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53594         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53595         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53596         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53597         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53598         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53599         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53600         (STRCPY): Support SSE2 and SSSE3 versions.
53602 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53604         [BZ #12874]
53605         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53606         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53607         kernels which artificially limit size of requests.
53609 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53611         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53612         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53613         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53614         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53615         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53616         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53617         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53618         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53619         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53620         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53621         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53622         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53623         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53624         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53625         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53626         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53627         Enable unaligned load optimization for Intel Core i3, i5 and i7
53628         processors.
53629         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53630         Define.
53631         (index_Fast_Unaligned_Load): Define.
53632         (HAS_FAST_UNALIGNED_LOAD): Define.
53634 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53636         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53638 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53640         [BZ #12907]
53641         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53642         until it is clear that the information is realy needed.
53643         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53645 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53649 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53651         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53652         /sys/devices/system/cpu/online if it is usable.
53654         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53655         reading the information from the /proc filesystem to once a second.
53657 2011-06-21  Andreas Jaeger  <aj@suse.de>
53659         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53660         NULL after inclusion of kernel headers.
53662 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53664         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53665         calls to internal_setent.
53667         [BZ #12885]
53668         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53669         addresses using gethostbyname4_r ignore IPv4 addresses.
53671         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53672         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53674         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53676 2011-06-20  David S. Miller  <davem@davemloft.net>
53678         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53679         inclusions.
53680         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53682         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53683         (elf_irel): Use it.
53684         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53685         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53686         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53687         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53688         * sysdeps/x86_64/dl-irel.h: Likewise.
53690         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53691         * elf/dl-sym.c: Likewise.
53693 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53695         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53696         need to dereference resplen2.
53698 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53700         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53702 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53704         * Makeconfig: Define vardbdir and inst_vardbdir.
53705         * nss/Makefile: Add rules to install db-Makefile.
53707         * nss/nss_db/db-XXX.c: Cleanup.
53709         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53710         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53711         GLIBC_PRIVATE.
53712         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53713         * nss/makedb.c: Implement -g option to specify that value strings
53714         are generated and should not be added to table iterated over for
53715         get*ent calls.
53716         * nss/nss_db/db-initgroups.c: New file.
53718         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53719         interface.
53721         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53722         (internal_getgrouplist): Adjust to name change.
53723         Update use_initgroups_entry if this is not the first call.
53724         * nss/databases.def: Add initgroups entry.
53726         * nss/makedb.c (compute_tables): Check result of multiple hash table
53727         sizes to minimize maximum chain length.
53729 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53731         * Versions.def: Add entry for libnss_db.
53732         * shlib-versions: Likewise.
53733         * nss/Makefile: Add rules to build libnss_db.
53734         * nss/Versions: Add libnss_db information.  Organize libnss_files
53735         entries better.
53736         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53737         makedb progra.  Some minor improvements to generate smaller files.
53738         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53739         here from...
53740         * nss/makedb.c: ...here.
53741         Improve database format to be smaller and require less memory at
53742         runtime.
53743         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53744         db anymore.
53745         * nss/nss_db/db-netgrp.c: Likewise.
53746         * nss/nss_db/db-open.c: Likewise.
53747         * nss/nss_files/flies-XXX.x: Adjust comments.
53748         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53749         * nss/nss_files/files-grp.c: Likewise.
53750         * nss/nss_files/files-hosts.c: Likewise.
53751         * nss/nss_files/files-network.c: Likewise.
53752         * nss/nss_files/files-proto.c: Likewise.
53753         * nss/nss_files/files-pwd.c: Likewise.
53754         * nss/nss_files/files-rpc.c: Likewise.
53755         * nss/nss_files/files-service.c: Likewise.
53756         * nss/nss_files/files-sgrp.c: Likewise.
53757         * nss/nss_files/files-spwd.c: Likewise.
53758         * nss/nss_db/db-alias.c: Removed.
53759         * nss/nss_db/dummy-db.h: Removed.
53761 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53763         * nss/makedb.c: Rewritten to not use database library.
53764         * nss/Makefile: Update to build new makedb program.
53766 2011-06-14  Andreas Jaeger  <aj@suse.de>
53768         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53769         memset declaration.
53771 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53773         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53774         tmpbuf.
53776 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53778         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53779         * elf/Makefile ($(objpfx)ld.so): Likewise.
53781         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53782         Don't list ld.so twice in dependencies.
53784         * posix/bug-regex31.c: Include <stdlib.h>.
53786         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53788         * nis/nss_compat/compat-spwd.c
53789         (getspent_next_nss_netgr): Remove unused variable.
53790         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53792         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53793         nonmembers" output to use the right array.
53795         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53797         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53799         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53800         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53801         * catgets/gencat.c (read_input_file): Likewise.
53802         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53804         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53805         variable definition inside #if's controlling its use.
53807         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53809         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53811         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53813         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53814         unreachable code.
53816         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53818         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53819         * configure: Regenerated.
53821         * Makerules: Revert last change.
53822         * elf/Makefile: Likewise.
53824 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53826         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53827         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53828         (reloc-link): Likewise.
53830 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53832         * elf/Makefile: Add rules to build pldd.
53833         * elf/pldd.c: New file.
53834         * elf/pldd-xx.c: New file.
53836 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53838         * version.h: Update for 2.15 development version.
53840 2011-06-07  David S. Miller  <davem@davemloft.net>
53842         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53843         ifuncs.
53844         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53845         elf_machine_lazy_rel): Likewise.
53846         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53847         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53848         elf_machine_lazy_rel): Likewise.
53849         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53850         dl_hwcap via passed in argument.
53851         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53852         Likewise.
53854 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53856         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53858 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53860         [BZ #12849]
53861         * manual/fdl-1.1.texi: New file, verbatim from:
53862         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53863         * manual/lgpl-2.1.texi: New file, verbatim from:
53864         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53865         * manual/Makefile (licenses): New variable, list those new file names.
53866         (texis): Use it.
53867         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53869         * manual/fdl.texi: File removed.
53870         * manual/lesser.texi: File removed.
53871         * manual/libc.texinfo (Copying, Documentation License):
53872         Use new @include file names, put @appendix directive before @include.
53874 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53876         [BZ #12841]
53877         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53878         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53879         (mq_open): Add __NTH.
53881 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53883         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53884         Assume Intel Core i3/i5/i7 processor if AVX is available.
53886 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53888         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53889         typo.
53891 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53893         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53894         memory.  Use alloca_account.  Fix memory leak when retrying.
53896 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53898         * version.h (RELEASE): Bump for 2.14 release.
53899         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53901         * config.make.in (RANLIB): Remove entry.
53903 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53905         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53906         (libc.pot): Work around missing support for .ksh extension in xgettext.
53908         [BZ #12684]
53909         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53910         if both request failed.
53911         (send_dg): In case of server errors clear resplen or *resplen2.
53913         [BZ #12454]
53914         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53915         when there are multiple maps.
53916         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53917         (_dl_fini): Remove test here.
53919         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53921 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53923         [BZ #12350]
53924         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53925         bit from old_res_options.
53926         (gaih_inet): Likewise.
53928         [BZ #11099]
53929         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53930         as signed.
53932         * resolv/res_init.c (res_setoptions): Make the code more compact.
53934         [BZ #11558]
53935         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53936         set RES_USEVC.
53938         [BZ #11634]
53939         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53941         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53943         [BZ #11781]
53944         * malloc/malloc.h: Declare malloc hook variables as volatile.
53946         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53947         in last patch.
53949         [BZ #11799]
53950         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53951         raise in the comment.
53952         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53953         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53954         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53956 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53958         [BZ #12811]
53959         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53960         grow the buffers more if it already has to be sufficient.
53961         (build_wcs_upper_buffer): Likewise.
53962         * posix/regexec.c (check_matching): Likewise.
53963         (clean_state_log_if_needed): Likewise.
53964         (extend_buffers): Don't enlarge buffers beyond size of the input
53965         buffer.
53966         Patches mostly by Emil Wojak <emil@wojak.eu>.
53967         * posix/bug-regex32.c: New file.
53968         * posix/Makefile (tests): Add bug-regex32.
53970         * locale/findlocale.c (_nl_find_locale): Return right away if
53971         _nl_explode_name failed.
53972         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53974         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53976         * debug/xtrace.sh: Unify messages.
53977         * malloc/memusage.sh: Likewise.
53979         [BZ #12813]
53980         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53981         time symbol from vDSO.  Substitute with vsyscall if not available.
53982         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53983         __vdso_time.
53985         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53986         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53987         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53988         Add sendmmsg and internal_sendmmsg.
53989         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53990         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53991         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53993         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53994         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53995         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53997 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53999         [BZ #12813]
54000         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54001         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
54002         available.
54003         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54004         __vdso_getcpu.
54006         [BZ #12814]
54007         * iconvdata/Makefile (tests): Add bug-iconv9.
54008         * iconvdata/bug-iconv9.c: New file.
54010 2011-05-27  Andreas Schwab  <schwab@redhat.com>
54012         [BZ #12814]
54013         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54015 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
54017         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54018         (struct user_regs_struct): Change intcs field back to cs.
54020 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
54022         * po/ja.po: Update from translation team.
54024 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
54026         [BZ #12795]
54027         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54028         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54030 2011-05-20  Andreas Schwab  <schwab@redhat.com>
54032         * stdlib/longlong.h: Update from GCC.
54034 2011-05-23  Andreas Schwab  <schwab@redhat.com>
54036         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54037         parameter name.
54038         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54039         Add parameter name.
54040         (__sysconf): Pass it down.
54042 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
54044         [BZ #12671]
54045         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54046         some situations.
54047         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54048         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54049         add in in __libc_use_alloca calls.  Adjust callers.
54050         (glob): Use malloc in some situations.
54052         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54053         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54054         pltexit.
54056 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
54058         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54059         and CLOCK_BOOTTIME_ALARM.
54061         [BZ #12782]
54062         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54063         is returned.
54065         * string/_strerror.c (__strerror_r): Print negative errors as signed
54066         numbers.
54068         [BZ #12777]
54069         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54070         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54071         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54073         * configure.in: Fix typo in redirection and correct removal of test
54074         files in two cases.
54076         [BZ #12788]
54077         * locale/setlocale.c (new_composite_name): Fix test to check for
54078         identical name of all categories.
54080         [BZ #12792]
54081         * libio/filedoalloc.c (local_isatty): New function.
54082         (_IO_file_doallocate): Use local_isatty.
54083         * stdio-common/perror.c (perror): In case a new stream is used
54084         forward the stream error.
54085         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54086         error flag.
54088 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
54090         [BZ #11869]
54091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54092         alloca.
54093         * include/alloca.h (extend_alloca_account): Define.
54095         [BZ #11857]
54096         * posix/regex.h: Fix comments with documentation of user-accessible
54097         fields after compilation and describe correct free'ing of pattern
54098         after re_compile_pattern.
54099         Patch by Reuben Thomas <rrt@sc3d.org>.
54101 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
54103         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54104         and -mno-altivec to prevent the compiler from using Altivec and/or
54105         VSX instructions when the corresponding registers are not available.
54107 2011-05-19  Andreas Schwab  <schwab@redhat.com>
54109         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54111 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
54113         * libio/freopen.c (freopen): Use __dup2, not dup2.
54114         * libio/freopen64.c (freopen64): Likewise.
54116 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54118         [BZ #12775]
54119         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54120         * math/Makefile (tests): Add test-powl.
54121         (CFLAGS-test-powl.c): Define.
54122         * math/test-powl.c: New file.
54124 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54126         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54128 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
54130         [BZ #11837]
54131         * iconvdata/gb18030.c: Update to GB18020-2005.
54133 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
54135         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54136         RE_SYNTAX_POSIX_AWK): Update to match recent development.
54137         Patch by Aharon Robbins <arnold@skeeve.com>.
54139         [BZ #11892]
54140         * stdlib/putenv.c (putenv): Don't always create copy of the variable
54141         on the stack.
54143         [BZ #11895]
54144         * misc/pselect.c (__pselect): Handle timeout value errors hidden
54145         through underflows.
54147         [BZ #12766]
54148         * misc/error.c (error_at_line): Ensure file_name and old_file_name
54149         point to strings before performing equality test for error_one_per_line
54150         mode.
54152         [BZ #11697]
54153         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54155         [BZ #11820]
54156         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54157         (struct user_fpregs_struct): Avoid __uint*_t types.
54159         [BZ #6420]
54160         * malloc/mtrace.c (tr_where): Add additional parameter to point to
54161         symbol info.  Use it instead of calling _dl_addr locally.
54162         (lock_and_info): New function.
54163         (tr_freehook): Call lock_and_info and pass symbol info as additional
54164         parameter to tr_where.
54165         (tr_mallochook): Likewise.
54166         (tr_reallochook): Likewise.
54167         (tr_memalignhook): Likewise.
54169         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
54170         used and couldn't be at all thread-safe.
54172 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
54174         * libio/freopen.c (freopen): Don't close old file descriptor
54175         before the new one is opened.  Instead dup the new file descriptor
54176         to the old one after the new stream is created.
54177         * libio/freopen64.c (freopen64): Likewise.
54178         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54179         * libio/fileops.c (_IO_new_file_close_it): Handle new
54180         _IO_FLAGS2_NOCLOSE flag.
54181         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54182         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54183         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54184         _IO_FLAGS2_NOCLOSE flag.
54185         * include/unistd.h: Add hidden_proto for dup3.
54186         Define __have_dup3.
54187         * io/dup3.c: Define hidden symbol.
54188         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54190         [BZ #7101]
54191         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54192         when an incomplete long option is used.
54193         * posix/tst-getopt_long1.c: New file.
54194         * posix/Makefile (tests): Add tst-getopt_long1.
54196         [BZ #10138]
54197         * scripts/config.guess: Update from autoconf-2.68.
54198         * scripts/config.sub: Likewise.
54200         [BZ #10157]
54201         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54202         tests into ...
54203         (has_cpuclock): ...this.  New function.
54204         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54205         macro here based on has_cpuclock code.
54207         [BZ #10149]
54208         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54209         First byte (not low byte) is now always NUL.
54210         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54212         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54213         Use non-cancelable interfaces.
54215         [BZ #9809]
54216         * locale/iso-639.def: Add entry for Sorani.
54218         [BZ #11901]
54219         * include/stdlib.h: Move include protection to the right place.
54220         Define abort_msg_s.  Declare __abort_msg with it.
54221         * stdlib/abort.c (__abort_msg): Adjust type.
54222         * assert/assert.c (__assert_fail_base): New function.  Majority
54223         of code from __assert_fail.  Allocate memory for __abort_msg with
54224         mmap.
54225         (__assert_fail): Now call __assert_fail_base.
54226         * assert/assert-perr.c: Remove bulk of implementation.  Use
54227         __assert_fail_base.
54228         * include/assert.hL Declare __assert_fail_base.
54229         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54230         mmap.
54231         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54233 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
54235         [BZ #11952]
54236         [BZ #12453]
54237         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54238         until all modules are registered in the DTV.
54239         * elf/Makefile: Add rules to build and run tst-tls19.
54240         * elf/tst-tls19.c: New file.
54241         * elf/tst-tls19mod1.c: New file.
54242         * elf/tst-tls19mod2.c: New file.
54243         * elf/tst-tls19mod3.c: New file.
54244         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54246         [BZ #12083]
54247         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54248         correctly.
54250         [BZ #12601]
54251         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54252         two-byte sequence errors.
54253         * iconvdata/Makefile (tests): Add bug-iconv8.
54254         * iconvdata/bug-iconv8.c: New file.
54256         [BZ #12626]
54257         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54258         buf2 definition.
54260         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54262         [BZ #12432]
54263         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54264         (dummy_getcfa): New function.
54265         (init): Get _Unwind_GetCFA address, use dummy if not found.
54266         (backtrace_helper): In recursion check, also check whether CFA changes.
54267         (__backtrace): Completely initialize arg.
54269         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54270         storing incomplete byte sequence in state object.  Avoid testing for
54271         guaranteed too small input if we know there is enough data available.
54273 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54275         * Makeconfig (+link-pie): Indent.
54276         * Rules (binaries-pie): Define if $(have-fpie) and
54277         $(build-shared).
54278         (binaries-shared): Also filter out $(binaries-pie).
54279         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54280         * nscd/Makefile (others-pie): Add nscd.
54281         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54282         ($(objpfx)nscd): Remove command override.
54283         * login/Makefile (others-pie): Add pt_chown.
54284         ($(objpfx)pt_chown): Remove command override.
54285         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54286         remove command overrides.
54288 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54290         * libio/tst_putwc.c: Fix error messages.
54292         [BZ #12724]
54293         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54294         currently writing and seek to current position when not.
54295         * libio/Makefile (tests): Add bug-fclose1.
54296         * libio/bug-fclose1.c: New file.
54298 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54300         [BZ #12511]
54301         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54302         don't set DF_1_NODELETE here.
54303         (do_lookup_x): When entering new entry test for copy relocation
54304         and if necessary set DF_1_NODELETE flag.
54305         * elf/tst-unique4.cc: New file.
54306         * elf/tst-unique4.h: New file.
54307         * elf/tst-unique4lib.cc: New file.
54308         * elf/Makefile: Add rules to build and run tst-unique4.
54309         Patch by Piotr Bury <pbury@goahead.com>.
54311 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54313         [BZ #12052]
54314         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54316         [BZ #12625]
54317         * misc/mntent_r.c (addmntent): Flush the stream after the output
54319         [BZ #12393]
54320         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54321         (is_trusted_path_normalize): Skip initial colon.  Append slash
54322         to empty buffer.  Duplicate is_trusted_path code but allow
54323         constructed patch to be prefix.
54324         (is_dst): Allow $ORIGIN followed by /.
54325         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54326         Correct testing of result of is_trusted_path_normalize
54327         (decompose_rpath): Fix warning.
54329 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54331         [BZ #11257]
54332         * grp/initgroups.c (internal_getgrouplist): When we found the service
54333         list through the initgroups entry in nsswitch.conf do not always
54334         continue on a successful lookup.  Don't always use the
54335         __nss_group_database value if it is set.
54336         * nss/nsswitch.conf (initgroups): Change action for successful db
54337         lookup to continue for compatibility.
54339 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54341         [BZ #11532]
54342         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54343         and CP774 modules.
54344         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54345         and CP774 modules.
54346         * iconvdata/tst-tables.sh: Likewise.
54347         * iconvdata/cp770.c: New file.
54348         * iconvdata/cp771.c: New file.
54349         * iconvdata/cp772.c: New file.
54350         * iconvdata/cp773.c: New file.
54351         * iconvdata/cp774.c: New file.
54352         * iconvdata/testdata/CP770: New file.
54353         * iconvdata/testdata/CP770..UTF8: New file.
54354         * iconvdata/testdata/CP771: New file.
54355         * iconvdata/testdata/CP771..UTF8: New file.
54356         * iconvdata/testdata/CP772: New file.
54357         * iconvdata/testdata/CP772..UTF8: New file.
54358         * iconvdata/testdata/CP773: New file.
54359         * iconvdata/testdata/CP773..UTF8: New file.
54360         * iconvdata/testdata/CP774: New file.
54361         * iconvdata/testdata/CP774..UTF8: New file.
54363         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54364         END CHARMAP line.
54365         * iconvdata/gen-8bit-gap.sh: Likewise.
54366         * iconvdata/gen-8bit.sh: Likewise.
54368         * locale/iso-639.def: Add ary entry.
54370         [BZ #11258]
54371         * locale/C-translit.h.in: Add U20A1 transliteration.
54373         [BZ #12178]
54374         * locale/iso-639.def: Add wae entry.
54375         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54377         [BZ #12545]
54378         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54379         for n.
54381         [BZ #12711]
54382         * locale/C-translit.h.in: Add entry for U20B9.
54383         Patch by pravin.d.s@gmail.com.
54385 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54387         [BZ #12713]
54388         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54389         ENAMETOOLONG use generic getcwd.
54390         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54391         in rtld.  Use *stat64.
54392         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54393         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54394         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54395         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54396         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54397         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54398         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54399         __fstatat64 macros.
54400         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54401         * dirent/rewinddir.c: Add libc_hidden_def.
54402         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54403         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54405         * include/dirent.h (__alloc_dir): Add flags parameter.
54406         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54407         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54408         __alloc_dir.
54409         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54410         from fdopendir if O_CLOEXEC is already set.
54412 2011-03-15  Alan Modra  <amodra@gmail.com>
54414         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54415         l_tls_firstbyte_offset non-zero.  Save padding offset in
54416         l_tls_firstbyte_offset for later use.
54417         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54418         freeing static tls block.
54420 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54422         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54423         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54424         being defined by the kernel headers.
54426 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54428         [BZ #12734]
54429         * resolv/resolv.h: Define RES_NOTLDQUERY.
54430         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54431         no-tld-query and set RES_NOTLDQUERY.
54432         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54433         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54434         modern BIND to search name as TLD unless forbidden.
54436 2011-05-07  Petr Baudis  <pasky@suse.cz>
54437             Ulrich Drepper  <drepper@gmail.com>
54439         [BZ #12393]
54440         * elf/dl-load.c (fillin_rpath): Move trusted path check...
54441         (is_trusted_path): ...to here.
54442         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54443         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54444         using is_trusted_path_normalize() in setuid scripts.
54446 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54448         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54449         __BEGIN/__END_DECLS.
54451 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
54453         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54454         NSS_STATUS_NOTFOUND if no record was found.
54456 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54458         * sunrpc/Makefile (headers): Add rpc/netdb.h.
54459         (headers-not-in-tirpc): Remove rpc/netdb.h
54460         * resolv/netdb.h: Revert last change.
54462 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54464         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54465         circular dependency between libgcc.a and libc.a.
54467 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54469         * resolv/netdb.h: Don't include <rpc/netdb.h>.
54470         * nis/Makefile: Don't install rpcsvc/*.
54471         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54472         instead of <rpc/types.h>.
54473         (MAXHOSTNAMELEN): Define.
54475 2011-05-03  Andreas Schwab  <schwab@redhat.com>
54477         * elf/ldconfig.c (add_dir): Don't crash on empty path.
54479 2011-04-28  Maciej Babinski  <mbabinski@google.com>
54481         [BZ #12714]
54482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54483         gethostbyname4_r when IPv6 results are possible.
54485 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
54487         [BZ #12723]
54488         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54489         _PC_PIPE_BUF handling.
54491 2011-04-30  Bruno Haible  <bruno@clisp.org>
54493         [BZ #12717]
54494         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54495         * resolv/netdb.h (getnameinfo): Change type of flags parameter
54496         to 'int'.
54497         * inet/getnameinfo.c (getnameinfo): Likewise.
54499 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
54501         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54502         to groups setting in database lookup.
54503         * nss/nsswitch.conf: Add initgroups entry.
54505 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54507         [BZ #12685]
54508         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54509         mode string.
54510         Patch by Eric Blake <eblake@redhat.com>.
54512 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54514         * sunrpc/Makefile (need-export-routines): Add svc_run.
54515         (routines): Remove svc_run.
54516         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54517         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54518         * sunrpc/svc_run.c (svc_run): Likewise.
54519         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54521 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54523         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54524         problem in reallocation in last patch.
54526 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54528         * sunrpc/Makefile: Move inclusion of Rules.
54530 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54532         * nss/nss_files/files-initgroups.c: New file.
54533         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54534         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54535         _nss_files_initgroups_dyn.
54537 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54539         * elf/elf.h (R_ARM_IRELATIVE): Define.
54541 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54543         * po/ru.po: Update from translation team.
54545 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54547         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54548         dependencies.
54550 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54552         [BZ #12653]
54553         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54554         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54555         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54556         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54557         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54559 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54561         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54562         differing bytes.
54563         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54564         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54565         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54567 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54569         [BZ #12420]
54570         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54571         storing it.
54572         * stdlib/bug-getcontext.c: New file.
54573         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54575 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54577         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54578         instructions into .machine "z9-109".
54579         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54580         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54582 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54584         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54585         between environment variables and auxiliary vector.
54587 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54589         * Makefile: Add rules to build linkobj/libc.so.
54590         * include/libc-symbols.h: Define libc_hidden_nolink.
54591         * include/rpc/auth.h: Mark functions which are to be hidden.
54592         * include/rpc/auth_des.h: Likewise.
54593         * include/rpc/auth_unix.h: Likewise.
54594         * include/rpc/clnt.h: Likewise.
54595         * include/rpc/des_crypt.h: Likewise.
54596         * include/rpc/key_prot.h: Likewise.
54597         * include/rpc/pmap_clnt.h: Likewise.
54598         * include/rpc/pmap_prot.h: Likewise.
54599         * include/rpc/pmap_rmt.h: Likewise.
54600         * include/rpc/rpc_msg.h: Likewise.
54601         * include/rpc/svc.h: Likewise.
54602         * include/rpc/svc_auth.h: Likewise.
54603         * include/rpc/xdr.h: Likewise.
54604         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54605         * nss/Makefile: Likewise.
54606         * sunrpc/Makefile: Don't install headers.  Build library with normal
54607         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54608         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54609         for the compat linking library.  Remove use of INTDEF/INTUSE.
54610         * sunrpc/auth_none.c: Likewise.
54611         * sunrpc/auth_unix.c: Likewise.
54612         * sunrpc/authdes_prot.c: Likewise.
54613         * sunrpc/authuxprot.c: Likewise.
54614         * sunrpc/clnt_gen.c: Likewise.
54615         * sunrpc/clnt_perr.c: Likewise.
54616         * sunrpc/clnt_raw.c: Likewise.
54617         * sunrpc/clnt_simp.c: Likewise.
54618         * sunrpc/clnt_tcp.c: Likewise.
54619         * sunrpc/clnt_udp.c: Likewise.
54620         * sunrpc/clnt_unix.c: Likewise.
54621         * sunrpc/des_crypt.c: Likewise.
54622         * sunrpc/des_soft.c: Likewise.
54623         * sunrpc/get_myaddr.c: Likewise.
54624         * sunrpc/key_call.c: Likewise.
54625         * sunrpc/key_prot.c: Likewise.
54626         * sunrpc/netname.c: Likewise.
54627         * sunrpc/pm_getmaps.c: Likewise.
54628         * sunrpc/pm_getport.c: Likewise.
54629         * sunrpc/pmap_clnt.c: Likewise.
54630         * sunrpc/pmap_prot.c: Likewise.
54631         * sunrpc/pmap_prot2.c: Likewise.
54632         * sunrpc/pmap_rmt.c: Likewise.
54633         * sunrpc/publickey.c: Likewise.
54634         * sunrpc/rpc_cmsg.c: Likewise.
54635         * sunrpc/rpc_common.c: Likewise.
54636         * sunrpc/rpc_dtable.c: Likewise.
54637         * sunrpc/rpc_prot.c: Likewise.
54638         * sunrpc/rpc_thread.c: Likewise.
54639         * sunrpc/rtime.c: Likewise.
54640         * sunrpc/svc.c: Likewise.
54641         * sunrpc/svc_auth.c: Likewise.
54642         * sunrpc/svc_authux.c: Likewise.
54643         * sunrpc/svc_raw.c: Likewise.
54644         * sunrpc/svc_run.c: Likewise.
54645         * sunrpc/svc_simple.c: Likewise.
54646         * sunrpc/svc_tcp.c: Likewise.
54647         * sunrpc/svc_udp.c: Likewise.
54648         * sunrpc/svc_unix.c: Likewise.
54649         * sunrpc/svcauth_des.c: Likewise.
54650         * sunrpc/xcrypt.c: Likewise.
54651         * sunrpc/xdr.c: Likewise.
54652         * sunrpc/xdr_array.c: Likewise.
54653         * sunrpc/xdr_float.c: Likewise.
54654         * sunrpc/xdr_intXX_t.c: Likewise.
54655         * sunrpc/xdr_mem.c: Likewise.
54656         * sunrpc/xdr_rec.c: Likewise.
54657         * sunrpc/xdr_ref.c: Likewise.
54658         * sunrpc/xdr_sizeof.c: Likewise.
54659         * sunrpc/xdr_stdio.c: Likewise.
54661 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54663         [BZ #12650]
54664         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54665         * sysdeps/ia64/dl-tls.h: Likewise.
54666         * sysdeps/powerpc/dl-tls.h: Likewise.
54667         * sysdeps/s390/dl-tls.h: Likewise.
54668         * sysdeps/sh/dl-tls.h: Likewise.
54669         * sysdeps/sparc/dl-tls.h: Likewise.
54670         * sysdeps/x86_64/dl-tls.h: Likewise.
54671         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54673 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54675         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54676         rpath element also skip the following colon.
54677         (expand_dynamic_string_token): Add is_path parameter and pass
54678         down to DL_DST_REQUIRED and _dl_dst_substitute.
54679         (decompose_rpath): Call expand_dynamic_string_token with
54680         non-zero is_path.  Ignore empty rpaths.
54681         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54682         with zero is_path.
54684 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54687         Make cancelable.
54689 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54691         [BZ #12655]
54692         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54693         Patch by Filipe David Manana <fdmanana@apache.org>.
54695 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54697         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54698         Maintain aligned stack.
54699         (CHECK_RSP): Remove unused macro.
54701 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54703         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54704         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54706 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54708         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54710         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54712 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54714         [BZ #12518]
54715         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54716         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54717         * sysdeps/x86_64/memmove.c: New file.
54718         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54719         (memcpy): Renamed to ...
54720         (__new_memcpy): This.
54721         (memcpy): Provide GLIBC_2_14 memcpy.
54722         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54723         (memcpy): Provide GLIBC_2_2_5 memcpy.
54725 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54727         [BZ #12631]
54728         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54730 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54732         * misc/syncfs.c: New file.
54733         * misc/Makefile (routines): Add syncfs.
54734         * posix/unistd.h: Declare syncfs.
54735         * sysdeps/unix/syscalls.list: Add syncfs.
54737 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54739         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54740         open_by_handle_at.
54741         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54742         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54743         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54744         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54745         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54746         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54747         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54749 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54751         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54752         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54753         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54754         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54755         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54756         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54757         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54759         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54760         sync_file_range.c with -fexceptions.
54761         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54762         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54763         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54764         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54765         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54766         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54767         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54768         sync_file_range as cancellation point
54769         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54770         now a wrapper around __call_sync_file_range with cancellation handling.
54771         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54772         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54773         function name to __call_sync_file_range.
54774         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54775         Add call_sync_file_range.
54777 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54779         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54780         bits/timex.h.
54782 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54784         * iconv/iconv.h: Fix typo in comment.
54785         * io/fcntl.h: Likewise.
54786         * libio/stdio.h: Likewise.
54787         * posix/spawn.h: Likewise.
54788         * posix/unistd.h: Likewise.
54789         * stdlib/stdlib.h: Likewise.
54790         * time/time.h: Likewise.
54791         * wcsmbs/wchar.h: Likewise.
54793         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54794         open_by_handle): Add.
54795         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54796         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54797         Augment a few comments.
54798         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54799         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54800         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54801         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54802         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54803         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54804         open_by_handle.
54806         * io/fcntl.h (AT_EMPTY_PATH): Define.
54808 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54810         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54811         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54812         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54813         to...
54814         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54815         * Versions.def: Add GLIBC_2.14.
54816         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54817         Export.
54819 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54821         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54822         round counter.
54823         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54825 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54827         [BZ #12597]
54828         * string/test-strncmp.c (do_page_test): New function.
54829         (check2): Likewise.
54830         (test_main): Call check2.
54831         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54833 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54835         [BZ #12587]
54836         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54837         Handle cache information in CPU leaf 4.
54838         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54840 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54842         [BZ #12583]
54843         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54844         character representation.
54845         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54847 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54849         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54850         END(__isnan) to END(__isnanf) to match function entry point/label
54851         EALIGN(__isnanf,...).
54853 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54855         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54857 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54859         [BZ #12510]
54860         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54861         copy from the symbol referenced in the relocation to initialize the
54862         used variable.
54863         Patch by Piotr Bury <pbury@goahead.com>.
54864         * elf/Makefile: Add rules to build and tst-unique3.
54865         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54866         * elf/tst-unique3.cc: New file.
54867         * elf/tst-unique3.h: New file.
54868         * elf/tst-unique3lib.cc: New file.
54869         * elf/tst-unique3lib2.cc: New file.
54871         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54873 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54875         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54876         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54877         to _start.
54879 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54881         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54882         to-be-loaded object along a path to loader is ld.so.
54884 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54885             Ulrich Drepper  <drepper@gmail.com>
54887         * sysdeps/x86_64/memset.S: After aligning destination, code
54888         branches to different locations depending on the value of
54889         misalignment, when multiarch is enabled. Fix this.
54891 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54893         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54894         Set _x86_64_preferred_memory_instruction for AMD processsors.
54895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54896         Set bit_Prefer_SSE_for_memop for AMD processors.
54898 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54900         * libio/fmemopen.c (fmemopen): Optimize a bit.
54902 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54904         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54906 2011-03-03  Roland McGrath  <roland@redhat.com>
54908         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54910 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54912         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54913         __bzero_ultra1 instead of __memset_ultra1.
54915 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54916             Ulrich Drepper  <drepper@gmail.com>
54918         [BZ #12509]
54919         * include/link.h (struct link_map): Add l_orig_initfini.
54920         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54921         returning unsuccessfully.
54922         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54923         close of a file loaded at startup, restore the original l_initfini
54924         list.
54925         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54926         list, store the pointer.
54927         * elf/Makefile ($(objpfx)noload-mem): New rule.
54928         (noload-ENV): Define.
54929         (tests): Add $(objpfx)noload-mem.
54930         * elf/noload.c: Include <memcheck.h>.
54931         (main): Call mtrace.  Close all opened handles.
54933 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54935         [BZ #12454]
54936         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54937         dependencies are missing.
54939 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54941         Fix __if_freereq crash: Unlike the generic version which uses free,
54942         Hurd needs munmap.
54943         * sysdeps/mach/hurd/ifreq.h: New file.
54945 2011-01-27  Petr Baudis  <pasky@suse.cz>
54946             Ulrich Drepper  <drepper@gmail.com>
54948         [BZ 12445]#
54949         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54950         to extend_alloca().
54951         * stdio-common/bug23.c: New file.
54952         * stdio-common/Makefile (tests): Add bug23.
54954 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54955             Ulrich Drepper  <drepper@gmail.com>
54957         [BZ #12489]
54958         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54959         before performing relro protection.  At old place add assertion
54960         to make sure nothing changed.
54962 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54963             Glauber de Oliveira Costa  <glommer@gmail.com>
54965         * elf/elf.h: Add new ARM TLS relocs.
54967 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54970         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54971         cast from r3.
54972         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54973         'tests' variable.
54974         * sysdeps/wordsize-64/tst-writev.c: New file.
54976 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54978         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54979         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54980         insns in _dl_start to prevent a TOC reference before relocs are
54981         resolved.
54983 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54985         [BZ #12469]
54986         * Makeconfig: Remove RANLIB definition.
54987         * Makerules: Don't use RANLIB.
54988         * aclocal.m4: Remove ranlib test.
54989         * configure.in: No need to check for ranlib.
54990         * elf/rtld-Rules: Don't use RANLIB.
54992 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54994         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54995         protection macro.
54996         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54997         inclusion protection macro.
54999         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55000         SIGRTMIN and SIGRTMAX and print information in that case only when
55001         SIGRTMIN is defined.
55003 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
55005         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55006         arginfo fn returning -1.
55008         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55009         and thousands string is zero terminated.
55011 2011-02-03  Andreas Schwab  <schwab@redhat.com>
55013         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55014         sysdeps/unix/sysv/linux/bits/socket.h.
55016 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55018         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55019         (__CPU_COUNT): Remove old macros.
55020         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55021         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55022         (__CPU_ALLOC, __CPU_FREE): Add macros.
55023         (__sched_cpualloc, __sched_cpufree): Add declarations.
55025 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
55027         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55028         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55029         * nscd/aicache.c (addhstaiX): Return timeout of added value.
55030         (readdhstai): Return value of addhstaiX call.
55031         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55032         (addgrbyX): Return value returned by cache_addgr.
55033         (readdgrbyname): Return value returned by addgrbyX.
55034         (readdgrbygid): Likewise.
55035         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55036         (addpwbyX): Return value returned by cache_addpw.
55037         (readdpwbyname): Return value returned by addhstbyX.
55038         (readdpwbyuid): Likewise.
55039         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55040         (addservbyX): Return value returned by cache_addserv.
55041         (readdservbyname): Return value returned by addservbyX:
55042         (readdservbyport): Likewise.
55043         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55044         (addhstbyX): Return value returned by cache_addhst.
55045         (readdhstbyname): Return value returned by addhstbyX.
55046         (readdhstbyaddr): Likewise.
55047         (readdhstbynamev6): Likewise.
55048         (readdhstbyaddrv6): Likewise.
55049         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55050         (readdinitgroups): Return value returned by addinitgroupsX.
55051         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55052         (prune_cache): Keep track of timeout value of re-added entries.
55053         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55054         * nscd/nscd.h: Adjust prototypes of readd* functions.
55056 2011-02-04  Roland McGrath  <roland@redhat.com>
55058         * nis/nis_server.c (nis_servstate): Use the right name for 0.
55059         (nis_stats): Likewise.
55060         * nis/nis_modify.c (nis_modify): Likewise.
55061         * nis/nis_remove.c (nis_remove): Likewise.
55062         * nis/nis_add.c (nis_add): Likewise.
55064         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55066         * posix/fnmatch_loop.c: Add some consts.
55068         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55070 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
55072         [BZ #12460]
55073         * config.make.in (config-cflags-novzeroupper): Define.
55074         * configure.in: Substitute libc_cv_cc_novzeroupper.
55075         * elf/Makefile (AVX-CFLAGS): Define.
55076         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55077         (CFLAGS-tst-auditmod4a.c): Likewise.
55078         (CFLAGS-tst-auditmod4b.c): Likewise.
55079         (CFLAGS-tst-auditmod6b.c): Likewise.
55080         (CFLAGS-tst-auditmod6c.c): Likewise.
55081         (CFLAGS-tst-auditmod7b.c): Likewise.
55082         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55084 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
55086         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55087         function to the callback.
55088         Patch partly by Jiri Olsa <jolsa@redhat.com>.
55090 2011-02-02  Andreas Schwab  <schwab@redhat.com>
55092         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55093         of errno.
55095 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
55097         [BZ #11724]
55098         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55099         of constructors.
55100         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55101         of destructors.
55102         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55104         [BZ #11724]
55105         * elf/Makefile: Add rules to build and run new test.
55106         * elf/tst-initorder.c: New file.
55107         * elf/tst-initorder.exp: New file.
55108         * elf/tst-initordera1.c: New file.
55109         * elf/tst-initordera2.c: New file.
55110         * elf/tst-initordera3.c: New file.
55111         * elf/tst-initordera4.c: New file.
55112         * elf/tst-initorderb1.c: New file.
55113         * elf/tst-initorderb2.c: New file.
55114         * elf/tst-order-a1.c: New file.
55115         * elf/tst-order-a2.c: New file.
55116         * elf/tst-order-a3.c: New file.
55117         * elf/tst-order-a4.c: New file.
55118         * elf/tst-order-b1.c: New file.
55119         * elf/tst-order-b2.c: New file.
55120         * elf/tst-order-main.c: New file.
55121         New test case by George Gensure <werkt0@gmail.com>.
55123 2010-10-01  Andreas Schwab  <schwab@redhat.com>
55125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55126         decoding ACE if AI_CANONIDN.
55128 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
55130         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55132 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
55134         * version.h (RELEASE): Bump for 2.13 release.
55135         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55137         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55139         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55140         MADV_NOHUGEPAGE.
55141         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55142         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55143         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55144         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55145         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55146         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55148         * posix/getconf.c: Update copyright year.
55149         * catgets/gencat.c: Likewise.
55150         * csu/version.c: Likewise.
55151         * debug/catchsegv.sh: Likewise.
55152         * debug/xtrace.sh: Likewise.
55153         * elf/ldconfig.c: Likewise.
55154         * elf/ldd.bash.in: Likewise.
55155         * elf/sprof.c (print_version): Likewise.
55156         * iconv/iconv_prog.c: Likewise.
55157         * iconv/iconvconfig.c: Likewise.
55158         * locale/programs/locale.c: Likewise.
55159         * locale/programs/localedef.c: Likewise.
55160         * malloc/memusage.sh: Likewise.
55161         * malloc/mtrace.pl: Likewise.
55162         * nscd/nscd.c (print_version): Likewise.
55163         * nss/getent.c: Likewise.
55165         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55166         PF_CAIF, and PF_ALG.
55167         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55169 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
55171         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55172         (modules-names): Use them.
55173         (ifunc-test-modules, ifunc-pie-tests): Define.
55174         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55175         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55176         (test-extras): Likewise.
55177         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55178         $(compile-command.c).
55179         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55180         (all-built-dso): Define.
55181         (check-textrel.out, check-execstack.out): Depend on it.
55183         * configure.in: Don't override --enable-multi-arch.
55185 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
55187         [BZ #6812]
55188         * nscd/hstcache.c (tryagain): Define.
55189         (cache_addhst): Return tryagain not notfound for temporary errors.
55190         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55191         failed.
55193 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
55195         [BZ #10563]
55196         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55197         to make the syscall.
55198         * sysdeps/unix/sysv/linux/setgroups.c: New file.
55200         [BZ #12378]
55201         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55202         and fall back to matching as normal character if the string ends before
55203         the matching ']' is found.  This is what POSIX requires.
55204         * posix/testfnm.c: Adjust test result.
55205         * posix/globtest.sh: Adjust test result.  Add new test.
55206         * posix/tst-fnmatch.input: Likewise.
55207         * posix/tst-fnmatch2.c: Add new test.
55209 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
55211         * elf/Makefile (check-execstack): Revert last change.  Depend on
55212         check-execstack.h.
55213         (check-execstack.h): New target.
55214         (generated): Add check-execstack.h.
55215         * elf/check-execstack.c: Include "check-execstack.h".
55216         (main): Revert last change.
55217         (handle_file): Return zero if GNU_STACK is absent and
55218         DEFAULT_STACK_PERMS doesn't include PF_X.
55220 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
55222         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55223         in child fails because the descriptor is already closed.
55224         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55225         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55226         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55228         [BZ #12397]
55229         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55230         syscall.
55232         [BZ #10484]
55233         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55234         temporary buffer used to handle multi lookups locally.
55235         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55237 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55239         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55240         loader is ld.so.
55242 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
55244         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55245         alignment for SSE2.
55247 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55249         [BZ #12394]
55250         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55251         characters.  When rounding increased number of integer digits recompute
55252         number of groups.
55253         * stdio-common/tst-grouping.c: New file.
55254         * stdio-common/Makefile: Add rules to build and run tst-grouping.
55256 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55258         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55259         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55261         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55262         void.
55263         * bits/select.h: Likewise.
55265 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55267         * po/ja.po: Update from translation team.
55269 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55271         [BZ #11155]
55272         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55273         implementation just like for lxstat, fxstatat, et al.
55275 2010-12-27  Jim Meyering  <meyering@redhat.com>
55277         [BZ #12348]
55278         * posix/regexec.c (build_trtable): Return failure indication upon
55279         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55281 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55283         [BZ #12201]
55284         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55285         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55286         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55287         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55289         [BZ #12207]
55290         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55292         [BZ #12204]
55293         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55294         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55296 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55298         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55299         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55300         script has SORT_BY_INIT_PRIORITY.
55301         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55302         NO_CTORS_DTORS_SECTIONS is defined.
55303         * elf/soinit.c: Likewise.
55304         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55305         NO_CTORS_DTORS_SECTIONS is defined.
55306         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55307         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55308         * sysdeps/sh/init-first.c: Likewise.
55309         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55311 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55313         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55314         always use the slow path.
55316 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55318         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55319         similar rule which adds the sysdep directories to the header search in
55320         order to pick up the correct platform stackinfo.h.
55321         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55322         perform test if it is, otherwise return successfully without testing.
55323         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55324         DEFAULT_STACK_PERMS define in stackinfo.h.
55325         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55326         defined in stackinfo.h.
55327         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55328         DEFAULT_STACK_PERMS defined in stackinfo.h.
55329         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55330         * sysdeps/ia64/stackinfo.h: Likewise.
55331         * sysdeps/s390/stackinfo.h: Likewise.
55332         * sysdeps/sh/stackinfo.h: Likewise.
55333         * sysdeps/sparc/stackinfo.h: Likewise.
55334         * sysdeps/x86_64/stackinfo.h: Likewise.
55335         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55336         PF_X for powerpc64.  Retain PF_X for powerpc32.
55338 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55340         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55341         accurately.
55342         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55343         GETDENTS_64BIT_ALIGNED.
55345 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55347         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55349 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55351         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55352         _GNU_SOURCE.
55354         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55355         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55356         Remove __restrict.
55357         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55358         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55360 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55362         [BZ #11655]
55363         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55364         are initialized.
55366 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55368         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55370 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55372         * po/it.po: Update from translation team.
55374 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55376         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55377         unused codes.
55379 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55381         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55383 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55385         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55386         specially.
55387         (gaih_getanswer_slice): Likewise.
55389 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55391         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55393 2010-05-31  Petr Baudis  <pasky@suse.cz>
55395         [BZ #11149]
55396         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55397         silently even in the chroot mode.
55399 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55401         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55402         last patch a bit.  Pretty printing
55404 2010-05-31  Petr Baudis <pasky@suse.cz>
55406         [BZ #10085]
55407         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55408         initialization of skip_initgroups_dyn.
55410 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55412         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55413         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55415 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55417         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55419 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55421         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55422         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55423         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55424         ($(objpfx)tst-fnmatch-mem): New rule.
55425         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55426         * posix/tst-fnmatch.c (main): Call mtrace.
55428 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55431         Support Intel processor model 6 and model 0x2c.
55433 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
55435         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55436           signed comparison.
55438 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
55440         [BZ #12205]
55441         * string/test-strncasecmp.c (check_result): New function.
55442         (do_one_test): Use it.
55443         (check1): New function.
55444         (test_main): Use it.
55445         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55446         Support strcasecmp and strncasecmp.
55448 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
55450         [BZ #12194]
55451         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55452         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55454 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55456         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55457         IFUNC support.
55458         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55459         memset-x86-64.
55460         * sysdeps/x86_64/multiarch/bzero.S: New file.
55461         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55462         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55463         * sysdeps/x86_64/multiarch/memset.S: New file.
55464         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55466         Set bit_Prefer_SSE_for_memop for Intel processors.
55467         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55468         Define.
55469         (index_Prefer_SSE_for_memop): Define.
55470         (HAS_PREFER_SSE_FOR_MEMOP): Define.
55472 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
55474         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55475         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55477 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
55479         [BZ #12191]
55480         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55481         (__x86_64_raw_data_cache_size_half): Likewise.
55482         (__x86_64_raw_shared_cache_size): Likewise.
55483         (__x86_64_raw_shared_cache_size_half): Likewise.
55485         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55486         (__x86_64_raw_data_cache_size_half): Likewise.
55487         (__x86_64_raw_shared_cache_size): Likewise.
55488         (__x86_64_raw_shared_cache_size_half): Likewise.
55489         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55490         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55491         and __x86_64_raw_shared_cache_size_half.  Round
55492         __x86_64_data_cache_size_half, __x86_64_data_cache_size
55493         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55494         to multiple of 256 bytes.
55496 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
55498         [BZ #12167]
55499         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55500         of inacessible symlinks.  Verify result of symlink before returning it.
55501         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55502         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55504 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55506         * math/math.h (isinf): Fix typo in comment.
55508 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55510         * po/da.po: Update from translation team.
55512 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55514         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55515         is added to the list.
55517 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55518             Ulrich Drepper  <drepper@gmail.com>
55520         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55521         the global list here.  Move code to...
55522         (_dl_add_to_namespace_list): ...here.  New function.
55523         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55524         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55525         * elf/dl-load.c (lose): Don't remove the element from the list.
55526         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55527         (_dl_map_object): Likewise.
55529 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55531         [BZ #12159]
55532         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55533         into all bytes of SSE register.
55534         Patch by Richard Li <richardpku@gmail.com>.
55536 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55538         [BZ #12140]
55539         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55540         perturbing.
55542 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55544         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55545         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55546         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55547         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55549         submachine.
55550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55552 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55554         * include/dlfcn.h (__RTLD_SECURE): Define.
55555         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55556         mode & __RTLD_SECURE instead.
55557         (open_path): Rename preloaded parameter to secure.
55558         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55559         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55560         * elf/dl-deps.c (openaux): Likewise.
55561         * elf/rtld.c (struct map_args): Remove is_preloaded.
55562         (map_doit): Don't use it.
55563         (dl_main): Likewise.
55564         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55565         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55567 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55569         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55570         (sysd-rules-targets): Remove duplicates.
55571         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55572         rtld-%.$o dependency.
55574 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55576         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55577         _dl_map_object do it.
55579 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55581         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55582         fast fma builtins, define the macros in the C99 standard.
55583         (FP_FAST_FMAF): Likewise.
55584         (FP_FAST_FMAL): Likewise.
55585         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55587         * bits/mathdef.h: Update copyright year.
55588         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55590 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55592         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55593         builtins, define the macros in the C99 standard.
55594         (FP_FAST_FMAF): Likewise.
55595         (FP_FAST_FMAL): Likewise.
55596         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55597         multiply/add.
55598         (FP_FAST_FMAF): Likewise.
55600 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55602         [BZ #3268]
55603         * math/libm-test.inc (fma_test): Some new testcases.
55604         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55605         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55606         y and infinite z.  Do multiplication by C already in long double.
55607         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55609         y and infinite z.  Do bitwise or of inexact bit into u.d.
55610         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55611         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55612         * sysdeps/i386/fpu/s_fma.S: Removed.
55613         * sysdeps/i386/fpu/s_fmal.S: Removed.
55615 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55617         [BZ #3268]
55618         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55619         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55620         computation is not scheduled after fetestexcept.  Fix value
55621         of minimum denormal long double.
55623 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55625         [BZ #3268]
55626         * math/libm-test.inc (fma_test): Add some more tests.
55627         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55628         correctly.
55630 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55632         * scripts/data/localplt-s390-linux-gnu.data: New file.
55633         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55635 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55637         [BZ #3268]
55638         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55639         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55640         instead of dbl-64.
55641         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55642         inlines.
55643         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55645         if one of x and y is very large and the other is subnormal.
55646         * sysdeps/s390/fpu/s_fmaf.c: New file.
55647         * sysdeps/s390/fpu/s_fma.c: New file.
55648         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55649         * sysdeps/powerpc/fpu/s_fma.S: New file.
55650         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55651         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55652         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55654 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55656         [BZ #3268]
55657         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55658         fma tests.
55659         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55660         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55661         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55662         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55663         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55664         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55665         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55667 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55669         [BZ #12078]
55670         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55671         * posix/bug-regex31.input: Add test case.
55673 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55675         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55676         * posix/bug-regex31.input: New file.
55678         [BZ #12078]
55679         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55680         (parse_sub_exp): Fix last change, use postorder.
55682         * posix/bug-regex31.c: New file.
55683         * posix/Makefile: Add rules to build and run bug-regex31.
55685         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55687         [BZ #12078]
55688         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55690         [BZ #12108]
55691         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55692         to have entries in sys_siglist.
55694         [BZ #12093]
55695         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55696         be NULL.
55698 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55700         [BZ #3268]
55701         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55702         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55703         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55704         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55705         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55706         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55707         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55708         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55709         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55710         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55711         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55712         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55713         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55714         * math/ftestexcept.c (fetestexcept): Likewise.
55715         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55716         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55717         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55718         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55719         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55720         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55721         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55723 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55725         [BZ #12107]
55726         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55727         newline.
55729 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55731         * string/bug-strstr1.c: New file.
55732         * string/Makefile: Add rules to build and run bug-strstr1.
55734 2010-10-05  Eric Blake  <eblake@redhat.com>
55736         [BZ #12092]
55737         * string/str-two-way.h (two_way_long_needle): Always clear memory
55738         when skipping input due to the shift table.
55740 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55742         [BZ #12005]
55743         * malloc/mcheck.c: Handle large requests.
55745         [BZ #12077]
55746         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55747         for strncmp and strncasecmp.
55748         * string/stratcliff.c: Add tests for strcmp and strncmp.
55749         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55751 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55753         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55754         __set_fpscr.
55756 2010-09-30  Andreas Jaeger  <aj@suse.de>
55758         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55759         (CGROUP_SUPER_MAGIC): Define.
55760         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55761         Handle btrfs and cgroup file systems.
55762         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55763         Likewise.
55765 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55767         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55768         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55770 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55772         [BZ #12067]
55773         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55774         trying to locate the ELF header.
55776 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55778         [BZ #11611]
55779         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55780         Mask out sign-bit copies when constructing f_fsid.
55782 2010-09-24  Petr Baudis <pasky@suse.cz>
55784         * debug/stack_chk_fail_local.c: Add missing licence exception.
55785         * debug/warning-nop.c: Likewise.
55787 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55789         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55790         implementing getdents64 using getdents syscall, set d_type if
55791         __ASSUME_GETDENTS32_D_TYPE.
55793 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55795         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55796         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55798 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55800         [BZ #12037]
55801         * posix/unistd.h: Undo change of feature selection for ftruncate from
55802         2010-01-11.
55804 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55806         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55807         detection.
55809 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55811         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55812         fanotify_mark.
55813         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55815 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55817         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55818         variables after CHECK_SP call.
55819         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55821 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55822             Ulrich Drepper  <drepper@redhat.com>
55824         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55825         re-relocationg ld.so.
55826         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55827         _dl_init_paths call.
55828         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55829         here anymore.
55831 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55833         * resolv/res_init.c (__res_vinit): Count the default server we added.
55835 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55836             Ulrich Drepper  <drepper@redhat.com>
55838         [BZ #11968]
55839         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55840         (____longjmp_chk): Use %ebx for saving value across system call.
55841         Add unwind info.
55843 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55845         * manual/Makefile: Don't mix pattern rules with normal rules.
55847 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55849         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55850         operation.
55851         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55852         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55853         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55854         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55855         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55856         Likewise.
55858 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55860         [BZ #11979]
55861         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55862         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55864 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55866         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55867         * sysdeps/x86_64/addmul_1.S: Likewise.
55868         * sysdeps/x86_64/lshift.S: Likewise.
55869         * sysdeps/x86_64/mul_1.S: Likewise.
55870         * sysdeps/x86_64/rshift.S: Likewise.
55871         * sysdeps/x86_64/sub_n.S: Likewise.
55872         * sysdeps/x86_64/submul_1.S: Likewise.
55874 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55876         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55877         Define __sched_param instead of SCHED_* and sched_param when
55878         <bits/sched.h> is included with __need_schedparam defined.
55879         * bits/sched.h [__need_schedparam]
55880         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55881         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55882         (__defined_schedparam): Define to 1.
55883         (__sched_param): New structure, identical to sched_param.
55884         (__need_schedparam): Undefine.
55886 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55888         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55889         (epoll_create1): Declare.
55891         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55893 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55895         [BZ #7066]
55896         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55897         shifting retval into place.
55899 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55901         * nis/rpcsvc/nis.h: Update copyright notice.
55902         * nis/rpcsvc/nis.x: Likewise.
55903         * nis/rpcsvc/nis_callback.h: Likewise.
55904         * nis/rpcsvc/nis_callback.x: Likewise.
55905         * nis/rpcsvc/nis_object.x: Likewise.
55906         * nis/rpcsvc/nis_tags.h: Likewise.
55907         * nis/rpcsvc/yp.h: Likewise.
55908         * nis/rpcsvc/yp.x: Likewise.
55909         * nis/rpcsvc/ypupd.h: Likewise.
55910         * nis/yp_xdr.c: Likewise.
55911         * nis/ypupdate_xdr.c: Likewise.
55913         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55914         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55915         (pmap_getport): Use __libc_rpc_getport.
55916         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55917         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55918         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55920 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55923         fanotify_mark.
55925 2010-08-27  Roland McGrath  <roland@redhat.com>
55927         * sysdeps/i386/i686/multiarch/Makefile
55928         (CFLAGS-varshift.c): New variable.
55930 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55932         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55933         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55935         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55937         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55939 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55941         * sysdeps/x86_64/strlen.S: Unroll the loop.
55942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55943         strlen-sse2 strlen-sse2-bsf.
55944         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55945         __strlen_no_bsf if bit_Slow_BSF is set.
55946         (__strlen_sse42): Removed.
55947         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55948         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55950 2010-08-25  Roland McGrath  <roland@redhat.com>
55952         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55953         * sysdeps/x86_64/multiarch/varshift.c: New file.
55954         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55955         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55956         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55957         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55959 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55961         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55962         strlen-sse2 strlen-sse2-bsf.
55963         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55964         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55965         (__strlen_sse2): Removed.
55966         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55967         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55968         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55969         bit_Slow_BSF for Atom.
55970         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55971         (index_Slow_BSF): Define.
55972         (HAS_SLOW_BSF): Define.
55974 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55976         [BZ #10851]
55977         * resolv/res_init.c (__res_vinit): When no server address at all
55978         is given default to loopback.
55980 2010-08-24  Roland McGrath  <roland@redhat.com>
55982         * configure.in: Remove config-name.h generation.
55983         * configure: Regenerated.
55984         * config-name.in: File removed.
55985         * scripts/config-uname.sh: New file.
55986         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55987         ($(objdir)config-name.h): New target.
55989         * sunrpc/rpc_parse.h: Avoid nested comment.
55991 2010-08-24  Richard Henderson  <rth@redhat.com>
55992             Ulrich Drepper  <drepper@redhat.com>
55993             H.J. Lu  <hongjiu.lu@intel.com>
55995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55997         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55998         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55999         _mm_alignr_epi8 with _mm_loadu_si128.
56000         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56001         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56002         (__m128i_shift_right): Removed.
56003         * sysdeps/i386/i686/multiarch/varshift.h: New file.
56004         * sysdeps/i386/i686/multiarch/varshift.S: New file.
56005         * sysdeps/x86_64/multiarch/varshift.h: New file.
56006         * sysdeps/x86_64/multiarch/varshift.S: New file.
56008 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
56010         * configure.in: Move assembler checks to before sysdep dir checking.
56012 2010-08-20  Petr Baudis  <pasky@suse.cz>
56014         * LICENSES: Sync the sunrpc license.
56016 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
56018         * sunrpc/auth_des.c: Update copyright notice once again.
56019         * sunrpc/auth_none.c: Likewise.
56020         * sunrpc/auth_unix.c: Likewise.
56021         * sunrpc/authdes_prot.c: Likewise.
56022         * sunrpc/authuxprot.c: Likewise.
56023         * sunrpc/bindrsvprt.c: Likewise.
56024         * sunrpc/clnt_gen.c: Likewise.
56025         * sunrpc/clnt_perr.c: Likewise.
56026         * sunrpc/clnt_raw.c: Likewise.
56027         * sunrpc/clnt_simp.c: Likewise.
56028         * sunrpc/clnt_tcp.c: Likewise.
56029         * sunrpc/clnt_udp.c: Likewise.
56030         * sunrpc/clnt_unix.c: Likewise.
56031         * sunrpc/des_crypt.c: Likewise.
56032         * sunrpc/des_soft.c: Likewise.
56033         * sunrpc/get_myaddr.c: Likewise.
56034         * sunrpc/getrpcport.c: Likewise.
56035         * sunrpc/key_call.c: Likewise.
56036         * sunrpc/key_prot.c: Likewise.
56037         * sunrpc/openchild.c: Likewise.
56038         * sunrpc/pm_getmaps.c: Likewise.
56039         * sunrpc/pm_getport.c: Likewise.
56040         * sunrpc/pmap_clnt.c: Likewise.
56041         * sunrpc/pmap_prot.c: Likewise.
56042         * sunrpc/pmap_prot2.c: Likewise.
56043         * sunrpc/pmap_rmt.c: Likewise.
56044         * sunrpc/rpc/auth.h: Likewise.
56045         * sunrpc/rpc/auth_unix.h: Likewise.
56046         * sunrpc/rpc/clnt.h: Likewise.
56047         * sunrpc/rpc/des_crypt.h: Likewise.
56048         * sunrpc/rpc/key_prot.h: Likewise.
56049         * sunrpc/rpc/netdb.h: Likewise.
56050         * sunrpc/rpc/pmap_clnt.h: Likewise.
56051         * sunrpc/rpc/pmap_prot.h: Likewise.
56052         * sunrpc/rpc/pmap_rmt.h: Likewise.
56053         * sunrpc/rpc/rpc.h: Likewise.
56054         * sunrpc/rpc/rpc_des.h: Likewise.
56055         * sunrpc/rpc/rpc_msg.h: Likewise.
56056         * sunrpc/rpc/svc.h: Likewise.
56057         * sunrpc/rpc/svc_auth.h: Likewise.
56058         * sunrpc/rpc/types.h: Likewise.
56059         * sunrpc/rpc/xdr.h: Likewise.
56060         * sunrpc/rpc_clntout.c: Likewise.
56061         * sunrpc/rpc_cmsg.c: Likewise.
56062         * sunrpc/rpc_common.c: Likewise.
56063         * sunrpc/rpc_cout.c: Likewise.
56064         * sunrpc/rpc_dtable.c: Likewise.
56065         * sunrpc/rpc_hout.c: Likewise.
56066         * sunrpc/rpc_main.c: Likewise.
56067         * sunrpc/rpc_parse.c: Likewise.
56068         * sunrpc/rpc_parse.h: Likewise.
56069         * sunrpc/rpc_prot.c: Likewise.
56070         * sunrpc/rpc_sample.c: Likewise.
56071         * sunrpc/rpc_scan.c: Likewise.
56072         * sunrpc/rpc_scan.h: Likewise.
56073         * sunrpc/rpc_svcout.c: Likewise.
56074         * sunrpc/rpc_tblout.c: Likewise.
56075         * sunrpc/rpc_util.c: Likewise.
56076         * sunrpc/rpc_util.h: Likewise.
56077         * sunrpc/rpcinfo.c: Likewise.
56078         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56079         * sunrpc/rpcsvc/key_prot.x: Likewise.
56080         * sunrpc/rpcsvc/klm_prot.x: Likewise.
56081         * sunrpc/rpcsvc/mount.x: Likewise.
56082         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56083         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56084         * sunrpc/rpcsvc/rex.x: Likewise.
56085         * sunrpc/rpcsvc/rstat.x: Likewise.
56086         * sunrpc/rpcsvc/rusers.x: Likewise.
56087         * sunrpc/rpcsvc/sm_inter.x: Likewise.
56088         * sunrpc/rpcsvc/spray.x: Likewise.
56089         * sunrpc/rpcsvc/yppasswd.x: Likewise.
56090         * sunrpc/rtime.c: Likewise.
56091         * sunrpc/svc.c: Likewise.
56092         * sunrpc/svc_auth.c: Likewise.
56093         * sunrpc/svc_authux.c: Likewise.
56094         * sunrpc/svc_raw.c: Likewise.
56095         * sunrpc/svc_run.c: Likewise.
56096         * sunrpc/svc_simple.c: Likewise.
56097         * sunrpc/svc_tcp.c: Likewise.
56098         * sunrpc/svc_udp.c: Likewise.
56099         * sunrpc/svc_unix.c: Likewise.
56100         * sunrpc/svcauth_des.c: Likewise.
56101         * sunrpc/xcrypt.c: Likewise.
56102         * sunrpc/xdr.c: Likewise.
56103         * sunrpc/xdr_array.c: Likewise.
56104         * sunrpc/xdr_float.c: Likewise.
56105         * sunrpc/xdr_mem.c: Likewise.
56106         * sunrpc/xdr_rec.c: Likewise.
56107         * sunrpc/xdr_ref.c: Likewise.
56108         * sunrpc/xdr_sizeof.c: Likewise.
56109         * sunrpc/xdr_stdio.c: Likewise.
56111         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56112         handling.
56114 2010-08-19  Andreas Schwab  <schwab@redhat.com>
56116         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56118 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
56120         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56121         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56122         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56123         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56124         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56125         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56126         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56127         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56128         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56129         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56130         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56131         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56132         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56133         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56135 2010-07-26  Anton Blanchard  <anton@samba.org>
56137         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56138         * malloc/arena.c (heap_trim): Likewise.
56140 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
56142         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56143         here.  Not...
56144         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56145         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56147 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
56149         * sysdeps/i386/elf/Makefile: New file.
56151 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56153         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56154         from fanotify_init.
56155         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56156         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56158 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
56160         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56161         of strncasecmp_l.
56162         * sysdeps/multiarch/strcmp.S: Likewise.
56164 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
56166         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56167         strncase_l-nonascii.
56168         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56169         Add strncase_l-ssse3.
56170         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56171         * sysdeps/x86_64/strcmp.S: Likewise.
56172         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56173         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56174         * sysdeps/x86_64/strncase.S: New file.
56175         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56176         * sysdeps/x86_64/strncase_l.S: New file.
56177         * string/Makefile (strop-tests): Add strncasecmp.
56178         * string/test-strncasecmp.c: New file.
56180         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56181         warning.
56183         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56184         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56186 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56188         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56190 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
56192         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56193         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56194         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56196 2010-05-01  Alan Modra  <amodra@gmail.com>
56198         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56199         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56200         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56201         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56202         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56203         tidying.  Don't tail-call __sigjmp_save for static lib.
56204         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56205         save location.
56206         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56207         (CALL_MCOUNT): Add eh info, and nop after bl.
56208         (TAIL_CALL_SYSCALL_ERROR): New macro.
56209         (PSEUDO_RET): Use it.
56210         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56211         Correct save location of integer regs and cr.
56212         (_dl_profile_resolve): Correct cr save location.  Delete nops
56213         after bl when SHARED.  Reduce cfi size a little by better
56214         placement of cfi directives.
56215         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56216         make a stack frame.  Instead use parm save area as a temp.
56217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56218         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
56219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56220         Don't make a stack frame for parent, use parm save area.
56221         Increase child stack frame to 112 bytes.  Don't save unused reg,
56222         and adjust reg usage.  Set up cfi on error recovery and
56223         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56225         (__makecontext): Add dummy nop after jump to exit.
56226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56227         Use correct parm save area and cr save, reduce stack frame.
56228         Correct cfi for possible PSEUDO_RET frame setup.
56229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56230         Branch to local label emitted by PSEUDO_RET rather than
56231         __syscall_error.
56233 2010-08-12  Andreas Schwab  <schwab@redhat.com>
56235         [BZ #11904]
56236         * locale/programs/locale.c (print_assignment): New function.
56237         (show_locale_vars): Use it.
56239 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
56241         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56242         field.
56243         (struct statfs64): Likewise.
56244         (_STATFS_F_FLAGS): Define.
56245         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56246         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56247         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56248         (ST_VALID): Define locally.
56249         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56250         __statvfs_getflags, use the provided value.
56251         * sysdeps/unix/sysv/linux/kernel-features.h: Define
56252         __ASSUME_STATFS_F_FLAGS.
56254         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56256         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56257         Add sys/fanotify.h.
56258         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56259         fanotify_mask for GLIBC_2.13.
56260         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56261         fanotify_init and fanotify_mark.
56262         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56263         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56265         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56266         Add prlimit.
56267         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56268         prlimit64 for GLIBC_2.13.
56269         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56270         prlimit64.
56271         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56272         syscall.
56273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56274         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56275         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56276         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56277         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56278         add prlimit alias.
56279         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56281         [BZ #11903]
56282         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56283         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56285         * nss/Makefile: Add rules to build and run tst-nss-test1.
56286         * shlib-versions: Add entry for libnss_test1.
56287         * nss/nss_test1.c: New file.
56288         * nss/tst-nss-test1.c: New file.
56290         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56291         (__nss_configure_lookup): Set appropriate entry in
56292         __nss_configure_lookup to true.
56293         * nss/nsswitch.h: Define enum with indeces of databases in
56294         databases and __nss_database_custom arrays.  Declare
56295         __nss_database_custom.
56296         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56297         to avoid using nscd when custom rules are installed.
56298         * nss/getXXbyYY_r.c: Likewise.
56299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56301         * nss/nss_files/files-parse.c: Whitespace fixes.
56303 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56305         [BZ #11883]
56306         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56307         * posix/fnmatch_loop.c: Likewise.
56309 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56311         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56312         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56313         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56314         * Versions.def [GLIBC_2.13]: Add.
56316 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56318         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56319         Also fail if tpwd after pwuid call is NULL.
56321 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56323         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56324         when converting to ms.
56326 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56328         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56329         EOPNOTSUPP errors with ENOTTY.
56330         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56331         EOPNOTSUPP errors with ENOTTY.
56333 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56335         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56336         Add strcasecmp_l-ssse3.
56337         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56338         strcasecmp.
56339         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56340         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56341         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56343 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56345         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56347         * string/Makefile (strop-tests): Add strcasecmp.
56348         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56349         strcasecmp_l-nonascii.
56350         (gen-as-const-headers): Add locale-defines.sym.
56351         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56352         * sysdeps/x86_64/strcasecmp.S: New file.
56353         * sysdeps/x86_64/strcasecmp_l.S: New file.
56354         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56355         * sysdeps/x86_64/locale-defines.sym: New file.
56356         * string/test-strcasecmp.c: New file.
56358         * string/test-strcasestr.c: Test both ends of the range of characters.
56359         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56361 2010-07-29  Roland McGrath  <roland@redhat.com>
56363         [BZ #11856]
56364         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56366 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56368         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56369         for ld.so.
56371 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56373         * manual/memory.texi (Malloc Tunable Parameters): Document
56374         M_PERTURB.
56376 2010-07-26  Roland McGrath  <roland@redhat.com>
56378         [BZ #11840]
56379         * configure.in (-fgnu89-inline check): Set and substitute
56380         gnu89_inline, not libc_cv_gnu89_inline.
56381         * configure: Regenerated.
56382         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56384 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56386         * string/test-strnlen.c: New file.
56387         * string/Makefile (strop-tests): Add strnlen.
56388         * string/tester.c (test_strnlen): Add a few more test cases.
56389         * string/tst-strlen.c: Better error reporting.
56391         * sysdeps/x86_64/strnlen.S: New file.
56393 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56395         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56396         lower-latency instructions.
56398 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56400         * string/test-strcasestr.c: New file.
56401         * string/test-strstr.c: New file.
56402         * string/Makefile (strop-tests): Add strstr and strcasestr.
56403         * string/str-two-way.h: Don't undefine MAX.
56404         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56406 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56408         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56409         strcasestr-nonascii.
56410         (CFLAGS-strcasestr-nonascii.c): Define.
56411         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56412         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56413         Remove unused attribute.
56415 2010-07-20  Roland McGrath  <roland@redhat.com>
56417         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56418         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56419         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56420         like LD_HWCAP_MASK can disable hwcaps.
56422 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56424         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56426 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56428         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56429         call in strcasestr.
56430         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56431         __strcasestr_sse42_nonascii.
56432         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56433         strcasestr-nonascii.c.
56434         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56436 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
56438         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56439         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56440         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56441         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56443 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
56445         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56446         fcntl.
56448 2010-07-06  Andreas Schwab  <schwab@redhat.com>
56450         [BZ #11577]
56451         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56452         dl_signal_cerror.
56454 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
56456         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56457         _PC_PIPE_BUF using F_GETPIPE_SZ.
56459 2010-07-05  Roland McGrath  <roland@redhat.com>
56461         * manual/arith.texi (Rounding Functions): Fix rint description
56462         implicit in round description.
56464 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
56466         * elf/Makefile: Fix linking for a few tests to make recent linker
56467         happy.
56469 2010-06-30  Andreas Schwab  <schwab@redhat.com>
56471         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56472         $(common-objpfx)libc_nonshared.a.
56474 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
56476         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56477         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56478         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56479         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56480         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56481         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56482         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56483         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56498         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56499         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56500         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56501         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56502         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56503         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56504         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56505         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56506         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56507         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56508         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56509         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56525 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56527         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56528         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56529         * string/memmove.c (memmove): Renamed to ...
56530         (MEMMOVE): ...this.  Default to memmove.
56531         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56532         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56533         (END_CHK): Define.
56534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56535         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56536         mempcpy-ssse3-back memmove-ssse3-back.
56537         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56538         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56539         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56540         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56541         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56542         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56543         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56544         * sysdeps/x86_64/multiarch/memmove.c: New file.
56545         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56546         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56547         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56548         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56549         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56550         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56551         Define.
56552         (index_Fast_Copy_Backward): Define.
56553         (HAS_ARCH_FEATURE): Define.
56554         (HAS_FAST_REP_STRING): Define.
56555         (HAS_FAST_COPY_BACKWARD): Define.
56557 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56559         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56560         Restore proper fallback handling.
56562 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56564         [BZ #11701]
56565         * posix/group_member.c (__group_member): Correct checking loop.
56567         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56568         OOM in getpwuid_r correctly.  Return error number when the caller
56569         should return, otherwise -1.
56570         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56571         call returning > 0 value.
56572         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56574 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56576         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56577         libc_nonshared.a from targets in modules-names.
56579 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56581         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56582         requires it.
56584 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56586         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56587         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56588         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56589         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56591 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56593         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56595 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56597         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56598         and F_GETPIPE_SZ.
56599         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56600         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56601         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56602         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56603         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56604         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56606 2010-06-14  Roland McGrath  <roland@redhat.com>
56608         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56610 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56612         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56613         __REDIRECT followed by __THROW.
56614         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56615         * posix/getopt.h (getopt): Likewise.
56617 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56619         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56620         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56621         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56622         in AT_FLAGS.
56623         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56624         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56626 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56628         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56630 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56632         [BZ #11640]
56633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56634         Properly check family and model.
56636 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56638         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56640 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56642         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56644 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56646         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56647         symbol reference.
56649 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56651         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56652         symbol reference.
56654 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56656         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56657         and internal_recvmmsg.
56658         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56659         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56660         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56661         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56663         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56664         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56665         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56667 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56669         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56671 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56673         POWER7 optimizations.
56674         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56675         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56677 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56679         * version.h: Update for 2.13 development version.
56681 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56683         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56684         exceptions.  Return 0.
56686 2010-05-07  Roland McGrath  <roland@redhat.com>
56688         * elf/ldconfig.c (main): Add a const.
56690 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56692         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56693         (args_options): Add no-idn option.
56694         (ahosts_keys_int): Add idn_flags to ai_flags.
56695         (parse_option): Handle 'i' option to clear idn_flags.
56697         * malloc/malloc.c (_int_free): Possible race in the most recently
56698         added check.  Only act on the data if no current modification
56699         happened.
56701 See ChangeLog.17 for earlier changes.