Fix posix_spawn getrlimit64 namespace (bug 17991).
[glibc.git] / ChangeLog
blob068ed1baf76d6a9b4b0bda54a74bd2ecf33594a5
1 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #17991]
4         * include/sys/resource.h (__getrlimit64): Declare.  Use
5         libc_hidden_proto.
6         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
8         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9         getrlimit64.
10         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
11         __getrlimit64.
12         [!getrlimit64] (getrlimit64): Define as weak alias of
13         __getrlimit64.  Use libc_hidden_weak.
14         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15         using __getrlimit64 not __new_getrlimit64.
16         (__GI_getrlimit64): Likewise.
17         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18         Likewise.
19         (__GI_getrlimit64): Likewise.
20         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22         (getrlimit): Add __getrlimit64 alias.
23         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24         Likewise.
25         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26         Remove variable.
27         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
32         * libio/fileops.c: Add missing sys/mman.h
33         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
35 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
37         * manual/math.texi (Errors in Math Functions): Clarify goals
38         regarding inexact and underflow exceptions.
40 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
42         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
43         * sysdeps/mips/memset.S: Ditto.
45 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
47         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
49 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
51         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
52         (__v1longjmp): Remove versioned symbol.
53         (__v1siglongjmp): Remove alias and versioned symbol.
54         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
55         (__v2siglongjmp): Likewise.
57 2015-02-16  Torvald Riegel  <triegel@redhat.com>
59         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
61 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
63         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
65 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
67         [BZ #17987]
68         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
69         zero result does not depend on the sign resulting from
70         subtraction.
71         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
72         Likewise.
73         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
74         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
75         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
76         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
77         * math/libm-test.inc (remquo_test_data): Add more tests.
79 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
81         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
82         Problem reported by J William Piggott.
84 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
86         [BZ #17978]
87         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
88         products 4 * y and 2 * y where those would overflow.
89         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
90         Likewise.
91         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
92         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
93         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
94         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
95         * math/libm-test.inc (remquo_test_data): Add more tests.
97         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
99         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
100         [defined _COMPILING_NEWLIB].
101         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
102         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
104         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
105         [!defined __mips_isa_rev || __mips_isa_rev < 6].
107 2015-02-16  Torvald Riegel  <triegel@redhat.com>
109         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
110         acquired.
112 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
114         [BZ #17792]
115         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
116         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
117         HOST_STACK_END_ADDR): Likewise.
119 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
121         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
122         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
123         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
125 2015-02-13  Roland McGrath  <roland@hack.frob.com>
127         * sysdeps/generic/c++-types.data: New file.
128         * sysdeps/generic/ld.abilist: New file.
129         * sysdeps/generic/libBrokenLocale.abilist: New file.
130         * sysdeps/generic/libanl.abilist: New file.
131         * sysdeps/generic/libc.abilist: New file.
132         * sysdeps/generic/libcrypt.abilist: New file.
133         * sysdeps/generic/libdl.abilist: New file.
134         * sysdeps/generic/libm.abilist: New file.
135         * sysdeps/generic/libpthread.abilist: New file.
136         * sysdeps/generic/libresolv.abilist: New file.
137         * sysdeps/generic/librt.abilist: New file.
139 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
141         [BZ #17569]
142         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
143         Compute absolute value of x as modified by fmod, not original
144         value of x.
145         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
146         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
147         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
148         RUN_TEST_ffI_f1_mod8.
149         (remquo_test_data): Add more tests.
151 2015-02-13  Roland McGrath  <roland@hack.frob.com>
153         * sysdeps/init_array/pt-crti.S: New file.
155 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
157         [BZ #17967]
158         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
159         __builtin_fmaf instead of relying on contraction of a * b + c.
161 2015-02-12  J William Piggott  <elseifthen@gmx.com>
163         [BZ #17969]
164         * manual/time.texi: correct the zoneinfo path in the TZ Variable
165         node.
167 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
169         [BZ #17964]
170         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
171         __builtin_fma instead of relying on contraction of a * b + c.
173 2015-02-12  Roland McGrath  <roland@hack.frob.com>
175         * Makeconfig (ASFLAGS): Add -Werror=undef.
176         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
177         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
178         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
180         * Makeconfig (after-link): New variable.
181         (+link-pie, +link-pie-tests): Use it.
182         (+link-static, +link-static-tests): Likewise.
183         (+link, +link-tests): Likewise.
184         * Makerules (build-module, build-module-asneeded): Likewise.
185         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
186         Likewise.
187         * elf/Makefile ($(objpfx)ld.so): Likewise.
189 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
191         [BZ #17965]
192         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
193         both struct timeval and struct timespec.
195 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
197         [BZ #16560]
198         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
199         and redefine.
200         (__ieee754_exp2l): Do not multiply small fractional parts by
201         M_LN2l.
202         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
203         small argument.
204         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
205         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
206         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
207         * math/auto-libm-test-in: Add more tests of exp2.
208         * math/auto-libm-test-out: Regenerated.
210 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
212         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
213         unaligned path.
215 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
217         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
218         little endian.
220 2015-02-12  Andreas Schwab  <schwab@suse.de>
222         [BZ #15790]
223         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
224         Filter out elision flags from value returned in kind.
225         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
226         * nptl/tst-pthread-mutexattr.c: New file.
228 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
230         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
231         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
232         into gnu-gnu, and update comment to refer to abi-tags.
234 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
236         [BZ #15467]
237         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
238         (__sincos): Set errno to EDOM for infinite argument.
239         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
240         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
241         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
242         (__sincosl): Set errno to EDOM for infinite argument.
243         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
244         (__sincosl): Set errno to EDOM for infinite argument.
245         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
246         (__sincosl): Set errno to EDOM for infinite argument.
247         * math/libm-test.inc (sincos_test_data): Test errno setting.
249 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
251         * string/strxfrm_l.c: Remove #define STRCMP.
252         * string/strcoll_l.c: Remove #define STRLEN.
253         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
254         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
256 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
258         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
259         * sysdeps/mips/mips32/sfp-machine.h: ... here.
260         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
261         * sysdeps/mips/mips64/Makefile: ... here.
262         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
263         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
264         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
265         * sysdeps/mips/mips64/sfp-machine.h: ... here.
266         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
267         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
268         * sysdeps/mips/mips64/n64/Implies: Likewise.
270 2015-02-10  Roland McGrath  <roland@hack.frob.com>
272         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
273         <sys/time.h>, <string.h>, and <errno.h>.
274         (dest_offset, dest_address, value, zero): Remove unused variables.
275         (ldouble): Remove typedef.
276         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
277         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
278         1).  Fix code style.
279         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
280         (check): Function removed.
281         (CHECK): New macro.
282         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
283         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
284         Don't call set_sigaction_FP and remove_sigaction_FP here.
285         (ldouble_test): Just use 'long double' as macro argument, no need for
286         the 'ldouble' typedef.
287         (do_test): Set up SIGFPE handler at start, using plain signal rather
288         than sigaction.  Fix code style.
290 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
292         [BZ #17949]
293         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
294         jump label.
296 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
298         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
299         * sysdeps/powerpc/powerpc32/configure: Regenerated.
301         * sysdeps/powerpc/configure.ac: Remove file.
302         * sysdeps/powerpc/configure: Likewise.
304         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
305         [sysdep_routines]: Remove wordcopy-power6 object.
306         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
307         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
308         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
309         (__memmove_ppc32): Likewise.
310         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
311         file.
312         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
313         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
314         Remove preprocessor.
316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
317         [sysdep_routines]: Remove wide chars objects.
318         [wcsmbs]: New rule for wide char objects.
320         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
321         Remove wordcopy-power6 obejct.
322         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
323         Use local call for wordcopy and memcpy symbols.
324         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
325         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
326         implementation for loader.
327         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
329         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
330         Remove wordcopy-power7 object.
331         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
332         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
333         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
334         (_wordcopy_fwd_dest_aligned): Likewise.
335         (_wordcopy_bwd_aligned): Likewise.
336         (_wordcopy_bwd_dest_aligned): Likewise.
338         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
339         Rewrite to call __memmove_ppc instead of include default
340         implementation.
342         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
343         Remove wide chars objects.
344         [wcsmbs]: New rule for wide char objects.
346 2015-02-09  Andreas Schwab  <schwab@suse.de>
348         [BZ #17912]
349         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
350         in terms of __O_DIRECTORY.
352 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
354         * time/getdate.c: Include <stdbool.h>.
355         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
356         call PTR_MANGLE.
357         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
358         PTR_DEMANGLE.
360 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
362         Add ersatz _Static_assert on older C hosts
363         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
364         pre-C11 C platform that is not known to support _Static_assert.
366 2015-02-07  Richard Braun  <rbraun@sceen.net>
368         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
369         sigstate.
370         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
372 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
374         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
375         priority against unexistent AIO_PRIO_DELTA_MAX.
376         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
377         instead of int.
378         * misc/fchflags.c (fchflags): Likewise.
379         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
380         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
381         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
382         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
383         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
384         Declare macros.
385         [__USE_MISC] (chflags, fchflags): Declare functions.
386         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
387         EINVAL when nfds is greater than FD_SETSIZE.
388         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
389         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
390         45.
391         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
392         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
393         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
394         MACH_RCV_TIMED_OUT.
395         * hurd/hurd/signal.h (_hurd_self_sigstate,
396         _hurd_critical_section_lock, _hurd_critical_section_unlock):
397         Explicit casts from void *.
398         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
399         * abi-tags: Rename gnu-gnu os into gnu.
401         [BZ #4719]
402         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
403         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
404         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
405         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
406         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
407         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
409         [BZ #17944]
410         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
411         duplicates ADDR->sun_path with sockaddr LEN limitation.
412         * sysdeps/mach/hurd/connect.c: Include <string.h>
413         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
414         * sysdeps/mach/hurd/sendmsg.c: Likewise.
415         * sysdeps/mach/hurd/sendto.c: Likewise.
416         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
417         implementing it by hand.
419 2015-02-06  Roland McGrath  <roland@hack.frob.com>
421         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
422         Use sfi_breg on ldr.
423         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
424         Likewise.
426         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
427         it's defined.
428         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
429         Test SIGSETXID only if it's defined.
431         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
433         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
434         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
436         * nptl/tst-align2.c: Moved ...
437         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
438         * nptl/Makefile (tests): Remove tst-align2.
439         * sysdeps/unix/sysv/linux/Makefile
440         [$(subdir) = nptl] (tests): Add tst-align-clone.
441         * nptl/tst-getpid1.c: Moved ...
442         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
443         * nptl/tst-getpid2.c: Moved ...
444         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
445         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
446         * sysdeps/unix/sysv/linux/Makefile
447         [$(subdir) = nptl] (tests): ... here.
448         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
449         * sysdeps/unix/sysv/linux/Makefile
450         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
452         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
453         Drop trailing \n from perror argument.  Use return rather than exit.
455         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
456         on [SA_SIGINFO].
457         * nptl/tst-cancel21.c (do_test): Likewise.
458         * debug/tst-backtrace6.c: Include <signal.h> first thing.
459         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
460         [!SA_SIGINFO]: Make it a stub test.
462         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
463         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
465         * posix/tst-getlogin.c: Move to ...
466         * login/tst-getlogin.c: ... here.
467         * posix/Makefile (tests): Move tst-getlogin to ...
468         * login/Makefile (tests): ... here.
470         * libio/tst-atime.c (do_test): Move local variables SV and E
471         inside [ST_NOATIME] conditional.
473         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
475         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
477         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
478         (wait_code): New function replaces macro.
479         Call nanosleep rather than syscall.
481         * nptl/pt-system.c: Rewritten.  Put everything under
482         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
483         Use IFUNC to redirect when possible.
485         * nptl/pt-longjmp.c: Rewritten.  Put everything under
486         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
487         Use IFUNC to redirect when possible.
489         * nptl/pt-fork.c: Rewritten.  Put everything under
490         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
491         Use IFUNC to redirect when possible.
492         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
494         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
495         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
496         unconditionally nowadays.  This included the only reference to
497         __vdso_clock_gettime that appears outside libc proper.
498         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
499         Remove version set (containing only __vdso_clock_gettime).
500         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
501         Add attribute_hidden.
502         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
503         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
504         libc_hidden_data_def.
505         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
506         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
508         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
509         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
510         setrpcent, and getrpcport to ...
511         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
512         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
513         getrpcbynumber_r, and getrpcent_r to ...
514         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
515         * inet/getrpcbyname.c: Moved ...
516         * sunrpc/getrpcbyname.c: ... here.
517         * inet/getrpcbyname_r.c: Moved ...
518         * sunrpc/getrpcbyname_r.c: ... here.
519         * inet/getrpcbynumber.c: Moved ...
520         * sunrpc/getrpcbynumber.c: ... here.
521         * inet/getrpcbynumber_r.c: Moved ...
522         * sunrpc/getrpcbynumber_r.c: ... here.
523         * inet/getrpcent.c: Moved ...
524         * sunrpc/getrpcent.c: ... here.
525         * inet/getrpcent_r.c: Moved ...
526         * sunrpc/getrpcent_r.c: ... here.
527         * inet/Makefile (routines): Move those to ...
528         * sunrpc/Makefile (routines): ... here.
529         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
530         the $(subdirs) list.
531         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
532         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
533         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
534         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
536         * elf/Makefile (routines): Include $(all-dl-routines), not just
537         $(dl-routines).
538         (rtld-routines): Likewise.  Use = rather than :=.
539         * sysdeps/aarch64/Makefile [$(subdir) = elf]
540         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
541         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
542         * sysdeps/arm/Makefile: Likewise.
543         * sysdeps/i386/Makefile: Likewise.
544         * sysdeps/x86_64/Makefile: Likewise.
545         * sysdeps/hppa/Makefile [$(subdir) = elf]
546         (sysdep_routines, sysdep-rtld-routines): Don't add
547         $(sysdep-dl-routines) to these.
548         * sysdeps/ia64/Makefile: Likewise.
549         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
550         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
551         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
552         Don't add dl-static to these; sysdep-dl-routines alone is enough.
553         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
554         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
555         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
556         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
557         * sysdeps/powerpc/Makefile [$(subdir) = elf]
558         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
559         these; sysdep-dl-routines alone is enough.
561 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
563         [BZ #17932]
564         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
565         where multiplication results in zero and third argument is finite
566         and nonzero.
567         * math/auto-libm-test-in: Add more tests of fma.
568         * math/auto-libm-test-out: Regenerated.
570         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
571         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
572         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
573         (_FP_CMP_EQ): Likewise.
574         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
576         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
577         extra argument CHECK_NAN.  Redefine as wrapper around
578         _FP_EXTEND_CNAN.
580 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
582         * version.h (RELEASE): Set to "stable".
583         (VERSION): Set to "2.21"
584         * include/features.h (__GLIBC_MINOR__): Set to 21.
586         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
588 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
589             Paul Eggert  <eggert@cs.ucla.edu>
591         [BZ #16618]
592         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
593         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
594         size in bytes. Store needed elements in wpmax. Use needed size
595         in bytes for extend_alloca.
597 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
599         * manual/install.texi: Latest tested versions are GCC 4.9.2,
600         binutls 2.25, and texinfo 5.2.
601         * INSTALL: Regenerate.
602         * sysdeps/nios2/configure: Regenerate.
603         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
604         * manual/contrib.texi: Update.
605         * po/be.po: Update.
606         * po/bg.po: Update.
607         * po/ca.po: Update.
608         * po/cs.po: Update.
609         * po/da.po: Update.
610         * po/de.po: Update.
611         * po/el.po: Update.
612         * po/eo.po: Update.
613         * po/es.po: Update.
614         * po/fi.po: Update.
615         * po/fr.po: Update.
616         * po/gl.po: Update.
617         * po/hr.po: Update.
618         * po/hu.po: Update.
619         * po/ia.po: Update.
620         * po/id.po: Update.
621         * po/it.po: Update.
622         * po/ja.po: Update.
623         * po/ko.po: Update.
624         * po/lt.po: Update.
625         * po/nb.po: Update.
626         * po/nl.po: Update.
627         * po/pl.po: Update.
628         * po/pt_BR.po: Update.
629         * po/ru.po: Update.
630         * po/rw.po: Update.
631         * po/sk.po: Update.
632         * po/sl.po: Update.
633         * po/sv.po: Update.
634         * po/tr.po: Update.
635         * po/uk.po: Update.
636         * po/vi.po: Update.
637         * po/zh_CN.po: Update.
638         * po/zh_TW.po: Update.
640         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
641         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
642         * sysdeps/hppa/dl-irel.h: Remove #warning.
643         * sysdeps/hppa/entry.h: Provide prototype for
644         __canonicalize_funcptr_for_compare and cast argument.
645         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
646         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
647         * sysdeps/hppa/sotruss-lib.c: New file.
648         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
649         (atomic_compare_and_exchange_val_acq): Use __typeof__.
650         (atomic_compare_and_exchange_bool_acq): Likewise.
651         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
652         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
654         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
655         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
656         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
658 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
660         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
661         called function in non-PIC case.
663 2015-01-31  David S. Miller  <davem@davemloft.net>
665         * sysdeps/sparc/sparc32/bits/atomic.h
666         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
667         unlock not after it.
668         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
669         volatile register usage warnings from the compiler.
671         * sysdeps/sparc/nptl/sem_init.c: Delete.
672         * sysdeps/sparc/nptl/sem_post.c: Delete.
673         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
674         * sysdeps/sparc/nptl/sem_wait.c: Delete.
675         * sysdeps/sparc/sparc32/sem_init.c: New file.
676         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
677         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
678         padding explicitly initialized.
679         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
680         padding for in-semaphore spinlock.
681         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
682         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
683         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
684         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
685         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
686         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
687         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
688         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
689         version.
690         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
691         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
693 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
695         [BZ #17801]
696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
697         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
698         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
699         New.
700         (index_AVX_Fast_Unaligned_Load): Likewise.
701         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
702         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
703         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
704         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
705         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
706         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
707         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
708         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
709         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
711 2015-01-29  Andreas Schwab  <schwab@suse.de>
713         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
715 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
717         [BZ #17892]
718         * nscd/nscd_stat.c (send_stats): Initialize DATA.
720 2015-01-28  Martin Sebor  <msebor@redhat.com>
722         * math/README.libm-test: Clarify. Add "How to read the test output."
724 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
726         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
727         Define to 0.
729 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
731         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
732         (__HAVE_64B_ATOMICS): Define to 0.
734 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
736         [BZ #17885]
737         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
738         value to set as new flag.
740         [BZ #16576]
741         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
742         and use _ARCH_PPCSQ instead.
743         (__ieee754_sqrt): Likewise.
744         (__ieee754_sqrtf): Likewise.
745         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
746         _ARCH_PPCSQ is defined.
747         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
748         fsqrt instruction.
749         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
750         _ARCH_PPCSQ is defined.
751         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
752         fsqrts instruction.
753         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
755 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
757         * iconv/loop.c: Suppress array out of bound warning caused by GCC
758         bug (GCC BZ #64739).
760 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
762         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
763         Mark _retval as used.
764         (lll_futex_wake_unlock): Likewise.
765         (lll_futex_timed_wait_requeue_pi): Likewise.
767         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
768         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
769         register variables.
771         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
772         libm_hidden_def.
774         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
775         (__bswap_64): Mark as __always_inline.
777 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
779         [BZ #15378]
780         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
781         when none of the search directories exist.
783 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
785         [BZ #17869]
786         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
787         power8 in .machine directive.
789         [BZ #17868]
790         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
791         set dependency from opd value.
793 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
795         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
796         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
797         architecture.
799 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
801         [BZ #17870]
802         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
803         with uint64_t.
804         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
805         (uint64_t) 1.
806         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
807         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
808         Replace 1UL with (uint64_t) 1.
809         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
810         int with uint64_t.
812 2015-01-23  Roland McGrath  <roland@hack.frob.com>
814         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
815         (if_freenameindex): Likewise.
817         * resource/getrlimit64.c: Add missing libc_hidden_def.
819 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
821         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
822         __label__.
823         (_FP_FMA): Likewise.
824         (_FP_TO_INT_ROUND): Likewise.
825         (_FP_FROM_INT): Likewise.
827 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
829         [BZ #16418]
830         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
831         Make code racy and cancel safe.
833 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
835         * sysdeps/arm/unwind-resume.h: Fix copyright year.
836         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
837         attribution.
839         * pwd/tst-getpw.c: Rewrite.
841         [BZ #17702]
842         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
843         (modules-names): Add moddummy1 and moddummy2.
844         ($(objpfx)tst-rec-dlopen): Define.
845         * dlfcn/moddummy1.c: New file.
846         * dlfcn/moddummy2.c: New file.
847         * dlfcn/tst-rec-dlopen.c: New file.
848         * elf/dl-cache.c (_dl_load_cache_lookup):
849         Return char*. Copy result with alloca/strcpy/strdup.
850         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
851         returns char*. Free cached. If not saving realname
852         free cached.
853         * elf/dl-open.c (dl_open_worker): Do not assert that
854         _r_debug->r_state is RT_CONSISTENT.
855         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
856         returns char*.
858 2015-01-21  Torvald Riegel  <triegel@redhat.com>
859             Carlos O'Donell  <carlos@redhat.com>
861         [BZ #12674]
862         * nptl/sem_waitcommon.c: New file.
863         * nptl/sem_wait.c: Include sem_waitcommon.c.
864         (__sem_wait_cleanup, do_futex_wait): Remove.
865         (__new_sem_wait): Adapt.
866         (__new_sem_trywait): New function.
867         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
868         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
869         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
870         (sem_timedwait): Adapt.
871         * nptl/sem_post.c (__new_sem_post): Adapt.
872         (futex_wake): New function.
873         (__old_sem_post): Add release MO fence.
874         * nptl/sem_open.c (sem_open): Adapt.
875         * nptl/sem_init.c (__new_sem_init): Adapt.
876         (futex_private_if_supported): New function.
877         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
878         (__old_sem_getvalue): Add using previous code.
879         * sysdeps/nptl/internaltypes.h: Adapt.
880         * nptl/tst-sem13.c (do_test): Adapt.
881         * nptl/tst-sem11.c (main): Adapt.
882         * nptl/sem_trywait.c: Remove.
883         * nptl/DESIGN-sem.txt: Remove.
884         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
885         (gen-as-const-headers): Remove structsem.sym.
886         * nptl/structsem.sym: Remove.
887         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
888         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
889         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
890         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
891         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
892         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
893         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
894         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
895         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
896         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
897         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
898         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
899         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
900         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
901         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
902         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
903         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
904         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
905         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
906         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
907         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
908         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
910 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
912         * INSTALL: Regenerated.
914         * po/libc.pot: Regenerated.
916 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
917             Sandra Loosemore  <sandra@codesourcery.com>
918             Andrew Jenner  <andrew@codesourcery.com>
919             Joseph Myers  <joseph@codesourcery.com>
920             Nathan Sidwell  <nathan@codesourcery.com>
922         * NEWS: Mention new Nios II port.
923         * sysdeps/nios2/Implies: New file.
924         * sysdeps/nios2/Makefile: New file.
925         * sysdeps/nios2/Subdirs: New file.
926         * sysdeps/nios2/Versions: New file.
927         * sysdeps/nios2/__longjmp.S: New file.
928         * sysdeps/nios2/abort-instr.h: New file.
929         * sysdeps/nios2/backtrace.c: New file.
930         * sysdeps/nios2/bits/endian.h: New file.
931         * sysdeps/nios2/bits/fenv.h: New file.
932         * sysdeps/nios2/bits/link.h: New file.
933         * sysdeps/nios2/bits/setjmp.h: New file.
934         * sysdeps/nios2/bsd-_setjmp.S: New file.
935         * sysdeps/nios2/bsd-setjmp.S: New file.
936         * sysdeps/nios2/configure: New generated file.
937         * sysdeps/nios2/configure.ac: New file.
938         * sysdeps/nios2/crti.S: New file.
939         * sysdeps/nios2/crtn.S: New file.
940         * sysdeps/nios2/dl-init.c: New file.
941         * sysdeps/nios2/dl-machine.h: New file.
942         * sysdeps/nios2/dl-sysdep.h: New file.
943         * sysdeps/nios2/dl-tls.h: New file.
944         * sysdeps/nios2/dl-trampoline.S: New file.
945         * sysdeps/nios2/gccframe.h: New file.
946         * sysdeps/nios2/gmp-mparam.h: New file.
947         * sysdeps/nios2/jmpbuf-offsets.h: New file.
948         * sysdeps/nios2/jmpbuf-unwind.h: New file.
949         * sysdeps/nios2/ldsodefs.h: New file.
950         * sysdeps/nios2/libc-tls.c: New file.
951         * sysdeps/nios2/libm-test-ulps: New file.
952         * sysdeps/nios2/machine-gmon.h: New file.
953         * sysdeps/nios2/math-tests.h: New file.
954         * sysdeps/nios2/math_private.h: New file.
955         * sysdeps/nios2/memusage.h: New file.
956         * sysdeps/nios2/nptl/Makefile: New file.
957         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
958         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
959         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
960         * sysdeps/nios2/nptl/pthreaddef.h: New file.
961         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
962         * sysdeps/nios2/nptl/tls.h: New file.
963         * sysdeps/nios2/preconfigure: New file.
964         * sysdeps/nios2/s_fma.c: New file.
965         * sysdeps/nios2/s_fmaf.c: New file.
966         * sysdeps/nios2/setjmp.S: New file.
967         * sysdeps/nios2/sfp-machine.h: New file.
968         * sysdeps/nios2/sotruss-lib.c: New file.
969         * sysdeps/nios2/stackguard-macros.h: New file.
970         * sysdeps/nios2/stackinfo.h: New file.
971         * sysdeps/nios2/start.S: New file.
972         * sysdeps/nios2/sysdep.h: New file.
973         * sysdeps/nios2/tls-macros.h: New file.
974         * sysdeps/nios2/tst-audit.h: New file.
975         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
976         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
977         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
978         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
979         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
980         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
981         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
982         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
983         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
984         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
985         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
986         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
987         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
988         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
989         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
990         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
991         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
992         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
993         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
994         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
995         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
996         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
997         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
998         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
999         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1000         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1001         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1002         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1003         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1004         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1005         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1006         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1007         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1008         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1009         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1010         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1011         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1012         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1013         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1014         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1015         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1016         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1017         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1018         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1020 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1022         [BZ #17844]
1023         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1024         (getutent): Use weak_alias in non SHARED case
1025         and default_symbol_version in SHARED case.
1026         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1027         (getutent_r, pututline): Likewise.
1028         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1029         (getutid): Likewise.
1030         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1031         (getutid_r): Likewise.
1032         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1033         (getutline): Likewise.
1034         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1035         (getutline_r): Likewise.
1036         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1037         (updwtmp): Likewise.
1039 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1041         [BZ #17848]
1042         * sysdeps/s390/s390-32/memcmp.S
1043         (memcmp_g5): Rename to __memcmp_g5.
1044         * sysdeps/s390/s390-32/memcpy.S
1045         (memcpy_g5): Rename to __memcpy_g5.
1046         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1047         (memcpy_mvcle) Rename to __memcpy_mvcle.
1048         * sysdeps/s390/s390-32/memset.S
1049         (memset_g5): Rename to __memset_g5.
1050         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1051         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1052         and use prefixed functions.
1053         * sysdeps/s390/s390-32/multiarch/memcmp.S
1054         (memcmp_z196): Rename to __memcmp_z196.
1055         (memcmp_z10): Rename to __memcmp_z10.
1056         (memcmp): Set alias to __memcmp_g5.
1057         (bcmp): Set alias to __memcmp_g5.
1058         * sysdeps/s390/s390-32/multiarch/memcpy.S
1059         (memcpy_z196): Rename to __memcpy_z196.
1060         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1061         (memcpy_z10): Rename to __memcpy_z10.
1062         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1063         (memcpy): Set alias to __memcpy_g5.
1064         * sysdeps/s390/s390-32/multiarch/memset.S
1065         (memset_z196): Rename to __memset_z196.
1066         Jump to __memset_mvcle instead of memset_mvcle.
1067         (memset_z10): Rename to __memset_z10.
1068         Jump to __memset_mvcle instead of memset_mvcle.
1069         (memset_mvcle) Rename to __memset_mvcle.
1070         (memset): Set alias to __memset_g5.
1071         * sysdeps/s390/s390-64/memcmp.S
1072         (memcmp_z900): Rename to __memcmp_z900.
1073         * sysdeps/s390/s390-64/memcpy.S
1074         (memcpy_z900): Rename to __memcpy_z900.
1075         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1076         (memcpy_mvcle) Rename to __memcpy_mvcle.
1077         * sysdeps/s390/s390-64/memset.S
1078         (memset_z900): Rename to __memset_z900.
1079         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1080         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1081         and use prefixed functions.
1082         * sysdeps/s390/s390-64/multiarch/memcmp.S
1083         (memcmp_z196): Rename to __memcmp_z196.
1084         (memcmp_z10): Rename to __memcmp_z10.
1085         (memcmp): Set alias to __memcmp_z900.
1086         (bcmp): Set alias to __memcmp_z900.
1087         * sysdeps/s390/s390-64/multiarch/memcpy.S
1088         (memcpy_z196): Rename to __memcpy_z196.
1089         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1090         (memcpy_z10): Rename to __memcpy_z10.
1091         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1092         (memcpy): Set alias to __memcpy_z900.
1093         * sysdeps/s390/s390-64/multiarch/memset.S
1094         (memset_z196): Rename to __memset_z196.
1095         Jump to __memset_mvcle instead of memset_mvcle.
1096         (memset_z10): Rename to __memset_z10.
1097         Jump to __memset_mvcle instead of memset_mvcle.
1098         (memset_mvcle) Rename to __memset_mvcle.
1099         (memset): Set alias to __memset_z900.
1101 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
1103         [BZ #17748]
1104         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1105         __fesetenv instead of fesetenv.
1107 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1109         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1110         macro.
1112 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1114         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1115         regression on LE.
1117         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1118         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1119         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1120         strncmp-power8 object.
1121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1122         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1123         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1124         * NEWS: Update.
1126 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1127             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1129         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1130         trailing byte check.
1132 2015-01-13  David S. Miller  <davem@davemloft.net>
1134         * include/signal.h (__sigreturn): Guard with __USE_MISC.
1136 2015-01-13  Roland McGrath  <roland@hack.frob.com>
1138         * login/logout.c (logout): Use memset rather than bzero.
1139         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1140         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1141         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1142         (_gethtbyaddr): Likewise.
1143         * locale/programs/simple-hash.c (bcopy): Macro removed.
1145 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1147         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1148         Add strcmp-power8 object.
1149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1150         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1151         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1152         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1153         __strcmp_power8 implementation.
1154         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1155         * NEWS: Update.
1157         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1158         Add strncpy-power8 and stpncpy-power8 objects.
1159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1160         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1161         implementations.
1162         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1163         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1164         __stpncpy_power8 implementation.
1165         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1166         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1167         __strncpy_power8 implementation.
1168         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1169         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1170         * NEWS: Update.
1172         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1173         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1174         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1176         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1177         strncat-power8 object.
1178         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1179         __strcat_power8 implementation.
1180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1181         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1182         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1183         optimized strcat for power8.
1185         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1186         strcpy-power8 and stpcpy-power8 objects.
1187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1188         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1189         implementations.
1190         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1191         multiarch stpcpy implementation for POWER8.
1192         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1193         multiarch strcpy implementation for POWER8.
1194         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1195         __strcpy_power8 function.
1196         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1197         stpcpy for POWER8.
1198         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1199         strcpy for POWER8.
1200         * NEWS: Update.
1202 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
1204         [BZ #16009]
1205         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1206         weights and rules. Use do_xfrm_cached if data fits in cache,
1207         do_xfrm otherwise.  Moved former main loop to...
1208         * (do_xfrm_cached): New function.
1209         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1210         find_idx, find_position and stack_push.
1211         * (find_idx): New function.
1212         * (find_position): Likewise.
1213         * localedata/sort-test.sh: Added test run for do_xfrm.
1214         * localedata/xfrm-test.c (main): Added command line option
1215         -nocache to run the test with strings that are too large for
1216         the STRXFRM cache.
1218 2015-01-13  Torvald Riegel  <triegel@redhat.com>
1220         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1221         variable to lll_futex_wake call, not the value itself.
1223 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
1225         [BZ #17803]
1226         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1227         twom64.  Adjust value to 0x1p-64L.
1228         (__scalblnl): Only return standard underflowing result for K <=
1229         -64 not K <= -63; adjust exponent for underflowing result by 64
1230         not 63.
1231         * math/libm-test.inc (scalbn_test_data): Add more tests.
1232         (scalbln_test_data): Likewise.
1234         [BZ #17834]
1235         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1236         0x1p63L.
1237         (__scalblnl): Get new exponent of adjusted subnormal value from ES
1238         not HX.
1239         * math/libm-test.inc (scalbn_test_data): Add more tests.
1240         (scalbln_test_data): Likewise.
1242 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1243             Stefani Seibold  <stefani@seibold.net>
1245         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1246         (sysdep_routines): Add dl-vdso here, ...
1247         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1248         (sysdep_routines): ... not here.
1249         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1250         fallback when vDSO is not presented.
1251         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1252         Define with libc_hidden_proto/libc_hidden_data_def definitions.
1253         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1254         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1255         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1256         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1257         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1258         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1259         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1260         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1261         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
1262         fallback configurable symbol when vDSO is not available.
1263         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1264         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
1265         be able to redefine fallback symbol when vDSO is not available.
1266         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1267         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1269 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1271         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1272         (TLS_INIT_TP): Add tm_capable initialization.
1273         (TLS_DEFINE_INIT_TP): Likewise.
1274         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1275         TCB.
1276         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1277         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1278         calculation.
1279         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1280         transactoion is lock elision is built and TCB tm_capable is set.
1281         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1283         (INTERNAL_SYSCALL_NCS): Likewise.
1284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1285         (INTERNAL_SYSCALL_NCS): Likewise.
1286         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1288         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1289         for powerpc.
1290         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1291         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1292         and remove it for 32 bits case.
1293         [pthread_rwlock_t] (__rwelision): New field for lock elision.
1294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1295         initialization.
1296         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1297         Disable lock elision with rdlocks if elision is not available.
1299         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1300         (sysdep_routines): Add lock elision objects.
1301         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1302         [pthread_mutex_t] (__spins): Rework to add lock elision field.
1303         [pthread_mutex_t] (__elision): Add field.
1304         [__PTHREAD_SPINS]: Adjust to init lock elision field.
1305         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1306         elision definitions for powerpc.
1307         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1308         implementation of lock elision for powerpc.
1309         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1310         implementation of timed lock elision for powerpc.
1311         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1312         implementation of trylock with lock elision for powerpc.
1313         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1314         implementaion of unlock for lock elision for powerpc.
1315         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1316         automatic enable lock elision for mutexes.
1317         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1318         transaction execution definitions for powerpc.
1319         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1320         definitions.
1321         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1322         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1323         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1324         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1325         * NEWS: Update.
1327 2015-01-09  Roland McGrath  <roland@hack.frob.com>
1329         * sysdeps/posix/shm-directory.c: Use <> rather than ""
1330         for #include of <shm-directory.h>.
1332 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
1334         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1335         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1337 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
1339         [BZ #17791]
1340         * NEWS: Mention bug fix.
1341         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1342         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1343         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1345 2015-01-09  Torvald Riegel <triegel@redhat.com>
1347         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1349 2015-01-09  Torvald Riegel <triegel@redhat.com>
1351         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1353 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1355         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1356         pointer and cast to uintptr_t.
1358 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1360         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1361         removed.
1362         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1364 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1366         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1367         of 0.
1369 2015-01-08  Roland McGrath  <roland@hack.frob.com>
1371         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1372         <nptl/pthreadP.h> instead.
1373         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1375         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1376         already defined.
1377         [__SIGRTMIN] (init): Function removed.
1378         [__SIGRTMIN] (initialized): Variable removed.
1379         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1380         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1381         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1382         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1383         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1384         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1385         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1386         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1387         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1388         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1389         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1390         * sysdeps/nptl/allocrtsig.c: New file.
1391         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1392         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1393         * sysdeps/generic/testrtsig.h: File removed.
1395         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1396         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1398         * nptl/nptl-init.c (pthread_functions): Conditionalize
1399         .ptr__nptl_setxid initialization on [SIGSETXID].
1401         * sysdeps/nptl/sys/procfs.h: New file.
1402         * nptl_db/Makefile (headers): Add it.
1403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1405         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1406         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1407         * nptl/pthread_attr_setaffinity.c: Include it.
1408         * nptl/pthread_setattr_default_np.c: Likewise.
1409         * nptl/check-cpuset.h: New file.
1411 2015-01-08  Richard Henderson  <rth@redhat.com>
1413         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1414         (CFLAGS-tst-execstack-prog.c): Likewise.
1415         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1417 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1418             Sandra Loosemore  <sandra@codesourcery.com>
1419             Andrew Jenner  <andrew@codesourcery.com>
1420             Joseph Myers  <joseph@codesourcery.com>
1421             Nathan Sidwell  <nathan@codesourcery.com>
1423         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1424         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1425         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1426         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1427         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1428         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1429         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1430         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1431         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1432         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1433         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1434         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1435         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1436         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1437         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1438         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1439         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1441 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1443         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1444         timespec struct member in syscall macro.
1445         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1446         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1447         first timeval struct member in syscall macro.
1448         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1450 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1452         [BZ #17748]
1453         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1454         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1455         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1456         __feupdateenv and define as weak alias of __feupdateenv.  Use
1457         libm_hidden_weak.
1458         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1459         libm_hidden_def.
1460         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1461         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1462         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1463         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1464         libm_hidden_def.
1465         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1466         __feupdateenv and define as weak alias of __feupdateenv.  Use
1467         libm_hidden_weak.
1468         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1469         libm_hidden_def.
1470         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1471         __feupdateenv and define as weak alias of __feupdateenv.  Use
1472         libm_hidden_weak.
1473         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1474         libm_hidden_def.
1475         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1476         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1477         (__feupdateenv): Likewise.
1478         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1479         __feupdateenv and define as weak alias of __feupdateenv.  Use
1480         libm_hidden_weak.
1481         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1482         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1483         libm_hidden_def.
1484         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1485         function.
1486         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1487         libm_hidden_def.
1488         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1489         __feupdateenv instead of feupdateenv.
1490         (default_libc_feupdateenv_test): Likewise.
1491         (libc_feresetround_ctx): Likewise.
1493 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1495         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1496         prototype.
1498 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1500         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1501         COLL_SYM in a couple of places to avoid uninitialized variable
1502         wanings on tilegx gcc 4.8.2.
1504 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1506         * sysdeps/aarch64/strcpy.S: New file.
1507         * sysdeps/aarch64/stpcpy.S: New file.
1508         * NEWS: Updated.
1510 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1512         * sysdeps/aarch64/strrchr.S: New file.
1513         * NEWS: Updated.
1515 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1517         [BZ #17658]
1518         * stdlib/setenv.c: Fix memory leak when setting large,
1519         duplicate string.
1521 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1523         [BZ #17273]
1524         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1525         and tabs from buffer before parsing fstab entry.
1526         * misc/tst-mntent.c (main): Add test for mount entry with
1527         trailing spaces and tabs.
1529 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1531         [BZ #17748]
1532         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1533         * math/fesetround.c (fesetround): Rename to __fesetround and
1534         define as weak alias of __fesetround.  Use libm_hidden_weak.
1535         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1536         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1537         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1538         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1539         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1540         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1541         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1542         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1543         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1544         __fesetround_inline.
1545         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1546         __fesetround_inline instead of __fesetround.
1547         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1548         __fesetround and define as weak alias of __fesetround.  Use
1549         libm_hidden_weak.  Call __fesetround_inline instead of
1550         __fesetround.
1551         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1552         __fesetround and define as weak alias of __fesetround.  Use
1553         libm_hidden_weak.
1554         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1555         Likewise.
1556         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1557         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1558         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1559         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1560         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1561         __fesetround and define as weak alias of __fesetround.  Use
1562         libm_hidden_weak.
1563         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1564         __fesetround instead of fesetround.
1565         (default_libc_feholdexcept_setround): Likewise.
1566         (libc_feholdsetround_ctx): Likewise.
1567         (libc_feholdsetround_noex_ctx): Likewise.
1569         [BZ #17748]
1570         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1571         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1572         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1573         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1574         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1575         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1576         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1577         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1578         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1579         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1580         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1581         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1582         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1583         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1584         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1585         libm_hidden_def.
1586         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1587         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1588         Likewise.
1589         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1590         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1591         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1592         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1593         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1594         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1595         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1596         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1597         __fesetenv instead of fesetenv.
1598         (libc_feresetround_noex_ctx): Likewise.
1599         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1600         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1601         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1602         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1603         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1604         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1605         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1606         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1607         (__feupdateenv): Likewise.
1608         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1609         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1610         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1611         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1613 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1615         [BZ #17806]
1616         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1617         addresses have been freed.
1619 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1621         * resolv/res_init.c (__res_vinit): Improve comments about nserv
1622         and nservall.
1624 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
1626         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1627         Clean up check_pf allocation pattern. addresses
1629 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1631         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1632         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1633         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1634         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1635         * nptl/pthread_join.c (pthread_join): Likewise.
1636         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1637         * sysdeps/posix/waitid.c (__waitid): Likewise.
1638         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1639         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1640         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1641         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1642         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1643         Likewise.
1644         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1645         (__libc_pread64): Likewise.
1646         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1647         (__libc_pwrite): Likewise.
1648         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1649         (__libc_pwrite64): Likewsie.
1650         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1651         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1652         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1653         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1654         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1655         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1656         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1658         Likewise.
1659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1660         (__libc_pread64): Likewise.
1661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1662         Likewise.
1663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1664         (__libc_pwrite64): Likewise.
1665         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1666         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1667         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1668         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1669         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1670         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1671         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1672         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1673         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1674         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1675         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1676         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1677         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1678         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1679         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1680         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1681         Likewise.
1683 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1685         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1686         (CFLAGS-test-double.c): Likewise.
1687         (CFLAGS-test-ldouble.c): Likewise.
1688         (CPPFLAGS-test-ifloat.c): Likewise.
1689         (CPPFLAGS-test-idouble.c): Likewise.
1690         (CPPFLAGS-test-ildoubl.c): Likewise.
1691         (CFLAGS-test-test-fenv.c): Remove variable.
1692         (CFLAGS-test-misc.c): Likewise.
1694 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1696         [BZ #17797]
1697         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1698         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1699         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1700         CLOCKS_PER_SEC == 1000000.
1701         * time/clocktest.c (main): Replace %ld with %jd and cast to
1702         intmax_t.
1704 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1706         * sysdeps/generic/unwind-resume.h: New file.
1707         * sysdeps/gnu/unwind-resume.c: Include it.
1708         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1709         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1710         argument list.
1711         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1712         global rather than static.
1713         (_Unwind_Resume): Update user.
1714         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1715         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1716         rather than static.  Add __attribute__ ((cold)).
1717         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1718         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1719         * sysdeps/arm/arm-unwind-resume.S: New file.
1720         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1721         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1722         * sysdeps/arm/Makefile [$(subdir) = csu]
1723         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1724         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1725         Add rt-arm-unwind-resume.
1726         [$(subdir) = nptl]
1727         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1728         Add pt-arm-unwind-resume.
1729         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1730         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1732 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1734         [BZ #17748]
1735         * include/fenv.h (__feholdexcept): Declare.  Use
1736         libm_hidden_proto.
1737         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1738         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1739         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1740         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1741         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1742         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1743         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1744         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1745         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1746         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1747         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1748         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1749         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1750         (feholdexcept): Likewise.
1751         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1752         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1753         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1754         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1755         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1756         __feholdexcept instead of feholdexcept.
1757         (default_libc_feholdexcept_setround): Likewise.
1759 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1761         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1762         to avoid using stl/str to align destination.
1764 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1766         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1768 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1770         [BZ #17796]
1771         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1772         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1773         Define as weak alias not strong alias.
1775 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1777         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1778         bltzal with addiupc.
1779         (RTLD_START): Ditto.
1781 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1783         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1784         for __vdso_* functions in declarations.
1785         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1786         definitions.
1787         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1788         INTERNAL_VSYSCALL): Use struct return types to check for error.
1790         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1791         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1792         function with cast from llround().
1793         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1794         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1795         Define.
1797 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1799         [BZ #17793]
1800         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1801         Define as weak alias not strong alias.
1803         [BZ #17635]
1804         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1805         ...
1806         * ctype/ctype-extn.c: ... here.
1807         (__isblank_l): Move to ...
1808         * ctype/ctype-c99_l.c: ... here.  New file.
1809         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1810         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1811         Remove variable.
1812         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1813         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1814         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1815         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1816         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1818         [BZ #17777]
1819         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1820         (posix_fadvise64): Define as weak alias not strong alias.
1821         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1822         (posix_fallocate64): Likewise.
1823         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1824         Remove variable.
1825         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1826         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1827         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1828         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1829         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1831 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1833         [BZ #16191]
1834         * NEWS: Mention bug fix.
1835         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1836         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1837         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1838         (HOST_STACK_END_ADDR): Likewise.
1840 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1842         [BZ #17748]
1843         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1844         * math/fegetround.c (fegetround): Rename to __fegetround and
1845         define as weak alias of __fegetround.  Use libm_hidden_weak.
1846         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1847         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1848         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1849         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1850         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1851         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1852         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1853         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1854         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1855         Undefine after rather than before function definition; use
1856         parentheses around function name in definition.
1857         (__fegetround): Also undefine macro after function definition.
1858         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1859         __fegetround and define as weak alias of __fegetround.  Use
1860         libm_hidden_weak.  Do not undefine as macro.
1861         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1862         Likewise.
1863         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1864         __fegetround and define as weak alias of __fegetround.  Use
1865         libm_hidden_weak.
1866         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1867         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1868         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1869         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1870         __fegetround and define as weak alias of __fegetround.  Use
1871         libm_hidden_weak.
1872         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1873         __fegetround instead of fegetround.
1875         [BZ #17782]
1876         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1877         Condition macro definition on [__USE_MISC].
1879         [BZ #17781]
1880         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1881         (struct sigaction): Change type of sa_flags field to int.
1883         [BZ #17780]
1884         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1885         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1886         __glibc_reserved0.
1888         * nptl/version.c (banner): Use single year in copyright notice.
1890         * NEWS: Update copyright dates.
1891         * catgets/gencat.c (print_version): Likewise.
1892         * csu/version.c (banner): Likewise.
1893         * debug/catchsegv.sh: Likewise.
1894         * debug/pcprofiledump.c (print_version): Likewise.
1895         * debug/xtrace.sh (do_version): Likewise.
1896         * elf/ldconfig.c (print_version): Likewise.
1897         * elf/ldd.bash.in: Likewise.
1898         * elf/pldd.c (print_version): Likewise.
1899         * elf/sotruss.sh: Likewise.
1900         * elf/sprof.c (print_version): Likewise.
1901         * iconv/iconv_prog.c (print_version): Likewise.
1902         * iconv/iconvconfig.c (print_version): Likewise.
1903         * locale/programs/locale.c (print_version): Likewise.
1904         * locale/programs/localedef.c (print_version): Likewise.
1905         * login/programs/pt_chown.c (print_version): Likewise.
1906         * malloc/memusage.sh (do_version): Likewise.
1907         * malloc/memusagestat.c (print_version): Likewise.
1908         * malloc/mtrace.pl: Likewise.
1909         * manual/libc.texinfo: Likewise.
1910         * nptl/version.c (banner): Likewise.
1911         * nscd/nscd.c (print_version): Likewise.
1912         * nss/getent.c (print_version): Likewise.
1913         * nss/makedb.c (print_version): Likewise.
1914         * posix/getconf.c (main): Likewise.
1915         * scripts/test-installation.pl: Likewise.
1916         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1918 2015-01-02  Will Newton  <will.newton@linaro.org>
1920         * sysdeps/arm/armv7/configure: Removed.
1921         * sysdeps/arm/armv7/configure.ac: Likewise.
1923 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1925         * All files with FSF copyright notices: Update copyright dates
1926         using scripts/update-copyrights.
1927         * intl/plural.c: Regenerated.
1928         * locale/programs/charmap-kw.h: Likewise.
1929         * locale/programs/locfile-kw.h: Likewise.
1931 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1933         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1935 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1937         [BZ #17748]
1938         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1939         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1940         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1941         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1942         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1943         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1944         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1945         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1946         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1947         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1948         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1949         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1950         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1951         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1952         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1953         libm_hidden_def.
1954         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1955         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1956         Likewise.
1957         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1958         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1959         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1960         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1961         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1962         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1963         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1964         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1965         __fegetenv instead of fegetenv.
1966         (libc_feholdsetround_noex_ctx): Likewise.
1968 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1970         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1971         (Elf_MIPS_ABIFlags_v0): New structure.
1972         (EF_MIPS_FP64): Define.
1973         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1974         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1975         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1976         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1977         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1978         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1979         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1980         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1981         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1982         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1983         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1984         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1985         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1986         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1987         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1988         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1989         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1990         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1991         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1992         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1993         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1994         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1995         field.
1996         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1997         EF_MIPS_FP64.
1998         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1999         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2000         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2001         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2002         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2003         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2004         * sysdeps/mips/tst-abi-interlink.c: Likewise.
2005         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2006         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2007         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2008         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2009         record the current FP ABI extension.
2010         (mips-mode-switch): Define to show if kernel headers support mode
2011         switching.
2012         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2013         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2014         supported SYSV ABI version to 3.
2015         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2016         feature.
2018 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2019             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2021         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2022         path.
2023         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2025 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
2027         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2028         __fegetround and redefine to call __fegetround.  Remove condition
2029         on [!__NO_MATH_INLINES].
2030         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2031         function.
2032         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2033         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2034         Remove macro.
2035         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2036         instead of <fenv_libc.h>.
2037         (__llrintl): Call fegetround instead of __fegetround.
2038         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2039         instead of <fenv_libc.h>.
2040         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2041         (__lrintl): Call fegetround instead of __fegetround.
2042         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2043         instead of <fenv_libc.h>.
2044         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2045         (__rintl): Call fegetround instead of __fegetround.
2047 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2049         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2050         arrays.
2052 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2054         [BZ #17775]
2055         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2056         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2057         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2059 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2061         * sysdeps/i386/tls-macros.h: Include <features.h>.
2062         (TLS_LE): Use non-PIC version for GCC >= 5.0.
2063         (TLS_IE): Likewise.
2064         (TLS_LD): Likewise.
2065         (TLS_GD): Likewise.
2066         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2067         define for GCC >= 5.0.
2069 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
2071         * math/test-fenv.c (test_single_exception, set_single_exc,
2072         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2073         feexcp_mask_test, feenable_test, fe_single_test): Add
2074         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2075         case where they are not used.
2076         * math/libm-test.inc: Likewise.
2077         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2078         unused in the absence of FP rounding/exception support.
2079         * stdio-common/tst-printf-round.c: Likewise.
2080         * stdlib/tst-strtod-round.c: Likewise.
2081         * stdlib/tst-strtod-underflow.c: Likewise.
2083 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
2085         [BZ #17723]
2086         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2087         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2088         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2089         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2090         libm_hidden_weak.
2091         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2092         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2093         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2094         libm_hidden_def.
2095         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2096         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2097         libm_hidden_weak.
2098         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2099         Likewise.
2100         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2101         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2102         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2103         libm_hidden_weak.
2104         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2105         libm_hidden_def.
2106         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2107         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2108         (__feraiseexcept): Likewise.
2109         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2110         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2111         libm_hidden_weak.
2112         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2113         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2114         libm_hidden_def.
2115         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2116         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2117         Use libm_hidden_def.
2118         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2119         libm_hidden_def.
2120         (feraiseexcept): Define as weak not strong alias.  Use
2121         libm_hidden_weak.
2122         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2123         New inline function.  Factored out of ...
2124         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
2125         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2126         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2127         feraiseexcept.
2128         * math/w_acos.c (__acos): Likewise.
2129         * math/w_asin.c (__asin): Likewise.
2130         * math/w_ilogb.c (__ilogb): Likewise.
2131         * math/w_j0.c (y0): Likewise.
2132         * math/w_j1.c (y1): Likewise.
2133         * math/w_jn.c (yn): Likewise.
2134         * math/w_log.c (__log): Likewise.
2135         * math/w_log10.c (__log10): Likewise.
2136         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2137         * sysdeps/aarch64/fpu/math_private.h
2138         (libc_feupdateenv_test_aarch64): Likewise.
2139         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2140         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2141         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2142         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2143         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2144         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2145         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2146         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2147         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2148         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2150 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2152         [BZ #17732]
2153         * io/test-utime.c (main): Replace %ld with %jd and cast to
2154         intmax_t.
2155         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2156         * nptl/tst-mutex5.c: Include <stdint.h>.
2157         (do_test): Replace %ld with %jd and cast to intmax_t.
2158         * posix/tst-regex.c (run_test): Likewise.
2159         (run_test_backwards): Likewise.
2160         * rt/tst-clock.c: Include <stdint.h>.
2161         (clock_test): Replace %ld with %jd and cast to intmax_t.
2162         * rt/tst-cpuclock1.c: Include <stdint.h>.
2163         (do_test): Replace %lu with %ju and cast to uintmax_t.
2164         * rt/tst-cpuclock2.c: Include <stdint.h>.
2165         (do_test): Replace %lu with %ju and cast to uintmax_t.
2166         * rt/tst-mqueue1.c: Include <stdint.h>.
2167         (check_attrs): Replace %ld with %jd and cast to intmax_t.
2168         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2169         intmax_t.
2170         * rt/tst-mqueue4.c (do_test): Likewise.
2171         * rt/tst-timer4.c: Include <stdint.h>.
2172         (check_ts): Replace %ld with %jd and cast to intmax_t.
2173         (do_test): Likewise.
2174         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2175         and cast to intmax_t.
2176         * sysdeps/pthread/tst-timer.c (main): Likewise.
2177         * time/clocktest.c (main): Likewise.
2178         * time/tst-posixtz.c (do_test): Likewise.
2179         * timezone/tst-timezone.c (main): Likewise.
2181 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2182             H.J. Lu  <hongjiu.lu@intel.com>
2184         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2185         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2186         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2187         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2188         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2189         version if bit_Fast_Unaligned_Load is set.
2190         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2191         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2192         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2193         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2194         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2195         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2196         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2197         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2198         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2199         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2200         to 4.
2201         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2202         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2203         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2204         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2206 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
2208         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2209         instead of #if to avoid a Wundef warning.
2210         * stdlib/tst-limits.c (do_test): Likewise.
2212         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2213         parallel other exception macros.
2214         (fegetenv): Convert from macro to extern inline so that it applies
2215         retroactively to inline functions already seen by the compiler.
2216         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2218         * posix/Makefile (before-compile): Use $(objpfx) for
2219         posix-conf-vars-def.h.
2221 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2223         * posix/getconf.c (main): Use size_t for type of I.
2224         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2225         NSPEC.
2227         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2228         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2229         * posix/posix-envs.def: Likewise.
2230         * sysdeps/posix/sysconf.c: Likewise.
2231         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2232         (specs): Remove array.
2233         * scripts/gen-posix-conf-vars.awk: Support generation of specs
2234         array.
2236         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2237         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2238         (__sysconf): Use CONF_IS_* macros.
2240         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2241         ($(objpfx)posix-conf-vars-def.h): New target.
2242         * posix/posix-conf-vars.list: New file.
2243         * posix/posix-conf-vars.h: New file.
2244         * posix/confstr.c: Include posix-conf-vars.h.
2245         (confstr): Use CONF_IS_* macros.
2246         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
2247         CONF_IS_* macros.
2248         * scripts/gen-posix-conf-vars.awk: New file.
2250 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
2252         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2253         fegetround): Add no-op macros to avoid linknamespace issues.
2255         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2256         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2258         * sysdeps/unix/sysv/linux/tile/sysdep.h
2259         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2260         assembly-specific section to avoid a redefinition warning.
2262         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2263         long before casting to pointer to avoid a cast warning.
2265 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
2267         * sysdeps/tile/tilegx/Implies: New file.
2269 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
2271         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2273 2014-12-23  Florian Weimer  <fweimer@redhat.com>
2275         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2277 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2279         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2280         not define.
2281         * sysdeps/unix/sysv/linux/utimes.c: Do not include
2282         <kernel-features.h>.
2283         (__utimes) [__NR_utimes]: Make code unconditional.
2284         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2285         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2286         (__ASSUME_UTIMES): Do not undefine.
2287         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2288         (__ASSUME_UTIMES): Likewise.
2289         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2290         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2291         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2292         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2294 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2296         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2298 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
2300         [BZ #17747]
2301         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2302         alias to weak alias for j0l, y0l.
2303         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2304         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2306         [BZ #17746]
2307         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2308         conversion.
2310 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2312         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2313         to zero if not already defined.
2315 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2317         [BZ #17724]
2318         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2319         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
2320         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
2321         (char *) casts added.
2322         * sysdeps/ieee754/k_standardf.c: New file.
2323         * sysdeps/ieee754/k_standardl.c: Likewise.
2324         * math/Makefile (libm-support): Remove k_standard.
2325         (libm-calls): Add k_standard.
2327 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2329         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2330         Optimize to avoid an unnecessary FPCR read.
2332 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2334         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2335         Optimize to reduce FPCR/FPSR accesses.
2337 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2339         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2340         Call libc_fetestexcept_aarch64.
2342 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2344         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2345         Call libc_fesetround_aarch64.
2347 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2349         [BZ #17733]
2350         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2351         (__bind): Do not define as weak alias.
2352         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2353         define.
2354         (__getsockname): Do not define as weak alias.
2356 2014-12-22  Will Newton  <will.newton@linaro.org>
2358         * manual/install.texi: Document that we require bison 2.7
2359         or above.
2360         * INSTALL: Regenerate.
2361         * configure.ac: Use AC_CHECK_PROG_VER instead of
2362         AC_PATH_PROG when checking for bison and check for
2363         version 2.7 or above.
2364         * configure: Regenerate.
2366 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
2368         [BZ #17745]
2369         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2370         * sysdeps/tile/ffsll.c (ffsll): To here.
2372         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2374 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2376         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2377         if not defined.
2378         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2379         definition.
2380         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2381         hidden ___tls_get_addr.
2382         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2383         hidden __tls_get_addr.
2384         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2385         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2386         Likewise.
2388 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
2390         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2391         _dl_init call.
2393 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2395         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2396         from "call _dl_init@PLT".
2397         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2399 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
2401         * manual/search.texi: (Array Sort Function): Clarify stable sorting
2402         guarantees.
2404 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
2406         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2408 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2410         [BZ #17744]
2411         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2412         strnlen.
2414 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2416         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2417         of multu on MIPSr6.
2418         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2419         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2420         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2421         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2422         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2424 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2426         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2427         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2428         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2429         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2430         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2431         mips32r6/mips64r6.
2432         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2434 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2436         * string/strncat.c (STRNCAT): Simplify implementation.
2438 2014-12-19  David S. Miller  <davem@davemloft.net>
2440         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2441         access the quad as both a long double and as a series of 4 words.
2443         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2444         link_map->l_info array access.
2446 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2448         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2450         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2451         * math/atest-exp2.c (TIMEOUT): Likewise.
2452         * math/atest-sincos.c (TIMEOUT): Likewise.
2454 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2456         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2457         -Wno-error with -fno-builtin-lround.
2459 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2461         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2462         Contains futex constants and functions moved over from ...
2463         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2464         <lowlevellock-futex.h>.
2465         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2466         (lll_timedwait_tid): Add comments and parentheses around macro
2467         arguments.
2469 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2471         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2472         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2473         (__lll_private_flag): Remove.
2474         (lll_futex_wait): Likewise.
2475         (lll_futex_timed_wait): Likewise.
2476         (lll_futex_wake): Likewise.
2477         (lll_futex_requeue): Likewise.
2478         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2479         (__lll_timedwait_tid): Spell out argument names.
2480         (lll_timedwait_tid): Add comments and parentheses around macro
2481         arguments.
2482         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2483         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2485 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2487         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2488         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2489         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2490         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2491         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2492         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2493         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2494         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2495         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2496         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2497         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2498         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2499         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2500         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2501         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2502         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2503         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2504         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2505         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2507 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2509         * sysdeps/x86_64/x32/Makefile: New file.
2511 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2513         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2514         1L with (mp_limb_t) 1.
2516 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2518         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2519         * nptl/libc_pthread_init.c: ... here.
2520         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2521         * nptl/register-atfork.c: ... here.
2523         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2524         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2525         Use assert_perror to check its return value.
2526         (__gai_create_helper_thread): Likewise.
2528         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2530         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2532 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2534         [BZ #17725]
2535         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2536         __profil_counter.
2537         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2538         Likewise.
2539         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2540         Likewise.
2541         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2542         Likewise.
2543         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2544         (profil_counter): Likewise.
2545         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2546         (profil_counter): Likewise.
2547         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2548         Likewise.
2549         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2550         Likewise.
2551         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2552         (profil_counter): Likewise.
2553         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2554         Likewise.
2555         [!__profil_counter] (profil_counter): Define as weak alias of
2556         __profil_counter.
2557         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2558         (profil_counter): Rename to __profil_counter.
2559         [!__profil_counter] (profil_counter): Define as weak alias of
2560         __profil_counter.
2561         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2562         (profil_counter): Rename to __profil_counter.
2563         [!__profil_counter] (profil_counter): Define as weak alias of
2564         __profil_counter.
2565         * sysdeps/posix/profil.c: Update comment referring to
2566         profil_counter.
2567         (__profil): Use __profil_counter instead of profil_counter.
2568         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2569         __profil_counter.  Use __profil_counter_ushort and
2570         __profil_counter_uint in definitions.
2571         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2572         instead of profil_counter_uint and profil_counter_ushort.
2574         [BZ #17722]
2575         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2576         define as weak alias of __inet_makeaddr.
2577         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2578         as weak alias of __inet_addr.
2579         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2580         as weak alias of __inet_pton.  Use libc_hidden_weak.
2581         * include/arpa/inet.h (__inet_pton): Declare.  Use
2582         libc_hidden_proto.
2583         (inet_makeaddr): Don't use libc_hidden_proto.
2584         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2585         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2586         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2587         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2588         Remove variable.
2589         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2590         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2592 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
2594         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2596 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2598         * stdio-common/bug-vfprintf-nargs.c (do_test):
2599         Cast value to intptr_t to avoid format warning
2600         for usage with PRIdPTR printing macro.
2602 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2604         * libio/tst-widetext.c (do_test):
2605         Use format type %td instead of %Zd for ptrdiff_t
2606         in order to avoid format warning.
2608 2014-12-17  Andreas Schwab  <schwab@suse.de>
2610         * nscd/mem.c (gc): Add size_t cast to match printf format.
2612 2014-12-16  Roland McGrath  <roland@hack.frob.com>
2614         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2615         (init): Apply PTR_MANGLE to pointers before storing them.
2616         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2617         before using them.
2619 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
2621         [BZ #17719]
2622         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2623         define as weak alias of __memrchr.
2624         (__memrchr): Do not define as strong alias of memrchr.
2625         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2626         Remove variable.
2627         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2628         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2629         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2631         [BZ #17717]
2632         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2633         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
2634         (if_indextoname): Rename to __if_indextoname and define as weak
2635         alias of __if_indextoname.  Use libc_hidden_weak.
2636         (if_freenameindex): Rename to __if_freenameindex and define as
2637         weak alias of __if_freenameindex.
2638         (if_nameindex): Rename to __if_nameindex and define as weak alias
2639         of __if_nameindex.
2640         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2641         __if_nametoindex and define as weak alias of __if_nametoindex.
2642         Use libc_hidden_weak.
2643         (if_freenameindex): Rename to __if_freenameindex and define as
2644         weak alias of __if_freenameindex.
2645         (if_nameindex): Rename to __if_nameindex and define as weak alias
2646         of __if_nameindex.
2647         (if_indextoname): Rename to __if_indextoname and define as weak
2648         alias of __if_indextoname.  Use libc_hidden_weak.
2649         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2650         __if_nametoindex and define as weak alias of __if_nametoindex.
2651         Use libc_hidden_weak.
2652         (if_freenameindex): Rename to __if_freenameindex and define as
2653         weak alias of __if_freenameindex.  Use libc_hidden_weak.
2654         (if_nameindex_netlink): Use __if_freenameindex instead of
2655         if_freenameindex.
2656         (if_nameindex): Rename to __if_nameindex and define as weak alias
2657         of __if_nameindex.  Use libc_hidden_weak.
2658         (if_indextoname): Rename to __if_indextoname and define as weak
2659         alias of __if_indextoname.  Use libc_hidden_weak.
2660         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2661         libc_hidden_proto.
2662         [!_ISOMAC] (__if_freenameindex): Likewise.
2663         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2664         if_nametoindex.
2665         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2666         variable.
2667         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2668         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2669         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2670         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2671         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2672         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2673         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2675         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2676         Remove variable.
2677         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2678         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2680 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2682         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2683         subscript above bounds'
2685         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2686         bounds.
2688 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2690         * libio/tst-fopenloc.c: Use test-skeleton.c.
2692         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2693         (entry): Rename to ITEM.
2694         (do_test, comp): Adjust.
2696         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2698 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2700         * string/tester.c: Include <libc-internal.h>.
2701         (test_memset): Ignore -Wmemset-transposed-args.
2703 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2705         * misc/tst-mntent2.c (do_test): Fix warning.
2707 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2709         * elf/tst-unique4lib.cc(a): Mark as used.
2711 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2713         [BZ #17630]
2714         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2715         names.
2717 2014-12-16  Allan McRae  <allan@archlinux.org>
2719         * stdio-common/Makefile (tests): Re-add bug26.
2721 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2723         [BZ #17657]
2724         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2725         static array.
2727 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2729         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2730         (__lll_lock_wait): Likewise.
2731         (__lll_timedlock_wait): Likewise.
2732         (__lll_timedwait_tid): Likewise.
2733         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2734         (__lll_robust_timedlock_wait): Likewise.
2735         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2736         (lll_cond_trylock): Likewise.
2737         (__lll_lock): Likewise.
2738         (__lll_robust_lock): Likewise.
2739         (__lll_cond_lock): Likewise.
2740         (lll_robust_cond_lock): Likewise.
2741         (__lll_timedlock): Likewise.
2742         (__lll_robust_timedlock): Likewise.
2743         (__lll_unlock): Likewise.
2744         (__lll_robust_unlock): Likewise.
2745         (lll_wait_tid): Likewise.
2746         (lll_timedwait_tid): Likewise.
2748 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2750         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2752 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2754         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2756 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2758         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2759         * stdio-common/tst-sprintf.c: Likewise.
2761 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2763         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2765 2014-12-15  Jeff Law  <law@redhat.com>
2767         [BZ #16617]
2768         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2769         on the heap.  (CVE-2012-3406)
2770         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2771         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2772         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2774 2014-12-15  Will Newton  <will.newton@linaro.org>
2776         * manual/install.texi: Bump required version of texinfo
2777         to 4.7 from 4.5.
2778         * INSTALL: Regenerated.
2779         * configure.ac: Check for makeinfo version 4.7 and above.
2780         * configure: Regenerated.
2782 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2784         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2785         PREFIX, string constant to insert between directory and name.
2786         * sysdeps/posix/shm_open.c: Update caller.
2787         * sysdeps/posix/shm_unlink.c: Likewise.
2788         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2789         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2790         (SEM_SHM_PREFIX): New macro.
2791         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2792         [$(have-thread-library) = no].
2793         * nptl/Makefile (libpthread-routines): Add shm-directory.
2794         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2795         * sysdeps/nptl/shm-directory.h: New file.
2796         * sysdeps/posix/shm-directory.c
2797         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2798         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2799         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2800         INTERNAL_SYSCALL.
2801         (__where_is_shmfs): Function removed.
2802         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2803         Variables removed.
2804         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2805         Use SHM_GET_NAME.
2806         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2808         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2809         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2810         unconditional for use inside libpthread.
2811         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2813 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2815         * nptl/pthread_getaffinity.c: New file.
2816         * nptl/pthread_setaffinity.c: New file.
2817         * nptl/pthread_getname.c: New file.
2818         * nptl/pthread_setname.c: New file.
2820         * nptl/pthread_create.c (START_THREAD_DEFN)
2821         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2823 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2824             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2826         * resolv/res_send.c (send_vc): Disable warning resplen may
2827         be used uninitialized.
2829 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2831         * nptl/tst-mutex6.c
2832         (ATTR_NULL): New define checks ATTR against NULL.
2833         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2834         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2836 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2838         [BZ #17581]
2839         * malloc/hooks.c
2840         (mem2mem_check): Revert my previous change.
2841         (malloc_check_get_size): Revert my previous change.
2842         (mem2chunk_check): Revert my previous change.
2844 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2846         * sysdeps/posix/shm-directory.c: New file.
2847         * sysdeps/posix/shm-directory.h: New file.
2848         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2849         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2850         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2851         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2852         Transmute EPERM to EACCES.
2853         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2854         from ...
2855         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2856         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2858 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2860         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2861         pointer and cast to uintptr_t.
2862         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2863         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2864         Add cast to avoid warning.
2865         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2867 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2869         * nptl/semaphore.h: Move to ...
2870         * sysdeps/pthread/semaphore.h: ... here.
2871         * Makefile (installed-headers): Change nptl/semaphore.h to
2872         sysdeps/pthread/semaphore.h.
2874 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2876         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2877         generated error format strings.
2879         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2880         -Wformat-extra-args warnings for scanf formats.
2881         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2882         test of zero-length format (duh).
2883         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2884         corner-case scanf format test.
2885         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2886         generated fprintf format string.
2887         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2888         corner-case sprintf format tests.
2889         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2890         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2891         -Wformat-extra-args warnings throughout.
2892         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2893         (CFLAGS-scanf4.c): Likewise.
2894         (CFLAGS-scanf7.c): Likewise.
2895         (CFLAGS-tst-sprintf.c): Likewise.
2896         (CFLAGS-tst-printf.c): Likewise.
2897         (CFLAGS-tst-printfsz.c): Likewise.
2899 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2901         * include/cpio.h: New file.
2902         * include/fmtmsg.h: Likewise.
2904         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2905         corresponding format argument to size_t.
2906         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2907         arguments.
2908         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2909         corresponding format argument to size_t.
2910         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2911         arguments.
2912         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2913         corresponding format argument to size_t.
2914         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2915         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2916         (CFLAGS-tst-mbswcs2.c): Likewise.
2917         (CFLAGS-tst-mbswcs3.c): Likewise.
2918         (CFLAGS-tst-mbswcs4.c): Likewise.
2919         (CFLAGS-tst-mbswcs5.c): Likewise.
2920         (CFLAGS-tst-trans.c): Likewise
2922 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2924         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2925         rather than assuming they won't contain any '%'s.
2927 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2929         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2930         inhibit_loop_to_libcall to avoid recursive calls.
2931         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2932         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2934 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2936         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2937         prototype.
2939 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2941         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2942         integer value instead of boolean.
2944 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2946         * malloc/malloc.c: Fix powerof2 check.
2948 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2950         * locale/programs/locfile.h (maybe_swap_uint32):
2951         Remove inline and add unused attribute.
2953 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2955         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2956         Truncating assembler expression to a .long expression.
2958 2014-12-11  Andreas Schwab  <schwab@suse.de>
2960         * elf/rtld.c (struct map_args): Constify str member.
2961         (do_preload): Constify fname argument.
2963 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2965         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2966         constants definition.
2968 2014-12-11  Andreas Schwab  <schwab@suse.de>
2970         [BZ #16657]
2971         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2972         FORCE_ELISION instead of DO_ELISION.
2973         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2974         Remove.
2975         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2976         Likewise.
2978         * iconvdata/gconv-modules: Remove duplicate entry.
2980 2014-12-11  Will Newton  <will.newton@linaro.org>
2982         Merge gettext 0.19.3 into intl/.
2984         This involves a number of cosmetic changes to comments
2985         and ANSI function definitions and prototypes throughout
2986         all the files. The gettext copyright header is used but
2987         with the date ranges taken from the glibc copy.
2989         * NEWS: Add gettext merge to 2.21.
2990         * intl/bindtextdom.c: Switch to gettext copyright.
2991         Use ANSI definitions and prototypes.
2992         Use gl_* locking primitives rather than __libc_* ones.
2993         Use __builtin_expect rather than __glibc_likely/unlikely.
2994         * intl/dcgettext.c: Switch to gettext copyright.
2995         Use ANSI definitions and prototypes.
2996         * intl/dcigettext.c: Switch to gettext copyright.
2997         Use ANSI definitions and prototypes.
2998         (INTDIV0_RAISES_SIGFPE): New define.
2999         Use gl_* locking primitives rather than __libc_* ones.
3000         Include eval-plural.h instead of plural-eval.c.
3001         Use __builtin_expect rather than __glibc_likely/unlikely.
3002         * intl/dcngettext.c: Switch to gettext copyright.
3003         Use ANSI definitions and prototypes.
3004         * intl/dgettext.c: Likewise.
3005         * intl/dngettext.c: Likewise.
3006         * intl/plural-eval.c: Renamed to...
3007         * intl/eval-plural.h: ...this.
3008         * intl/explodename.c: Switch to gettext copyright.
3009         Use ANSI definitions and prototypes.
3010         (_nl_explode_name): Use strchr instead of __rawmemchr.
3011         * intl/finddomain.c: Switch to gettext copyright.
3012         Use ANSI definitions and prototypes.
3013         Use gl_* locking primitives rather than __libc_* ones.
3014         (_nl_find_domain): Use malloc rather than alloca for
3015         allocation of temporary locale name.
3016         * intl/gettext.c: Switch to gettext copyright.
3017         Use ANSI definitions and prototypes.
3018         * intl/gettextP.h: Switch to gettext copyright.
3019         Use ANSI definitions and prototypes.
3020         Use gl_* locking primitives rather than __libc_* ones.
3021         * intl/gmo.h: Switch to gettext copyright.
3022         (struct sysdep_string): Move struct segment_pair outside of
3023         struct definition.
3024         * intl/hash-string.c: Use ANSI definitions and prototypes.
3025         * intl/hash-string.h: Switch to gettext copyright.
3026         Use ANSI definitions and prototypes.
3027         * intl/l10nflist.c: Switch to gettext copyright.
3028         Use ANSI definitions and prototypes.
3029         (_nl_normalize_codeset): Avoid integer overflow.
3030         * intl/loadinfo.h: Switch to gettext copyright.
3031         Use ANSI definitions and prototypes.
3032         (LIBINTL_DLL_EXPORTED): New define.
3033         (PATH_SEPARATOR): New define.
3034         * intl/loadmsgcat.c: Switch to gettext copyright.
3035         * intl/localealias.c: Switch to gettext copyright.
3036         Use ANSI definitions and prototypes.
3037         (_nl_expand_alias): Use PATH_SEPARATOR.
3038         * intl/ngettext.c: Switch to gettext copyright.
3039         Use ANSI definitions and prototypes.
3040         * intl/plural-exp.c: Likewise.
3041         * intl/plural-exp.h: Switch to gettext copyright.
3042         Use ANSI definitions and prototypes.
3043         (struct expression): Move definition of enum operator outside
3044         of struct definition.
3045         * intl/plural.c: Regenerate.
3046         * intl/plural.y: Switch to gettext copyright.
3047         Use ANSI definitions and prototypes.
3048         Port to bison 3.0.
3049         * intl/textdomain.c: Switch to gettext copyright.
3050         Use ANSI definitions and prototypes.
3051         Use gl_* locking primitives rather than __libc_* ones.
3053 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
3055         * debug/warning-nop.c: Add used atrribute.
3057 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3059         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3061         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3062         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3063         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3065 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3066             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3068         [BZ #17634]
3069         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3070         Undefine after defining function.  Define as weak alias of
3071         __wcschr.  Use libc_hidden_weak.
3072         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
3073         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3074         (libc_hidden_def): Also define __GI___wcschr alias.
3075         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3076         __wcschr and define as weak alias of __wcschr.
3077         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3078         __wcschr.
3079         [!WCSCHR] (DEFAULT_WCSCHR): Define.
3080         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3081         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
3082         libc_hidden_weak.  Do not use libc_hidden_def.
3083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3084         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3085         __GI___wcschr alias.
3086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3087         [IS_IN (libc)] (wcschr): Define as macro expanding to
3088         __redirect_wcschr.
3089         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3090         [IS_IN (libc)] (__wcschr_power6): Likewise.
3091         [IS_IN (libc)] (__wcschr_power7): Likewise.
3092         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
3093         instead of wcschr.
3094         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3095         __libc_wcschr.
3096         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3097         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3098         __wcschr and define as weak alias of __wcschr.  Use
3099         libc_hidden_builtin_def.
3100         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3101         as weak alias of __wcschr.  Use libc_hidden_weak.
3102         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3103         wcschr.
3104         * time/era.c (_nl_init_era_entries): Likewise.
3105         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3106         variable.
3107         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3108         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3110 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3112         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3113         format for long int variable.
3115 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
3117         [BZ #10672]
3118         * manual/search.texi: (Array Sort Function): Remove claim how to make
3119         qsort stable.
3121 2014-12-10  Andreas Schwab  <schwab@suse.de>
3123         [BZ #12847]
3124         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3125         user-controlled locks.
3127 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
3129         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3130         register.
3132 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3134         * configure.ac (--disable-werror): New configure option.
3135         (enable_werror): New AC_SUBST.
3136         * configure: Regenerated.
3137         * config.make.in (enable-werror): New variable.
3138         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3139         -Wno-error=undef.
3140         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3141         * manual/install.texi (Configuring and compiling): Document
3142         --disable-werror.
3143         * INSTALL: Regenerated.
3144         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3145         (CFLAGS-tst-chk2.c): Likewise.
3146         (CFLAGS-tst-chk3.c): Likewise.
3147         (CFLAGS-tst-chk4.cc): Likewise.
3148         (CFLAGS-tst-chk5.cc): Likewise.
3149         (CFLAGS-tst-chk6.cc): Likewise.
3150         (CFLAGS-tst-lfschk1.c): Likewise.
3151         (CFLAGS-tst-lfschk2.c): Likewise.
3152         (CFLAGS-tst-lfschk3.c): Likewise.
3153         (CFLAGS-tst-lfschk4.cc): Likewise.
3154         (CFLAGS-tst-lfschk5.cc): Likewise.
3155         (CFLAGS-tst-lfschk6.cc): Likewise.
3157         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3158         (main): Disable -Wdeprecated-declarations around calls to
3159         register_printf_function.
3161         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3162         (do_test): Disable -Wdiv-by-zero around some calls to
3163         fwrite_unlocked and fread_unlocked.
3165         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3166         (DIAG_POP_NEEDS_COMMENT): Likewise.
3167         (_DIAG_STR1): Likewise.
3168         (_DIAG_STR): Likewise.
3169         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3170         * stdio-common/bug21.c: Include <libc-internal.h>.
3171         (do_test): Disable -Wformat around call to sscanf.
3172         * stdio-common/scanf14.c: Include <libc-internal.h>.
3173         (main): Disable -Wformat around some calls to scanf functions.
3175 2014-12-09  Torvald Riegel  <triegel@redhat.com>
3177         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3179 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3181         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3182         stack variable alignment.
3184 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
3186         [BZ #17682]
3187         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3188         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3189         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3190         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3191         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3192         __getrlimit instead of getrlimit.
3193         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3194         __gettimeofday instead of gettimeofday.
3195         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3196         Likewise.
3197         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3198         Likewise.
3199         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3200         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3201         Remove variable.
3202         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3203         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3205 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3207         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3208         for wide-character tests.
3210 2014-12-04  Roland McGrath  <roland@hack.frob.com>
3212         * io/openat64.c: #include <libc-internal.h>
3213         (__openat64): Prototypify.  Use ignore_value on MODE.
3214         * io/openat.c: Likewise.
3215         * misc/reboot.c: #include <libc-internal.h>
3216         (reboot): Prototypify.  Use ignore_value on HOWTO.
3217         * misc/ptrace.c: #include <libc-internal.h>
3218         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
3220 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
3222         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3223         XPG4, UNIX98 and XOPEN2K.
3224         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3225         Remove variable.
3226         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3228 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3230         * libio/fileops.c: Use ISO C style for function definitions.
3231         * libio/iofopen.c: Likewise.
3232         * libio/wfileops.c: Likewise.
3234         [BZ #17653]
3235         * libio/fileops.c (_IO_new_file_underflow): Unset cached
3236         offset on EOF.
3237         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3238         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3239         (fgets_func): Function pointer to fgets and fgetws.
3240         (do_ftell_test): Add test to verify ftell value after read
3241         EOF.
3242         (do_test): Set fgets_func.
3244         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3245         O_TRUNC flag for w and w+ modes.
3246         (do_rewind_test): Likewise.
3247         (do_ftell_test): Likewise.
3248         (do_write_test): Likewise.
3250         [BZ #17647]
3251         * libio/fileops.c (do_ftell): Seek only when there are
3252         unflushed writes.
3253         * libio/wfileops.c (do_ftell_wide): Likewise.
3254         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3255         test case.
3256         (do_one_test): Call it.
3258 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
3260         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3261         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3262         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3263         Remove variable.
3264         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3265         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3266         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3268 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3270         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3271         Remove variable.
3272         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3274         [BZ #17668]
3275         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3276         as weak alias of __getifaddrs.  Use libc_hidden_weak.
3277         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3278         __freeifaddrs.  Use libc_hidden_weak.
3279         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3280         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
3281         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3282         __freeifaddrs.  Use libc_hidden_weak.
3283         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3284         __getifaddrs and define as weak alias of __getifaddrs.  Use
3285         libc_hidden_weak.
3286         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3287         __freeifaddrs.  Use libc_hidden_weak.
3288         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3289         Remove variable.
3290         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3291         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3293 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3295         [BZ #17601]
3296         * sysdeps/mips/start.S (__start): Use indirect jump to call
3297         __libc_start_main.
3299 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3301         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3303         * nptl/tst-mutex1.c: Include <stdbool.h>.
3304         [!ATTR] (ATTR_NULL): New macro.
3305         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3306         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3307         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3309         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3310         to char *.
3312         [BZ #17665]
3313         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3314         Change conditional to [__USE_MISC].
3316         [BZ #17664]
3317         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3318         fgets_unlocked.
3319         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3320         __fgets_unlocked.
3321         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3322         fgets_unlocked.
3323         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3324         Remove variable.
3325         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3326         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3327         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3328         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3329         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3330         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3331         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3332         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3333         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3335         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3337 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3339         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3340         Remove strpbrk objects.
3341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3342         (__libc_ifunc_impl_list): Remove strpbrk implementation.
3343         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3344         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3345         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3346         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3348         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3349         Remove strcspn objects.
3350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3351         (__libc_ifunc_impl_list): Remove strcspn implementation.
3352         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3353         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3354         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3355         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3357         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3358         Remove strspn objetcs.
3359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3360         (__libc_ifunc_impl_list): Remove strspn implementation.
3361         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3362         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3363         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3364         * sysdeps/powerpc/powerpc64/strspn.S: New file.
3366 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
3368         [BZ #17581]
3369         * malloc/hooks.c
3370         (mem2mem_check): Add a terminator to the chain of checking blocks.
3371         (malloc_check_get_size): Use it here.
3372         (mem2chunk_check): Ditto.
3374 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3376         * sysdeps/powerpc/powerpc64/strtok.S: New file.
3377         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3379 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
3381         * bits/ioctl-types.h: Indent preprocessor directives correctly.
3383         * nptl/nptl-init.c: Include libc-internal.h.
3384         (__pthread_initialize_minimal_internal): Use ROUND_UP.
3386         * elf/ldconfig.c (search_dir): Expand comment.
3388 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
3390         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3391         variable.
3392         (linknamespace-symlist-stdlibs-tests): Likewise.
3393         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3394         instead of $(objpfx)symlist-stdlibs.
3395         (linknamespace-libs-isoc): New variable.
3396         (linknamespace-libs): Use $(linknamespace-libs-isoc).
3397         (linknamespace-libs-ISO): New variable.
3398         (linknamespace-libs-ISO99): Likewise.
3399         (linknamespace-libs-ISO11): Likewise.
3400         (linknamespace-libs-XPG3): Likewise.
3401         (linknamespace-libs-XPG4): Likewise.
3402         (linknamespace-libs-POSIX): Likewise.
3403         (linknamespace-libs-UNIX98): Likewise.
3404         (linknamespace-libs-XOPEN2K): Likewise.
3405         (linknamespace-libs-POSIX2008): Likewise.
3406         (linknamespace-libs-XOPEN2K8): Likewise.
3407         ($(objpfx)symlist-stdlibs): Replace by
3408         $(linknamespace-symlist-stdlibs-tests).  Use
3409         $(linknamespace-libs-$*) as set of libraries.
3410         ($(linknamespace-header-tests)): Update dependencies.  Use
3411         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3412         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3413         * conform/linknamespace.pl: Remove comment about considering
3414         definitions of symbols from irrelevant libraries.
3416 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3418         [BZ #13862]
3419         * elf/dl-tls.c: Include <atomic.h>.
3420         (oom): Remove #ifdef SHARED/#endif.
3421         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3422         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3423         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3424         big enough.
3425         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3426         * nptl/Makefile (tests): Add tst-stack4.
3427         (modules-names): Add tst-stack4mod.
3428         ($(objpfx)tst-stack4): New.
3429         (tst-stack4mod.sos): Likewise.
3430         ($(objpfx)tst-stack4.out): Likewise.
3431         ($(tst-stack4mod.sos)): Likewise.
3432         (clean): Likewise.
3433         * nptl/tst-stack4.c: New file.
3434         * nptl/tst-stack4mod.c: Likewise.
3436 2014-11-27  J. Brown  <jb999@gmx.de>
3438         * sysdeps/x86/bits/string.h: Add recent CPUs.
3440 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3442         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3443         sigblock.
3445         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3446         feof.
3448         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3449         variable.
3451 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3453         * nscd/connections.c: Include libc-internal.h because of macro
3454         usage ignore_value.
3456 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3458         * string/bits/string3.h (__warn_memset_zero_len): Don't
3459         declare for gcc newer than 5.0.
3460         (memset): Don't test for zero-length __LEN for gcc newer than
3461         5.0.
3463 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3465         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3466         size_t for %zu format.
3468         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3469         difference, not %ju.
3471 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3473         * include/libc-internal.h (ignore_value): New macro.
3474         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3475         with ignore_value.
3477         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3478         definition.
3480         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3481         pthread_cleanup_push to void *.
3483         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3484         Undefine.
3486         [BZ #16619]
3487         [BZ #16740]
3488         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3489         instead of 1L << 52.
3491         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3492         * libio/bug-rewind2.c (do_test): Likewise.
3494         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3495         * debug/test-strcpy_chk-ifunc.c: Likewise.
3496         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3497         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3498         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3499         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3500         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3501         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3502         * Rules [$(multi-arch) = no] (tests): Do not filter out
3503         $(tests-ifunc).
3504         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3505         * debug/Makefile (tests-ifunc): Remove variable.
3506         (tests): Do not add $(tests-ifunc).
3507         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3508         (tests): Do not add $(tests-ifunc).
3509         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3510         [TEST_IFUNC]: Remove conditionals.
3511         * string/test-string.h (TEST_IFUNC): Remove macro.
3512         [TEST_IFUNC]: Remove conditionals.
3514         * string/test-strchr.c [!WIDE] (L): New macro.
3515         [WIDE] (L): Likewise.
3516         (check1): Use CHAR instead of char.  Use L on string and character
3517         constants.
3519 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3521         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3522         tests.
3523         * sysdeps/powerpc/bits/atomic.h
3524         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3525         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3526         (atomic_exchange_and_add_acq): Likewise.
3527         (atomic_exchange_and_add_rel): Likewise.
3528         * sysdeps/powerpc/powerpc32/bits/atomic.h
3529         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3530         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3531         * sysdeps/powerpc/powerpc64/bits/atomic.h
3532         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3533         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3535 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3537         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3538         Change synchronization of __sched_fifo_min_prio and
3539         __sched_fifo_max_prio.
3540         * nptl/pthread_mutexattr_getprioceiling.c
3541         (pthread_mutexattr_getprioceiling): Likewise.
3542         * nptl/pthread_mutexattr_setprioceiling.c
3543         (pthread_mutexattr_setprioceiling): Likewise.
3544         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3545         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3546         Likewise.
3548 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3550         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3551         void.
3553 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3555         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3556         third argument const.
3558 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3560         fnmatch: work around GCC compiler warning bug with uninit var
3561         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3562         This works around a bug with x86-64 GCC 4.9.2 and earlier
3563         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3564         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3565         used uninitialized in this function [-Wmaybe-uninitialized]".
3567 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3569         * posix/bug-regex31.c (main): Return RES not 0.
3571 2014-11-25  Anton Blanchard <anton@samba.org>
3573         * sysdeps/powerpc/bits/atomic.h
3574         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3576 2014-11-24  Sterling Augustine  <saugustine@google.com>
3578         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3580 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3582         [BZ #17608]
3583         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3585 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3587         [BZ #17633]
3588         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3589         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3590         variable.
3591         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3592         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3594 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3596         * string/strncpy.c (strncpy): Improve performance by using memset.
3598 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3600         * string/strcpy.c (strcpy):
3601         Improve performance by using strlen and memcpy.
3603 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
3605         * string/strcoll_l.c (get_next_seq): __always_inline.
3606         * string/strcoll_l.c (do_compare): __always_inline.
3608 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3610         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3611         defined.
3612         * include/mqueue.h: Likewise.
3613         * include/stdlib.h: Likewise.
3615         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3616         (get_null_defines): Adjust.
3617         * sunrpc/Makefile: Adjust comment.
3618         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3619         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3620         (CFLAGS-interp.c): Likewise.
3621         (CFLAGS-ldconfig.c): Likewise.
3622         (CPPFLAGS-.os): Likewise.
3623         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3624         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3625         * extra-modules.mk (extra-modules.mk): Likewise.
3626         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3627         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3628         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3629         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3630         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3631         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3632         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3633         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3634         * iconvdata/Makefile (CPPFLAGS): Likewise.
3635         (cpp-srcs-left): Add libof for all iconvdata routines.
3636         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3637         * include/assert.h: Likewise.
3638         * include/ctype.h: Likewise.
3639         * include/errno.h: Likewise.
3640         * include/libc-symbols.h: Likewise.
3641         * include/math.h: Likewise.
3642         * include/netdb.h: Likewise.
3643         * include/resolv.h: Likewise.
3644         * include/stdio.h: Likewise.
3645         * include/stdlib.h: Likewise.
3646         * include/string.h: Likewise.
3647         * include/sys/stat.h: Likewise.
3648         * include/wctype.h: Likewise.
3649         * intl/l10nflist.c: Likewise.
3650         * libidn/idn-stub.c: Likewise.
3651         * libio/libioP.h: Likewise.
3652         * nptl/libc_multiple_threads.c: Likewise.
3653         * nptl/pthreadP.h: Likewise.
3654         * posix/regex_internal.h: Likewise.
3655         * resolv/res_hconf.c: Likewise.
3656         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3657         * sysdeps/arm/memmove.S: Likewise.
3658         * sysdeps/arm/sysdep.h: Likewise.
3659         * sysdeps/generic/_itoa.h: Likewise.
3660         * sysdeps/generic/symbol-hacks.h: Likewise.
3661         * sysdeps/gnu/errlist.awk: Likewise.
3662         * sysdeps/gnu/errlist.c: Likewise.
3663         * sysdeps/i386/i586/memcpy.S: Likewise.
3664         * sysdeps/i386/i586/memset.S: Likewise.
3665         * sysdeps/i386/i686/memcpy.S: Likewise.
3666         * sysdeps/i386/i686/memmove.S: Likewise.
3667         * sysdeps/i386/i686/mempcpy.S: Likewise.
3668         * sysdeps/i386/i686/memset.S: Likewise.
3669         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3670         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3671         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3672         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3673         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3674         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3675         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3676         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3677         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3678         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3679         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3680         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3681         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3682         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3683         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3684         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3685         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3686         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3687         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3688         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3689         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3690         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3691         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3692         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3693         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3694         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3695         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3696         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3697         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3698         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3699         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3700         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3701         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3702         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3703         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3704         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3705         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3706         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3707         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3708         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3709         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3710         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3711         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3712         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3713         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3714         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3715         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3716         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3717         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3718         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3719         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3720         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3721         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3722         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3723         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3724         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3725         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3726         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3727         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3728         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3729         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3730         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3731         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3732         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3733         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3734         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3735         * sysdeps/posix/closedir.c: Likewise.
3736         * sysdeps/posix/opendir.c: Likewise.
3737         * sysdeps/posix/readdir.c: Likewise.
3738         * sysdeps/posix/rewinddir.c: Likewise.
3739         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3740         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3741         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3742         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3743         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3744         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3745         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3746         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3747         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3748         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3749         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3750         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3751         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3752         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3753         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3754         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3755         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3756         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3757         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3758         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3759         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3760         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3761         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3762         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3763         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3764         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3765         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3766         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3767         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3768         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3769         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3770         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3771         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3774         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3775         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3776         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3777         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3778         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3779         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3780         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3781         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3782         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3783         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3784         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3785         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3786         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3787         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3788         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3789         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3790         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3791         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3792         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3793         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3794         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3795         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3796         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3797         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3798         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3799         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3800         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3801         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3802         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3803         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3804         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3805         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3806         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3807         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3808         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3809         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3810         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3811         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3812         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3813         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3814         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3815         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3816         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3817         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3818         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3819         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3820         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3821         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3822         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3823         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3824         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3825         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3826         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3827         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3828         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3829         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3830         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3831         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3832         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3833         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3834         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3835         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3836         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3837         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3838         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3839         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3840         * sysdeps/unix/alpha/sysdep.S: Likewise.
3841         * sysdeps/unix/alpha/sysdep.h: Likewise.
3842         * sysdeps/unix/make-syscalls.sh: Likewise.
3843         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3844         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3845         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3846         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3847         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3848         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3849         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3850         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3851         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3852         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3853         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3854         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3855         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3856         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3857         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3858         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3859         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3860         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3861         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3862         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3863         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3864         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3865         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3866         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3867         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3868         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3869         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3872         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3873         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3874         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3876         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3877         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3878         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3879         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3880         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3881         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3882         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3883         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3884         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3885         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3886         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3887         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3888         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3889         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3890         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3891         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3893         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3894         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3895         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3896         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3897         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3898         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3899         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3900         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3901         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3902         * sysdeps/x86_64/memcpy.S: Likewise.
3903         * sysdeps/x86_64/memmove.c: Likewise.
3904         * sysdeps/x86_64/memset.S: Likewise.
3905         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3906         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3907         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3908         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3909         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3910         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3911         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3912         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3913         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3914         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3915         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3916         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3917         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3918         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3919         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3920         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3921         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3922         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3923         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3924         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3925         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3926         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3927         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3928         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3929         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3930         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3931         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3932         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3933         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3934         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3935         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3936         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3937         * sysdeps/x86_64/strcmp.S: Likewise.
3939         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3941         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3942         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3943         * elf/rtld-Rules: Likewise.
3944         * elf/setup-vdso.h: Likewise.
3945         * include/assert.h: Likewise.
3946         * include/bits/stdlib-float.h: Likewise.
3947         * include/errno.h: Likewise.
3948         * include/sys/stat.h: Likewise.
3949         * include/unistd.h: Likewise.
3950         * sysdeps/aarch64/setjmp.S: Likewise.
3951         * sysdeps/alpha/setjmp.S: Likewise.
3952         * sysdeps/arm/__longjmp.S: Likewise.
3953         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3954         * sysdeps/arm/setjmp.S: Likewise.
3955         * sysdeps/arm/sysdep.h: Likewise.
3956         * sysdeps/generic/_itoa.h: Likewise.
3957         * sysdeps/generic/dl-sysdep.h: Likewise.
3958         * sysdeps/generic/ldsodefs.h: Likewise.
3959         * sysdeps/i386/dl-tls.h: Likewise.
3960         * sysdeps/i386/setjmp.S: Likewise.
3961         * sysdeps/m68k/setjmp.c: Likewise.
3962         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3963         * sysdeps/mach/hurd/opendir.c: Likewise.
3964         * sysdeps/posix/getcwd.c: Likewise.
3965         * sysdeps/posix/opendir.c: Likewise.
3966         * sysdeps/posix/profil.c: Likewise.
3967         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3968         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3969         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3970         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3971         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3972         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3973         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3974         * sysdeps/s390/dl-tls.h: Likewise.
3975         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3976         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3977         * sysdeps/sh/sh3/setjmp.S: Likewise.
3978         * sysdeps/sh/sh4/setjmp.S: Likewise.
3979         * sysdeps/unix/alpha/sysdep.h: Likewise.
3980         * sysdeps/unix/arm/sysdep.S: Likewise.
3981         * sysdeps/unix/i386/sysdep.S: Likewise.
3982         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3983         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3984         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3985         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3986         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3987         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3988         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3989         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3990         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3991         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3992         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3993         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3994         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3997         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3998         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3999         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4000         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4001         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4002         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4003         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4004         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4005         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4006         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4007         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4008         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4009         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4010         * sysdeps/x86_64/setjmp.S: Likewise.
4012         * include/math.h: Use IS_IN instead of IS_IN_libm.
4013         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4014         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4015         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4016         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4017         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4018         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4019         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4020         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4021         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4022         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4023         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4024         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4025         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4026         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4027         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4028         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4029         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4030         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4031         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4032         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4033         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4034         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4035         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4036         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4037         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4038         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4039         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4040         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4041         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4042         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4043         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4044         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4045         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4047         Likewise.
4048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4049         Likewise.
4050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4051         Likewise.
4052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4053         Likewise.
4054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4055         Likewise.
4056         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4057         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4058         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4059         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4060         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4061         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4067         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4068         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4069         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4070         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4071         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4072         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4073         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4074         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4075         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4076         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4077         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4078         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4079         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4080         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4082         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4084         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4085         * nptl/pthreadP.h: Likewise.
4086         * nptl_db/structs.def: Likewise.
4087         * sysdeps/arm/sysdep.h: Likewise.
4088         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4089         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4090         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4091         * sysdeps/unix/alpha/sysdep.h: Likewise.
4092         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4093         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4094         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4095         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4096         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4097         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4098         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4099         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4100         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4101         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4102         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4103         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4104         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4105         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4108         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4109         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4110         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4111         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4112         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4113         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4114         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4115         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4116         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4117         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4119         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4120         * nptl/pthreadP.h: Likewise.
4121         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4122         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4123         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4124         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4125         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4126         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4127         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4128         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4129         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4130         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4131         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4132         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4134         Likewise.
4135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4136         Likewise.
4137         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4138         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4139         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4140         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4141         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4142         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4143         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4144         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4146         * dlfcn/dladdr.c: Use IS_IN.
4147         * dlfcn/dladdr1.c: Likewise.
4148         * dlfcn/dlclose.c: Likewise.
4149         * dlfcn/dlerror.c: Likewise.
4150         * dlfcn/dlinfo.c: Likewise.
4151         * dlfcn/dlmopen.c: Likewise.
4152         * dlfcn/dlopen.c: Likewise.
4153         * dlfcn/dlsym.c: Likewise.
4154         * dlfcn/dlvsym.c: Likewise.
4156         * include/ifaddrs.h: Use IS_IN.
4157         * inet/check_pf.c: Likewise.
4158         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4159         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4161         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4162         IS_IN_ldconfig.
4163         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4164         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4166         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4167         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4168         IS_IN (libc).
4170         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4172         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4173         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4174         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4175         * include/libc-symbols.h (IS_IN_LIB): New macro.
4176         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4177         * include/netdb.h: Likewise.
4178         * include/stap-probe.h: Remove all uses of IN_LIB.
4180         * Makeconfig (module-cppflags-real): Define MODULE_NAME
4181         instead of IN_MODULE.
4182         * include/libc-symbols.h (IN_MODULE): Define using
4183         MODULE_NAME.
4184         (PASTE_NAME, PASTE_NAME1): New macros.
4185         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4186         of IN_LIB.
4187         (STAP_PROBE_ASM): Likewise.
4189 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4191         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4192         __mach_init in dlopened libc.
4194 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
4196         * sysdeps/arm/preconfigure.ac: Delete EABI check.
4197         * sysdeps/arm/preconfigure: Regenerate.
4199 2014-11-21  Roland McGrath  <roland@hack.frob.com>
4201         * nptl/pthread_create.c (__pthread_create_2_1): Set
4202         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4203         when copying values from IATTR into PD.
4205 2014-11-21  Will Newton  <will.newton@linaro.org>
4206             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4208         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4209         Refactor inline-asm.  Also add comment.
4211         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4212         ElfW macro instead of hardcoded Elf64 types.
4213         (la_aarch64_gnu_pltenter): Likewise.
4214         * sysdeps/aarch64/dl-machine.h
4215         (elf_machine_runtime_setup): Use ElfW(Addr).
4217         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4218         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4219         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4220         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4221         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4222         (R_AARCH64_TLS_DTPMOD64): Rename to ..
4223         (R_AARCH64_TLS_DTPMOD): This.
4224         (R_AARCH64_TLS_DTPREL64): Rename to ...
4225         (R_AARCH64_TLS_DTPREL): This.
4226         (R_AARCH64_TLS_TPREL64): Rename to ...
4227         (R_AARCH64_TLS_TPREL): This.
4228         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4229         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4230         R_AARCH64_TLS_TPREL64.
4231         (elf_machine_rela): Likewise.
4233 2014-11-21  Torvald Riegel  <triegel@redhat.com>
4235         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4236         by setting it to 0.  64b atomics are not supported currently.
4238 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4240         [BZ #16469]
4241         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4242         search domain names.
4244 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4246         [BZ #16469]
4247         * NEWS: Update.
4248         * resolv/res_query.c (__libc_res_nquerydomain): Retain
4249         trailing dot.
4250         * posix/tst-getaddrinfo5.c: New.
4251         * posix/Makefile (tests): Add it.
4253 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4255         [BZ #14498]
4256         * NEWS: Fixed.
4257         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4258         after parsing line but before break_if_match.
4259         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4260         if there is a protocol mismatch.
4262 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4264         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4265         because the potential race is on the user-supplied stream.
4267 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4269         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4270         string literal if not passed a buffer.
4271         * manual/job.texi (ctermid): Update reasoning, note deviation
4272         from posix, suggest mtasurace when not passed a buffer, for
4273         future non-preliminary safety notes.
4275 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4277         * manual/users.texi (cuserid): Fix MT-Safety note for the case
4278         of not passing it a buffer.
4279         Reported by Peng Haitao.
4281 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4283         * manual/Makefile ($(objpfx)stamp-summary): Require
4284         check-safety.sh to pass.
4285         * manual/check-safety.sh: Wish for verification that every
4286         @deftypefn and @deftypefun is followed by a @safety remark.
4288 2014-11-20  Roland McGrath  <roland@hack.frob.com>
4290         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4292         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4293         PTHREAD_CANCEL_ASYNCHRONOUS.
4294         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4295         send SIGCANCEL.
4297         * nptl/default-sched.h: New file.
4298         * sysdeps/unix/sysv/linux/default-sched.h: New file.
4299         * nptl/pthread_create.c: Include it.
4300         (__pthread_create_2_1): Use collect_default_sched instead of making
4301         Linux syscalls here directly.
4303 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4305         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4306         __pthread_once): Use C11 atomics.
4308 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4310         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4312 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4314         * include/atomic.h (__atomic_link_error, __atomic_check_size,
4315         atomic_thread_fence_acquire, atomic_thread_fence_release,
4316         atomic_thread_fence_seq_cst, atomic_load_relaxed,
4317         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4318         atomic_compare_exchange_weak_relaxed,
4319         atomic_compare_exchange_weak_acquire,
4320         atomic_compare_exchange_weak_release,
4321         atomic_exchange_acquire, atomic_exchange_release,
4322         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4323         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4324         atomic_fetch_and_acquire,
4325         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4327 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4329         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4330         USE_ATOMIC_COMPILER_BUILTINS): Define.
4331         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4332         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4333         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4334         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4335         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4336         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4337         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4338         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4339         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4340         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4341         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4342         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4343         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4344         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4345         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4346         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4347         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4348         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4349         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4350         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4351         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4352         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4353         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4354         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4355         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4356         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4357         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4358         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4359         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4360         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4361         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4362         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4363         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4364         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4365         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4366         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4367         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4368         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4369         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4370         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4372 2014-11-19  Roland McGrath  <roland@hack.frob.com>
4374         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4375         the sched_priority value here.  It was already checked when the user
4376         called pthread_attr_setschedparam.
4378         * nptl/tst-bad-schedattr.c: New file.
4379         * nptl/Makefile (tests): Add it.
4381 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
4382             Florian Weimer  <fweimer@redhat.com>
4383             Joseph Myers  <joseph@codesourcery.com>
4384             Adam Conrad  <adconrad@0c3.net>
4385             Andreas Schwab  <schwab@suse.de>
4386             Brooks  <bmoses@google.com>
4388         [BZ #17625]
4389         * wordexp-test.c (__dso_handle): Add prototype.
4390         (__register_atfork): Likewise.
4391         (__app_register_atfork): New function.
4392         (registered_forks): New global.
4393         (register_fork): New function.
4394         (test_case): Add 3 new tests for WRDE_CMDSUB.
4395         (main): Call __app_register_atfork.
4396         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4397         fork count is non-zero fail the test.
4398         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4399         is set.
4400         (parse_dollars): Remove check for WRDE_NOCMD.
4401         (parse_dquote): Likewise.
4403 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4405         * Makeconfig (built-modules): List non-library modules to be
4406         built.
4407         (module-cppflags): Include libc-modules.h for
4408         everything except shlib-versions.v.i.
4409         (CPPFLAGS): Use it.
4410         (before-compile): Add libc-modules.h.
4411         ($(common-objpfx)libc-modules.h,
4412         $(common-objpfx)libc-modules.stmp): New targets.
4413         (common-generated): Add libc-modules.h and libc-modules.stmp.
4414         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4415         * include/libc-symbols.h: Don't include libc-modules.h.
4416         * include/libc-modules.h: Remove file.
4417         * scripts/gen-libc-modules.awk: New script to generate
4418         libc-modules.h.
4419         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4420         Depend on libc-modules.stmp.
4422         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4424         * Makeconfig (in-module): Get value of libof set for the
4425         translation unit.
4426         (CPPFLAGS): Use $(in-module).
4427         * Makerules: Don't suffix routine names for nonlib.
4428         * include/libc-modules.h: New file.
4429         * include/libc-symbols.h: Include libc-modules.h
4430         (IS_IN): New macro to replace IS_IN_* macros.
4431         * elf/Makefile: Set libof-* for each routine.
4432         * elf/rtld-Rules: Likewise.
4433         * extra-modules.mk: Likewise.
4434         * iconv/Makefile: Likewise.
4435         * iconvdata/Makefile: Likewise.
4436         * locale/Makefile: Likewise.
4437         * malloc/Makefile: Likewise.
4438         * nss/Makefile: Likewise.
4439         * sysdeps/gnu/Makefile: Likewise.
4440         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4441         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4442         * sysdeps/s390/s390-64/Makefile: Likewise.
4443         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4444         CPPFLAGS for nscd instead of nonlib.
4446 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4448         * nptl/createthread.c: New file.
4450         * nptl/createthread.c: Moved ...
4451         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4453         * nptl/createthread.c: Add proper top-line comment.
4454         (do_clone): Folded into ...
4455         (create_thread): ... here.  Take new arguments STOPPED_START and
4456         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4457         increment __nptl_threads, do event-reporting logic, do
4458         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4459         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4460         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4461         just send SIGCANCEL.
4462         * nptl/pthread_create.c: Forward-declare create_thread before
4463         including createthread.c.
4464         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4465         declaration, and new macro START_THREAD_SELF to replace argument.
4466         Remove return statement.
4467         (report_thread_creation): New function.
4468         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4469         synchronization logic, and __nptl_nthreads increment here, around
4470         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4471         PD->parent_cancelhandling here, before create_thread.  When
4472         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4473         __deallocate_stack, and ENOMEM translation here.
4475 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4477         [BZ #17616]
4478         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4479         (mptwo): Rename to __mptwo.
4480         (__inv): Use __mptwo instead of mptwo.
4481         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4482         (mptwo): Rename to __mptwo.
4483         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4484         of mpone and __mptwo instead of mptwo.
4485         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4486         instead of mpone.
4487         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4488         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4489         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4490         of mpone and __mptwo instead of mptwo.
4491         (__mpranred): Use __mpone instead of mpone.
4492         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4493         variable.
4494         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4495         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4496         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4497         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4498         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4499         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4500         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4501         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4502         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4503         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4504         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4505         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4506         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4507         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4508         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4509         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4510         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4511         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4512         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4514 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4516         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4517         replace BSD Handler xref with BSD Signal Handling.
4519 2014-11-17  Richard Henderson  <rth@redhat.com>
4521         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4522         (_FP_PACK_RAW_2): Remove.
4523         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4524         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4525         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4526         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4527         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4528         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4529         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4530         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4531         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4532         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4533         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4534         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4535         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4536         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4537         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4538         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4540 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4542         * signal/signal.h [__USE_MISC]
4543         (struct sigvec): Remove type.
4544         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4545         (sigvec): Remove declaration.
4546         * sysdeps/posix/sigvec.c: Moved ...
4547         * signal/sigvec.c: ... here, replacing old file.
4548         (struct sigvec): New type, copied from old signal.h definition.
4549         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4550         (__sigvec): Convert definition to prototype.
4551         (sigvec): Replace weak_alias with compat_symbol.
4552         * signal/Versions (libc: GLIBC_2.21): New version set.
4553         * include/signal.h: Remove __sigvec declaration.
4554         * sysdeps/unix/bsd/sigvec.c: Remove file.
4555         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4556         * manual/signal.texi (BSD Handler): Remove subsection.
4557         Move siginterrupt up to ...
4558         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4559         (Blocking in BSD): Fold subsection into its parent.
4560         * NEWS: Mention sigvec removal.
4562 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4564         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4565         (DLA_FMS): Make definition conditional only on [__FMA4__].
4566         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4567         definition.
4569         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4570         Make definition conditional only on [PROF].
4571         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4572         definition.
4573         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4574         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4576         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4577         !__GNUC__].
4578         * include/signal.h (__sigpause): Move declaration above call to
4579         libc_hidden_proto.
4580         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4581         variable.
4582         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4583         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4585 2014-11-14  David S. Miller  <davem@davemloft.net>
4587         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4588         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4590 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4592         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4593         * configure: Regenerated.
4594         * manual/install.texi (Tools for Compilation): Document a
4595         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4596         compiler verified to work.
4597         * INSTALL: Regenerated.
4599         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4600         redeclare with asm name.
4601         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4602         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4603         including <string.h>.
4604         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4605         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4606         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4607         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4608         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4609         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4610         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4612 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
4614         * stdlib/strtol.c (__strtol): Use prototype definition.
4616         [BZ #17594]
4617         * stdlib/strtol.c (SYM__): New macro.
4618         (SYM__1): Likewise.
4619         (__strtol): Likewise.
4620         (strtol): Rename to __strtol and define as weak alias of
4621         __strtol.  Use libc_hidden_weak.
4623 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4625         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4626         Use numbered labels in inline assembly.
4628 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4630         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4631         Add setjmp LIBC_PROBE.
4632         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4633         Likewise.
4634         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4635         Add longjmp, longjmp_target LIBC_PROBE.
4636         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4637         Likewise.
4639 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4641         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4642         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4643         to get rid of unused variable warning.
4645 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4647         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4648         Check for unwind_backtrace ==  NULL only in SHARED case.
4649         (__backchain_backtrace): Compile only in SHARED case.
4650         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4651         Likewise.
4652         (__backchain_backtrace): Declare as static.
4654 2014-11-12  Roland McGrath  <roland@hack.frob.com>
4656         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4657         (__libc_multiple_threads_ptr): Variable moved ...
4658         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4660 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
4662         * conform/GlibcConform.pm: New file.
4663         * conform/conformtest.pl: Use GlibcConform module.
4664         * conform/linknamespace.pl: New file.
4665         * conform/list-header-symbols.pl: Likewise.
4666         * conform/Makefile (linknamespace-symlists-base): New variable.
4667         (linknamespace-symlists-tests): Likewise.
4668         (linknamespace-header-base): Likewise.
4669         (linknamespace-header-tests): Likewise.
4670         (tests-special): Add new tests.
4671         ($(linknamespace-symlists-tests)): New rule.
4672         (linknamespace-libs): New variable.
4673         ($(objpfx)symlist-stdlibs): New rule.
4674         ($(linknamespace-header-tests)): Likewise.
4675         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4676         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4677         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4678         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4679         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4680         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4681         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4682         (test-xfail-ISO/math.h/linknamespace): Likewise.
4683         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4684         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4685         (test-xfail-ISO/time.h/linknamespace): Likewise.
4686         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4687         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4688         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4689         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4690         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4691         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4692         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4693         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4694         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4695         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4696         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4697         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4698         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4699         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4700         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4701         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4702         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4703         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4704         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4705         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4706         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4707         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4708         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4709         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4710         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4711         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4712         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4713         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4714         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4715         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4716         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4717         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4718         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4719         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4720         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4721         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4722         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4723         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4724         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4725         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4726         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4727         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4728         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4729         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4730         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4731         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4732         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4733         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4734         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4735         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4736         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4737         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4738         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4739         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4740         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4741         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4742         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4743         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4744         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4745         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4746         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4747         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4748         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4749         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4750         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4751         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4752         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4753         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4754         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4755         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4756         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4757         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4758         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4759         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4760         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4761         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4762         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4763         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4764         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4765         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4766         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4767         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4768         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4769         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4770         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4771         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4772         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4773         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4774         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4775         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4776         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4777         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4778         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4779         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4780         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4781         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4782         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4783         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4784         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4785         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4786         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4787         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4788         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4789         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4790         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4791         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4792         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4793         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4794         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4795         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4796         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4797         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4798         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4799         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4800         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4801         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4802         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4803         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4804         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4805         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4806         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4807         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4808         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4809         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4810         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4811         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4812         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4813         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4814         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4815         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4816         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4817         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4818         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4819         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4820         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4821         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4822         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4823         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4824         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4825         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4826         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4827         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4828         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4829         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4830         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4831         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4832         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4833         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4834         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4835         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4837         [BZ #17589]
4838         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4839         of fgets_unlocked.
4841         [BZ #17585]
4842         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4843         (memmem): Rename to __memmem and define as weak alias of
4844         __memmem.  Use libc_hidden_weak.
4845         (__memmem): Use libc_hidden_def.
4846         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4847         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4848         memmem.
4850         [BZ #17582]
4851         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4852         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4853         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4854         and define as weak alias of __fgets_unlocked.  Use
4855         libc_hidden_weak.
4856         (__fgets_unlocked): Use libc_hidden_def.
4857         * include/stdio.h (__fgets_unlocked): Declare.  Use
4858         libc_hidden_proto.
4859         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4860         __fgets_unlocked instead of fgets_unlocked.
4861         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4862         (GET_NPROCS_CONF_PARSER): Likewise.
4863         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4864         (GET_NPROCS_CONF_PARSER): Likewise.
4866         [BZ #17574]
4867         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4868         weak alias of __wmemset.  Use libc_hidden_weak.
4869         (__wmemset): Use libc_hidden_def.
4870         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4871         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4872         of wmemset.
4874         [BZ #17573]
4875         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4876         with asm name __mempcpy.
4877         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4879         [BZ #17572]
4880         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4881         and define as weak alias of __rawmemchr.
4882         (__rawmemchr): Do not define as strong alias of rawmemchr.
4884         [BZ #17571]
4885         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4886         alias of __qsort_r.
4887         (qsort): Call __qsort_r instead of qsort_r.
4888         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4889         (__qsort_r): Declare.  Call libc_hidden_proto.
4890         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4891         instead of qsort_r.
4892         * nscd/gai.c (__qsort_r): Define to qsort_r.
4893         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4894         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4895         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4897         [BZ #17570]
4898         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4899         define as weak alias of __malloc_info.
4901         [BZ #17584]
4902         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4903         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4904         (__rewinddir): Use libc_hidden_def.
4905         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4906         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4907         (__rewinddir): Use libc_hidden_def.
4908         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4909         weak alias of __rewinddir.  Don't use libc_hidden_def.
4910         (__rewinddir): Use libc_hidden_def.
4911         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4912         (__rewinddir): Use libc_hidden_proto.
4913         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4914         rewinddir.
4915         (__getcwd): Use __rewinddir instead of rewinddir.
4917         [BZ #17583]
4918         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4919         alias of __fileno.  Use libc_hidden_weak.
4920         (__fileno): Use libc_hidden_def.
4921         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4922         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4923         alias of __ftello.
4924         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4925         __ftello.
4926         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4927         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4928         libc_hidden_def.
4929         (fread_unlocked): Don't use libc_hidden_ver.
4930         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4931         and define as weak alias of __fread_unlocked.  Don't use
4932         libc_hidden_def.
4933         (__fread_unlocked): Use libc_hidden_def.
4934         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4935         (ftello): Don't use libc_hidden_proto.
4936         (__ftello): Declare.  Use libc_hidden_proto.
4937         (fread_unlocked): Don't use libc_hidden_proto.
4938         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4939         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4940         and __ftello instead of fileno, fread_unlocked and ftello.
4942 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4944         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4945         GOT12.
4946         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4947         Likewise.
4948         (_dl_start_user): Likewise.
4949         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4951 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4952             Siddhesh Poyarekar  <siddhesh@redhat.com>
4954         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4955         Move argv and envp down instead of moving argc up.
4956         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4958 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4960         [BZ #17506]
4961         * test-skeleton.c (main): Return successful if one of
4962         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4963         * string/tst-strcoll-overflow.c: Define expected status.
4965 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4967         [BZ #17475]
4968         * locale/iso-639.def: Define Bhili and Tulu language codes.
4970 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4972         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4974 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4976         [BZ #17555]
4977         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4979 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4981         * configure.ac: Updated check of minimal required version to
4982         2.22.
4983         * manual/install.texi (Tools for Compilation): Updated version
4984         number.
4985         * configure: Regenerated.
4986         * INSTALL: Likewise.
4988 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4990         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4991         __tls_get_addr.
4993 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4995         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4996         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4997         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4998         libc_hidden_weak.
4999         (waitpid): Define as alias of __waitpid.
5000         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5001         __waitpid.
5002         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5003         libc_hidden_weak.
5004         (waitpid): Define as alias of __waitpid.
5005         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5006         __libc_waitpid alias.
5007         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5008         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5009         Likewise.
5010         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5011         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5012         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5013         alias.
5014         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5015         __waitpid.
5016         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5017         libc_hidden_weak.
5018         (waitpid): Define as alias of __waitpid.
5020 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
5022         * manual/llio.texi: Add comment that write safety has been
5023         fixed in Linux.
5025         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5026         (localplt-build-dso): Add elf/ld.so.
5027         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5028         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5029         and free for ld.so.
5030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5031         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5033         Likewise.
5034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5035         Likewise.
5036         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5037         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5038         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5039         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5040         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5041         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5042         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5043         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5044         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5045         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5046         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5048 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
5050         [BZ #14132]
5051         * include/libc-symbols.h (INTUSE): Remove macro.
5052         (INTDEF): Likewise.
5053         (INTVARDEF): Likewise.
5054         (_INTVARDEF): Likewise.
5055         (INTDEF2): Likewise.
5056         (INTVARDEF2): Likewise.
5057         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5058         rtld_hidden_def instead of INTVARDEF.
5059         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5060         (_dl_starting_up_internal): Remove declaration.
5061         (_dl_starting_up): Use rtld_hidden_proto.
5062         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5063         declaration.
5064         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5065         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5066         _dl_starting_up.
5067         * elf/dl-writev.h (_dl_writev): Likewise.
5068         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5069         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5070         _dl_starting_up_internal.
5072 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5074         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5075         test-skeleton.c.
5077 2014-11-05  Will Newton  <will.newton@linaro.org>
5079         * benchtests/Makefile: (bench-malloc): Add malloc thread
5080         scalability benchmark.
5081         * benchtests/bench-malloc-threads.c: New file.
5083 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
5085         * sysdeps/aarch64/strchrnul.S: New file.
5087 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5089         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5090         definition.
5091         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5092         Likwise.
5093         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5094         Likewise.
5095         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5096         Likewise.
5097         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5098         Likewise.
5099         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5100         Likewise.
5102 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
5104         * catgets/test-gencat.c: Use test-skeleton.c.
5105         * catgets/tst-catgets.c: Likewise.
5106         * csu/tst-empty.c: Likewise.
5107         * elf/tst-audit2.c: Likewise.
5108         * elf/tst-global1.c: Likewise.
5109         * elf/tst-pathopt.c: Likewise.
5110         * elf/tst-piemod1.c: Likewise.
5111         * elf/tst-tls10.c: Likewise.
5112         * elf/tst-tls11.c: Likewise.
5113         * elf/tst-tls12.c: Likewise.
5114         * gnulib/tst-gcc.c: Likewise.
5115         * iconvdata/tst-e2big.c: Likewise.
5116         * iconvdata/tst-loading.c: Likewise.
5117         * iconv/tst-iconv1.c: Likewise.
5118         * iconv/tst-iconv2.c: Likewise.
5119         * inet/test-inet6_opt.c: Likewise.
5120         * inet/tst-gethnm.c: Likewise.
5121         * inet/tst-network.c: Likewise.
5122         * inet/tst-ntoa.c: Likewise.
5123         * intl/tst-codeset.c: Likewise.
5124         * intl/tst-gettext2.c: Likewise.
5125         * intl/tst-gettext3.c: Likewise.
5126         * intl/tst-ngettext.c: Likewise.
5127         * intl/tst-translit.c: Likewise.
5128         * io/test-stat.c: Likewise.
5129         * libio/test-fmemopen.c: Likewise.
5130         * libio/tst-freopen.c: Likewise.
5131         * libio/tst-sscanf.c: Likewise.
5132         * libio/tst-ungetwc1.c: Likewise.
5133         * libio/tst-ungetwc2.c: Likewise.
5134         * libio/tst-widetext.c: Likewise.
5135         * localedata/tst-ctype.c: Likewise.
5136         * localedata/tst-digits.c: Likewise.
5137         * localedata/tst-leaks.c: Likewise.
5138         * localedata/tst-mbswcs1.c: Likewise.
5139         * localedata/tst-mbswcs2.c: Likewise.
5140         * localedata/tst-mbswcs3.c: Likewise.
5141         * localedata/tst-mbswcs4.c: Likewise.
5142         * localedata/tst-mbswcs5.c: Likewise.
5143         * localedata/tst-setlocale.c: Likewise.
5144         * localedata/tst-trans.c: Likewise.
5145         * localedata/tst-wctype.c: Likewise.
5146         * localedata/tst-xlocale1.c: Likewise.
5147         * login/tst-grantpt.c: Likewise.
5148         * malloc/tst-calloc.c: Likewise.
5149         * malloc/tst-malloc.c: Likewise.
5150         * malloc/tst-mallocstate.c: Likewise.
5151         * malloc/tst-mcheck.c: Likewise.
5152         * malloc/tst-mtrace.c: Likewise.
5153         * malloc/tst-obstack.c: Likewise.
5154         * math/atest-exp2.c: Likewise.
5155         * math/atest-exp.c: Likewise.
5156         * math/atest-sincos.c: Likewise.
5157         * math/test-matherr.c: Likewise.
5158         * math/test-misc.c: Likewise.
5159         * math/test-powl.c: Likewise.
5160         * math/tst-definitions.c: Likewise.
5161         * misc/tst-dirname.c: Likewise.
5162         * misc/tst-efgcvt.c: Likewise.
5163         * misc/tst-fdset.c: Likewise.
5164         * misc/tst-hsearch.c: Likewise.
5165         * misc/tst-mntent2.c: Likewise.
5166         * nptl/tst-sem7.c: Likewise.
5167         * nptl/tst-sem8.c: Likewise.
5168         * nptl/tst-sem9.c: Likewise.
5169         * nss/test-netdb.c: Likewise.
5170         * posix/tst-fnmatch.c: Likewise.
5171         * posix/tst-getlogin.c: Likewise.
5172         * posix/tst-gnuglob.c: Likewise.
5173         * posix/tst-mmap.c: Likewise.
5174         * pwd/tst-getpw.c: Likewise.
5175         * resolv/tst-inet_ntop.c: Likewise.
5176         * rt/tst-timer.c: Likewise.
5177         * stdio-common/test-fseek.c: Likewise.
5178         * stdio-common/test-popen.c: Likewise.
5179         * stdio-common/test-vfprintf.c: Likewise.
5180         * stdio-common/tst-cookie.c: Likewise.
5181         * stdio-common/tst-fileno.c: Likewise.
5182         * stdio-common/tst-gets.c: Likewise.
5183         * stdio-common/tst-obprintf.c: Likewise.
5184         * stdio-common/tst-perror.c: Likewise.
5185         * stdio-common/tst-sprintf2.c: Likewise.
5186         * stdio-common/tst-sprintf3.c: Likewise.
5187         * stdio-common/tst-sprintf.c: Likewise.
5188         * stdio-common/tst-swprintf.c: Likewise.
5189         * stdio-common/tst-tmpnam.c: Likewise.
5190         * stdio-common/tst-unbputc.c: Likewise.
5191         * stdio-common/tst-wc-printf.c: Likewise.
5192         * stdlib/tst-environ.c: Likewise.
5193         * stdlib/tst-fmtmsg.c: Likewise.
5194         * stdlib/tst-limits.c: Likewise.
5195         * stdlib/tst-rand48-2.c: Likewise.
5196         * stdlib/tst-rand48.c: Likewise.
5197         * stdlib/tst-random2.c: Likewise.
5198         * stdlib/tst-random.c: Likewise.
5199         * stdlib/tst-strtol.c: Likewise.
5200         * stdlib/tst-strtoll.c: Likewise.
5201         * stdlib/tst-tls-atexit.c: Likewise.
5202         * stdlib/tst-xpg-basename.c: Likewise.
5203         * string/test-ffs.c: Likewise.
5204         * string/tst-bswap.c: Likewise.
5205         * string/tst-inlcall.c: Likewise.
5206         * string/tst-strtok.c: Likewise.
5207         * string/tst-strxfrm.c: Likewise.
5208         * sysdeps/x86_64/tst-audit10.c: Likewise.
5209         * sysdeps/x86_64/tst-audit3.c: Likewise.
5210         * sysdeps/x86_64/tst-audit4.c: Likewise.
5211         * sysdeps/x86_64/tst-audit5.c: Likewise.
5212         * time/tst-ftime_l.c: Likewise.
5213         * time/tst-getdate.c: Likewise.
5214         * time/tst-mktime3.c: Likewise.
5215         * time/tst-mktime.c: Likewise.
5216         * time/tst-posixtz.c: Likewise.
5217         * time/tst-strptime2.c: Likewise.
5218         * time/tst-strptime3.c: Likewise.
5219         * wcsmbs/tst-btowc.c: Likewise.
5220         * wcsmbs/tst-mbrtowc.c: Likewise.
5221         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5222         * wcsmbs/tst-wchar-h.c: Likewise.
5223         * wcsmbs/tst-wcpncpy.c: Likewise.
5224         * wcsmbs/tst-wcrtomb.c: Likewise.
5225         * wcsmbs/tst-wcsnlen.c: Likewise.
5226         * wcsmbs/tst-wcstof.c: Likewise.
5228 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
5230         [BZ #14132]
5231         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5232         INTDEF.
5233         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5234         declaration.
5235         (_dl_mcount): Use rtld_hidden_proto.
5236         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5237         _dl_mcount.
5238         * elf/rtld.c (_rtld_global_ro): Likewise.
5240         [BZ #14132]
5241         * elf/dl-init.c (_dl_init): Don't use INTDEF.
5242         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5243         of _dl_init_internal.
5244         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5245         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5246         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5247         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5248         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5249         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5250         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5251         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5252         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5253         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5254         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5255         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5256         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5257         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5258         * sysdeps/tile/dl-start.S (_start): Likewise.
5259         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5260         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5262         [BZ #14132]
5263         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5264         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5265         (rtld_progname): Make macro definition unconditional.
5266         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5267         INTDEF.
5268         (dlmopen_doit): Do not use INTUSE with _dl_argv.
5269         (dl_main): Likewise.
5270         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5271         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5272         instead of _dl_argv_internal.
5273         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5274         __GI__dl_argv instead of INTUSE(_dl_argv).
5275         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5276         __GI__dl_argv instead of _dl_argv_internal.
5278         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5279         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5280         macro.
5281         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5282         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5283         New macro.
5284         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5285         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5286         macro.
5287         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5288         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5290 2014-11-04  Andreas Schwab  <schwab@suse.de>
5292         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5294 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5296         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5297         mtvsrd instruction in binary form.
5299 2014-11-03  Andreas Schwab  <schwab@suse.de>
5301         [BZ #17522]
5302         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5303         for less than MB_LEN_MAX use a local buffer of that size.
5304         * libio/tst-fputws.c: New file.
5305         * libio/Makefile (tests): Add tst-fputws.
5307 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
5309         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5310         the size of the fpu_fr.fpu_dregs[] array.
5312 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
5314         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5315         (__nanosleep): Do not define as alias.
5316         (nanosleep): Define as alias of __nanosleep.
5317         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5318         __libc_nanosleep name.
5320 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5322         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5323         install.texi in comment.
5325 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5327         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5328         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5329         ... add here and use lwsync or sync ...
5330         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5331         ... and add here using lwsync.
5333 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5335         * elf/dl-machine-reject-phdr.h: New file.
5336         * elf/dl-load.c: #include that.
5337         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5338         if that returned true.
5340 2014-10-31  Roland McGrath  <roland@hack.frob.com>
5342         [BZ #17496]
5343         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5344         gen-as-const-headers chunk.  Add a big scare comment after the last
5345         safe place to touch before-compile.
5347 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5349         * manual/install.texi (Tools for Compilation): Update autoconf
5350         version requirements.
5351         * INSTALL: Regenerated.
5353         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5354         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5355         (__libc_pselect): Likewise.
5357         [BZ #14138]
5358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5363 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5365         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5366         correct barrier instruction.
5367         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5368         Likewise.
5369         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5370         Likewise.
5372 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5374         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5375         after defining inlines.  Instead, just use parens to defeat macro
5376         expansion of __isctype in its declaration.
5378 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5380         * include/sys/uio.h (__libc_readv): Remove declaration.
5381         (__libc_writev): Likewise.
5382         * misc/readv.c (__libc_readv): Rename to __readv.
5383         (__readv): Do not define as alias.
5384         (readv): Define as alias of __readv.
5385         * misc/writev.c (__libc_writev): Rename to __writev.
5386         (__writev): Do not define as alias.
5387         (writev): Define as alias of __writev.
5388         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5389         (__readv): Do not define as alias.
5390         (readv): Define unconditionally as alias of __readv.
5391         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5392         (__writev): Do not define as alias.
5393         (writev): Define unconditionally as alias of __writev.
5394         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5395         name.
5396         (writev): Do not define __libc_writev name.
5398 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5400         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5401         (convert_charseq): New function, broken out of ...
5402         (use_from_charmap): ... here.  Call it.
5403         (use_to_charmap): Use convert_charseq and free instead of duplicating
5404         its code with a variable-length stack struct.
5406 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5408         * include/fcntl.h (__libc_creat): Remove declaration.
5409         * io/creat.c (__libc_creat): Rename to creat.
5410         (creat): Do not define as alias.
5411         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5412         of creat instead of __libc_creat.
5413         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5414         to creat.
5415         (creat): Do not define as alias.
5416         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5417         __libc_creat.
5418         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5419         __libc_creat name.
5420         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5421         Likewise.
5423 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5425         * manual/llio.texi: Add comments discussing why write() may be
5426         considered MT-unsafe on Linux.
5428 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5430         * dl-load.c (local_strdup): Remove.
5431         (expand_dynamic_string_token): Use __strdup.
5432         (decompose_rpath): Likewise.
5433         (_dl_map_object): Likewise.
5435 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5437         [BZ #14132]
5438         * sysdeps/generic/unwind-dw2-fde.c
5439         (__register_frame_info_bases_internal): Do not declare.
5440         (__register_frame_info_table_bases_internal): Likewise.
5441         (__deregister_frame_info_bases_internal): Likewise.
5442         (__register_frame_info_bases): Declare and use hidden_proto before
5443         definition.  Use hidden_def instead of INTDEF.
5444         (__register_frame_info_table_bases): Likewise.
5445         (__deregister_frame_info_bases): Likewise.
5446         (__register_frame_info): Do not use INTUSE.
5447         (__register_frame): Likewise.
5448         (__register_frame_info_table): Likewise.
5449         (__register_frame_table): Likewise.
5450         (__deregister_frame_info): Likewise.
5451         (__deregister_frame): Likewise.
5453 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5455         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5456         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5457         not undefine.
5458         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5459         Likewise.
5460         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5461         Likewise.
5463 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5465         [BZ #14138]
5466         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5467         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5468         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5469         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5470         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5471         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5472         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5473         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5474         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5475         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5476         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5477         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5478         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5479         syscall.
5480         (setfsuid): Likewise.
5481         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5482         (setfsuid): Likewise.
5483         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5484         (setfsuid): Likewise.
5485         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5486         Likewise.
5487         (setfsuid): Likewise.
5488         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5489         (setfsuid): Likewise.
5490         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5491         Likewise.
5492         (setfsuid): Likewise.
5494 2014-10-27  Andreas Schwab  <schwab@suse.de>
5496         [BZ #17501]
5497         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5498         check for Slow_SSE4_2 feature bit.
5499         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5500         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5501         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5502         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5504 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5506         * configure.ac: Validate compiler version with a empirical test of
5507         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5508         $CC -v output.
5509         * configure: Regenerated.
5511         * inet/htons.c (htons): Prototypify.
5512         * inet/htonl.c (htonl): Likewise.
5514 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5516         * string/strncat.c (strncat): Improve performance by using strlen.
5518 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5520         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5522 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5524         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5525         Call libc_fetestexcept_aarch64.
5527 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5529         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5530         Call libc_feholdexcept_aarch64.
5532 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5534         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5535         Call get_rounding_mode.
5537 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5539         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5540         Simplify logic.
5542 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5544         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5545         Simplify logic.
5547 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5549         [BZ #14138]
5550         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5551         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5552         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5553         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5554         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5555         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5556         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5557         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5558         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5559         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5560         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5561         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5562         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5563         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5564         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5565         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5566         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5567         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5568         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5569         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5570         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5571         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5572         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5573         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5574         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5575         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5576         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5577         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5578         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5579         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5580         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5581         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5582         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5583         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5584         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5585         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5586         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5587         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5588         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5589         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5590         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5591         syscall.
5592         (geteuid): Likewise.
5593         (getgid): Likewise.
5594         (getuid): Likewise.
5595         (getresgid): Likewise.
5596         (getresuid): Likewise.
5597         (getgroups): Likewise.
5598         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5599         (geteuid): Likewise.
5600         (getgid): Likewise.
5601         (getuid): Likewise.
5602         (getresgid): Likewise.
5603         (getresuid): Likewise.
5604         (getgroups): Likewise.
5605         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5606         (geteuid): Likewise.
5607         (getgid): Likewise.
5608         (getuid): Likewise.
5609         (getresgid): Likewise.
5610         (getresuid): Likewise.
5611         (getgroups): Likewise.
5612         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5613         Likewise.
5614         (geteuid): Likewise.
5615         (getgid): Likewise.
5616         (getuid): Likewise.
5617         (getresgid): Likewise.
5618         (getresuid): Likewise.
5619         (getgroups): Likewise.
5620         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5621         (geteuid): Likewise.
5622         (getgid): Likewise.
5623         (getuid): Likewise.
5624         (getresgid): Likewise.
5625         (getresuid): Likewise.
5626         (getgroups): Likewise.
5627         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5628         Likewise.
5629         (geteuid): Likewise.
5630         (getgid): Likewise.
5631         (getuid): Likewise.
5632         (getgroups): Likewise.
5634         [BZ #14138]
5635         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5636         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5637         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5638         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5639         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5640         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5641         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5642         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5643         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5644         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5645         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5646         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5647         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5648         __chown.
5649         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5650         (lchown): Likewise.
5651         (fchown): Likewise.
5652         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5653         Likewise.
5654         (lchown): Likewise.
5655         (fchown): Likewise.
5656         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5657         (lchown): Likewise.
5658         (fchown): Likewise.
5659         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5660         Likewise.
5661         (lchown): Likewise.
5662         (fchown): Likewise.
5664 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5666         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5667         Simplify logic.
5669 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5671         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5672         Cleanup logic.
5674 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5676         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5677         Remove unused include.
5679 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5681         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5682         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5683         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5684         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5686 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5687             Helge Deller <deller@gmx.de>
5689         [BZ #17508]
5690         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5691         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5692         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5694 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5696         [BZ #14132]
5697         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5698         Remove macro definition.
5699         (__ashrdi3_v_glibc20): Likewise.
5700         (__lshrdi3_v_glibc20): Likewise.
5701         (__cmpdi2_v_glibc20): Likewise.
5702         (__ucmpdi2_v_glibc20): Likewise.
5703         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5704         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5705         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5706         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5707         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5708         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5710 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5712         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5713         old GNU extension [0] syntax.
5714         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5715         alloca rather than an array member with variable length.
5716         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5717         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5718         (parse_opt): ... here.  Likewise use alloca there.
5719         Validate the -i argument before checking for rootness.
5720         (send_shutdown): New function, broken out of ...
5721         (parse_opt): ... here.
5723 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5725         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5726         macro to get at the _rt_local_ro field.
5727         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5728         ([PIC] case) or _dl_hwcap ([!PIC] case).
5729         * sysdeps/arm/setjmp.S: Likewise.
5731         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5732         * sysdeps/arm/configure.ac: New check to define it.
5733         * sysdeps/arm/configure: Regenerated.
5734         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5735         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5736         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5737         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5738         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5739         Use move/movt pair instead of a load.
5740         (LDST_GLOBAL): Macro removed.
5741         (LDR_GLOBAL): New macro replaces it.
5742         (LDR_HIDDEN): New macro.
5743         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5744         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5746         * setjmp/tst-setjmp-static.c: New file.
5747         * setjmp/Makefile (tests): Add it.
5748         (tests-static): New variable.
5750 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5752         [BZ #17485]
5753         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5755 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5757         [BZ #14132]
5758         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5760 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5762         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5764 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5766         * io/fts.c (dirent_not_directory): New function.
5767         (fts_build): Call it.
5769 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5771         * nptl/version.c (__nptl_main): Use normal __write rather than
5772         INTERNAL_SYSCALL.
5773         (banner): Update copyright years.
5775         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5776         gettimeofday.
5777         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5778         * nptl/pthread_cond_timedwait.c: Likewise.
5779         * nptl/pthread_mutex_timedlock.c: Likewise.
5780         * nptl/sem_timedwait.c: Likewise.
5782         * sysdeps/nptl/bits/libc-lock.h
5783         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5784         (__libc_lock_init_recursive): Return void, not 0.
5785         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5786         (__libc_rwlock_init): Likewise.
5787         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5789 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5791         [BZ #15215]
5792         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5793         (__pthread_once_slow): ... here.
5794         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5795         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5797 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5799         [BZ #15215]
5800         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5801         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5802         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5803         * nptl/pthread_once.c (__pthread_once): Likewise.
5804         Update comments.
5806 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5808         [BZ #14138]
5809         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5810         name.
5811         (writev): Use __libc_writev as strong name.
5812         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5813         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5815 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5817         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5819         * sysdeps/i386/nptl/tls.h
5820         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5821         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5822         New macros.
5823         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5824         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5825         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5826         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5827         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5828         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5830         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5831         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5832         on [__NR_futex].
5833         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5834         broken out of ...
5835         (__pthread_mutex_init): ... here.  Call it.
5836         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5837         Conditionalize PI cases on [__NR_futex].
5838         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5839         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5840         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5842         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5843         conditional on [SIGSETXID].
5844         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5845         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5846         is defined.  Likewise for SIGSETXID.
5847         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5848         Conditionalize definitions on [SIGSETXID].
5849         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5850         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5851         unblocking on [SIGCANCEL].
5853         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5854         [__NR_set_robust_list].
5856 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5858         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5859         (do_compare): Likewise.
5861 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5863         [BZ #15884]
5864         * string/strcoll_l.c: Don't include stdio.h.
5865         (coll_seq): Remove members idxarr and rulearr.
5866         (get_next_seq_cached): Remove function.
5867         (get_next_seq): Likewise.
5868         (get_next_seq_nocache): Rename to get_next_seq.
5869         (do_compare): Remove function.
5870         (do_compare_nocache): Rename to do_compare.
5871         (STRCOLL): Remove weight and rules cache.
5873 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5875         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5876         * sysdeps/arm/sfp-machine.h: ... to here.
5877         * sysdeps/arm/Implies: Remove arm/soft-fp.
5879 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5881         * conform/data/sys/utsname.h-data (*_t): Allow.
5882         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5883         [POSIX] (WEXITED): Do not expect constant.
5884         [POSIX] (WSTOPPED): Likewise.
5885         [POSIX] (WNOHANG): Likewise.
5886         [POSIX] (WNOWAIT): Likewise.
5887         [POSIX] (siginfo_t): Do not expect type or elements.
5888         [POSIX] (pid_t): Do not expect type.
5889         [POSIX] (signal.h): Do not allow header.
5890         [POSIX] (sys/resource.h): Likewise.
5891         [POSIX] (si_*): Do not allow pattern.
5892         [POSIX] (W*): Likewise.
5893         [POSIX] (P_*): Likewise.
5894         [POSIX] (BUS_*): Likewise.
5895         [POSIX] (CLD_*): Likewise.
5896         [POSIX] (FPE_*): Likewise.
5897         [POSIX] (ILL_*): Likewise.
5898         [POSIX] (POLL_*): Likewise.
5899         [POSIX] (SEGV_*): Likewise.
5900         [POSIX] (SI_*): Likewise.
5901         [POSIX] (TRAP_*): Likewise.
5902         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5903         variable.
5905 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5907         [BZ #12926]
5908         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5909         infinite loop when __recvmsg returns 0.
5911 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5913         * CANCEL-FCT-WAIVE: Remove file.
5914         * CANCEL-FILE-WAIVE: Likewise.
5916         [BZ #14132]
5917         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5918         instead of INTVARDEF.
5919         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5920         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5921         rtld_hidden_data_def instead of INTVARDEF.
5922         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5923         * elf/dl-deps.c (expand_dst): Likewise.
5924         * elf/dl-load.c (_dl_dst_count): Likewise.
5925         (_dl_dst_substitute): Likewise.
5926         (decompose_rpath): Likewise.
5927         (_dl_init_paths): Likewise.
5928         (open_path): Likewise.
5929         (_dl_map_object): Likewise.
5930         * elf/rtld.c (dl_main): Likewise.
5931         (process_dl_audit): Likewise.
5932         (process_envvars): Likewise.
5933         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5934         Remove declaration.
5935         (__libc_enable_secure): Use rtld_hidden_proto.
5937 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5939         * elf/dl-load.c
5940         (add_path): New function broken out of _dl_rtld_di_serinfo.
5941         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5943 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5945         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5946         parentheses around macro arguments.
5947         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5948         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5949         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5950         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5951         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5952         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5953         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5954         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5955         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5956         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5957         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5958         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5959         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5960         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5961         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5962         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5963         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5964         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5965         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5966         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5967         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5968         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5969         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5970         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5971         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5972         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5973         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5974         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5975         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5976         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5977         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5978         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5979         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5980         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5981         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5982         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5983         Likewise.
5984         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5985         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5986         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5987         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5988         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5989         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5990         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5991         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5992         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5993         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5994         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5995         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5996         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5997         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5998         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5999         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6000         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6001         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6002         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6003         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6004         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6005         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6006         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6007         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6008         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6009         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6010         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6011         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6012         (_FP_FRAC_SRS_1): Likewise.
6013         (_FP_FRAC_CLZ_1): Likewise.
6014         (_FP_MUL_MEAT_1_imm): Likewise.
6015         (_FP_MUL_MEAT_1_wide): Likewise.
6016         (_FP_MUL_MEAT_1_hard): Likewise.
6017         (_FP_SQRT_MEAT_1): Likewise.
6018         (_FP_FRAC_ASSEMBLE_1): Likewise.
6019         (_FP_FRAC_DISASSEMBLE_1): Likewise.
6020         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6021         (__FP_CLZ_2): Likewise.
6022         (_FP_MUL_MEAT_2_wide): Likewise.
6023         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6024         (_FP_MUL_MEAT_2_gmp): Likewise.
6025         (_FP_MUL_MEAT_2_120_240_double): Likewise.
6026         (_FP_SQRT_MEAT_2): Likewise.
6027         (_FP_FRAC_ASSEMBLE_2): Likewise.
6028         (_FP_FRAC_DISASSEMBLE_2): Likewise.
6029         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6030         (_FP_FRAC_CLZ_4): Likewise.
6031         (_FP_MUL_MEAT_4_wide): Likewise.
6032         (_FP_MUL_MEAT_4_gmp): Likewise.
6033         (_FP_SQRT_MEAT_4): Likewise.
6034         (_FP_FRAC_ASSEMBLE_4): Likewise.
6035         (_FP_FRAC_DISASSEMBLE_4): Likewise.
6036         * soft-fp/op-common.h (_FP_CMP): Likewise.
6037         (_FP_CMP_EQ): Likewise.
6038         (_FP_CMP_UNORD): Likewise.
6039         (_FP_TO_INT): Likewise.
6040         (_FP_FROM_INT): Likewise.
6041         [!__FP_CLZ] (__FP_CLZ): Likewise.
6042         (_FP_DIV_HELP_imm): Likewise.
6043         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6044         Likewise.
6045         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6046         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6047         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6048         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6049         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6050         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6051         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6052         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6053         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6054         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6055         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6056         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6057         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6058         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6059         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6060         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6061         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6062         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6063         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6064         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6065         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6066         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6067         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6068         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6069         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6070         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6071         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6072         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6073         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6074         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6075         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6076         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6077         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6078         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6079         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6080         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6081         (FP_UNPACK_RAW_SP): Likewise.
6082         (FP_PACK_RAW_S): Likewise.
6083         (FP_PACK_RAW_SP): Likewise.
6084         (FP_UNPACK_S): Likewise.
6085         (FP_UNPACK_SP): Likewise.
6086         (FP_UNPACK_SEMIRAW_S): Likewise.
6087         (FP_UNPACK_SEMIRAW_SP): Likewise.
6088         (FP_PACK_S): Likewise.
6089         (FP_PACK_SP): Likewise.
6090         (FP_PACK_SEMIRAW_S): Likewise.
6091         (FP_PACK_SEMIRAW_SP): Likewise.
6092         (_FP_SQRT_MEAT_S): Likewise.
6093         (FP_CMP_S): Likewise.
6094         (FP_CMP_EQ_S): Likewise.
6095         (FP_CMP_UNORD_S): Likewise.
6096         (FP_TO_INT_S): Likewise.
6097         (FP_FROM_INT_S): Likewise.
6099         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6101         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6102         (FP_EX_INVALID_IMZ): Likewise.
6103         (FP_EX_INVALID_IMZ_FMA): Likewise.
6104         (FP_EX_INVALID_ISI): Likewise.
6105         (FP_EX_INVALID_ZDZ): Likewise.
6106         (FP_EX_INVALID_IDI): Likewise.
6107         (FP_EX_INVALID_SQRT): Likewise.
6108         (FP_EX_INVALID_CVI): Likewise.
6109         (FP_EX_INVALID_VC): Likewise.
6110         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6111         "invalid" exceptions.
6112         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6113         (_FP_ADD_INTERNAL): Likewise.
6114         (_FP_MUL): Likewise.
6115         (_FP_FMA): Likewise.
6116         (_FP_DIV): Likewise.
6117         (_FP_CMP_CHECK_NAN): Likewise.
6118         (_FP_SQRT): Likewise.
6119         (_FP_TO_INT): Likewise.
6120         (FP_EXTEND): Likewise.
6122 2014-10-09  Allan McRae  <allan@archlinux.org>
6124         * po/fr.po: Update French translation from translation project.
6126 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6128         [BZ #14132]
6129         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6130         of INTDEF.
6131         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6132         (__cxa_atexit): Use libc_hidden_proto.
6133         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6135         [BZ #14132]
6136         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6137         declaration.
6138         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6139         [!_ISOMAC] (__iswspace_l_internal): Likewise.
6140         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6141         [!_ISOMAC] (__iswctype_internal): Likewise.
6142         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6143         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6144         alias.
6145         (fcntl): Remove __fcntl_internal alias.
6146         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6147         __connect_internal alias.
6148         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6149         Likewise.
6151         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6152         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6153         FP_DENORM_ZERO.
6154         (_FP_CHECK_FLUSH_ZERO): New macro.
6155         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6156         (_FP_CMP): Likewise.
6157         (_FP_CMP_EQ): Likewise.
6158         (_FP_TO_INT): Do not set inexact for subnormal arguments if
6159         FP_DENORM_ZERO.
6160         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6161         (FP_TRUNC): Likewise.
6163         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6164         treated as invalid conversion, not as normal exponent.
6166         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6167         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
6168         (_FP_CMP_EQ): Likewise.
6169         (_FP_CMP_UNORD): Likewise.
6170         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6171         (FP_CMP_EQ_D): Likewise.
6172         (FP_CMP_UNORD_D): Likewise.
6173         * soft-fp/extended.h (FP_CMP_E): Likewise.
6174         (FP_CMP_EQ_E): Likewise.
6175         (FP_CMP_UNORD_E): Likewise.
6176         * soft-fp/quad.h (FP_CMP_Q): Likewise.
6177         (FP_CMP_EQ_Q): Likewise.
6178         (FP_CMP_UNORD_Q): Likewise.
6179         * soft-fp/single.h (FP_CMP_S): Likewise.
6180         (FP_CMP_EQ_S): Likewise.
6181         (FP_CMP_UNORD_S): Likewise.
6182         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6183         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6184         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6185         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6186         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6187         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6188         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6189         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6190         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6191         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6192         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6193         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6194         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6195         to FP_CMP_Q.
6196         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6197         FP_CMP_Q.
6198         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6199         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6200         FP_CMP_EQ_Q.
6201         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6202         FP_CMP_Q.
6203         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6204         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6205         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6206         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6207         FP_CMP_EQ_Q.
6208         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6209         FP_CMP_Q.
6210         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6211         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6212         FP_CMP_EQ_Q.
6213         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6214         FP_CMP_Q.
6215         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6216         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6217         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6218         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6219         FP_CMP_EQ_Q.
6221         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6222         a subnormal result, set the underflow exception if trapping on
6223         underflow is enabled.
6224         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6225         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6226         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6227         redefine to 0.
6228         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6229         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6230         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6231         * soft-fp/extendxftf2.c (__extendxftf2): Use
6232         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6234         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6235         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6236         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6237         FP_HANDLE_EXCEPTIONS.
6238         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6239         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6240         FP_HANDLE_EXCEPTIONS.
6241         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6242         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6243         FP_HANDLE_EXCEPTIONS.
6244         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6245         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6246         FP_HANDLE_EXCEPTIONS.
6248 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
6250         [BZ #14132]
6251         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6252         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6253         use INTUSE.
6254         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6255         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6256         Remove alias.
6257         (__adjtimex): Define using libc_hidden_ver.
6258         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6259         Remove declaration.
6260         (ntp_gettime): Call __adjtimex directly.
6261         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6262         Remove declaration.
6263         (ntp_gettimex): Call __adjtimex directly.
6264         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6265         __adjtimex_internal alias.
6267 2014-10-08  Roland McGrath  <roland@hack.frob.com>
6269         [BZ #17460]
6270         * nscd/nscd.c (more_help): Rewrite list of tables collection
6271         using xstrdup and asprintf.
6273         * nscd/nscd_conf.c: Remove local xstrdup declaration.
6275 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6276             Roland McGrath  <roland@hack.frob.com>
6278         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6279         (do_lookup_unique): ... local function 'enter' here; update callers.
6281 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
6283         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6284         compat_symbol calls on [SHARED].
6285         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6286         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6287         Remove.
6288         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6289         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6290         (oldsetrlimit): Remove.
6291         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6293         (lchown): New syscall entry.
6294         (oldsetrlimit): Remove.
6295         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6296         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6297         (oldsetrlimit): Remove.
6298         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6300         [BZ #14138]
6301         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6302         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6303         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6304         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6305         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6306         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6307         (fchown): Likewise.
6308         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6309         (fchown): Likewise.
6310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6311         Likewise.
6313 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6315         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6316         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6317         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6318         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6319         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6320         Likewise.
6321         (__old_sem_post): Likewise.
6323 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
6325         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6326         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6327         HAVE_CLOCK_GETTIME_VSYSCALL macros.
6328         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6329         Use INLINE_VSYSCALL macro.
6330         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6331         __vdso_clock_gettime.
6332         * sysdeps/unix/sysv/linux/tile/init-first.c
6333         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6334         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6335         __vdso_clock_gettime.
6337         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6338         to set up frame more cleanly.
6340         * sysdeps/tile/memcmp.c: New file.
6342         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6344         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6345         * sysdeps/tile/tilegx/strcasestr.c: New file.
6346         * sysdeps/tile/tilegx/strnlen.c: New file.
6347         * sysdeps/tile/tilegx/strstr.c: New file.
6349         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6351 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
6353         * nptl/tst-setuid3.c: Write errors to stdout.
6355 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6357         * elf/dl-deps.c
6358         (preload): New functions broken out of _dl_map_object_deps.
6359         (_dl_map_object_deps):  Remove a nested function. Update call sites.
6361 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
6363         [BZ #14138]
6364         * sysdeps/unix/sysv/linux/execve.c: Remove file.
6365         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6367 2014-10-01  Steve Ellcey  <sellcey@mips.com>
6369         * sysdeps/mips/strcmp.S: New.
6371 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
6373         [BZ #14138]
6374         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6375         (linkat): Likewise.
6376         (mkdirat): Likewise.
6377         (readlinkat): Likewise.
6378         (renameat): Likewise.
6379         (symlinkat): Likewise.
6380         (unlinkat): Likewise.
6381         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6382         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6383         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6384         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6385         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6386         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6387         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6389 2014-09-30  Will Newton  <will.newton@linaro.org>
6391         * math/math.h: Define long double math functions if
6392         _LIBC_TEST is defined.
6393         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6395         * localedata/Makefile: Move assignment to tests-special
6396         into an ifdef testing run-built-tests.
6397         * timezone/Makefile: Likewise.
6399 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
6401         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6402         with $(BASH) not $(SHELL).
6404 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
6405             Matthew LeGendre  <legendre1@llnl.gov>
6407         [BZ #17411]
6408         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6409         l_reloc_result.
6411 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6413         * stdio-common/printf_fp.c
6414         (hack_digit): New function, broken out of ...
6415         (__printf_fp): ... local function here.  Update call sites.
6416         hack_digit now takes an additional parameter that is a pointer
6417         to a struct of the referenced locals.  Those locals moved inside
6418         the struct and references updated.
6420 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6422         * aclocal.m4: Require autoconf 2.69.
6423         * configure: Regenerated.
6424         * sysdeps/aarch64/configure: Likewise.
6425         * sysdeps/alpha/configure: Likewise.
6426         * sysdeps/arm/armv7/configure: Likewise.
6427         * sysdeps/arm/configure: Likewise.
6428         * sysdeps/ia64/configure: Likewise.
6429         * sysdeps/mach/configure: Likewise.
6430         * sysdeps/mips/configure: Likewise.
6431         * sysdeps/s390/configure: Likewise.
6432         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6435         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6436         file.
6437         * sysdeps/ia64/configure.ac: Likewise.
6439 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6442         specify symbol version for ld.so.  Do not include entry for
6443         libpthread.
6444         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6445         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6446         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6448         [BZ #14171]
6449         * Makeconfig [$(build-shared) = yes]
6450         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6451         makefiles.
6452         [$(build-shared) = yes && $(soversions.mk-done) = t]
6453         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6454         [$(build-shared) = yes && $(soversions.mk-done) = t]
6455         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6456         to Makerules.
6457         [$(build-shared) = yes && $(soversions.mk-done) = t]
6458         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6459         here.
6460         [$(build-shared) = yes && $(soversions.mk-done) = t]
6461         (common-generated): Don't append gnu/lib-names.h and
6462         gnu/lib-names.stmp here.
6463         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6464         (lib-names-h-abi): New variable.
6465         [$(build-shared) = yes && $(soversions.mk-done) = t]
6466         (lib-names-stmp-abi): Likewise.
6467         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6468         abi-variants] (before-compile): Append
6469         $(common-objpfx)$(lib-names-h-abi).
6470         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6471         abi-variants] (common-generated): Append gnu/lib-names.h.
6472         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6473         abi-variants] (install-others-nosubdir): Depend on
6474         $(inst_includedir)/$(lib-names-h-abi).
6475         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6476         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6477         [$(build-shared) = yes && $(soversions.mk-done) = t]
6478         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6479         [$(build-shared) = yes && $(soversions.mk-done) = t]
6480         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6481         [$(build-shared) = yes && $(soversions.mk-done) = t]
6482         (common-generated): Append $(lib-names-h-abi) and
6483         $(lib-names-stmp-abi).
6484         * scripts/lib-names.awk: Do not handle multi being set.
6485         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6486         Remove variable.
6487         (abi-lp64_be-ld-soname): Likewise.
6488         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6489         Likewise.
6490         (abi-hard-ld-soname): Likewise.
6491         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6492         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6493         Remove variable.
6494         (abi-o32_hard-ld-soname): Likewise.
6495         (abi-o32_soft_2008-ld-soname): Likewise.
6496         (abi-o32_hard_2008-ld-soname): Likewise.
6497         (abi-n32_soft-ld-soname): Likewise.
6498         (abi-n32_hard-ld-soname): Likewise.
6499         (abi-n32_soft_2008-ld-soname): Likewise.
6500         (abi-n32_hard_2008-ld-soname): Likewise.
6501         (abi-n64_soft-ld-soname): Likewise.
6502         (abi-n64_hard-ld-soname): Likewise.
6503         (abi-n64_soft_2008-ld-soname): Likewise.
6504         (abi-n64_hard_2008-ld-soname): Likewise.
6505         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6506         Likewise.
6507         (abi-64-v2-ld-soname): Likewise.
6508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6509         ld.so entries.
6510         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6511         variable.
6512         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6513         entry.
6514         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6515         variable.
6516         (abi-64-ld-soname): Likewise.
6517         (abi-x32-ld-soname): Likewise.
6518         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6519         entry.
6520         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6522 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6524         [BZ #14138]
6525         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6526         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6527         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6528         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6529         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6530         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6531         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6532         syscall entry for GLIBC_2.2 symbol version.
6533         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6534         Likewise.
6535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6536         (setrlimit): Likewise.
6537         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6538         Likewise.
6540 2014-09-23  Will Newton  <will.newton@linaro.org>
6542         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6543         _LINUX_ARM_SYSDEP_H include guard too.
6544         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6545         define.
6547 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6549         * sysdeps/unix/sysv/linux/eventfd.c:
6550         Make first argument unsigned.
6551         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6552         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6554 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6556         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6557         * socket/sys/socket.h: Likewise
6558         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6560 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6562         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6564 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6566         * time/tst-ftime.c: New test.
6567         * time/Makefile (tests): Add tst-ftime.
6569 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6571         * soft-fp/extended.h: Fix comment formatting.
6572         * soft-fp/op-1.h: Likewise.
6573         * soft-fp/op-2.h: Likewise.
6574         * soft-fp/op-4.h: Likewise.
6575         * soft-fp/op-8.h: Likewise.
6576         * soft-fp/op-common.h: Likewise.
6577         * soft-fp/soft-fp.h: Likewise.
6579         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6581 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6583         [BZ #6652]
6584         * Makeconfig (soversions-default-setname): Remove variable.
6585         ($(common-objpfx)soversions.i): Don't pass default_setname to
6586         soversions.awk.
6587         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6588         oldest_abi to abi-versions.awk.
6589         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6590         * config.make.in (oldest-abi): Remove variable.
6591         * configure.ac (--enable-oldest-abi): Remove configure option.
6592         * configure: Regenerated.
6593         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6594         text.
6595         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6596         * scripts/soversions.awk: Do not handle default_setname variable.
6597         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6598         variable.
6599         * sysdeps/mach/hurd/configure: Regenerated.
6600         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6601         variable.
6602         * sysdeps/unix/sysv/linux/configure: Regenerated.
6604 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6606         * elf/Makefile (CFLAGS-interp.c): Remove.
6607         ($(elf-objpfx)runtime-linker.h): Generate header with linker
6608         path string.
6609         * elf/interp.c: Include generated runtime-linker.h
6611         * Makerules (lib%.so): Don't include $(+interp) in
6612         prerequisites.
6613         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6614         * dlfcn/eval.c: Remove file.
6616         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6617         macros.
6619         [BZ #17266]
6620         * misc/sys/cdefs.h: Define __extern_always_inline for clang
6621         4.2 and newer.
6623         [BZ #17370]
6624         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6626 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6627             Jakub Jelinek  <jakub@redhat.com>
6629         [BZ #17266]
6630         * libio/stdio.h: Check definition of __fortify_function
6631         instead of __extern_always_inline to include bits/stdio2.h.
6632         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6633         check if __extern_always_inline is defined.
6634         [__USE_MISC || __USE_XOPEN]: Likewise.
6635         [__USE_ISOC99] Likewise.
6636         * misc/sys/cdefs.h (__fortify_function): Define only if
6637         __extern_always_inline is defined.
6638         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6639         __extern_always_inline and __extern_inline only for g++-4.3
6640         and newer or a compatible gcc.
6642 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
6644         [BZ #17371]
6645         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6646         last change to handle zero prefix length.
6648 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6650         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6651         _SC_REGEX_VERSION.
6653         * posix/getconf.c (vars): Add _POSIX_IPV6 and
6654         _POSIX_RAW_SOCKETS.
6656 2014-09-13  Allan McRae  <allan@archlinux.org>
6658         * po/ru.po: Update Russian translation from translation project.
6660 2014-09-12  Roland McGrath  <roland@hack.frob.com>
6662         * locale/programs/locale.c (show_locale_vars): Inline local function
6663         into its sole call site.  Clean up some style nits.
6664         (print_item): New function, broken out of ...
6665         (show_info): ... local function here.  Clean up style nits.
6667         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6668         out of ...
6669         (set_class_defaults): ... local function set_default here.
6670         Define set_default as a macro locally to pass constant parameters.
6671         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6672         rather than a shared local.
6674         * stdlib/rpmatch.c (try): New function, broken out of ...
6675         (rpmatch): ... local function here.  Also, prototypify definition.
6677 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6679         * scripts/soversions.awk: Do not handle configuration names.
6680         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6681         vendor and os variables to soversions.awk.
6682         * configure.ac: Do not modify gnu-* host_os.
6683         * configure: Regenerated
6684         * shlib-versions: Remove first column with configuration names.
6685         * nptl/shlib-versions: Likewise.
6686         * nptl_db/shlib-versions: Likewise.
6687         * sysdeps/hppa/shlib-versions: Likewise.
6688         * sysdeps/m68k/shlib-versions: Likewise.
6689         * sysdeps/mach/hurd/shlib-versions: Likewise.
6690         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6691         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6692         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6693         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6694         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6695         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6696         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6697         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6699         Likewise.
6700         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6701         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6702         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6703         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6704         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6705         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6706         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6707         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6710         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6712         Regenerated.
6713         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6715         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6717         * shlib-versions: Remove OS-specific entries.  Moved to files in
6718         sysdeps.
6719         * sysdeps/mach/hurd/shlib-versions: New file.
6720         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6722         * nptl/shlib-versions: Remove architecture-specific entries.
6723         Moved to files in sysdeps.
6724         * shlib-versions: Likewise.
6725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6726         file.
6727         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6728         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6729         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6730         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6732         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6733         (UDP_NO_CHECK6_RX): Likewise.
6735 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6737         * sysdeps/posix/sysconf.c (__sysconf): Spell
6738         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6740 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6742         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6743         loading.
6744         * iconv/Versions (__gconv_transliterate): Export for use from
6745         gconv modules.
6746         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6747         (struct __gconv_trans_data, __gconv_trans_fct,
6748         __gconv_trans_context_fct, __gconv_trans_query_fct,
6749         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6750         definitions.
6751         (struct __gconv_step_data): Remove __trans member.
6752         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6753         longer hidden.  Remove unused trans_data argument.
6754         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6755         (__gconv_translit_find): Remove declaration.
6756         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6757         prototype.
6758         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6759         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6760         trans_data argument.  Add hidden definition.
6761         (__gconv_translit_find): Remove.
6762         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6763         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6764         * iconv/skeleton.c: Remove transliteration initialization.
6765         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6766         __gconv_step_data initialization.
6767         * libio/iofwide.c (__libio_translit_): Remove.
6768         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6769         * wcsmbs/btowc.c (__btowc): Likewise.
6770         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6771         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6772         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6773         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6774         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6775         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6776         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6777         * wcsmbs/wctob.c (wctob): Likewise.
6779 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6781         [BZ #16194]
6782         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6783         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6784         register usage.
6785         * sysdeps/x86/Makefile: Adjust.
6787 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6788             Roland McGrath  <roland@hack.frob.com>
6790         * locale/weight.h: Add include guard.
6791         (findidx): Make static rather than auto; take new parameters
6792         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6793         * locale/weightwc.h: Likewise.
6794         * posix/fnmatch_loop.c
6795         (FCT): Change type of EXTRA from int32_t to wint_t.
6796         Don't include either header inside the function.
6797         Call FINDIDX rather than findidx, and pass new arguments.
6798         #undef FINDIDX at the end of the file.
6799         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6800         FINDIDX before including fnmatch_loop.c for the non-wide version.
6801         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6802         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6803         for the wide version.
6804         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6805         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6806         Pass new arguments to findidx.
6807         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6808         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6809         Don't #include it inside the function.  Pass new arguments to findidx.
6810         * posix/regex_internal.h
6811         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6812         (re_string_elem_size_at): Don't #include it inside the function.
6813         Pass new arguments to findidx.
6814         * string/strcoll_l.c: #include WEIGHT_H at top level.
6815         (get_next_seq): Don't #include it inside the function.
6816         Pass new arguments to findidx.
6817         (get_next_seq_nocache): Likewise.
6818         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6819         (STRXFRM): Don't #include it inside the function.
6820         Pass new arguments to findidx.
6822 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6824         [BZ #17344]
6825         * malloc/malloc.c (unlink): Turn asserts into a call to
6826         malloc_printerr.
6828 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6830         [BZ #17370]
6831         * libio/wfileops (do_ftell_wide): Free OUT.
6833 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6835         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6837 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6839         [BZ #17363]
6840         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6841         group if the current group is empty.
6843 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6845         * benchtests/bench-memset.c (test_main): Add more test from size
6846         from 32 to 512 bytes.
6847         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6848         Add POWER8 memset object.
6849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6850         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6851         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6852         implementation.
6853         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6854         Likewise.
6855         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6856         multiarch POWER8 memset optimization.
6857         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6858         POWER8 memset optimization.
6860         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6861         Remove bzero multiarch objects.
6862         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6863         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6864         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6865         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6866         Remove define.
6867         [__bzero]: Redefine to specific name.
6868         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6869         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6870         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6871         define.
6872         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6873         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6875 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6877         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6878         warnings into errors.
6880         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6881         __cxa_thread_atexit_impl prototype.
6883 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6885         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6886         Fix capitalization of error message.
6888 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6890         * sysdeps/mips/preconfigure: Modify ABI tests.
6892 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6894         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6896 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6897             Carlos O'Donell  <carlos@systemhalted.org>
6899         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6900         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6901         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6902         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6903         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6904         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6905         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6906         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6907         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6908         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6909         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6910         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6911         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6912         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6913         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6914         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6915         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6916         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6917         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6918         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6919         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6920         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6921         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6922         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6923         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6924         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6925         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6926         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6927         Deconditionalize the code that was previously under [RESET_PID].
6928         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6929         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6930         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6931         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6932         include sysdep.h.
6934 2014-09-08  Allan McRae  <allan@archlinux.org>
6936         * version.h (RELEASE): Set to "development".
6937         (VERSION): Set to "2.20.90"
6939 2014-09-07  Allan McRae  <allan@archlinux.org
6941         * version.h (RELEASE): Set to "stable".
6942         (VERSION): Set to "2.20"
6943         * include/features.h (__GLIBC_MINOR__): Set to 20.
6945         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6946         Liebler.
6948         * po/ko.po: Update Korean translation from translation project.
6950 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6952         [BZ #17354]
6953         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6954         macro for handling signed relocations.
6956 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6958         [BZ #17325]
6959         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6960         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6961         assert.
6962         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6963         * iconvdata/ibm935.c (BODY): Likewise.
6964         * iconvdata/ibm937.c (BODY): Likewise.
6965         * iconvdata/ibm939.c (BODY): Likewise.
6966         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6967         assert.
6968         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6969         script.
6970         * iconvdata/run-iconv-test.sh: New test loop for checking for
6971         decoder crashers.
6973 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6975         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6976         libm_hidden_ver.
6978 2014-09-01  Allan McRae  <allan@archlinux.org>
6980         * po/eo.po: Update Esperanto translation from translation project.
6982         * po/ca.po: Update Catalan translation from translation project.
6984 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6986         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6987         __proc_dostop call.
6989 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6991         [BZ #17319]
6992         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6993         to call set_thread_area instead of hand written asm.
6994         (__NR_set_thread_area): Removed define.
6995         (TLS_FLAG_WRITABLE): Likewise.
6996         (__ASSUME_SET_THREAD_AREA): Remove check.
6997         (TLS_EBX_ARG): Remove define.
6998         (TLS_LOAD_EBX): Likewise.
7000 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7002         Simplify atomicity of socket creation in bind.
7004         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7005         looking up the name after linking the file.
7007 2014-08-27  Allan McRae  <allan@archlinux.org>
7009         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7011 2014-08-26  Florian Weimer  <fweimer@redhat.com>
7013         [BZ #17187]
7014         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7015         trans_compare, open_translit, __gconv_translit_find):
7016         Remove module loading code.
7018 2014-08-26  Allan McRae  <allan@archlinux.org>
7020         * po/vi.po: Update Vietnamese translation from translation project.
7022         * po/uk.po: Update Ukrainian translation from translation project.
7024         * po/fr.po: Update French translation from translation project.
7026         * po/ru.po: Update Russian translation from translation project.
7028         * po/pl.po: Update Polish translation from translation project.
7030         * po/cs.po: Update Czech translation from translation project.
7032         * po/de.po: Update German translation from translation project.
7034         * po/bg.po: Update Bulgarian translation from translation project.
7036         * po/sv.po: Update Sweedish translation from translation project.
7038         * po/nl.po: Update Dutch translation from translation project.
7040         * po/es.po: Update Spanish translation from translation project.
7042 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7044         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7046         * catgets/Makefile (CPPFLAGS-gencat): Remove.
7047         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7048         (CPPFLAGS-iconvconfig): Likewise.
7049         * timezone/Makefile (CPPFLAGS-zic): Likewise.
7051         * include/libc-symbols.h: Remove unnecessary check for
7052         NOT_IN_libc.
7053         * nptl/pthreadP.h: Likewise.
7054         * sysdeps/aarch64/setjmp.S: Likewise.
7055         * sysdeps/alpha/setjmp.S: Likewise.
7056         * sysdeps/arm/sysdep.h: Likewise.
7057         * sysdeps/i386/setjmp.S: Likewise.
7058         * sysdeps/m68k/setjmp.c: Likewise.
7059         * sysdeps/posix/getcwd.c: Likewise.
7060         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7061         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7062         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7063         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7064         * sysdeps/sh/sh3/setjmp.S: Likewise.
7065         * sysdeps/sh/sh4/setjmp.S: Likewise.
7066         * sysdeps/unix/alpha/sysdep.h: Likewise.
7067         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7068         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7069         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7070         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7073         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7074         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7075         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7077         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7078         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7080         * sysdeps/x86_64/setjmp.S: Likewise.
7082 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
7084         [BZ #17263]
7085         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7086         <stdint.h>.
7087         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7088         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7090 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7092         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7094         [BZ #17262]
7095         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7096         and __x86_64__ when disabling x87 inline functions.
7098 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
7100         [BZ #17259]
7101         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7102         asm statement with __cpuid_count.
7104 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
7106         * configure.ac: Change __ehdr_start code to dereference the struct.
7107         Run readelf on the output to look for relocations.
7108         * configure: Regenerated.
7110 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
7112         [BZ #17261]
7113         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7114         value to 0.
7115         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7117 2014-08-12  Roland McGrath  <roland@hack.frob.com>
7119         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7121 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
7123         [BZ #16892]
7124         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7125         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7127 2014-08-12  Sean Anderson  <seanga2@gmail.com>
7129         * malloc/malloc.c: Fix typo in comment.
7131 2014-08-09  Allan McRae  <allan@archlinux.org>
7133         * Regenerate libc.po.
7135 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
7137         * intl/tst-gettext2.sh: Check every lang file for creation.
7139 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7141         * sysdeps/aarch64/fpu/math_private.h
7142         (libc_feholdsetround_noex_aarch64_ctx): New function.
7144 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7146         * sysdeps/arm/armv6/strcpy.S (strcpy):
7147         Fix performance issue in misaligned cases.
7149 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7151         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7152         Move definition from termios.h.
7153         (struct termio): Likewise.
7154         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7155         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7156         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7157         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7158         Likewise.
7159         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7160         Move definition to ioctl-types.h
7161         (struct termio): Likewise.
7162         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7163         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7164         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7165         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7166         Likewise.
7168 2014-08-05  Richard Henderson  <rth@redhat.com>
7170         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7171         exceptions.
7172         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7173         Add fraiseexcpt.
7174         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7175         Use __feraiseexcept.
7176         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7177         Protect libm symbols with IS_IN_libm.
7179         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7181 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
7183         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7185 2014-08-04  Will Newton  <will.newton@linaro.org>
7187         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7188         file.
7190 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
7192         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7193         variants for each function.
7195 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7197         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7198         appended ...
7199         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7200         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7201         appended ...
7202         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7203         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7204         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7205         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7206         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7207         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7208         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7209         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7210         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7211         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7212         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7213         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7214         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7215         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7216         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7217         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7218         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7219         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7220         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7221         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7222         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7223         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7224         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7225         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7226         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7227         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7228         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7229         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7230         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7231         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7232         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7233         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7234         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7235         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7236         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7237         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7238         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7239         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7240         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7241         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7242         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7243         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7244         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7245         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7246         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7247         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7248         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7249         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7250         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7251         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7252         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7253         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7254         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7255         Update #include.
7256         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7257         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7259 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7261         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7262         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7263         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7264         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7265         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7266         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7268 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7270         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7271         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7272         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7273         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7275 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7277         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7278         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7279         (__libc_vfork): Define function under this name.
7280         (__vfork): Define as an alias.
7281         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7282         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7284 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7286         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7287         that was previously under [RESET_PID].
7288         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7290 2014-08-04  Andreas Schwab  <schwab@suse.de>
7292         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7294 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
7296         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7297         (main): Likewise.
7299 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7301         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7303 2014-08-01  Richard Henderon  <rth@redhat.com>
7305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7306         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7307         typo in exact zero test.
7308         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7309         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7310         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7312 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7314         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7315         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7316         * sysdeps/arm/sysdep.h: ... here.
7317         [!__ASSEMBLER__]: Include <stdint.h>.
7319 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7321         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7322         (HAVE_WCTYPE_H): Likewise.
7323         (HAVE_ISWCTYPE): Likewise.
7324         (ENABLE_NLS): Likewise.
7325         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7326         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7328         * posix/regex_internal.c: Check if DEBUG is defined and is
7329         set.
7331         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7332         (HAVE_MBSRTOWCS): Likewise.
7333         * posix/fnmatch.c: Include string.h unconditionally.
7335 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7337         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7338         reversal.
7340 2014-07-31  Roland McGrath  <roland@hack.frob.com>
7342         * sysdeps/generic/safe-fatal.h: New file.
7343         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7344         * nptl/forward.c: Include it.
7345         (__pthread_unwind): Use __safe_fatal as default action, rather
7346         than a bogus use of INTERNAL_SYSCALL that could never work.
7348         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7349         * configure.ac (libc_cv_builtin_trap): New test.
7350         * configure: Regenerated.
7351         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7352         (ABORT_INSTRUCTION): Define using __builtin_trap.
7354         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7355         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7356         * sysdeps/nptl/nptl-signals.h: New file.
7357         * nptl/pthreadP.h: Include <nptl-signals.h>.
7359 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7361         * sysdeps/s390/s390-64/utf16-utf32-z9.c
7362         (ONE_DIRECTION): Define.
7363         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7364         (ONE_DIRECTION): Define.
7365         * sysdeps/s390/s390-64/utf8-utf32-z9.c
7366         (ONE_DIRECTION): Define.
7368 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7370         * sysdeps/s390/Makefile: Delete file.
7371         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7372         * sysdeps/s390/__longjmp.c: Delete file.
7373         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7374         Remove fields __flags and __reserved.
7375         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7376         and add versioning.
7377         * sysdeps/s390/rtld-__longjmp.c: Delete file.
7378         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7379         * sysdeps/s390/rtld-setjmp.S: Likewise.
7380         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7381         * sysdeps/s390/s390-32/__longjmp.c: ... here.
7382         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7383         * sysdeps/s390/s390-32/setjmp.S: ... here.
7384         Add versioning.
7385         (__sigsetjmp): Remove setting __flags field.
7386         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7387         * sysdeps/s390/s390-64/__longjmp.c: ... here.
7388         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7389         * sysdeps/s390/s390-64/setjmp.S: ... here.
7390         Add versioning.
7391         (__sigsetjmp): Remove setting __flags field.
7392         * sysdeps/s390/setjmp.S: Delete file.
7393         * sysdeps/s390/sigjmp.c: Likewise.
7394         * sysdeps/s390/v1-longjmp.c: Likewise.
7395         * sysdeps/s390/v1-setjmp.h: Likewise.
7396         * sysdeps/s390/v1-sigjmp.c: Likewise.
7397         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7398         Remove v1-longjmp_chk.
7399         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7400         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7401         Include debug/longjmp_chk.c and add versioning.
7402         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7403         Include nptl/pt-longjmp.c and add versioning.
7404         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7405         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7406         Include __longjmp.c.
7407         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7408         Move to ...
7409         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7410         (__getcontext): Remove setting __flags field.
7411         Add versioning.
7412         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7413         Don't restore upper high grps.
7414         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7415         Likewise.
7416         (__swapcontext): Remove setting uc_flags field.
7417         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7418         Delete file.
7419         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7420         Include __longjmp.c.
7421         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7422         Move to ...
7423         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7424         (__getcontext): Remove setting __flags field.
7425         Add versioning.
7426         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7427         (__swapcontext): Remove setting uc_flags field.
7428         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7429         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7430         Remove fields uc_high_gprs and __reserved.
7431         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7432         New file with reverted content.
7433         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7434         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7435         Regenerated.
7436         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7437         Regenerated.
7439 2014-07-31  Andreas Schwab  <schwab@suse.de>
7441         * config.h.in (HAVE_IFUNC): Define to 0.
7442         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7443         definedness.
7445 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7447         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7448         memmove-avx-unaligned, memcpy-avx-unaligned and
7449         mempcpy-avx-unaligned.
7450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7451         Add tests for AVX memcpy functions.
7452         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7453         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7454         memcpy_chk.
7455         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7456         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7457         memmove_chk.
7458         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7459         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7460         mempcpy_chk.
7461         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7462         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7463         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7465 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7467         [BZ #17213]
7468         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7469         powerpc64le.
7471 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7473         [BZ #16839]
7474         * manual/llio.texi: Add section about open file description locks.
7475         * manual/examples/ofdlocks.c: Example of open file description
7476         lock usage.
7477         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7478         F_OFD_SETLK, and F_OFD_SETLKW.
7480 2014-07-23  Allan McRae  <allan@archlinux.org>
7482         * po/es.po: Update Spanish translation from translation project.
7484 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7486         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7488 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7490         [BZ #17078]
7491         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7492         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7493         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7495 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7497         [BZ #17088]
7498         * math/fesetenv.c (__fesetenv)
7499         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7500         * math/feupdateenv.c (__feupdateenv)
7501         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7503         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7504         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7505         (__ASSUME_SOCKETCALL): Do not define.
7507         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7508         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7509         (__ASSUME_SOCKETCALL): Do not define.
7510         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7511         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7512         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7513         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7514         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7515         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7516         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7517         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7519         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7520         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7521         (__ASSUME_SOCKETCALL): Do not define.
7522         (__ASSUME_IPC64): Define unconditionally.
7523         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7524         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7525         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7526         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7527         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7528         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7529         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7530         Likewise.
7532         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7533         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7534         (__ASSUME_SOCKETCALL): Do not define.
7535         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7536         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7537         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7538         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7539         (__ASSUME_REQUEUE_PI): Define unconditionally.
7540         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7541         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7542         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7543         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7544         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7545         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7547         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7548         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7549         (__ASSUME_SOCKETCALL): Do not define.
7550         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7551         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7552         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7553         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7554         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7555         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7557         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7558         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7559         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7560         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7561         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7562         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7563         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7564         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7565         (__ASSUME_GETCPU_SYSCALL): Likewise.
7567         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7568         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7569         cases for individual architectures.
7570         * sysdeps/gnu/configure: Regenerated.
7571         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7572         LIBC_SLIBDIR_RTLDDIR.
7573         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7574         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7575         LIBC_SLIBDIR_RTLDDIR.
7576         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7578         LIBC_SLIBDIR_RTLDDIR.
7579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7580         Regenerated.
7581         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7582         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7583         file.
7584         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7585         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7586         file.
7587         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7588         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7589         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7590         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7592         * sysdeps/aarch64/shlib-versions: Move to ...
7593         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7594         * sysdeps/alpha/shlib-versions: Move to ...
7595         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7596         * sysdeps/arm/shlib-versions: Move to ...
7597         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7598         * sysdeps/hppa/shlib-versions: Move all contents except for
7599         libgcc_s entry to ...
7600         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
7601         entry from ...
7602         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
7603         * sysdeps/ia64/shlib-versions: Move to ...
7604         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
7605         entry from ...
7606         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
7607         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7608         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7609         * sysdeps/microblaze/shlib-versions: Move to ...
7610         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7611         * sysdeps/mips/shlib-versions: Move to ...
7612         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
7613         entry from ...
7614         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
7615         * sysdeps/tile/shlib-versions: Move to ...
7616         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7617         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7618         from ...
7619         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
7620         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7621         entry from ...
7622         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
7624 2014-07-17  Will Newton  <will.newton@linaro.org>
7626         * sysdeps/arm/bits/atomic.h
7627         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7628         (__arch_compare_and_exchange_bool_16_int): Likewise.
7629         (__arch_compare_and_exchange_bool_64_int): Likewise.
7631         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7632         into an #else block.
7634 2014-07-16  Roland McGrath  <roland@hack.frob.com>
7636         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7637         just Linux configurations.  Test empirically that the compiler sets
7638         __ARM_EABI__, rather than using the tuple to decide.
7639         * sysdeps/arm/preconfigure: Regenerated.
7640         * sysdeps/unix/sysv/linux/arm/configure: File removed.
7641         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7642         contents appended ...
7643         * sysdeps/arm/configure.ac: ... here.
7644         * sysdeps/arm/configure: Regenerated.
7646 2014-07-15  Roland McGrath  <roland@hack.frob.com>
7648         * nptl/pthread_kill.c: New file.
7649         * nptl/pthread_sigmask.c: New file.
7650         * nptl/pthread_sigqueue.c: New file.
7652         * sysdeps/nptl/lowlevellock.h: New file.
7653         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7654         * sysdeps/nptl/lowlevellock-futex.h: New file.
7656         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7657         Remove dead declarations.
7659 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7661         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7662         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7663         config-cflags-avx2.
7664         * sysdeps/x86_64/configure.ac: Likewise.
7665         * sysdeps/i386/configure: Regenerated.
7666         * sysdeps/x86_64/configure: Likewise.
7667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7668         memset-avx2 only if config-cflags-avx2 is yes.
7669         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7670         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7671         defined.
7672         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7673         only if HAVE_AVX2_SUPPORT is defined.
7674         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7676 2014-07-14  Alan Modra  <amodra@gmail.com>
7678         [BZ #17153]
7679         * elf/elf.h (DT_PPC64_NUM): Correct value.
7680         * NEWS: Add to fixed bug list.
7682 2014-07-13  Jim Meyering  <meyering@fb.com>
7684         [BZ 17150]
7685         regex: don't deref NULL upon heap allocation failure
7686         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7687         failure in one more place.
7688         To trigger the segfault, configure grep -with-included-regex,
7689         build it, and run these commands:
7690         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7692 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7694         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7696 2014-07-11  Richard Henderson  <rth@redhat.com>
7698         * sysdeps/aarch64/libm-test-ulps: Update.
7700 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7702         [BZ #17135]
7703         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7704         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7705         (__nptl_setxid): Initialize error member.  Call
7706         __nptl_setxid_error.
7707         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7708         * nptl/descr.h (struct xid_command): Add error member.
7709         * nptl/tst-setuid3.c: New file.
7710         * nptl/Makefile (tests): Add it.
7712 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7714         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7715         New define.
7716         (__lll_trylock): Use __lll_base_trylock.
7717         (__lll_cond_trylock): Likewise.
7719 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7721         * nptl/pthread_create.c (start_thread): Use atomic_or and
7722         lll_futex_wake directly rather than lll_robust_dead.
7723         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7724         (lll_robust_dead): Macro removed.
7725         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7726         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7727         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7728         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7729         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7730         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7731         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7732         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7733         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7734         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7735         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7736         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7737         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7738         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7739         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7741         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7742         Use atomic_compare_and_exchange_val_acq directly rather than
7743         lll_robust_trylock.
7744         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7745         (__lll_robust_trylock, lll_robust_trylock): Removed.
7746         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7747         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7748         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7749         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7750         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7751         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7752         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7753         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7754         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7755         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7756         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7757         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7758         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7759         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7761 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7763         * manual/locale.texi (Locale Names): New section documenting
7764         locale name syntax.  Adjust menu and node chaining accordingly.
7765         (Choosing Locale): Reference Locale Names, Locale Categories.
7766         Mention setting LC_ALL=C.  Reflect that name syntax is now
7767         documented.
7768         (Locale Categories): New section title.  Reference Locale Names.
7769         LC_ALL is an environment variable, but not a category.
7770         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7771         description, now in Locale Name.  Reference that section.  Locale
7772         name syntax is now documented.
7774 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7776         [BZ #17137]
7777         * locale/findlocale.c (name_present, valid_locale_name): New
7778         functions.
7779         (_nl_find_locale): Use the loc_name variable to store name
7780         candidates.  Call name_present and valid_locale_name to check and
7781         validate locale names.  Return an error if the locale is invalid.
7783 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7785         * locale/setlocale.c (setlocale): Use strdup for allocating
7786         composite name copy.
7788 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7790         Sync up with gnulib.
7791         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7792         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7793         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7794         and _GL_ARG_NONNULL.
7795         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7796         [!_LIBC]: Include code for Windows and Cygwin.
7797         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7798         Include prototype for int strerror_r.
7799         [!_LIBC] (is_open): New function.
7800         (flush_stdout): New function.
7801         (print_errno_message): Use it.
7802         (error): Likewise.
7803         (error_at_line): Likewise.
7804         (error_tail) Add function attribute macros.  Use
7805         __builtin_expect.
7807         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7809         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7811         * io/ftw.c: Include sys/param.h unconditionally.
7813         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7815         [BZ #17125]
7816         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7817         libc_freeres_ptr.
7818         (freecache): New function to free CACHE on exit.
7820         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7821         initialization.
7823 2014-07-09  David S. Miller  <davem@davemloft.net>
7825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7827         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7828         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7829         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7830         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7831         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7832         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7833         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7834         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7835         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7836         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7837         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7838         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7839         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7841 2014-07-09  Andreas Schwab  <schwab@suse.de>
7843         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7844         output.
7845         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7846         (do_test): Likewise.
7848         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7850 2014-07-09  Will Newton  <will.newton@linaro.org>
7852         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7853         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7854         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7855         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7856         * sysdeps/hppa/start.S (_start): Likewise.
7858 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7860         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7862         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7863         defined.
7865 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7867         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7868         after checking that it is non-NULL.
7870         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7872 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7874         * sysdeps/powerpc/memmove.c: Remove file.
7875         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7876         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7877         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7878         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7879         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7880         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7881         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7882         string memmove instead of removed powerpc one.
7884         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7885         [weak_alias]: Fix compiler warning due trailing data.
7886         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7887         [weak_alias]: Likewise.
7888         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7889         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7891         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7892         (__libc_ifunc_impl_list): Add memmove functions.
7894 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7896         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7897         Remove code.
7898         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7899         Likewise
7900         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7901         Likewise
7902         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7903         Likewise
7904         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7905         Likewise
7906         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7907         Likewise
7908         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7909         Likewise
7910         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7911         Likewise
7912         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7913         Likewise
7914         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7915         Likewise
7916         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7917         Likewise
7918         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7919         Likewise
7920         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7921         Likewise
7922         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7923         Likewise
7924         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7925         Likewise
7926         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7927         Likewise
7928         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7929         Likewise
7931 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7933         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7934         to avoid alignment traps in non-cacheable memory.
7935         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7938         multiarch objects.
7939         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7940         file: multiarch power7 memmove.
7941         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7942         multiarch default memmove.
7943         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7944         multiarch memove for powerpc32/power4.
7946         * string/bcopy.c: Use full path to include memmove.c.
7947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7948         multiarch objects.
7949         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7950         bcopy for powerpc64.
7951         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7952         bcopy for powerpc64.
7953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7954         and memmove implementations.
7955         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7956         optimized multiarch memmove for POWER7/powerpc64.
7957         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7958         default multiarch memmove for powerpc64.
7959         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7960         multiarch for powerpc64.
7961         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7962         for POWER7/powerpc64.
7963         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7964         memmove for POWER7/powerpc64.
7966         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7967         glibc default one.
7969         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7970         __ELF_NATIVE_CLASS equal to 64.
7972 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7974         * sysdeps/nptl/lowlevellock.h: File removed.
7976         * NEWS: NPTL is no longer an add-on!
7977         * nptl/internaltypes.h: Moved ...
7978         * sysdeps/nptl/internaltypes.h: ... here.
7979         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7980         * sysdeps/nptl/fork.c: Likewise.
7981         * sysdeps/nptl/gai_misc.h: Likewise.
7982         * sysdeps/nptl/librt-cancellation.c: Likewise.
7983         * sysdeps/nptl/jmp-unwind.c: Likewise.
7984         * sysdeps/nptl/setxid.h: Likewise.
7985         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7986         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7987         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7988         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7989         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7990         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7991         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7992         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7993         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7994         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7995         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7996         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7997         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7998         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7999         * sysdeps/unix/sysv/linux/tile/Implies: New file.
8000         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8001         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8002         * nptl/Makeconfig: Moved ...
8003         * sysdeps/nptl/Makeconfig: ... here.
8004         * nptl/configure: File removed.
8005         * nptl/ANNOUNCE: File removed.
8006         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8007         * sysdeps/unix/sysv/linux/configure: Regenerated.
8009         * nptl/Makefile (routines): Add libc_pthread_init,
8010         libc_multiple_threads, register-atfork and unregister-atfork.
8011         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8012         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8013         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8014         pthread-pi-defines.sym, structsem.sym.
8015         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8016         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8017         [$(subdir) = nptl] (tests): Add tst-setgetname.
8018         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8019         * sysdeps/unix/sysv/linux/sigaction.c: Just include
8020         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8021         [!LIBC_SIGACTION]: Remove aliases.
8022         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8023         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8024         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8025         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8026         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8027         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8028         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8029         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8030         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8031         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8032         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8033         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8034         __libc_allocate_rtsig_private.
8035         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8036         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8037         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8038         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8039         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8040         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8041         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8042         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8043         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8044         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8045         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8046         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8047         * nptl/internaltypes.h: ... here.
8048         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8049         * sysdeps/nptl/jmp-unwind.c: ... here.
8050         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8051         * nptl/libc-lowlevellock.c: ... here.
8052         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8053         * nptl/libc_multiple_threads.c: ... here.
8054         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8055         * nptl/libc_pthread_init.c: ... here.
8056         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8057         * nptl/lowlevelbarrier.sym: ... here.
8058         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8059         * nptl/lowlevelcond.sym: ... here.
8060         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8061         * nptl/lowlevellock.c: ... here.
8062         * nptl/lowlevellock.h: Moved ...
8063         * sysdeps/nptl/lowlevellock.h: ... here.
8064         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8065         * nptl/lowlevelrobustlock.c: ... here.
8066         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8067         * nptl/lowlevelrobustlock.sym: ... here.
8068         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8069         * nptl/lowlevelrwlock.sym: ... here.
8070         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8071         * nptl/pt-fork.c: ... here.
8072         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8073         * nptl/pthread-pi-defines.sym: ... here.
8074         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8075         * nptl/pthread_attr_getaffinity.c: ... here.
8076         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8077         * nptl/pthread_attr_setaffinity.c: ... here.
8078         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8079         * nptl/pthread_mutex_cond_lock.c: ... here.
8080         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8081         Update #include.
8082         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8083         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8084         * nptl/pthread_once.c: ... here, replacing old file.
8085         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8086         * nptl/pthread_yield.c: ... here.
8087         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8088         * nptl/register-atfork.c: ... here.
8089         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8090         * nptl/sem_post.c: ... here.
8091         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8092         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8093         * nptl/sem_timedwait.c: ... here.
8094         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8095         * nptl/sem_trywait.c: ... here.
8096         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8097         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8098         * nptl/sem_wait.c: ... here.
8099         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8100         * nptl/structsem.sym: ... here.
8101         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8102         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8103         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8104         * nptl/unregister-atfork.c: ... here.
8105         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8106         * nptl/unwindbuf.sym: ... here.
8107         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8108         * sysdeps/nptl/fork.c: ... here.
8109         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8110         * sysdeps/nptl/fork.h: ... here.
8111         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8112         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8113         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8114         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8115         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8116         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8117         * sysdeps/unix/sysv/linux/getpid.c: ... here.
8118         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8119         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8120         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8121         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8122         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8123         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8124         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8125         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8126         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8127         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8128         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8129         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8130         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8131         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8132         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8133         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8134         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8135         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8136         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8137         * sysdeps/unix/sysv/linux/raise.c: ... here.
8138         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8139         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8140         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8141         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8142         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8143         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8144         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8145         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8146         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8147         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8148         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8149         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8150         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8151         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8152         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8154 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8156         * sysdeps/generic/memcopy.h: Add comment for
8157         MEMCPY_OK_FOR_FWD_MEMMOVE.
8159 2014-07-04  Will Newton  <will.newton@linaro.org>
8161         * string/memchr.c: Merge from gnulib.
8162         [_LIBC]: Remove conditionals.
8163         (__ptr_t): Remove define.
8164         (LONG_MAX_32_BITS): Likewise.
8165         (LONG_MAX): Likewise.
8166         (MEMCHR): Use ANSI prototype and optimize algorithm.
8168         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8170 2014-07-03  Roland McGrath  <roland@hack.frob.com>
8172         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8173         (lll_futex_timed_wait_bitset): Fix syscall argument count.
8175         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8176         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8177         in a bare environment with no <stdlib.h> installed.
8178         * sysdeps/nptl/configure: Regenerated.
8180         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8182         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8183         AC_EGREP_CPP for kernel header checks, so they only succeed if
8184         including <linux/version.h> actually works right.
8185         * sysdeps/unix/sysv/linux/configure: Regenerated.
8187         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8188         value so it's not diagnosed as unused.
8190         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8191         thing) with "ifeq ($(subdir),rt)".
8193 2014-07-03  Richard Henderson  <rth@redhat.com>
8195         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8196         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8197         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8199         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8200         (math_force_eval): New.
8202         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8203         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8205         * sysdeps/alpha/fpu/s_round.c: Remove file.
8206         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8208         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8209         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8210         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8211         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8212         (_dl_start, print_statistics): Likewise.
8213         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8214         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8216         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8217         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8218         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8219         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8220         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8221         (HP_SMALL_TIMING_AVAIL): Define.
8222         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8223         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8224         (HP_SMALL_TIMING_AVAIL): Define.
8225         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8226         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8228         * sysdeps/aarch64/hp-timing.h: New file.
8230         * sysdeps/generic/hp-timing.h: Remove dead comment.
8231         * sysdeps/generic/hp-timing-common.h: New file.
8232         * sysdeps/alpha/hp-timing.h: Include it.
8233         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8234         * sysdeps/i386/i686/hp-timing.h: Likewise.
8235         * sysdeps/ia64/hp-timing.h: Likewise.
8236         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8237         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8238         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8239         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8240         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8241         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8242         (hp_timing_t): New.
8244         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8245         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8246         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8247         * elf/rtld.c (_dl_start_final): Likewise.
8248         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8249         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8250         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8251         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8252         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8253         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8254         (HP_TIMING_DIFF_INIT): Remove.
8255         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8256         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8257         (HP_TIMING_DIFF_INIT): Remove.
8258         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8259         * sysdeps/i386/i686/hp-timing.c: Remove file.
8260         * sysdeps/x86_64/hp-timing.c: Remove file.
8261         * sysdeps/ia64/hp-timing.c: Remove file.
8262         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8263         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8264         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8265         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8267         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8268         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8269         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8270         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8271         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8272         (HP_TIMING_ACCUM): Remove.
8273         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8274         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8275         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8277         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8278         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8279         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8280         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8281         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8282         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8283         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8284         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8286         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8288 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
8290         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8292 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8294         Sync up with gettext.
8295         * intl/loadmsgcat.c: Define O_BINARY if not defined.
8296         [_MSC_VER]: Include malloc.h
8297         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8298         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8299         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
8300         TEMP_FAILURE_RETRY.  Cast return of alloca.
8301         [!_LIBC] Call gl_rwlock_init.
8302         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8304 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8306         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8307         before checking its value.
8309 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8311         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8313         * debug/memcpy_chk.c: Don't include pagecopy.h.
8314         * debug/mempcpy_chk.c: Likewise.
8315         * string/memcpy.c: Likewise.
8316         * string/memmove.c: Likewise.
8317         * sysdeps/powerpc/memmove.c: Likewise.
8318         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
8319         definition of PAGE_COPY_FWD_MAYBE here...
8320         * sysdeps/generic/pagecopy.h: ... from here.
8321         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8323 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8324             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8326         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8328         optimizations.
8329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8330         (__libc_ifunc_impl_list): Likewise.
8331         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8332         multiarch strcat for PPC64.
8333         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8334         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8336 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8338         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8340 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8342         * intl/loadmsgcat.c: Remove declaration of
8343         get_sysdep_segment_value.
8344         (get_sysdep_segment_value): Use ISO C style.
8345         (_nl_load_domain): Use ISO C style.  Get rid of redundant
8346         semicolon.  Fix typo and formatting in comment.
8347         (_nl_unload_domain): Use ISO C style.
8349         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8351 2014-07-02  Will Newton  <will.newton@linaro.org>
8353         * malloc/obstack.c: Merge from gnulib master.
8354         [HAVE_CONFIG_H]: Remove conditional code.
8355         [!_LIBC]: Include config.h.
8356         [!ELIDE_CODE]: Don't include inttypes.h, include
8357         stdint.h unconditionally.
8358         (print_and_abort): Mark as _Noreturn.
8359         (_obstack_allocated_p): Mark as __attribute_pure__.
8360         (obstack_free): Rename to __obstack_free.
8361         [!__attribute__]: Remove conditional code.
8362         * malloc/obstack.h: Merge from gnulib master.
8363         [__cplusplus]: Move conditional down.
8364         [!__attribute_pure__]: Define __attribute_pure__ here
8365         if it is not already defined.
8366         (_obstack_memory_used): Mark as __attribute_pure__.
8367         [!__obstack_free]: Define as obstack_free.
8368         [__GNUC__]: Remove check for ancient NeXT gcc.
8370 2014-07-02  Will Newton  <will.newton@linaro.org>
8371             Paul Eggert  <eggert@cs.ucla.edu>
8373         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8375 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8377         * resolv/gethnamaddr.c: Add comment warning that the file is
8378         not maintained.
8380 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
8382         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8383         entries.
8385         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8386         entry for aio_cancel and aio_cancel64.
8387         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8388         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8389         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8390         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8391         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8392         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8393         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8394         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8395         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8396         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8397         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8398         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8399         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8401 2014-07-01  Roland McGrath  <roland@hack.frob.com>
8403         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8404         * nptl/pthread_mutex_lock.c: Likewise.
8405         * nptl/pthread_mutex_timedlock.c: Likewise.
8406         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8408 2014-07-01  Richard henderson  <rth@redhat.com>
8410         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8411         (__isnan, __isnanl): Remove.
8412         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8414         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8416 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8418         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8420 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8422         * resolv/nss_dns/dns-host.c (getanswer_r)
8423         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8425 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8427         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8428         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8429         undefine.
8430         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8431         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8433 2014-07-01  Roland McGrath <roland@hack.frob.com>
8435         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8436         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8438         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8439         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8441         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8442         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8443         ... here.
8444         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8445         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8447         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8448         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8449         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8450         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8452         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8453         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8454         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8455         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8456         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8457         Moved ...
8458         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8459         ... here.
8460         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8461         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8462         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8463         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8464         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8465         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8466         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8467         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8468         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8469         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8470         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8471         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8472         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8473         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8474         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8475         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8476         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8477         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8478         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8479         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8480         ... here.
8481         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8482         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8483         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8484         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8485         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8486         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8487         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8488         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8490 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8492         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8493         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8494         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8495         Add sysdep.
8497 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8501 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8503         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8504         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8506         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8508         * sysdeps/arm/libm-test-ulps: Regenerated.
8510 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8511             Roland McGrath <roland@hack.frob.com>
8513         * test-skeleton.c (signal_handler): Kill the whole process group
8514         before killing the child individually.
8515         (main): Report any failure on `setpgid'.
8517 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8519         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8520         from _TLS_H to _ARM_NPTL_TLS_H.
8521         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8522         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8524 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8526         [BZ #16539]
8527         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8528         (__expm1l): Return argument unchanged when small but not
8529         subnormal.
8531         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8532         include macro name.
8533         (_FP_UNPACK_RAW_1_P): Likewise.
8534         (_FP_PACK_RAW_1): Likewise.
8535         (_FP_PACK_RAW_1_P): Likewise.
8536         (_FP_MUL_MEAT_1_wide): Likewise.
8537         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8538         (_FP_MUL_MEAT_1_hard): Likewise.
8539         (_FP_DIV_MEAT_1_imm): Likewise.
8540         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8541         (_FP_DIV_MEAT_1_udiv): Likewise.
8542         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8543         (_FP_UNPACK_RAW_2): Likewise.
8544         (_FP_UNPACK_RAW_2_P): Likewise.
8545         (_FP_PACK_RAW_2): Likewise.
8546         (_FP_PACK_RAW_2_P): Likewise.
8547         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8548         (_FP_MUL_MEAT_2_wide): Likewise.
8549         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8550         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8551         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8552         (_FP_MUL_MEAT_2_gmp): Likewise.
8553         (_FP_DIV_MEAT_2_udiv): Likewise.
8554         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8555         (_FP_FRAC_SRL_4): Likewise.
8556         (_FP_FRAC_SRST_4): Likewise.
8557         (_FP_FRAC_SRS_4): Likewise.
8558         (_FP_UNPACK_RAW_4): Likewise.
8559         (_FP_UNPACK_RAW_4_P): Likewise.
8560         (_FP_PACK_RAW_4): Likewise.
8561         (_FP_PACK_RAW_4_P): Likewise.
8562         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8563         (_FP_MUL_MEAT_4_wide): Likewise.
8564         (_FP_MUL_MEAT_4_gmp): Likewise.
8565         (umul_ppppmnnn): Likewise.
8566         (_FP_DIV_MEAT_4_udiv): Likewise.
8567         (__FP_FRAC_ADD_4): Likewise.
8568         (__FP_FRAC_SUB_3): Likewise.
8569         (__FP_FRAC_SUB_4): Likewise.
8570         (__FP_FRAC_DEC_3): Likewise.
8571         (__FP_FRAC_DEC_4): Likewise.
8572         (__FP_FRAC_ADDI_4): Likewise.
8573         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8574         (_FP_FRAC_SRL_8): Likewise.
8575         (_FP_FRAC_SRS_8): Likewise.
8577         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8578         include macro name.
8579         (FP_UNPACK_RAW_EP): Likewise.
8580         (FP_PACK_RAW_E): Likewise.
8581         (FP_PACK_RAW_EP): Likewise.
8582         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8583         (_FP_ISSIGNAN): Likewise.
8584         (_FP_ADD_INTERNAL): Likewise.
8585         (_FP_FMA): Likewise.
8586         (_FP_CMP): Likewise.
8587         (_FP_SQRT): Likewise.
8588         (_FP_TO_INT): Likewise.
8589         (_FP_FROM_INT): Likewise.
8590         (FP_EXTEND): Likewise.
8591         (_FP_DIV_MEAT_N_loop): Likewise.
8593 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8595         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8596         throughout.
8598 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
8600         [BZ #17097]
8601         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8602         result with correct sign in case of exponents that produce
8603         overflow except for X very close to 1.
8605 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
8607         mktime: merge #if/#ifdef usage from glibc
8608         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8609         as that works with both Glibc's and Gnulib's style.
8610         See thread starting at Siddhesh Poyarekar's bug report at:
8611         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8613 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8615         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8616         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8617         * sysdeps/tile/tilegx/memmove.c: Remove file.
8619 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8621         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8622         abi-name definition.
8623         * scripts/soversions.awk: Do not handle or generate ABI lines.
8624         * shlib-versions: Remove ABI entries.
8625         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8626         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8628 2014-06-27  Roland McGrath  <roland@hack.frob.com>
8630         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8631         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8632         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8633         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8634         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8635         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8636         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8637         Moved ...
8638         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8639         ... here.
8640         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8641         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8642         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8643         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8644         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8645         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8646         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8647         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8649         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8651         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8653         Moved ...
8654         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8655         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8656         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8657         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8658         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8659         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8660         Moved ...
8661         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8662         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8663         Moved ...
8664         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8665         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8666         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8667         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8668         Moved ...
8669         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8670         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8671         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8672         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8673         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8674         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8675         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8676         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8677         Moved ...
8678         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8679         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8680         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8681         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8682         Moved ...
8683         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8684         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8685         Moved ...
8686         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8687         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8688         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8689         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8690         Moved ...
8691         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8692         ... here.
8693         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8694         Identical file removed.
8695         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8696         Moved ...
8697         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8698         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8699         Identical file removed.
8700         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8701         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8702         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8703         Moved ...
8704         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8705         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8706         Identical file removed.
8707         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8708         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8709         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8710         Identical file removed.
8711         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8712         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8713         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8714         Identical file removed.
8715         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8716         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8717         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8718         Identical file removed.
8719         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8720         Moved ...
8721         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8722         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8723         Identical file removed.
8724         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8725         Moved ...
8726         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8727         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8728         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8729         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8730         Identical file removed.
8731         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8732         Moved ...
8733         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8734         ... here.
8735         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8736         Identical file removed.
8737         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8738         Moved ...
8739         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8740         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8741         Identical file removed.
8742         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8743         Moved ...
8744         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8745         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8746         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8747         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8748         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8749         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8750         Moved ...
8751         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8752         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8753         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8755         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8756         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8757         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8758         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8759         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8761 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8763         [BZ #17092]
8764         * nscd/nscd.c (monitor_child): Return exit status of child
8765         instead of return value from wait syscall.
8767 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8769         * configure.ac (libc_commonpagesize): Remove variable.
8770         (libc_relro_required): Likewise.
8771         (libc_cv_z_relro): Remove configure test.
8772         * configure: Regenerated.
8773         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8774         variable.
8775         (libc_relro_required): Likewise.
8776         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8777         (libc_relro_required): Likewise.
8778         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8779         (libc_relro_required): Likewise.
8780         * sysdeps/arm/preconfigure: Regenerated.
8781         * sysdeps/ia64/preconfigure: Remove file.
8782         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8783         variable.
8784         (libc_relro_required): Likewise.
8786         [BZ #16561]
8787         [BZ #16562]
8788         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8789         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8790         recompute overflowing results in original rounding mode.
8791         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8792         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8793         recompute overflowing results in original rounding mode.
8794         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8795         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8796         recompute overflowing results in original rounding mode.
8797         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8798         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8799         recompute overflowing results in original rounding mode.
8800         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8801         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8802         recompute overflowing results in original rounding mode.
8803         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8804         (libc_feholdsetround_ctx): New macro.
8805         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8806         * sysdeps/i386/fpu/libm-test-ulps: Update.
8807         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8809 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8811         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8812         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8813         corresponding .cpsetup call.
8815 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8817         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8818         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8819         * sysdeps/arm/Makefile [$(subdir) = csu]
8820         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8821         (static-only-routines): Add aeabi_read_tp here.
8822         (shared-only-routines): Add libc-aeabi_read_tp here.
8823         (CFLAGS-libc-start.c): Add -fexceptions here.
8824         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8825         (sysdep_routines, static-only-routines, shared-only-routines):
8826         Don't add to these here.
8827         (CFLAGS-libc-start.c): Likewise.
8829         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8830         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8831         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8832         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8833         * sysdeps/arm/Makefile [$(subdir) = rt]
8834         (librt-sysdep_routines, librt-shared-only-routines):
8835         Append rt-aeabi_unwind_cpp_pr1 here.
8836         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8837         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8838         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8839         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8840         Append nptl-aeabi_unwind_cpp_pr1 here.
8841         (tests): Filter out tst-cleanupx4 here.
8842         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8843         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8844         Don't do those here.
8846 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8848         * scripts/list-sources.sh: Do not handle ports specially.
8850 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8852         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8853         * sysdeps/arm/feupdateenv.c: Likewise.
8855         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8857 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8859         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8860         trailing whitespace removed.
8861         * scripts/config.guess: Update to version 2014-03-23.
8862         * scripts/config.sub: Update to version 2014-05-01
8863         * scripts/install-sh: Update to version 2013-12-25.23.
8864         * scripts/move-if-change: Update from gnulib.
8866 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8868         * debug/memmove_chk.c: Remove pagecopy.h include.
8870 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8872         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8873         identical to gnulib mktime.
8875 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8877         * configure.ac: Do not test for machine being rs6000.  Do not test
8878         for powerpc*-*soft.
8879         * configure: Regenerated.
8881         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8882         test.
8883         * configure: Regenerated.
8884         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8885         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8886         Remove configure test.
8887         * sysdeps/arm/configure: Regenerated.
8888         * sysdeps/nptl/configure.ac: Do not check
8889         libc_cv_asm_cfi_directives.
8890         * sysdeps/nptl/configure: Regenerated.
8891         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8892         * sysdeps/x86_64/nptl/configure: Remove generated file.
8893         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8894         unconditional.
8895         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8897 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8899         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8900         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8901         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8902         it is defined.
8904         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8905         instead of whether it is defined.
8906         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8907         * sysdeps/hppa/dl-machine.h: Likewise.
8908         * sysdeps/ia64/dl-machine.h: Likewise.
8909         * sysdeps/m68k/dl-machine.h: Likewise.
8910         * sysdeps/microblaze/dl-machine.h: Likewise.
8911         * sysdeps/mips/dl-machine.: Likewise.
8912         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8913         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8914         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8915         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8916         * sysdeps/sh/dl-machine.h: Likewise.
8917         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8918         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8919         * sysdeps/tile/dl-machine.h: Likewise.
8920         * sysdeps/x86_64/dl-machine.h: Likewise.
8922         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8923         code.
8924         (verify_persistent_db): Likewise.
8926 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8929         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8931         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8933         Moved ...
8934         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8935         ... here.
8936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8937         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8939         Identical file removed.
8940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8941         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8943         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8945         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8947         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8949         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8951         Moved ...
8952         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8954         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8956         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8958         Moved ...
8959         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8961         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8963         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8965         Identical file removed.
8966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8967         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8969         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8971         Moved ...
8972         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8973         ... here.
8974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8975         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8977         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8979         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8981         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8983         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8985         Moved ...
8986         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8988         Moved ...
8989         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8991         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8993         Moved ...
8994         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8996         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8998         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8999         folded into ...
9000         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9001         * sysdeps/unix/sysv/linux/s390/Versions
9002         (libpthread: GLIBC_2.19): New version set.
9003         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9004         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9005         (librt: GLIBC_2.3.3): New version set.
9006         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9007         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9008         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9009         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9010         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9011         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9012         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9013         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9014         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9015         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9016         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9017         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9018         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9019         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9020         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9021         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9022         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9023         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9024         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9025         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9026         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9027         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9028         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9029         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9030         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9031         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9032         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9033         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9034         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9035         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9036         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9037         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9038         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9039         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9040         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9041         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9042         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9043         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9044         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9045         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9046         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9047         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9048         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9050         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9052         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9053         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9054         (__libc_vfork): Define the function under this name.
9055         [!NOT_IN_libc] (__vfork): Make this an alias.
9056         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9057         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9058         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9059         (__libc_vfork): Define the function under this name.
9060         [!NOT_IN_libc] (__vfork): Make this an alias.
9061         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9062         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9063         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9065         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9066         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9068         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9069         code that was previously under [RESET_PID].
9070         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9071         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9072         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9074         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9075         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9076         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9077         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9078         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9079         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9080         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9081         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9082         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9083         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9084         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9085         Moved ...
9086         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9087         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9088         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9089         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9090         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9091         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9092         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9093         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9094         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9095         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9096         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9097         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9098         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9099         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9100         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9101         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9102         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9103         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9104         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9105         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9106         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9107         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9108         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9109         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9110         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9111         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9112         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9113         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9114         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9116 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9118         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9119         that was previously under [RESET_PID].
9120         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9122 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9124         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9125         not undefine and redefine.
9126         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9127         [O_CLOEXEC]: Make code unconditional.
9128         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9129         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9130         <kernel-features.h>.
9131         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9132         conditional variable definition.
9133         (shm_open) [O_CLOEXEC]: Make code unconditional.
9134         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9135         code.
9137         * configure.ac (USE_REGPARMS): Don't define here.
9138         * configure: Regenerated.
9139         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9140         * sysdeps/i386/configure: Regenerated.
9142         * nptl/createthread.c: Don't include kernel-features.h.
9143         * nptl/pthread_cancel.c: Likewise.
9144         * nptl/pthread_condattr_setclock.c: Likewise.
9145         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9146         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9147         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9148         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9149         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9150         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9151         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9152         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9153         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9154         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9155         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9156         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9157         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9158         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9159         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9160         * nscd/gai.c: Likewise.
9161         * nss/nss_db/db-open.c: Likewise.
9162         * sysdeps/generic/ldsodefs.h: Likewise.
9163         * sysdeps/sh/nptl/tls.h: Likewise.
9164         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9165         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9166         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9167         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9168         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9169         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9170         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9171         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9172         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9173         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9174         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9175         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9176         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9177         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9178         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9179         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9180         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9181         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9182         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9183         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9184         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9185         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9186         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9187         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9188         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9189         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9190         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9191         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9192         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9193         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9194         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9195         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9196         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9197         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9198         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9199         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9200         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9201         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9202         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9203         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9204         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9205         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9206         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9207         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9208         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9209         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9210         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9211         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9212         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9213         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9214         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9215         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9216         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9217         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9218         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9219         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9220         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9221         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9244         * sysdeps/unix/sysv/linux/pread.c: Likewise.
9245         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9246         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9247         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9248         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9249         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9250         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9251         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9252         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9253         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9254         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9255         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9256         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9257         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9258         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9259         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9260         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9261         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9262         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9263         * sysdeps/unix/sysv/linux/system.c: Likewise.
9264         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9265         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9266         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9267         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9268         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9269         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9270         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9272         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9273         * configure: Regenerated.
9274         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9276         * configure.ac (base_machine): Do not set specially for particular
9277         machines here.
9278         * configure: Regenerated.
9279         * sysdeps/powerpc/preconfigure: Move machine and base_machine
9280         settings from configure.ac.
9281         * sysdeps/i386/preconfigure: New file.
9282         * sysdeps/s390/preconfigure: Likewise.
9283         * sysdeps/sh/preconfigure: Likewise.
9284         * sysdeps/sparc/preconfigure: Likewise.
9286 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9288         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9289         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9290         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9291         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9292         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9293         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9294         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9295         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9296         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9297         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9298         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9299         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9300         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9301         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9302         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9303         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9304         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9305         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9306         * sysdeps/sparc/sparc64/Makefile: ... appended here.
9308         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9309         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9310         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9311         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9312         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9313         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9314         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9315         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9316         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9317         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9318         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9319         * sysdeps/sparc/sparc32/sem_post.c: ... here.
9320         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9321         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9322         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9323         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9324         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9325         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9326         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9327         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9328         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9329         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9330         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9331         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9332         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9333         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9334         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9335         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9336         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9337         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9338         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9339         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9340         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9341         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9342         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9343         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9344         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9345         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9348         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9350         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9352         Moved ...
9353         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9354         ... here.
9355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9356         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9358         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9360         Moved ...
9361         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9363         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9365         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9367         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9369         Moved ...
9370         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9372         Moved ...
9373         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9375         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9377         Moved ...
9378         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9380         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9382         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9384         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9386         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9388         Moved ...
9389         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9390         ... here.
9391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9392         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9394         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9396         Moved ...
9397         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9399         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9401         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9403         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9405         Moved ...
9406         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9408         Moved ...
9409         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9411         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9413         Moved ...
9414         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9416         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9418         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9420 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9422         * timezone/checktab.awk: Update from tzcode 2014e.
9423         * timezone/private.h: Likewise.
9424         * timezone/tzfile.h: Likewise.
9425         * timezone/zdump.c: Likewise.
9426         * timezone/zic.c: Likewise.
9428         * sysdeps/unix/sysv/linux/kernel-features.h
9429         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9430         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9431         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9432         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9433         Remove conditional code.
9435 2014-06-25  Will Newton  <will.newton@linaro.org>
9437         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9438         (_dl_arm_cap_flags): Add HWCAP2 values.
9439         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9440         (_DL_HWCAP_COUNT): Increase to 37.
9441         (_DL_HWCAP_LAST): New define.
9442         (_DL_HWCAP2_LAST): New define.
9443         (_dl_procinfo): Add support for printing
9444         AT_HWCAP2 entries.
9445         (_dl_string_hwcap): Use _dl_hwcap_string.
9447 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9451 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9453         * README: Do not mention ports directory.
9455         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9456         Remove macro.
9457         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9458         <kernel-features.h>.
9459         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9460         conditional variable definition.
9461         (__futimes): Update comment.
9462         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9463         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9465         [BZ #16560]
9466         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9467         arguments close to 0.
9468         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9469         Likewise.
9470         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9471         Likewise.
9472         * math/auto-libm-test-in: Add more tests of exp10.
9473         * math/auto-libm-test-out: Regenerated.
9474         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9476         * sysdeps/unix/sysv/linux/kernel-features.h
9477         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9478         * sysdeps/unix/sysv/linux/readv.c: Do not include
9479         <kernel-features.h>.
9480         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9481         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9482         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9483         unconditional.
9484         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9485         conditional code.
9486         * sysdeps/unix/sysv/linux/writev.c: Do not include
9487         <kernel-features.h>.
9488         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9489         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9490         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9491         unconditional.
9492         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9493         conditional code.
9495 2014-06-25  Will Newton  <will.newton@linaro.org>
9497         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9498         comment changes throughout the file.  Remove checks
9499         for HAVE_*_H definitions that are not required.
9500         (__gen_tempname): Call abort if an unknown kind value is
9501         passed.
9503 2014-06-25  Andreas Schwab  <schwab@suse.de>
9505         [BZ #17086]
9506         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9507         scalbln, scalblnf, scalblnl in libc.
9509 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9511         [BZ #17086]
9512         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9513         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9514         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9516 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9518         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9519         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9520         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9521         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9522         Update #include.
9523         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9524         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9525         Update #include.
9526         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9527         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9528         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9529         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9530         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9531         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9532         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9533         * sysdeps/x86/bits/semaphore.h: ... here.
9534         * sysdeps/x86/nptl/elide.h: Moved ...
9535         * sysdeps/x86/elide.h: ... here.
9536         * sysdeps/x86_64/nptl/Implies: File removed.
9537         * sysdeps/i386/nptl/Implies: File removed.
9539 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9541         [BZ #16539]
9542         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9543         return the argument for normal arguments with exponent below -64.
9544         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9545         Likewise.
9546         * math/auto-libm-test-in: Add another test of expm1.
9547         * math/auto-libm-test-out: Regenerated.
9549         [BZ #16287]
9550         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9551         calling __erfcl for arguments at least 16.
9552         * math/auto-libm-test-in: Add more tests of erf.
9553         * math/auto-libm-test-out: Regenerated.
9555         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9556         individual architectures.
9557         * sysdeps/unix/sysv/linux/configure: Regenerated.
9558         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9559         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9560         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9561         (ldd_rewrite_script): Define variable.
9562         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9564         file.
9565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9566         generated file.
9567         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9568         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9569         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9570         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9571         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9572         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9573         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9574         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9576 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9578         [BZ #17084]
9579         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9580         Rename member __data.d to __data.__elision_data.
9582 2014-06-24  Wilco  <wdijkstr@arm.com>
9584         * NEWS: Add 16918 to fixed bug list.
9586 2014-06-24  Wilco  <wdijkstr@arm.com>
9588         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9590 2014-06-24  Wilco  <wdijkstr@arm.com>
9592         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9593         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9594         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9595         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9596         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9597         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9598         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9599         Use _FPU_MASK_RM.
9601 2014-06-24  Wilco  <wdijkstr@arm.com>
9603         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9605 2014-06-24  Wilco  <wdijkstr@arm.com>
9607         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9608         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9609         * sysdeps/arm/fesetround.c (fesetround): Remove space.
9610         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9612 2014-06-24  Wilco  <wdijkstr@arm.com>
9614         [BZ #16918]
9615         * sysdeps/arm/feupdateenv.c (feupdateenv):
9616         Rewrite to reduce FPSCR accesses and fix return value.
9618 2014-06-24  Wilco  <wdijkstr@arm.com>
9620         * sysdeps/arm/fclrexcpt.c (feclearexcept):
9621         Optimize to avoid unnecessary FPSCR writes.
9622         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9623         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9624         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9625         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9627 2014-06-24  Wilco  <wdijkstr@arm.com>
9629         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9630         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9631         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9632         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9633         Call libc_fetestexcept_vfp.
9634         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9635         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9636         __SOFTFP__ ifdef so that they can be built for softfp.
9638 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9640         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9641         argument type signed char.
9643         * Makerules (check-abi): Dump diff of symlist if the test
9644         fails.
9646 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9648         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9649         using abort.
9651         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9652         Remove unused variable ST.
9654 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9656         [BZ #16354]
9657         [BZ #17061]
9658         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9659         small arguments before calling __expm1.
9660         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9661         small arguments before calling __expm1f.
9662         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9663         small arguments before calling __expm1l.
9664         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9665         Likewise.
9666         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9667         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9668         spurious underflow for some cosh tests.
9669         * math/auto-libm-test-out: Regenerated.
9670         * sysdeps/i386/fpu/libm-test-ulps: Update.
9672         [BZ #17050]
9673         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9674         (__ieee754_y1): Set errno if return value overflows.
9675         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9676         (__ieee754_y1f): Set errno if return value overflows.
9677         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9678         (__ieee754_y1l): Set errno if return value overflows.
9679         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9680         (__ieee754_y1l): Set errno if return value overflows.
9681         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9682         * math/auto-libm-test-out: Regenerated.
9684         * math/gen-auto-libm-tests.c: Document use of
9685         ignore-zero-inf-sign.
9686         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9687         (input_flags): Add ignore-zero-inf-sign.
9688         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9689         * math/gen-libm-test.pl (generate_testfile): Handle
9690         ignore-zero-inf-sign.
9691         * math/auto-libm-test-in: Mark some cpow tests with
9692         ignore-zero-inf-sign and some with xfail-rounding.
9693         * math/auto-libm-test-out: Regenerated.
9694         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9695         * sysdeps/i386/fpu/libm-test-ulps: Update.
9696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9698         [BZ #16315]
9699         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9700         overflowing or underflowing operations take place with sign of
9701         result.
9702         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9703         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9704         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9705         (__ieee754_pow): Recompute overflowing and underflowing results in
9706         original rounding mode.
9707         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9708         (__powl_helper): Allow negative argument X and scale negated value
9709         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9710         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9711         overflowing or underflowing operations take place with sign of
9712         result.
9713         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9714         Include <math.h>.
9715         * math/auto-libm-test-in: Add more tests of pow.
9716         * math/auto-libm-test-out: Regenerated.
9717         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9718         (pow_tonearest_test_data): Remove.
9719         (pow_test_tonearest): Likewise.
9720         (pow_towardzero_test_data): Likewise.
9721         (pow_test_towardzero): Likewise.
9722         (pow_downward_test_data): Likewise.
9723         (pow_test_downward): Likewise.
9724         (pow_upward_test_data): Likewise.
9725         (pow_test_upward): Likewise.
9726         (main): Don't call removed functions.
9727         * sysdeps/i386/fpu/libm-test-ulps: Update.
9728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9730 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9733         Moved ...
9734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9736         Moved ...
9737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9739         Moved ...
9740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9742         Moved ...
9743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9745         File removed.
9746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9747         File removed.
9748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9749         File removed.
9750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9751         File removed.
9752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9753         File removed.
9754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9755         File removed.
9756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9757         File removed.
9758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9759         File removed.
9760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9761         File removed.
9762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9763         File removed.
9764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9765         File removed.
9766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9767         File removed.
9768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9769         Moved ...
9770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9772         Moved ...
9773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9774         ... here.
9775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9776         Moved ...
9777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9779         Moved ...
9780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9782         Moved ...
9783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9785         Moved ...
9786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9788         Moved ...
9789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9791         Moved ...
9792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9794         Moved ...
9795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9798         ... here.
9799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9800         Moved ...
9801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9803         Moved ...
9804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9805         ... here.
9806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9807         Moved ...
9808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9809         ... here.
9810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9811         Moved ...
9812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9813         ... here.
9814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9815         Moved ...
9816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9818         Moved ...
9819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9823         Moved ...
9824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9825         ... here.
9826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9827         Moved ...
9828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9829         ... here.
9830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9831         Moved ...
9832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9834         Moved ...
9835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9837         Moved ...
9838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9840         Moved ...
9841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9843         Moved ...
9844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9845         ... here.
9846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9847         Moved ...
9848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9850         Moved ...
9851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9853         Moved ...
9854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9856         Moved ...
9857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9861         Moved ...
9862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9864         Moved ...
9865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9867         Moved ...
9868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9869         ... here.
9870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9871         Moved ...
9872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9873         ... here.
9874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9875         Moved ...
9876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9877         ... here.
9878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9879         Moved ...
9880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9882         Moved ...
9883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9885         Moved ...
9886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9888         Moved ...
9889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9890         ... here.
9891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9892         Moved ...
9893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9894         ... here.
9895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9896         Moved ...
9897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9898         ... here.
9899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9900         Moved ...
9901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9903         Moved ...
9904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9906 2014-06-23  Will Newton  <will.newton@linaro.org>
9907             Wilco  <wdijkstr@arm.com>
9909         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9910         implementation.  Include get-rounding-mode.h.
9911         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9912         [!libc_feholdsetround_noex_ctx]: Define
9913         libc_feholdsetround_noex_ctx.
9914         [!libc_feholdsetround_noexf_ctx]: Define
9915         libc_feholdsetround_noexf_ctx.
9916         [!libc_feholdsetround_noexl_ctx]: Define
9917         libc_feholdsetround_noexl_ctx.
9918         (libc_feholdsetround_ctx): New function.
9919         (libc_feresetround_ctx): New function.
9920         (libc_feholdsetround_noex_ctx): New function.
9921         (libc_feresetround_noex_ctx): New function.
9923 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9925         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9926         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9927         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9928         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9929         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9930         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9932         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9933         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9934         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9935         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9936         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9937         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9938         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9939         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9940         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9941         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9942         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9943         Moved ...
9944         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9945         ... here.
9946         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9947         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9948         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9949         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9950         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9951         Moved ...
9952         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9953         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9954         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9955         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9956         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9957         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9958         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9959         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9960         Moved ...
9961         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9962         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9963         Moved ...
9964         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9965         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9966         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9967         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9968         Moved ...
9969         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9970         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9971         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9972         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9973         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9974         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9975         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9976         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9977         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9978         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9979         Moved ...
9980         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9981         ... here.
9982         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9983         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9984         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9985         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9986         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9987         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9988         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9989         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9990         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9991         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9992         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9993         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9994         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9995         Moved ...
9996         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9997         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9998         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9999         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10000         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10001         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10002         Moved ...
10003         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10004         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10005         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10006         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10007         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10009         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10010         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10011         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10012         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10013         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10014         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10015         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10016         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10017         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10018         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10019         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10020         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10021         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10022         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10023         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10024         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10025         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10026         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10027         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10028         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10029         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10030         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10031         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10032         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10033         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10034         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10035         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10036         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10038 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10040         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10041         (FALLOC_FL_COLLAPSE_RANGE): New macro.
10042         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10043         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10044         (IPV6_PMTUDISC_INTERFACE): Likewise.
10045         (IPV6_PMTUDISC_OMIT): Likewise.
10047 2014-06-23  Andreas Schwab  <schwab@suse.de>
10049         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10050         Remove unused errout label.
10052 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10054         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10055         macro: hardware supports Vector Crypto instructions.
10057 2014-06-23  Will Newton  <will.newton@linaro.org>
10059         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10060         rather than __builtin_expect.
10062         * elf/dl-lookup.c (undefined_msg): Remove variable.
10063         (_dl_lookup_symbol_x): Replace undefined_msg with string
10064         literal.
10066         * elf/dl-lookup.c (do_lookup_unique): New function.
10067         (do_lookup_x): Move STB_GNU_UNIQUE handling code
10068         to a separate function.
10070 2014-06-23  Andreas Schwab  <schwab@suse.de>
10072         [BZ #17079]
10073         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10074         before reading the next line.
10076 2014-06-23  Will Newton  <will.newton@linaro.org>
10078         * test-skeleton.c (signal_handler): Use printf and %m
10079         rather than perror.  Use printf rather than fprintf to
10080         stderr.  Use puts rather than fputs to stderr.
10081         (main): Likewise.
10083 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
10085         * nscd/nscd.c (thread_info_t): Remove typedef.
10086         (thread_info): Remove variable.
10088 2014-06-21  Allan McRae  <allan@archlinux.org>
10090         * NEWS: Mention CVE-2014-4043.
10092 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10094         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10095         * nptl/smp.h: ... here.
10097         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10099         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10100         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10101         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10102         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10104         * nptl/allocatestack.c: Include <stack-aliasing.h>.
10105         * nptl/stack-aliasing.h: New file.
10106         * sysdeps/i386/i686/stack-aliasing.h: New file.
10107         * sysdeps/i386/i686/nptl/Makefile: File removed.
10108         * sysdeps/x86_64/stack-aliasing.h: New file.
10109         * sysdeps/x86_64/nptl/Makefile
10110         (CFLAGS-pthread_create.c): Variable removed.
10112         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10113         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10114         old file.
10115         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10116         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10117         old file.
10119 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
10121         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10122         (__ASSUME_SIGFRAME_V2): Remove macro.
10123         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10124         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10125         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10126         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10127         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10128         Declare as function.  Remove conditional macro definitions.
10129         (__default_rt_sa_restorer): Likewise.
10130         (__default_sa_restorer_v1): Remove declaration.
10131         (__default_sa_restorer_v2): Likewise.
10132         (__default_rt_sa_restorer_v1): Likewise.
10133         (__default_rt_sa_restorer_v2): Likewise.
10134         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10135         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10136         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10138 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10140         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10141         (libpthread-routines): Add sysdep.
10142         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10143         * sysdeps/unix/sysv/linux/sparc/Versions
10144         (libpthread: GLIBC_2.3.3): New version set.
10145         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10146         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10147         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10148         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10149         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
10150         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10151         Moved ...
10152         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10153         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10154         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10155         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10156         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10157         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10158         * sysdeps/sparc/nptl/sem_init.c: ... here.
10159         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10160         * sysdeps/sparc/nptl/sem_post.c: ... here.
10161         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10162         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10163         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10164         * sysdeps/sparc/nptl/sem_wait.c: ... here.
10165         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10166         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10167         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10168         (libpthread-routines): Add cpu_relax.
10169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10170         File removed.
10171         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10172         (librt: GLIBC_2.3.3): New version set.
10173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10174         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10175         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10176         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10179         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10180         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10181         Moved ...
10182         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10184         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10186         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10188         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10190         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10192         Moved ...
10193         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10194         Update #include.
10195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10196         Moved ...
10197         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10198         Update #include.
10199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10200         Moved ...
10201         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10202         Update #include.
10203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10204         Moved ...
10205         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10206         Update #include.
10207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10208         Moved ...
10209         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10210         Update #include.
10211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10212         Moved ...
10213         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10214         Update #include.
10215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10216         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10218         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10220         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10221         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10222         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10224         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10226         Moved ...
10227         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10229         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10231         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10233 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10235         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10236         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10237         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10238         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10239         * nscd/nscd.c: Likewise.
10240         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10241         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10242         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10243         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10245         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10246         <kernel-features.h>.
10247         (init_mq_netlink): Remove conditional have_sock_cloexec
10248         definitions.  Remove code conditional on have_sock_cloexec < 0.
10249         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10250         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10251         * sysdeps/unix/sysv/linux/opensock.c: Do not include
10252         <kernel-features.h>.
10253         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10254         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10256 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10258         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10259         Add tests for memset_chk and memset.
10261         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10262         with AVX2_Usable.
10264 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10266         [BZ #16046]
10267         * elf/tst-dl-iter-static.c: New file.
10268         * elf/Makefile (tests-static): Add tst-dl-iter-static.
10270         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10271         error.
10273 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10275         * sysdeps/unix/sysv/linux/kernel-features.h
10276         (__ASSUME_F_GETOWN_EX): Remove macro.
10277         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10278         <kernel-features.h>.
10279         (miss_F_GETOWN_EX): Remove variable or macro.
10280         (do_fcntl): Do not check miss_F_GETOWN_EX.
10281         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10284         Remove macro.
10285         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10286         [!__ASSUME_AT_RANDOM]: Remove conditional code.
10287         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10289         * sysdeps/unix/sysv/linux/kernel-features.h
10290         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10291         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10292         [ADJ_OFFSET_SS_READ]: Make code unconditional.
10293         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10295 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10297         [BZ #17075]
10298         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10299         Fix calculation of the symbol's value.
10300         * sysdeps/arm/tst-armtlsdescloc.c: New file.
10301         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10302         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10303         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10304         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10305         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10306         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10307         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10308         (modules-names): Add `tst-armtlsdescmod',
10309         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10310         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10311         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10312         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10313         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10314         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10315         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10316         ($(objpfx)tst-armtlsdescloc): New dependency.
10317         ($(objpfx)tst-armtlsdescextnow): Likewise.
10318         ($(objpfx)tst-armtlsdescextlazy): Likewise.
10319         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10320         TLS scheme support.
10321         * sysdeps/arm/configure: Regenerate.
10323 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10325         * include/fcntl.h (__atfct_seterrno): Remove prototype.
10326         (__atfct_seterrno_2): Likewise.
10327         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10328         <kernel-features.h>.
10329         (__ASSUME_ATFCTS): Do not undefine and redefine.
10330         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10331         (__have_atfcts): Remove conditional definition.
10332         (__fxstatat([__NR_fstatat64]: Make code unconditional.
10333         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10334         unreachable if [__ASSUME_ATFCTS].
10335         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10336         not undefine and redefine.
10337         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10338         <kernel-features.h>.
10339         (faccessat) [__NR_faccessat]: Make code unconditional.
10340         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10341         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10342         <kernel-features.h>.
10343         (fchmodat) [__NR_fchmodat]: Make code unconditional.
10344         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10345         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10346         <kernel-features.h>.
10347         (fchownat) [__NR_fchownat]: Make code unconditional.
10348         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10349         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10350         <kernel-features.h>.
10351         (futimesat) [__NR_futimesat]: Make code unconditional.
10352         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10353         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10354         <kernel-features.h>.
10355         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10356         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10357         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10358         <kernel-features.h>.
10359         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10360         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10361         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10362         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10363         <kernel-features.h>.
10364         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10365         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10366         * sysdeps/unix/sysv/linux/linkat.c: Do not include
10367         <kernel-features.h>.
10368         (linkat) [__NR_linkat]: Make code unconditional.
10369         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10370         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10371         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10372         <kernel-features.h>.
10373         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10374         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10375         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10376         <kernel-features.h>.
10377         (mkdirat) [__NR_mkdirat]: Make code unconditional.
10378         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10379         * sysdeps/unix/sysv/linux/openat.c: Do not include
10380         <kernel-features.h>.
10381         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10382         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10383         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10384         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10385         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10386         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10387         <kernel-features.h>.
10388         (readlinkat) [__NR_readlinkat]: Make code unconditional.
10389         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
10390         result of INLINE_SYSCALL directly, not via int variable.
10391         * sysdeps/unix/sysv/linux/renameat.c: Do not include
10392         <kernel-features.h>.
10393         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10394         (renameat) [__NR_renameat]: Make code unconditional.
10395         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10396         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10397         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10398         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10399         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10400         (__ASSUME_ATFCTS): Do not undefine and redefine.
10401         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10402         <kernel-features.h>.
10403         (symlinkat) [__NR_symlinkat]: Make code unconditional.
10404         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10405         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10406         <kernel-features.h>.
10407         (unlinkat) [__NR_unlinkat]: Make code unconditional.
10408         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10409         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10410         (__ASSUME_ATFCTS): Do not undefine and redefine.
10411         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10412         <kernel-features.h>.
10413         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10414         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10415         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10416         <kernel-features.h>.
10417         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10418         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10420 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10422         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10424 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10426         [BZ #17069]
10427         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10428         constructed tree before returning error.
10429         * posix/bug-regexp36.c: Expand test case.
10431 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10433         [BZ #6803]
10434         * math/libm-test.inc (scalbln_test_date):
10435         Add errno expectations.
10436         * math/w_scalblnf.c: New File.
10437         Add wrapper which checks for setting errno to ERANGE.
10438         Add weak_alias for corresponding scalbln function.
10439         * math/w_scalbln.c: Likewise.
10440         * math/w_scalblnl.c: Likewise.
10441         * math/Makefile (libm-calls): Add w_scalbln.
10442         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10443         Remove weak_alias for corresponding scalbln function.
10444         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10445         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10446         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10447         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10448         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10449         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10450         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10451         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10452         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10453         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10454         Remove long_double_symbol for scalblnl function in libm, libc.
10455         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10456         Add wrapper which checks for setting errno to ERANGE.
10457         Add long_double_symbol for scalblnl function in libm, libc.
10458         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10459         Remove long_double_symbol for scalblnl in libm.
10460         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10461         Add wrapper which checks for setting errno to ERANGE.
10462         Add long_double_symbol for scalblnl function in libm.
10463         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10464         Do not use wrapper because of own implementation.
10466 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10468         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10469         3 bytes for __pad1 for x32.
10470         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10472 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10473             H.J. Lu  <hongjiu.lu@intel.com>
10475         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10476         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10477         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10478         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10479         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10481 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10483         [BZ #17069]
10484         * posix/regcomp.c (parse_expression): Deallocate partially
10485         constructed tree before returning error.
10486         * posix/Makefile.c (tests): Add bug-regex36.
10487         (generated): Add bug-regex36.mtrace.
10488         (tests-special): Add $(objpfx)bug-regex36-mem.out
10489         (bug-regex36-ENV): New variable.
10490         ($(objpfx)bug-regex36-mem.out): New rule.
10491         * posix/bug-regex36.c: New file.
10493 2014-06-19  Will Newton  <will.newton@linaro.org>
10495         * malloc/malloc.c (systrim): If extra is zero then return
10496         early.
10498 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10500         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10502 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10504         * sysdeps/aarch64/strchr.S: New file.
10506 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10508         [BZ #17022]
10509         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10510         from arguments -2 or below.
10511         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10512         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10514 2014-06-18  Andreas Schwab  <schwab@suse.de>
10516         [BZ #17062]
10517         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10518         of a bracket expr not to run off the end of the string.
10519         * posix/Makefile (tests): Add tst-fnmatch3.
10520         * posix/tst-fnmatch3.c: New file.
10522 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10524         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10525         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10526         [$(cross-compiling) = no]: Likewise.
10527         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10528         [$(cross-compiling) = no]: Likewise.
10530 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10532         [BZ #17031]
10533         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10534         double, adjusted for any remainder from the high double.
10535         * math/libm-test.inc (nearbyint): Add tests.
10536         (rint): Likewise.
10538 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10540         * nptl/sysdeps/powerpc/Makefile: Moved ...
10541         * sysdeps/powerpc/nptl/Makefile: ... here.
10542         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10543         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10544         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10545         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10546         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10547         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10548         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10549         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10550         * nptl/sysdeps/powerpc/tls.h: Moved ...
10551         * sysdeps/powerpc/nptl/tls.h: ... here.
10553 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10555         [BZ #16681]
10556         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10557         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10558         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10559         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10560         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10561         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10562         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10563         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10564         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10566 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10568         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10570 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10572         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10573         defined operator.
10575         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10576         $TIMEOUTFACTOR.
10578 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10580         [BZ #17058]
10581         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10582         non-executed part of the test.
10584 2014-06-16  Andreas Schwab  <schwab@suse.de>
10586         * string/bits/string2.h (strdup, strndup): Update feature guard.
10588 2014-06-14  David S. Miller  <davem@davemloft.net>
10590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10592 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10594         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10595         that was previously under [RESET_PID].
10596         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10598         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10599         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10600         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10601         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10602         (__libc_vfork): New strong alias.
10603         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10605 2014-06-14 Andi Kleen  <ak@linux.intel.com>
10607         * sysdeps/generic/elide.h: New file.
10609 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10611         * Makefile (installed-headers): Adjust path of pthread.h header.
10613 2014-06-13  Roland McGrath  <roland@hack.frob.com>
10615         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10616         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10617         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10618         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10620         * nptl/sysdeps/s390/Makefile: Moved ...
10621         * sysdeps/s390/nptl/Makefile: ... here.
10622         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10623         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10624         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10625         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10626         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10627         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10628         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10629         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10630         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10631         * sysdeps/s390/nptl/pthreaddef.h: ... here.
10632         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10633         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10634         * nptl/sysdeps/s390/tls.h: Moved ...
10635         * sysdeps/s390/nptl/tls.h: ... here.
10637         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10638         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10640 2014-06-13  David S. Miller  <davem@davemloft.net>
10642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10645         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10649         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10650         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10651         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10652         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10653         Remove RESET_PID cpp guards.
10654         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10655         Remove RESET_PID cpp guards.
10656         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10658 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
10660         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10661         __sp to uintptr_t.
10663 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10665         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10666         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10667         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10668         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10669         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10670         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10671         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10672         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10673         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10674         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10675         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10676         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10677         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10678         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10679         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10680         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10681         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10682         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10683         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10684         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10686         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10687         (pthread_rwlock_rdlock): Add elision.
10688         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10689         (pthread_rwlock_wrlock): Add elision.
10690         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10691         (pthread_rwlock_trywrlock): Add elision.
10692         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10693         (pthread_rwlock_tryrdlock): Add elision.
10694         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10695         (pthread_rwlock_tryrdlock): Add elision unlock.
10696         * nptl/sysdeps/pthread/pthread.h:
10697         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10698         (PTHREAD_RWLOCK_INITIALIZER,
10699         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10700         Handle new elision field.
10701         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10702         * sysdeps/arm/nptl/bits/pthreadtypes.h
10703         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10704         * sysdeps/sh/nptl/bits/pthreadtypes.h
10705         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10706         * sysdeps/tile/nptl/bits/pthreadtypes.h
10707         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10708         * sysdeps/a/nptl/bits/pthreadtypes.h
10709         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10710         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10711         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10712         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10713         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10714         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10715         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10716         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10717         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10718         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10719         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10720         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10721         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10722         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10723         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10724         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10725         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10726         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10727         (elision_init): Set try_xbegin to zero when no RTM.
10728         * sysdeps/x86/nptl/bits/pthreadtypes.h
10729         (pthread_rwlock_t): Change __pad1 to __rwelision.
10730         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10732 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10734         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10735         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10736         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10737         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10739 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10741         [BZ #16996]
10742         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10743         that the cached result has been set before returning it.
10745 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10747         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10748         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10749         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10750         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10751         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10752         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10754         * nptl/sysdeps/sparc/Makefile: Moved ...
10755         * sysdeps/sparc/nptl/Makefile: ... here.
10756         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10757         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10758         * nptl/sysdeps/sparc/tls.h: Moved ...
10759         * sysdeps/sparc/nptl/tls.h: ... here.
10760         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10761         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10762         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10763         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10764         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10765         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10766         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10767         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10768         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10769         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10770         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10771         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10772         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10773         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10774         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10775         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10776         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10777         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10778         Update #include.
10779         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10780         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10781         Update #include.
10782         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10783         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10784         Update #include.
10785         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10786         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10787         Update #include.
10789         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10791         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10792         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10794         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10795         (struct list_links): Type removed.
10796         (struct thread_node, struct timer_node): Replace struct list_links
10797         with struct list_head.
10798         (list_unlink_ip): Likewise.
10799         * sysdeps/pthread/timer_routines.c
10800         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10801         (list_append, list_insbefore): Likewise.
10802         (list_init): Function removed.
10803         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10804         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10805         * sysdeps/pthread/Makefile: ... here, new file.
10807         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10808         * sysdeps/nptl/Implies: ... here.
10809         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10810         * nptl/sysdeps/pthread/list.h: Moved ...
10811         * include/list.h: ... here.
10812         * nptl/sysdeps/pthread/createthread.c: Moved ...
10813         * nptl/createthread.c: ... here.
10814         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10815         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10816         * nptl/pt-longjmp.c: ... here.
10817         * nptl/sysdeps/pthread/Makefile: Moved ...
10818         * sysdeps/nptl/Makefile: ... here.
10819         * nptl/sysdeps/pthread/Subdirs: Moved ...
10820         * sysdeps/nptl/Subdirs: ... here.
10821         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10822         * sysdeps/nptl/aio_misc.h: ... here.
10823         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10824         * sysdeps/nptl/bits/libc-lock.h: ... here.
10825         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10826         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10827         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10828         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10829         * nptl/sysdeps/pthread/configure: Moved ...
10830         * sysdeps/nptl/configure: ... here.
10831         * nptl/sysdeps/pthread/configure.ac: Moved ...
10832         * sysdeps/nptl/configure.ac: ... here.
10833         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10834         * sysdeps/nptl/gai_misc.h: ... here.
10835         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10836         * sysdeps/nptl/librt-cancellation.c: ... here.
10837         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10838         * sysdeps/nptl/malloc-machine.h: ... here.
10839         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10840         * sysdeps/nptl/pthread-functions.h: ... here.
10841         * nptl/sysdeps/pthread/pthread.h: Moved ...
10842         * sysdeps/nptl/pthread.h: ... here.
10843         * nptl/sysdeps/pthread/setxid.h: Moved ...
10844         * sysdeps/nptl/setxid.h: ... here.
10845         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10846         * sysdeps/nptl/sigfillset.c: ... here.
10847         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10848         * sysdeps/nptl/tcb-offsets.h: ... here.
10849         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10850         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10851         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10852         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10853         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10854         * sysdeps/pthread/allocalim.h: ... here.
10855         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10856         * sysdeps/pthread/bits/sigthread.h: ... here.
10857         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10858         * sysdeps/pthread/flockfile.c: ... here.
10859         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10860         * sysdeps/pthread/ftrylockfile.c: ... here.
10861         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10862         * sysdeps/pthread/funlockfile.c: ... here.
10863         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10864         * sysdeps/pthread/posix-timer.h: ... here.
10865         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10866         * sysdeps/pthread/timer_create.c: ... here.
10867         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10868         * sysdeps/pthread/timer_delete.c: ... here.
10869         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10870         * sysdeps/pthread/timer_getoverr.c: ... here.
10871         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10872         * sysdeps/pthread/timer_gettime.c: ... here.
10873         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10874         * sysdeps/pthread/timer_routines.c: ... here.
10875         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10876         * sysdeps/pthread/timer_settime.c: ... here.
10877         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10878         * sysdeps/pthread/tst-timer.c: ... here.
10879         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10880         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10882         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10883         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10885         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10886         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10887         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10888         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10889         Update #include target.
10890         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10891         * sysdeps/i386/i686/nptl/Makefile: ... here.
10892         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10893         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10894         Update #include target.
10895         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10896         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10897         * nptl/sysdeps/i386/Makefile: Moved ...
10898         * sysdeps/i386/nptl/Makefile: ... here.
10899         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10900         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10901         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10902         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10903         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10904         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10905         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10906         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10907         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10908         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10909         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10910         * nptl/sysdeps/i386/tls.h: Moved ...
10911         * sysdeps/i386/nptl/tls.h: ... here.
10913         * sysdeps/sh/Makefile [$(subdir) = csu]
10914         (gen-as-const-headers): Add tcb-offsets.sym.
10915         * nptl/sysdeps/sh/Makefile: File removed.
10916         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10917         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10918         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10919         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10920         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10921         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10922         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10923         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10924         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10925         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10926         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10927         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10928         * nptl/sysdeps/sh/tls.h: Moved ...
10929         * sysdeps/sh/nptl/tls.h: ... here.
10930         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10931         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10932         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10933         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10934         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10935         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10936         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10937         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10938         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10939         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10940         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10941         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10942         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10943         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10944         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10945         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10946         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10947         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10948         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10949         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10950         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10951         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10952         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10953         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10954         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10955         Moved ...
10956         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10957         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10958         Moved ...
10959         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10960         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10961         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10962         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10963         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10964         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10965         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10966         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10967         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10968         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10969         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10970         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10971         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10972         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10973         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10974         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10975         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10976         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10977         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10979 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10981         * posix/spawn_faction_addopen.c: Include string.h.
10983 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10985         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10986         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10987         * nptl/sysdeps/x86_64/Makefile: Moved ...
10988         * sysdeps/x86_64/nptl/Makefile: ... here.
10989         * nptl/sysdeps/x86_64/configure: Moved ...
10990         * sysdeps/x86_64/nptl/configure: ... here.
10991         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10992         * sysdeps/x86_64/nptl/configure.ac: ... here.
10993         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10994         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10995         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10996         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10997         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10998         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10999         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11000         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11001         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11002         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11003         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11004         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11005         * nptl/sysdeps/x86_64/tls.h: Moved ...
11006         * sysdeps/x86_64/nptl/tls.h: ... here.
11007         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11008         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11009         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11010         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11012         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11014 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11018 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
11020         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11021         type.
11022         [POSIX] (off_t): Likewise.
11023         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11024         [POSIX] (S_ISBLK): Require macro.
11025         [POSIX] (S_ISCHR): Likewise.
11026         [POSIX] (S_ISDIR): Likewise.
11027         [POSIX] (S_ISFIFO): Likewise.
11028         [POSIX] (S_ISREG): Likewise.
11029         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11030         optional-macro.
11031         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11032         type.
11033         [POSIX] (time_t): Likewise.
11034         [POSIX] (timer_t): Likewise.
11036 2014-06-11  Florian Weimer  <fweimer@redhat.com>
11038         [BZ #17048]
11039         * posix/spawn_int.h (struct __spawn_action): Make the path string
11040         non-const to support deallocation.
11041         * posix/spawn_faction_addopen.c
11042         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11043         * posix/spawn_faction_destroy.c
11044         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
11045         path in all spawn_do_open actions.
11046         * posix/tst-spawn.c (do_test): Exercise the copy operation in
11047         posix_spawn_file_actions_addopen.
11049 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
11051         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11052         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11053         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11054         conditional code always true.
11055         (__libc_vfork): New alias.
11057 2014-06-11  Roland McGrath  <roland@hack.frob.com>
11059         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11060         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11062         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11064         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11065         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11067         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11068         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11070         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11071         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11073 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11075         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11076         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11077         multiarch strcmp for PPC64.
11078         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11079         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11081         multiarch optimizations.
11082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11083         (__libc_ifunc_impl_list): Likewise.
11085 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11087         * benchtests/scripts/validate_benchout.py: New script.
11088         * benchtests/Makefile (bench-func): Call it.
11089         * benchtests/scripts/benchout.schema.json: New file.
11091 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
11093         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11094         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11095         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11096         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11097         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11098         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11099         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11100         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11101         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11102         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11103         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11104         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11105         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11106         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11107         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11108         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11110         Moved ...
11111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11112         ... here.
11113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11114         Moved ...
11115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11117         Moved ...
11118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11119         ... here.
11120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11121         Moved ...
11122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11123         ... here.
11124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11125         Moved ...
11126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11128         Moved ...
11129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11130         ... here.
11131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11132         Moved ...
11133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11134         ... here.
11135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11136         Moved ...
11137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11139         Moved ...
11140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11141         ... here.
11142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11143         Moved ...
11144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11145         ... here.
11146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11147         Moved ...
11148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11149         ... here.
11150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11151         Moved ...
11152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11154         Moved ...
11155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11156         ... here.
11157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11158         Moved ...
11159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11160         ... here.
11161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11162         Moved ...
11163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11164         ... here.
11165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11166         Moved ...
11167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11169         Moved ...
11170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11171         ... here.
11172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11173         Moved ...
11174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11175         ... here.
11176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11177         Moved ...
11178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11180         Moved ...
11181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11182         ... here.
11183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11184         Moved ...
11185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11187         Moved ...
11188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11190         Moved ...
11191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11192         ... here.
11193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11194         Moved ...
11195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11196         ... here.
11197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11198         Moved ...
11199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11200         ... here.
11201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11202         Moved ...
11203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11205         Moved ...
11206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11207         ... here.
11208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11209         Moved ...
11210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11211         ... here.
11212         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11213         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11214         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11215         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11216         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11217         Moved ...
11218         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11219         ... here.
11220         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11221         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11222         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11223         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11224         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11225         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11226         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11227         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11228         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11229         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11230         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11231         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11232         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11233         Moved ...
11234         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11235         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11236         Moved ...
11237         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11238         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11239         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11240         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11241         Moved ...
11242         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11244         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11245         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11246         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11247         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11248         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11250 2014-06-10  Wilco  <wdijkstr@arm.com>
11252         * math/test-fenv-return.c: New file.
11253         * math/Makefile: Add new test test-fenv-return.
11255 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
11257         [BZ #17042]
11258         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11259         when x - 1 is zero.
11260         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11261         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11262         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11263         0.0L for an argument of 1.0L.
11264         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11265         Likewise.
11266         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11267         value when x - 1 is zero.
11268         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11269         * sysdeps/i386/fpu/libm-test-ulps: Update.
11270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11272 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
11274         [BZ #15119]
11275         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11277 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11279         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11280         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11282 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11284         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11285         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11287         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11288         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11290         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11291         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11293         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11294         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11296         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11297         if not already defined.
11298         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11299         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11300         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11301         (TLS_INIT_TP): Use it.
11302         (TLS_DEFINE_INIT_TP): New macro.
11303         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11305 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
11307         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11308         constant.
11309         [POSIX] (IXANY): Likewise.
11310         [POSIX] (OLCUC): Likewise.
11311         [POSIX || POSIX2008] (CBAUD): Do not allow.
11312         [POSIX || POSIX2008] (DEFECHO): Likewise.
11313         [POSIX || POSIX2008] (ECHOCTL): Likewise.
11314         [POSIX || POSIX2008] (ECHOKE): Likewise.
11315         [POSIX || POSIX2008] (ECHOPRT): Likewise.
11316         [POSIX || POSIX2008] (EXTA): Likewise.
11317         [POSIX || POSIX2008] (EXTB): Likewise.
11318         [POSIX || POSIX2008] (FLUSHO): Likewise.
11319         [POSIX || POSIX2008] (LOBLK): Likewise.
11320         [POSIX || POSIX2008] (PENDIN): Likewise.
11321         [POSIX || POSIX2008] (SWTCH): Likewise.
11322         [POSIX || POSIX2008] (VDISCARD): Likewise.
11323         [POSIX || POSIX2008] (VDSUSP): Likewise.
11324         [POSIX || POSIX2008] (VLNEXT): Likewise.
11325         [POSIX || POSIX2008] (VREPRINT): Likewise.
11326         [POSIX || POSIX2008] (VSTATUS): Likewise.
11327         [POSIX || POSIX2008] (VWERASE): Likewise.
11328         (B*): Change to B[0123456789]*.
11329         * conform/data/time.h-data [POSIX || UNIX98]
11330         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11331         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11332         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11333         [POSIX] (tm_*): Do not allow.
11335 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
11337         * Makefile (install): Don't set LANGUAGE.
11338         * Makefile.in (install): Likewise.
11339         * assert/Makefile (test-assert-ENV): Remove variable.
11340         (test-assert-perr-ENV): Likewise.
11341         * elf/Makefile (neededtest4-ENV): Likewise.
11342         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11343         [$(cross-compiling) = no]: Don't set LANGUAGE.
11344         * io/ftwtest-sh (LANG): Remove variable.
11345         * libio/Makefile (tst-widetext-ENV): Likewise.
11346         * manual/install.texi (Running make install): Don't refer to
11347         environment settings for make install.
11348         * INSTALL: Regenerated.
11349         * nptl/tst-tls6.sh: Don't set LANG.
11350         * posix/globtest.sh (LANG): Remove variable.
11351         * string/Makefile (tester-ENV): Likewise.
11352         (inl-tester-ENV): Likewise.
11353         (noinl-tester-ENV): Likewise.
11354         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11355         [$(cross-compiling) = no]: Don't set LANGUAGE.
11356         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11357         without explicit environment settings.
11359 2014-06-06  Roland McGrath  <roland@hack.frob.com>
11361         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11362         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11363         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11364         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11366 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
11368         * crypt/crypt-private.h [DOS]: Add some includes taken from the
11369         other files in the crypt directory.
11370         * crypt/crypt.c: Remove duplicate includes.
11371         * crypt/crypt-entry.c: Likewise.
11372         * crypt/crypt_util.c: Likewise.
11374 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
11376         * Makeconfig (run-program-env): New variable.
11377         (run-program-prefix-before-env): Likewise.
11378         (run-program-prefix-after-env): Likewise.
11379         (run-program-prefix): Define in terms of new variables.
11380         (built-program-cmd-before-env): New variable.
11381         (built-program-cmd-after-env): Likewise.
11382         (built-program-cmd): Define in terms of new variables.
11383         (test-program-prefix-before-env): New variable.
11384         (test-program-prefix-after-env): Likewise.
11385         (test-program-prefix): Define in terms of new variables.
11386         (test-program-cmd-before-env): New variable.
11387         (test-program-cmd-after-env): Likewise.
11388         (test-program-cmd): Define in terms of new variables.
11389         * Rules (make-test-out): Use $(run-program-env).
11390         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11391         (help): Do not mention environment variables.  Mention
11392         --timeoutfactor option.
11393         (timeoutfactor): New variable.
11394         (blacklist_exports): Remove function.
11395         (exports): Remove variable.
11396         (command): Do not include ${exports}.
11397         * manual/install.texi (Configuring and compiling): Do not mention
11398         test wrappers preserving environment variables.  Mention that last
11399         assignment to a variable must take precedence.
11400         * INSTALL: Regenerated.
11401         * benchtests/Makefile (run-bench): Use $(run-program-env).
11402         * catgets/Makefile ($(objpfx)test1.cat): Use
11403         $(built-program-cmd-before-env), $(run-program-env) and
11404         $(built-program-cmd-after-env).
11405         ($(objpfx)test2.cat): Do not specify environment variables
11406         explicitly.
11407         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11408         $(run-program-env) and $(built-program-cmd-after-env).
11409         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11410         $(run-program-env) and $(test-program-cmd-after-env).
11411         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11412         explicitly.
11413         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11414         run_program_env and test_program_cmd_after_env arguments.
11415         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11416         * elf/tst-pathopt.sh: Use run_program_env argument.
11417         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11418         $(test-wrapper-env) and $(run-program-env).
11419         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11420         run_program_env arguments.
11421         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11422         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11423         $(test-program-prefix-before-env), $(run-program-env) and
11424         $(test-program-prefix-after-env).
11425         ($(objpfx)tst-gettext2.out): Likewise.
11426         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11427         run_program_env and test_program_prefix_after_env arguments.
11428         * intl/tst-gettext2.sh: Likewise.
11429         * intl/tst-gettext4.sh: Do not set environment variables
11430         explicitly.
11431         * intl/tst-gettext6.sh: Likewise.
11432         * intl/tst-translit.sh: Likewise.
11433         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11434         $(test-program-prefix-before-env), $(run-program-env) and
11435         $(test-program-prefix-after-env).
11436         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11437         run_program_env and test_program_prefix_after_env arguments.
11438         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11439         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11440         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11441         explicitly with each use of ${test_wrapper_env}.
11442         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11443         $(test-program-prefix-before-env), $(run-program-env) and
11444         $(test-program-prefix-after-env).
11445         * posix/tst-getconf.sh: Do not set environment variables
11446         explicitly.
11447         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11448         run_program_env and test_program_prefix_after_env arguments.
11449         * stdio-common/tst-printf.sh: Do not set environment variables
11450         explicitly.
11451         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11452         $(test-program-prefix-before-env), $(run-program-env) and
11453         $(test-program-prefix-after-env).
11454         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11455         run_program_env and test_program_prefix_after_env arguments.
11456         Split $test calls into $test_pre and $test.
11457         * timezone/Makefile (build-testdata): Use
11458         $(built-program-cmd-before-env), $(run-program-env) and
11459         $(built-program-cmd-after-env).
11461 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11463         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11464         strlen for non SHARED builds.
11466 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11468         * nptl/allocatestack.c (check_list): Inlined function...
11469         (__reclaim_stacks): ... here.
11471 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11473         [BZ #15698]
11474         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11475         memory overrun.
11477 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11479         * Rules (make-test-out): Include
11480         LOCPATH=$(common-objpfx)localedata in default environment.
11481         * debug/Makefile (tst-chk1-ENV): Remove variable.
11482         (tst-chk2-ENV): Likewise.
11483         (tst-chk3-ENV): Likewise.
11484         (tst-chk4-ENV): Likewise.
11485         (tst-chk5-ENV): Likewise.
11486         (tst-chk6-ENV): Likewise.
11487         (tst-lfschk1-ENV): Likewise.
11488         (tst-lfschk2-ENV): Likewise.
11489         (tst-lfschk3-ENV): Likewise.
11490         (tst-lfschk4-ENV): Likewise.
11491         (tst-lfschk5-ENV): Likewise.
11492         (tst-lfschk6-ENV): Likewise.
11493         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11494         (tst-iconv7-ENV): Likewise.
11495         * intl/Makefile (LOCPATH-ENV): Likewise.
11496         (tst-codeset-ENV): Likewise.
11497         (tst-gettext3-ENV): Likewise.
11498         (tst-gettext5-ENV): Likewise.
11499         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11500         (tst-fopenloc-ENV): Likewise.
11501         (tst-fgetws-ENV): Remove variable.
11502         (tst-ungetwc1-ENV): Likewise.
11503         (tst-ungetwc2-ENV): Likewise.
11504         (bug-ungetwc2-ENV): Likewise.
11505         (tst-swscanf-ENV): Likewise.
11506         (bug-ftell-ENV): Likewise.
11507         (tst-fgetwc-ENV): Likewise.
11508         (tst-fseek-ENV): Likewise.
11509         (tst-ftell-partial-wide-ENV): Likewise.
11510         (tst-ftell-active-handler-ENV): Likewise.
11511         (tst-ftell-append-ENV): Likewise.
11512         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11513         (tst-regexloc-ENV): Likewise.
11514         (bug-regex1-ENV): Likewise.
11515         (tst-regex-ENV): Likewise.
11516         (tst-regex2-ENV): Likewise.
11517         (bug-regex5-ENV): Likewise.
11518         (bug-regex6-ENV): Likewise.
11519         (bug-regex17-ENV): Likewise.
11520         (bug-regex18-ENV): Likewise.
11521         (bug-regex19-ENV): Likewise.
11522         (bug-regex20-ENV): Likewise.
11523         (bug-regex22-ENV): Likewise.
11524         (bug-regex23-ENV): Likewise.
11525         (bug-regex25-ENV): Likewise.
11526         (bug-regex26-ENV): Likewise.
11527         (bug-regex30-ENV): Likewise.
11528         (bug-regex32-ENV): Likewise.
11529         (bug-regex33-ENV): Likewise.
11530         (bug-regex34-ENV): Likewise.
11531         (bug-regex35-ENV): Likewise.
11532         (tst-rxspencer-ENV): Likewise.
11533         (tst-rxspencer-no-utf8-ENV): Likewise.
11534         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11535         (tst-sscanf-ENV): Likewise.
11536         (tst-swprintf-ENV): Likewise.
11537         (tst-swscanf-ENV): Likewise.
11538         (test-vfprintf-ENV): Likewise.
11539         (scanf13-ENV): Likewise.
11540         (bug14-ENV): Likewise.
11541         (tst-grouping-ENV): Likewise.
11542         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11543         (tst-strtod3-ENV): Likewise.
11544         (tst-strtod4-ENV): Likewise.
11545         (tst-strtod5-ENV): Likewise.
11546         (testmb2-ENV): Likewise./
11547         * string/Makefile (tst-strxfrm-ENV): Likewise.
11548         (tst-strxfrm2-ENV): Likewise.
11549         (bug-strcoll1-ENV): Likewise.
11550         (test-strcasecmp-ENV): Likewise.
11551         (test-strncasecmp-ENV): Likewise.
11552         * time/Makefile (tst-strptime-ENV): Likewise.
11553         (tst-ftime_l-ENV): Likewise.
11554         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11555         (tst-mbrtowc-ENV): Likewise.
11556         (tst-wcrtomb-ENV): Likewise.
11557         (tst-mbrtowc2-ENV): Likewise.
11558         (tst-c16c32-1-ENV): Likewise.
11559         (tst-mbsnrtowcs-ENV): Likewise.
11561 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11563         * manual/resource.texi (How to get information about the memory
11564         subsystem?): Fix typo.
11565         Reported by Peon de la Parra Ivan <peon@keba.com>
11567 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11569         [BZ #16882]
11570         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11571         (pthread_spin_lock): Branch out of spin loop to proper location.
11572         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11573         (pthread_spin_lock): Likewise.
11575         * nptl/tst-spin4.c: New test.
11576         * nptl/Makefile (tests): Add tst-spin4.
11578 2014-06-03  Andreas Schwab  <schwab@suse.de>
11580         [BZ #15946]
11581         * resolv/res_send.c (send_dg): Reload file descriptor after
11582         calling reopen.
11584 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11586         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11588 2014-06-03  Richard Henderson  <rth@redhat.com>
11590         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11591         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11592         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11593         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
11594         in the SAVE_PID block.
11595         (__libc_vfork): New alias.
11596         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11598         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11599         child in registers, not on the stack.  Remove RESET_PID conditionals.
11600         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11602 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11604         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11606 2014-06-03  Wilco  <wdijkstr@arm.com>
11608         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11609         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11610         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11611         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11612         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11613         Likewise.
11615 2014-06-03  Wilco  <wdijkstr@arm.com>
11617         * sysdeps/aarch64/fpu/math_private.h
11618         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11619         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11620         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11621         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11622         Fix declarations.
11624 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11626         * crypt/crypt-private.h: Include ufc-crypt.h.
11627         (__b64_from_24bit): Declare extern.
11628         * crypt/crypt_util.c(__b64_from_24bit): New function.
11629         (b64t): New static const variable.
11630         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11631         (b64t): Remove variable.
11632         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11633         * crypt/sha256-crypt.c: Include crypt-private.h.
11634         (b64t): Remove variable.
11635         (__sha256_crypt_r): Remove b64_from_24bit and replace
11636         with __b64_from_24bit.
11637         * crypt/sha512-crypt.c: Likewise.
11639 2014-06-02  Roland McGrath  <roland@hack.frob.com>
11641         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11642         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11643         Label the code __libc_vfork rather than __vfork.
11644         [!NOT_IN_libc] (vfork): Define as weak alias.
11645         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11646         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11647         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11649 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11651         * malloc/malloc.c (malloc_info): Fix format specifier for
11652         n_mmaps.
11654 2014-06-02  Wilco  <wdijkstr@arm.com>
11656         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11657         FPCR write.
11659 2014-06-02  Wilco  <wdijkstr@arm.com>
11661         [BZ #17009]
11662         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11663         Rewrite to reduce FPCR/FPSR accesses.
11665 2014-06-01  David S. Miller  <davem@davemloft.net>
11667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11669 2014-05-31  David S. Miller  <davem@davemloft.net>
11671         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11672         to occur in round to nearest mode when |x| >= 2.0
11674 2014-05-30  Richard Henderson  <rth@twiddle.net>
11676         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11677         (PSEUDO_RET_NOERRNO): Remove.
11678         (ret): Don't redefine.
11679         (ret_NOERRNO): Define in terms of ret.
11680         (ret_ERRVAL): Likewise.
11682         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11683         use of PSEUDO_RET; perform the error check directly.
11685 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11687         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11688         with __int128_t.
11690 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11692         * malloc/malloc (malloc_info): Fix formatting.
11694 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11695             Roland McGrath  <roland@hack.frob.com>
11697         * malloc/malloc (malloc_info): Also print mmapped statistics.
11699 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11701         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11702         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11704 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11706         * malloc/malloc.c (malloc_info): Inline mi_arena.
11708 2014-05-29  Richard Henderson  <rth@twiddle.net>
11710         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11711         Remove comma before expanding ASM_ARGS_##nr.
11712         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11713         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11714         of ASM_ARGS_##nr.
11715         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11716         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11717         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11718         (ASM_ARGS_1): Add leading comma.
11720         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11721         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11722         to __errno_location.
11723         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11724         Remove the expected plt for __errno_location.
11726         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11727         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11728         call to __read_tp.
11730         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11731         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11732         it and break it down.
11733         (DOCARGS_0, DOCARGS_1): Do nothing.
11734         (DOCARGS_2): Update to store into the new stack frame.
11735         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11736         (UNDOCARGS_1): Update to restore from the new stack frame.
11737         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11738         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11740         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11741         (SINGLE_THREAD_P): New parameter for result regno.
11742         (PSEUDO): Update to match; use cbz instead of beq.
11744         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11745         Use ENTRY to define the _nocancel entry point.  Share the syscall
11746         and syscall error check paths with the cancel path.
11747         (PSEUDO_END): New.
11749         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11750         whitespace; tabs before and after asm mnemonics.
11752 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11754         [BZ #15132]
11755         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11756         Call fstat64 or stat64 internally, depending on arguments passed.
11757         Replace stat buffer argument with file descriptor argument.
11758         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11759         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11760         Pass fd to __internal_statvfs instead of calling fstat64.
11761         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11762         Pass fd to __internal_statvfs64 instead of calling fstat64.
11763         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11764         Pass -1 to __internal_statvfs instead of calling stat64.
11765         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11766         Pass -1 to __internal_statvfs64 instead of calling stat64.
11768 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11770         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11771         that was previously under [RESET_PID].
11772         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11774         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11775         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11777 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11779         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11781         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11782         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11784 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11786         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11788 2014-05-27  Andreas Schwab  <schwab@suse.de>
11790         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11791         TLS_INIT_TP macro.
11792         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11793         * elf/rtld.c (init_tls, dl_main): Likewise.
11794         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11795         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11796         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11797         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11798         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11799         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11800         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11801         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11802         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11803         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11804         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11805         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11806         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11807         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11808         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11809         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11810         * sysdeps/generic/tls.h: Update description.
11812 2014-05-27  Will Newton  <will.newton@linaro.org>
11814         [BZ #16990]
11815         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11816         and restore r2 rather than just restoring.
11818 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11820         [BZ #16724]
11821         * libio/tst-ftell-append.c: New test case.
11822         * libio/Makefile (tests): Add test case.
11823         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11824         append mode.
11825         * libio/wfileops.c (do_ftell_wide): Likewise.
11827 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11831         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11832         ...
11833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11835         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11836         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11837         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11838         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11839         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11840         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11841         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11842         Moved ...
11843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11844         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11845         Moved ...
11846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11847         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11848         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11849         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11850         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11851         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11852         ...
11853         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11854         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11855         Moved ...
11856         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11857         here.
11858         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11859         ...
11860         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11861         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11862         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11864         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11865         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11866         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11867         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11869         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11870         merge into ...
11871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11872         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11873         ...
11874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11875         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11876         ...
11877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11878         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11879         Moved ...
11880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11881         here.
11882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11883         Moved ...
11884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11885         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11886         Moved ...
11887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11890         conditional [RESET_PID].
11891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11892         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11893         removed.
11894         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11895         removed.
11897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11898         <tcb-offsets.h>.
11899         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11900         (__libc_vfork): New strong alias.
11901         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11902         removed.
11903         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11904         Removed.
11906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11907         <tcb-offsets.h>.
11908         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11909         (__libc_vfork): New strong alias.
11910         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11911         removed.
11912         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11913         removed.
11915 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11917         * malloc/malloc.c (mi_arena): New function.
11918         (malloc_info): Remove nested function mi_arena. Call non-nosted
11919         function mi_arena.
11921 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11923         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11924         by insrwi.
11925         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11926         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11927         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11928         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11929         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11930         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11931         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11933 2014-05-26  Andreas Schwab  <schwab@suse.de>
11935         [BZ #16984]
11936         * locale/programs/repertoire.c (repertoire_read): Add slash
11937         between I18NPATH element and file name.
11938         * locale/programs/locfile.c (locfile_read): Likewise.
11940 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11942         * nptl/pthread_mutexattr_settype.c
11943         (__pthread_mutexattr_settype):
11944         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11946 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11948         * nptl/tst-mutex5 (do_test):
11949         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11951 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11953         * benchtests/README: Document 'init' directive.
11954         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11955         BENCH_INIT.
11956         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11957         (parse_file): Recognize 'init' directive.
11959 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11961         [BZ #16796]
11962         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11963         alignment of struct pthread.
11965 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11967         [BZ #16878]
11968         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11969         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11970         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11971         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11973 2014-05-25  Richard Henderson  <rth@twiddle.net>
11975         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11976         (SINGLE_THREAD_P_PIC): Remove.
11977         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11978         (SINGLE_THREAD_P_PIC): Remove.
11980         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11981         branch to syscall error ...
11982         (PSEUDO): ... here.
11983         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11984         from __local_syscall_error to .Lsyscall_error.
11985         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11986         (SYSCALL_ERROR): Update label name.
11988         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11989         Do not use DOARGS/UNDOARGS.
11990         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11991         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11992         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11993         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11994         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11997         block comment.
11999         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12000         define if !NOT_IN_libc.
12001         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12002         define with non-default symbol versions.
12004 2014-05-23  Richard Henderson  <rth@twiddle.net>
12006         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12007         (vfork, __vfork): Define via compat_symbol.
12009         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12010         [!HAVE_IFUNC] (vfork_compat): Remove.
12011         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12013 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12015         [BZ #16978]
12016         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12017         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12018         variable.
12020 2014-05-23  Richard Henderson  <rth@twiddle.net>
12022         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12023         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12024         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12025         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12027         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12028         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12029         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12030         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12031         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12032         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12033         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12034         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12035         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12036         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12037         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12038         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12039         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12040         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12041         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12042         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12043         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12044         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12045         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12046         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12047         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12048         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12049         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12050         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12051         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12052         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12053         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12054         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12055         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12056         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12057         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12058         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12059         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12060         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12061         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12062         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12063         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12064         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12065         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12066         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12067         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12068         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12069         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12070         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12071         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12072         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12073         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12074         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12075         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12076         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12077         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12078         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12079         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12080         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12081         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12082         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12084         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12085         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12086         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
12087         before exiting on error.
12088         (__libc_vfork): New strong alias.
12089         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12090         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12092         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12093         that was previously under [RESET_PID].
12094         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12096         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12098 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12100         [BZ #16977]
12101         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12102         value when x - 1 is zero.
12103         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12104         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12105         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12106         0.0L for an argument of 1.0L.
12107         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12108         Likewise.
12109         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12110         value when x - 1 is zero.
12111         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12112         * sysdeps/i386/fpu/libm-test-ulps: Update.
12113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12115 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12117         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12118         alphasort and versionsort.
12120 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12122         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12123         macro.
12124         [copysignf]: Likewise.
12126 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12128         * crypt/md5-crypt.c: Fix formatting.
12130 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12132         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12133         (b64_from_24bit): New function.
12135 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12137         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12138         libc_hidden_builtin_def to ifunc.
12139         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12140         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12142 2014-05-21  Roland McGrath  <roland@hack.frob.com>
12144         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12145         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12147 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
12149         * nscd/Depend (linuxthreads): Remove.
12150         (nptl): Add.
12151         * resolv/Depend (linuxthreads): Remove.
12152         * rt/Depend (linuxthreads): Remove.
12154         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12155         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12156         $(common-objpfx)elf/.
12157         (link-libc-before-gnulib): Likewise.
12158         (elfobjdir): Remove variable.
12159         * Makefile (install): Use $(elf-objpfx) instead of
12160         $(common-objpfx)elf/.
12161         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12162         $(elfobjdir)/.
12163         (link-libc-deps): Likewise.
12164         ($(common-objpfx)libc.so): Likewise.
12165         ($(common-objpfx)linkobj/libc.so): Likewise.
12166         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12167         instead of $(common-objpfx)elf/.
12168         (symbolic-link-list): Likewise.
12169         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12170         [$(cross-compiling) = no]: Likewise.
12171         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12172         $(elfobjdir)/.
12173         (static-gnulib-arch): Likewise.
12174         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12175         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12176         $(common-objpfx)elf/.
12178 2014-05-21  Richard Henderson  <rth@redhat.com>
12180         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12181         (SINGLE_THREAD_P): Use the correct width load.  Fold
12182         into the ldr offset.
12184         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12185         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12187 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
12189         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12190         (libgcc_s_resume): Use __attribute_used__.
12191         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12192         Likewise.
12194 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12196         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12197         optimization when used with float constants.
12199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12201 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
12203         [BZ #16915]
12204         * locale/nl_langinfo_l.c: Make direct reference to every
12205         _nl_current_CATEGORY symbol.
12206         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12207         (tests-static): Add tst-langinfo-static.
12208         (tests-special): Add tst-langinfo-static.out.
12209         ($(objpfx)tst-langinfo.out): Redirect output.
12210         ($(objpfx)tst-langinfo-static.out): New.
12211         * localedata/tst-langinfo.sh: Send output to stdout.
12212         * localedata/tst-langinfo-static.c: New file.
12214         [BZ #16965]
12215         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12216         when the shift amount is modulo the limb size.
12218 2014-05-20  Richard Henderson  <rth@redhat.com>
12220         [BZ #16967]
12221         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12222         Change type of sa_flags from unsigned int to int.
12224         [BZ #16966]
12225         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12227         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12229 2014-05-20  Will Newton  <will.newton@linaro.org>
12231         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12232         Test the return value of the system call in the nocancel case.
12234 2014-05-20  Will Newton  <will.newton@linaro.org>
12235             Yvan Roux  <yvan.roux@linaro.org>
12237         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12238         #include of asm/ptrace.h.
12239         (PTRACE_GET_THREAD_AREA): Remove #undef.
12240         (PTRACE_GETHBPREGS): Likewise.
12241         (PTRACE_SETHBPREGS): Likewise.
12242         (struct user_regs_struct): New structure.
12243         (struct user_fpsimd_struct): New structure.
12244         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12245         #include of asm/ptrace.h and second #include of sys/user.h.
12246         (PTRACE_GET_THREAD_AREA): Remove #undef.
12247         (PTRACE_GETHBPREGS): Likewise.
12248         (PTRACE_SETHBPREGS): Likewise.
12249         (ELF_NGREG): Use new struct user_regs_struct.
12250         (elf_fpregset_t): Use new struct user_fpsimd_struct.
12252 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12254         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12255         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12257 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12259         [BZ #16958]
12260         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12261         membar to avoid block loads/stores to overlap previous stores.
12263 2014-05-17  Richard Henderson  <rth@redhat.com>
12265         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12266         Create the __##syscall_name##_nocancel entry point.
12267         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12268         Remove; let the sysdep-cancel.h code create it.
12270 2014-05-17  David S. Miller  <davem@davemloft.net>
12272         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12273         Protect with __USE_GNU.
12274         (TIOCSET_TEMPT): Likewise.
12275         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12276         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12277         these are already provided in bits/ioctl-types.h
12279 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12281         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12282         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12284         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12285         Use wait4 regardless of [__NR_waitpid].
12287 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12289         PR libgcc/60166
12290         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12291         (_FP_NANSIGN_Q): Set the quiet bit.
12293 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
12295         * benchtests/Makefile
12296         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12297         not $(common-objpfx)math/libm.so.
12298         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12299         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12300         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12301         $(common-objpfx)dlfcn/libdl.so.
12302         ($(objpfx)tst-audit8): Depend on $(libm), not
12303         $(common-objpfx)math/libm.so.
12304         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12305         not $(common-objpfx)dlfcn/libdl.so.
12306         * math/Makefile
12307         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12308         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
12309         [$(build-shared) = yes].
12310         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12311         $(common-objpfx)nptl/libpthread.so.
12312         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12313         $(common-objpfx)math/libm.so$(libm.so-version) or
12314         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12315         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12316         $(common-objpfx)dlfcn/libdl.so.
12317         * setjmp/Makefile (link-libm): Remove variable.
12318         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12319         * stdio-common/Makefile (link-libm): Remove variable.
12320         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12321         * stdlib/Makefile (link-libm): Remove variable.
12322         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12323         ($(objpfx)tst-strtod-round): Likewise.
12324         ($(objpfx)tst-tininess): Likewise.
12325         ($(objpfx)tst-strtod-underflow): Likewise.
12326         ($(objpfx)tst-strtod6): Likewise.
12327         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12328         $(libdl), not $(common-objpfx)nptl/libpthread.so and
12329         $(common-objpfx)dlfcn/libdl.so.
12331 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12333         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12334         BSD terminal modes definitions.
12336 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12338         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12339         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12341         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12342         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12343         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12344         Don't do #include_next.
12345         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12346         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12347         Don't do #include_next.
12348         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12349         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12350         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12351         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12353 2014-05-16  Allan McRae  <allan@archlinux.org>
12355         * po/sv.po: Update Swedish translation from translation project.
12357         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12358         in sed expression.
12360 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
12362         [BZ #16917]
12363         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12364         errno if the TIOCGPTN ioctl fails with an error different than
12365         EINVAL.
12366         * login/tst-ptsname.c: New file.
12367         * login/Makefile (tests): Add tst-ptsname.
12369         [BZ #16943]
12370         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12371         and prlimit64.
12373 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12375         [BZ #16849]
12376         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12377         herrno to return EAI_AGAIN.
12379 2014-05-14  Roland McGrath  <roland@hack.frob.com>
12381         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12382         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12383         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12384         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12385         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12386         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12387         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12388         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12389         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12390         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12391         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12392         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12393         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12394         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12395         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12396         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12397         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12398         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12399         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12400         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12401         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12402         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12403         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12404         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12405         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12406         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12407         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12408         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12409         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12410         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12412         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12414         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12416         Moved ...
12417         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12419         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12421         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12423         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12425         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12427         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12429         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12431         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12433         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12435         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12437         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12439         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12441         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12443         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12445         Moved ...
12446         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12448         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12450         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12452         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12454         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12456         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12458         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12460         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12462         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12464         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12466         Moved ...
12467         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12469         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12471         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12472         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12473         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12474         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12475         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12476         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12477         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12478         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12479         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12480         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12481         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12482         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12483         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12484         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12485         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12486         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12487         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12488         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12489         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12490         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12491         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12492         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12493         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12494         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12495         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12496         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12497         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12498         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12499         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12500         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12501         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12503         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12504         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12506         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12507         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12508         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12509         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12510         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12511         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12512         Moved ...
12513         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12514         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12515         Moved ...
12516         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12517         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12518         Moved ...
12519         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12520         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12521         Moved ...
12522         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12523         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12524         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12525         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12526         Moved ...
12527         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12528         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12529         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12530         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12531         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12532         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12533         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12534         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12535         Moved ...
12536         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12537         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12538         Moved ...
12539         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12540         ... here.
12541         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12542         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12543         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12544         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12545         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12546         Moved ...
12547         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12548         ... here.
12549         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12550         Moved ...
12551         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12552         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12553         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12554         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12555         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12556         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12557         Moved ...
12558         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12559         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12560         Moved ...
12561         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12562         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12563         Moved ...
12564         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12565         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12566         Moved ...
12567         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12568         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12569         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12570         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12571         Moved ...
12572         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12573         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12574         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12575         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12576         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12577         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12578         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12579         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12580         Moved ...
12581         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12582         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12583         Moved ...
12584         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12585         ... here.
12586         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12587         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12588         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12589         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12590         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12591         Moved ...
12592         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12593         ... here.
12594         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12595         Moved ...
12596         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12597         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12598         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12599         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12600         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12601         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12602         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12603         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12604         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12605         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12606         Moved ...
12607         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12608         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12609         Moved ...
12610         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12611         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12612         Moved ...
12613         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12614         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12615         Moved ...
12616         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12617         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12618         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12619         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12620         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12621         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12622         Moved ...
12623         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12624         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12625         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12626         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12627         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12628         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12629         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12630         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12631         Moved ...
12632         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12633         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12634         Moved ...
12635         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12636         ... here.
12637         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12638         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12639         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12640         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12641         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12642         Moved ...
12643         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12644         ... here.
12645         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12646         Moved ...
12647         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12648         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12649         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12650         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12651         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12652         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12653         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12654         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12655         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12656         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12657         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12659         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12660         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12662         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12663         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12665         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12666         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12667         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12668         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12669         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12670         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12671         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12672         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12673         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12674         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12675         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12676         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12677         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12678         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12679         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12680         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12681         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12682         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12683         Moved ...
12684         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12685         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12686         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12687         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12688         Moved ...
12689         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12690         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12691         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12692         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12693         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12694         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12695         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12696         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12697         Moved ...
12698         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12699         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12700         Moved ...
12701         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12702         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12703         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12704         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12705         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12706         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12707         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12708         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12709         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12710         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12711         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12712         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12713         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12714         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12715         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12716         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12717         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12719         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12720         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12721         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12722         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12723         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12725         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12726         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12727         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12728         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12729         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12730         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12731         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12732         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12733         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12734         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12736         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12737         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12739         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12740         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12741         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12742         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12743         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12744         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12745         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12746         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12747         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12748         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12749         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12750         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12751         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12752         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12754         Update #include.
12755         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12756         Likewise.
12757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12758         Likewise.
12759         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12760         Likewise.
12761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12762         Likewise.
12763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12764         Likewise.
12765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12766         Likewise.
12767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12768         Likewise.
12769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12770         Likewise.
12771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12772         Likewise.
12773         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12774         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12775         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12776         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12777         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12778         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12779         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12780         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12781         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12782         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12783         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12784         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12785         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12786         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12787         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12789         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12790         that was previously under [RESET_PID].
12791         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12792         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12793         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12795         * sysdeps/i386/nptl/Implies: New file.
12796         * sysdeps/x86_64/nptl/Implies: New file.
12797         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12798         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12799         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12800         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12802         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12803         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12804         (__libc_vfork): New strong alias.
12805         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12806         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12808         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12809         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12810         (__libc_vfork): New strong alias.
12811         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12812         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12814         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12815         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12816         (__libc_vfork): New strong alias.
12817         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12818         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12819         * nptl/pt-vfork.c: New file.
12820         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12821         (libpthread: GLIBC_2.20): New version set (empty).
12823 2014-05-14  Will Newton  <will.newton@linaro.org>
12825         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12826         rather than #if.
12828 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12830         [BZ #16564]
12831         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12832         arguments with exponent 65 or above.
12833         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12834         arguments 0x1p113L or above.
12835         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12836         to arguments 0x1p107L or above.
12837         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12838         positive arguments with exponent 65 or above.
12839         * math/auto-libm-test-in: Add more tests of log1p.
12840         * math/auto-libm-test-out: Regenerated.
12842         [BZ #16928]
12843         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12844         non-finite arguments is +0.
12845         * math/s_cacosf.c (__cacosf): Likewise.
12846         * math/s_cacosl.c (__cacosl): Likewise.
12847         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12848         * sysdeps/i386/fpu/libm-test-ulps: Update.
12849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12851         [BZ #16927]
12852         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12853         value.
12854         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12855         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12856         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12857         for explicit high bit of mantissa when testing for argument equal
12858         to 1.
12859         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12860         * sysdeps/i386/fpu/libm-test-ulps: Update.
12861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12863         [BZ #16516]
12864         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12865         (__erf): Scale by 16 instead of 8 in potentially underflowing
12866         case.  Ensure exception if result actually underflows.
12867         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12868         (__erff): Scale by 16 instead of 8 in potentially underflowing
12869         case.  Ensure exception if result actually underflows.
12870         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12871         (efx8): Remove variable.
12872         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12873         case.  Ensure exception if result actually underflows.
12874         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12875         (efx8): Remove variable.
12876         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12877         case.  Ensure exception if result actually underflows.
12878         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12879         (efx8): Remove variable.
12880         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12881         case.  Ensure exception if result actually underflows.
12882         * math/auto-libm-test-in: Add more tests of erf.
12883         * math/auto-libm-test-out: Regenerated.
12885 2014-05-14  Andreas Schwab  <schwab@suse.de>
12887         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12888         Remove code conditionalized on USE___THREAD.
12890         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12891         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12892         not definedness.
12894 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12896         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12897         Define unconditionally.
12898         (__ASSUME_O_CLOEXEC): Likewise.
12899         (__ASSUME_SOCK_CLOEXEC): Likewise.
12900         (__ASSUME_IN_NONBLOCK): Likewise.
12901         (__ASSUME_PIPE2): Likewise.
12902         (__ASSUME_EVENTFD2): Likewise.
12903         (__ASSUME_SIGNALFD4): Likewise.
12904         (__ASSUME_DUP3): Likewise.
12905         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12906         (__ASSUME_DUP3): Do not define.
12907         (__ASSUME_EVENTFD2): Likewise.
12908         (__ASSUME_IN_NONBLOCK): Likewise.
12909         (__ASSUME_O_CLOEXEC): Likewise.
12910         (__ASSUME_PIPE2): Likewise.
12911         (__ASSUME_SIGNALFD4): Likewise.
12912         (__ASSUME_SOCK_CLOEXEC): Likewise.
12913         (__ASSUME_UTIMES): Undefine.
12914         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12915         (__ASSUME_UTIMES): Do not define.
12916         (__ASSUME_O_CLOEXEC): Likewise.
12917         (__ASSUME_SOCK_CLOEXEC): Likewise.
12918         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12919         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12920         0x020621].
12921         (__ASSUME_PIPE2): Likewise.
12922         (__ASSUME_EVENTFD2): Likewise.
12923         (__ASSUME_SIGNALFD4): Likewise.
12924         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12925         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12926         Do not define.
12927         (__ASSUME_EVENTFD2): Likewise.
12928         (__ASSUME_SIGNALFD4): Likewise.
12929         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12930         (__ASSUME_32BITUIDS): Likewise.
12931         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12932         (__ASSUME_IPC64): Likewise.
12933         (__ASSUME_ST_INO_64_BIT): Likewise.
12934         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12935         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12936         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12937         (__ASSUME_UTIMES): Do not define.
12938         (__ASSUME_PSELECT): Likewise.
12939         (__ASSUME_PPOLL): Likewise.
12940         (__ASSUME_O_CLOEXEC): Likewise.
12941         (__ASSUME_SOCK_CLOEXEC): Likewise.
12942         (__ASSUME_IN_NONBLOCK): Likewise.
12943         (__ASSUME_PIPE2): Likewise.
12944         (__ASSUME_EVENTFD2): Likewise.
12945         (__ASSUME_SIGNALFD4): Likewise.
12946         (__ASSUME_DUP3): Likewise.
12947         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12948         (__ASSUME_UTIMES): Likewise.
12949         (__ASSUME_O_CLOEXEC): Likewise.
12950         (__ASSUME_SOCK_CLOEXEC): Likewise.
12951         (__ASSUME_IN_NONBLOCK): Likewise.
12952         (__ASSUME_PIPE2): Likewise.
12953         (__ASSUME_EVENTFD2): Likewise.
12954         (__ASSUME_SIGNALFD4): Likewise.
12955         (__ASSUME_DUP3): Likewise.
12956         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12957         (__ASSUME_UTIMES): Likewise.
12958         (__ASSUME_O_CLOEXEC): Likewise.
12959         (__ASSUME_SOCK_CLOEXEC): Likewise.
12960         (__ASSUME_IN_NONBLOCK): Likewise.
12961         (__ASSUME_PIPE2): Likewise.
12962         (__ASSUME_EVENTFD2): Likewise.
12963         (__ASSUME_SIGNALFD4): Likewise.
12964         (__ASSUME_DUP3): Likewise.
12965         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12966         Likewise.
12967         (__ASSUME_UTIMES): Likewise.
12968         (__ASSUME_EVENTFD2): Likewise.
12969         (__ASSUME_SIGNALFD4): Likewise.
12970         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12971         (__ASSUME_O_CLOEXEC): Likewise.
12972         (__ASSUME_SOCK_CLOEXEC): Likewise.
12973         (__ASSUME_IN_NONBLOCK): Likewise.
12974         (__ASSUME_PIPE2): Likewise.
12975         (__ASSUME_EVENTFD2): Likewise.
12976         (__ASSUME_SIGNALFD4): Likewise.
12977         (__ASSUME_DUP3): Likewise.
12978         (__ASSUME_UTIMES): Undefine.
12980         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12981         feclearexcept.  Remove symbol versioning code.
12982         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12983         symbol versioning code.
12984         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12985         symbol versioning code.
12986         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12987         feupdateenv.  Remove symbol versioning code.
12988         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12989         fegetexceptflag.  Remove symbol versioning code.
12990         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12991         fesetexceptflag.  Remove symbol versioning code.
12992         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12993         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12994         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12995         (__posix_fadvise64_l32): Remove prototype.
12996         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12997         code.
12999 2014-05-13  Roland McGrath  <roland@hack.frob.com>
13001         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13002         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13003         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13004         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13006 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
13008         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13009         current working directory
13011 2014-05-13  Roland McGrath  <roland@hack.frob.com>
13013         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13014         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13015         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13016         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13017         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13018         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13019         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13020         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13021         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13022         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13023         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13024         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13025         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13026         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13027         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13028         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13029         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13030         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13031         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13032         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13033         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13034         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13035         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13036         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13037         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13038         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13039         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13040         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13041         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13042         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13043         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13044         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13045         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13046         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13047         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13048         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13049         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13050         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13051         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13052         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13053         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13054         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13056         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13057         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13059         * sysdeps/unix/sysv/linux/arm/Makefile
13060         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13061         Add rt-aeabi_unwind_cpp_pr1.
13062         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13063         Add nptl-aeabi_unwind_cpp_pr1.
13064         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13065         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13066         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13067         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13068         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13069         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13071         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13072         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13073         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13074         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13076         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13077         Deconditionalize the code that was previously under [RESET_PID].
13078         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13080         * sysdeps/generic/exit-thread.h: New file.
13081         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13082         * include/unistd.h (__exit_thread): Remove declaration.
13083         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13084         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13085         * csu/libc-start.c: Include <exit-thread.h>.
13086         (LIBC_START_MAIN): Pass no argument to __exit_thread.
13087         * nptl/pthread_create.c: Include <exit-thread.h>.
13088         (start_thread): Call __exit_thread in place of __exit_thread_inline.
13089         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13090         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13091         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13092         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13093         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13094         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13095         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13096         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13097         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13098         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13099         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13100         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13101         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13102         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13103         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13104         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13106 2014-05-13  Andreas Schwab  <schwab@suse.de>
13108         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13110 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
13112         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13113         (__ASSUME_UTIMES): Do not condition on kernel version.
13114         (__ASSUME_PSELECT): Define unconditionally.
13115         (__ASSUME_PPOLL): Likewise.
13116         (__ASSUME_ATFCTS): Likewise.
13117         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13118         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13119         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13120         (__ASSUME_UTIMENSAT): Define unconditionally.
13121         (__ASSUME_PRIVATE_FUTEX): Likewise.
13122         (__ASSUME_FALLOCATE): Likewise.
13123         (__ASSUME_O_CLOEXEC): Likewise.
13124         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13125         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13126         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13127         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13128         (__ASSUME_IN_NONBLOCK): Likewise.
13129         (__ASSUME_PIPE2): Likewise.
13130         (__ASSUME_EVENTFD2): Likewise.
13131         (__ASSUME_SIGNALFD4): Likewise.
13132         (__ASSUME_DUP3): Likewise.
13133         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13134         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13135         (__ASSUME_AT_RANDOM): Likewise.
13136         (__ASSUME_PREADV): Likewise.
13137         (__ASSUME_PWRITEV): Likewise.
13138         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13139         (__ASSUME_F_GETOWN_EX): Define unconditionally.
13140         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13141         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13142         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13143         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13144         (__ASSUME_O_CLOEXEC): Define unconditionally.
13145         (__ASSUME_PSELECT): Do not undefine conditionally.
13146         (__ASSUME_PPOLL): Likewise.
13147         (__ASSUME_ATFCTS): Likewise.
13148         (__ASSUME_SET_ROBUST_LIST): Likewise.
13149         (__ASSUME_UTIMENSAT): Likewise.
13150         (__ASSUME_FDATASYNC): Define unconditionally.
13151         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13152         (__ASSUME_SIGFRAME_V2): Likewise.
13153         )__ASSUME_EVENTFD2): Likewise.
13154         (__ASSUME_SIGNALFD4): Likewise.
13155         (__ASSUME_PSELECT): Do not undefine conditionally.
13156         (__ASSUME_PPOLL): Likewise.
13157         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13158         (__ASSUME_PSELECT): Define unconditionally.
13159         (__ASSUME_PPOLL): Likewise.
13160         (__ASSUME_O_CLOEXEC): Likewise.
13161         (__ASSUME_SOCK_CLOEXEC): Likewise.
13162         (__ASSUME_IN_NONBLOCK): Likewise.
13163         (__ASSUME_PIPE2): Likewise.
13164         (__ASSUME_EVENTFD2): Likewise.
13165         (__ASSUME_SIGNALFD4): Likewise.
13166         (__ASSUME_DUP3): Likewise.
13167         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13168         (__ASSUME_O_CLOEXEC): Likewise.
13169         (__ASSUME_SOCK_CLOEXEC): Likewise.
13170         (__ASSUME_IN_NONBLOCK): Likewise.
13171         (__ASSUME_PIPE2): Likewise.
13172         (__ASSUME_EVENTFD2): Likewise.
13173         (__ASSUME_SIGNALFD4): Likewise.
13174         (__ASSUME_DUP3): Likewise.
13175         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13176         (__ASSUME_EVENTFD2): Likewise.
13177         (__ASSUME_SIGNALFD4): Likewise.
13178         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13180 2014-05-12  Andreas Schwab  <schwab@suse.de>
13182         [BZ #16932]
13183         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13184         (_nss_nis_gethostbyname4_r): Return error if item length is larger
13185         than maximum RPC packet size.
13186         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13187         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13188         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13189         (_nss_nis_getservbyport_r): Likewise.
13191 2014-05-12  Will Newton  <will.newton@linaro.org>
13193         * malloc/Makefile (tests): Add tst-mallopt.
13194         * malloc/tst-mallopt.c: New file.
13196 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13198         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13199         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13201 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13203         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13204         (tst-tlsmod6.so): Likewise.
13206 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13208         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13210 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
13212         [BZ #16064]
13213         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13214         and <dl-procinfo.h>.
13215         (__fegetenv): Save SSE state in envp->__eip if supported.
13216         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13217         envp->__eip if supported.
13218         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13219         and <dl-procinfo.h>.
13220         (__fesetenv): Always set __eip, __cs_selector, __opcode,
13221         __data_offset and __data_selector in environment to 0.  Set SSE
13222         state if supported.
13223         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13224         test-fenv-sse.
13225         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13226         -mfpmath=sse.
13227         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13229 2014-05-09  Will Newton  <will.newton@linaro.org>
13231         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13232         and libc_relro_required for ARM.
13233         * sysdeps/arm/preconfigure: Regenerate.
13235 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
13236             Stefan Liebler  <stli@linux.vnet.ibm.com>
13238         * config.make.in (enable-lock-elision): New Makefile variable.
13239         * configure.ac: Likewise.
13240         * configure: Regenerate.
13241         * sysdeps/s390/configure.ac:
13242         Add check for gcc transactions support.
13243         * sysdeps/s390/configure: Regenerate.
13244         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13245         Build elision files if enabled.
13246         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13247         Add lock elision support for s390.
13248         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13249         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13250         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13251         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13252         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13253         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13254         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13255         Likewise.
13256         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13257         Likewise.
13258         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13259         Likewise.
13260         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13261         Likewise.
13262         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13263         (__lll_timedlock_elision, __lll_lock_elision)
13264         (__lll_unlock_elision, __lll_trylock_elision)
13265         (lll_timedlock_elision, lll_lock_elision)
13266         (lll_unlock_elision, lll_trylock_elision): Add.
13267         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13268         (pthread_mutex_t): Add lock elision support for s390.
13270 2014-05-14  Wilco  <wdijkstr@arm.com>
13272         * sysdeps/arm/fclrexcpt.c: Cleanup.
13273         * sysdeps/arm/fedisblxcpt.c: Cleanup.
13274         * sysdeps/arm/feenablxcpt.c: Cleanup.
13275         * sysdeps/arm/fegetenv.c: Cleanup.
13276         * sysdeps/arm/fegetexcept.c: Cleanup.
13277         * sysdeps/arm/fegetround.c: Cleanup.
13278         * sysdeps/arm/feholdexcpt.c: Cleanup.
13279         * sysdeps/arm/fesetenv.c: Cleanup.
13280         * sysdeps/arm/fesetround.c: Cleanup.
13281         * sysdeps/arm/feupdateenv.c: Cleanup.
13282         * sysdeps/arm/fgetexcptflg.c: Cleanup.
13283         * sysdeps/arm/fraiseexcpt.c: Cleanup.
13284         * sysdeps/arm/fsetexcptflg.c: Cleanup.
13285         * sysdeps/arm/ftestexcept.c: Cleanup.
13286         * sysdeps/arm/get-rounding-mode.h: Cleanup.
13287         * sysdeps/arm/setfpucw.c: Cleanup.
13289 2014-05-09  Will Newton  <will.newton@linaro.org>
13291         * sysdeps/arm/armv7/strcmp.S: New file.
13292         * NEWS: Mention addition of ARMv7 optimized strcmp.
13294 2014-05-08  Roland McGrath  <roland@hack.frob.com>
13296         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13297         look for %.ac rather than %.in.
13299         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13300         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13301         * sysdeps/mach/hurd/configure: Regenerated.
13302         * sysdeps/unix/sysv/linux/configure: Regenerated.
13304         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13306 2014-05-07  Steve Ellcey  <sellcey@mips.com>
13308         [BZ# 16922]
13309         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13310         (LONG_SUB): Ditto.
13311         (PTR_SUB): Ditto.
13313 2014-05-07  Andreas Schwab  <schwab@suse.de>
13315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13316         when skipping over non-matching result from nscd.
13318 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
13320         [BZ #16876]
13321         * nptl/sockperf.c (client): Check socket return value.
13323         [BZ #16877]
13324         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13325         nscd security class.
13327 2014-05-06  Roland McGrath  <roland@hack.frob.com>
13329         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13330         * sysdeps/arm/unwind.h: ... here.
13332 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
13334         [BZ# 16916]
13335         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13336         Define.
13338 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13340         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13341         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13342         multiarch strncpy for PPC64.
13343         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13344         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13345         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13346         multiarch optimizations.
13347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13348         (__libc_ifunc_impl_list): Likewise.
13349         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13350         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13351         multiarch stpncpy for PPC64.
13352         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13353         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13355 2014-05-06  Andreas Schwab  <schwab@suse.de>
13357         [BZ #16912]
13358         * gmon/mcount.c (_MCOUNT_DECL): Use
13359         atomic_compare_and_exchange_bool_acq instead of
13360         catomic_compare_and_exchange_bool_acq.
13362 2014-05-05  Roland McGrath  <roland@hack.frob.com>
13364         * elf/Makefile (others, install-bin): Remove pldd.
13365         (pldd-modules): Variable removed.
13366         ($(objpfx)pldd): Target removed.
13367         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13368         (others, install-bin): Append pldd here.
13369         ($(objpfx)pldd): New target.
13371         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13372         to 0, so the first #if test emitted later doesn't see it undefined.
13373         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13374         * sysdeps/gnu/errlist.c: Regenerated.
13376 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13378         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13379         [libc_hidden_builtin_def]: Define to empty value.
13380         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13381         [libc_hidden_builtin_def]: Likewise.
13382         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13383         [libc_hidden_builtin_def]: Likewise.
13384         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13385         [libc_hidden_builtin_def]: Likewise.
13386         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13387         __redirect_memcpy and define ifunc as default hidden symbol.
13388         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13389         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13391 2014-05-04  Adam Conrad  <adconrad@0c3.net>
13393         * locale/iso-4217.def: Reintroduce XDR currency.
13395 2014-05-04  Allan McRae  <allan@archlinux.org>
13397         * po/eo.po: Update Esperanto translation from translation project.
13399 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
13401         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13402         and FEATURE_INDEX_MAX to 1.
13403         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13405 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13407         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13408         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13409         * iconvdata/big5.c (ONE_DIRECTION): Define.
13410         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13411         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13412         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13413         * iconvdata/cp932.c (ONE_DIRECTION): Define.
13414         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13415         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13416         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13417         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13418         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13419         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13420         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13421         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13422         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13423         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13424         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13425         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13426         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13427         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13428         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13429         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13430         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13431         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13432         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13433         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13434         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13435         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13436         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13437         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13438         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13439         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13440         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13441         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13442         * iconvdata/johab.c (ONE_DIRECTION): Define.
13443         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13444         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13445         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13446         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13447         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13448         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13449         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13450         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13451         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13452         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13454 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13456         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13457         (_IO_JUMPS_OFFSET): Define to 0.
13459         * nptl/sysdeps/pthread/bits/libc-lock.h
13460         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13461         (__libc_lock_define_initialized_recursive): Always define using
13462         initializer.  Modern compilers treat uninitialized (implicit zero) and
13463         explicit zero initializers the same (i.e. put the datum in bss).
13465 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13467         * nscd/nscd-client.h: Include <string.h>.
13469 2014-05-01  David S. Miller  <davem@davemloft.net>
13471         [BZ #16885]
13472         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13473         multiple zero bytes exist at the end of a string.
13474         Reported by Aurelien Jarno <aurelien@aurel32.net>
13476         * string/test-strcmp.c (check): Add explicit test for situations where
13477         there are multiple zero bytes after the first.
13479 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13481         [BZ #16890]
13482         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13483         when compiling wprintf.
13484         * stdio-common/tstdiomisc.c (t3): New function.
13485         (main): Call it.
13487 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13489         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13490         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13491         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13492         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13494 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13496         * stdlib/longlong.h: Updated from GCC.
13498 2014-05-01  Will Newton  <will.newton@linaro.org>
13499             Bernard Ogden  <bernie.ogden@linaro.org>
13501         * NEWS: Update fixed bug list.
13503         [BZ #15119]
13504         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13506 2014-04-30  David S. Miller  <davem@davemloft.net>
13508         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13509         (libc_feholdexcept_setround_sparc_ctx): New function.
13510         (libc_fesetenv_sparc_ctx): Likewise.
13511         (libc_feupdateenv_sparc_ctx): Likewise.
13512         (libc_feholdsetround_sparc_ctx): Likewise.
13513         (libc_feholdexcept_setround_ctx): Define.
13514         (libc_feholdexcept_setroundf_ctx): Likewise.
13515         (libc_feholdexcept_setroundl_ctx): Likewise.
13516         (libc_fesetenv_ctx): Likewise.
13517         (libc_fesetenvf_ctx): Likewise.
13518         (libc_fesetenvl_ctx): Likewise.
13519         (libc_feupdateenv_ctx): Likewise.
13520         (libc_feupdateenvf_ctx): Likewise.
13521         (libc_feupdateenvl_ctx): Likewise.
13522         (libc_feresetround_ctx): Likewise.
13523         (libc_feresetroundf_ctx): Likewise.
13524         (libc_feresetroundl_ctx): Likewise.
13525         (libc_feholdsetround_ctx): Likewise.
13526         (libc_feholdsetroundf_ctx): Likewise.
13527         (libc_feholdsetroundl_ctx): Likewise.
13529         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13530         with __USE_GNU instead of XOPEN cpp guards.
13532         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13533         0.
13535         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13536         with XOPEN cpp guards.
13538 2014-04-30  Julian Brown  <julian@codesourcery.com>
13540         [BZ #16888]
13541         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13542         handling.
13544 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13546         [BZ #9894]
13547         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13548         Change to 2.6.32.
13549         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13550         * sysdeps/unix/sysv/linux/configure: Regenerated.
13551         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13552         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13553         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13554         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13555         * README: Update reference to required Linux kernel version.
13556         * manual/install.texi (Linux): Update reference to required Linux
13557         kernel headers version.
13558         * INSTALL: Regenerated.
13560         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13561         header inclusion.
13562         [POSIX] (limits.h): Likewise.
13563         [POSIX] (math.h): Likewise.
13564         [POSIX] (sys/wait.h): Likewise.
13565         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13566         function.
13567         [POSIX] (stddef.h): Do not allow header inclusion.
13569 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13571         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13573 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13575         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13576         Return immediately after lll_futex_wake.
13578 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13580         [BZ #16791]
13581         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13582         structure.
13583         (datahead_init_pos): Call datahead_init_common early.
13584         (datahead_init_neg): Likewise.
13586         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13587         datahead_init_neg): New functions.
13588         * nscd/aicache.c (addhstaiX): Use them.
13589         * nscd/grpcache.c (cache_addgr): Likewise.
13590         * nscd/hstcache.c (cache_addhst): Likewise.
13591         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13592         * nscd/netgroupcache.c (do_notfound): Likewise.
13593         (addgetnetgrentX): Likewise.
13594         (addinnetgrX): Likewise.
13595         * nscd/pwdcache.c (cache_addpw): Likewise.
13596         * nscd/servicescache.c (cache_addserv): Likewise.
13598 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13599             Atsushi Onoe  <atsushi@onoe.org>
13601         [BZ #14308]
13602         [BZ #12994]
13603         [BZ #13651]
13604         * resolv/res_query.c (__libc_res_nsearch): Return if at least
13605         one response is valid.
13606         * resolv/res_send.c (send_dg): Check for validity of other
13607         response if the current response is a referral.
13609 2014-04-29  Steve Ellcey  <sellcey@mips.com>
13611         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13613 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
13615         [BZ #16823]
13616         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13617         Always divide by positive zero when computing -Inf result.
13618         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13619         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13621 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13623         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13624         FPSCR if value do not change.
13625         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13626         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13627         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13628         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13629         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13630         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13631         function.
13633 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
13635         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13636         * sysdeps/unix/sysv/linux/hppa: Move directory from
13637         ports/systeps/unix/sysv/linux/hppa.
13638         * README: Update listing for hppa-*-linux-gnu.
13640 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
13642         [BZ #16754]
13643         * manual/stdio.texi (Hook functions): Fix types of stream hook
13644         functions.
13645         [BZ #16854]
13646         * socket/sys/socket.h: Fix typo in comment.
13648 2014-04-28  Wilco  <wdijkstr@arm.com>
13650         * sysdeps/arm/fenv_private.h: New file.
13651         * sysdeps/arm/math_private.h: New file.
13652         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13654 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
13656         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13657         with __int128_t.
13658         (La_x86_64_retval): Likewise.
13660 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
13662         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13663         fpsr if value didn't change.
13664         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13665         to fpcr if value didn't change.
13666         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13667         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13668         fpsr or fpcr if value didn't change.
13669         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13670         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13671         fpcr if value didn't change.
13672         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13673         to fpsr if value didn't change.
13675 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13677         * nptl/tst-sem3.c: Use test-skeleton.c
13678         (main): Rename to do_test.  Use return instead of
13679         exit.
13680         * nptl/tst-sem4.c: Use test-skeleton.c
13681         (main): Rename to do_test.
13683 2014-04-22  David S. Miller  <davem@davemloft.net>
13685         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13686         (struct sigaction): New struct member __glibc_reserved0, change
13687         type of sa_flags to int.
13689 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13691         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13692         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13694 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13696         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13697         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13699 2014-04-22  Will Newton  <will.newton@linaro.org>
13700             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13702         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13703         (__longjmp): Add longjmp and longjmp_target SystemTap
13704         probes.
13705         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13706         (__sigsetjmp): Add setjmp SystemTap probe.
13708 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13710         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13711         match manual order.
13713 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13715         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13717         * sysdeps/powerpc/fpu/fenv_private.h
13718         (libc_feholdexcept_setroundl_ctx): Define to
13719         libc_feholdexcept_setround_ppc_ctx.
13720         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13721         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13722         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13723         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13725 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13727         * sysdeps/aarch64/math-tests.h: New file.
13729 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13731         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13732         New.
13733         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13734         Check and set bit_AVX2_Usable.
13735         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13736         macro.
13737         (bit_AVX2): Likewise.
13738         (index_AVX2_Usable): Likewise.
13739         (CPUID_AVX2): Likewise.
13740         (HAS_AVX2): Likewise.
13742 2014-04-17  Will Newton  <will.newton@linaro.org>
13744         * manual/setjmp.texi (System V contexts): Add note that
13745         calling setcontext on a context created by a call to a
13746         signal handler is undefined.  Update text to note that
13747         setcontext from a signal handler is possible but not
13748         recommended.
13750         [BZ #16629]
13751         * stdlib/tst-setcontext.c: Include signal.h.
13752         (main): Check that the signal stack before and
13753         after swapcontext is the same.
13755         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13756         Re-implement to restore registers in user code and avoid
13757         rt_sigreturn system call.
13759 2014-04-17  Wilco  <wdijkstr@arm.com>
13761         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13762         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13763         * math/test-fenv.c: Skip exception trap tests on targets which only
13764         support non-stop mode.
13766 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13767             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13769         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13770         (libc_feholdsetround_aarch64_ctx)
13771         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13772         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13773         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13774         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13775         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13776         (libc_feresetround_noexl_ctx): Define.
13778 2014-04-16  Richard Henderson  <rth@redhat.com>
13780         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13782         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13783         unwind tables.
13785         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13786         const from the non-libc, non-ldso copy.
13788         * sysdeps/alpha/libm-test-ulps: Regenerate.
13790 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13791             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13793         * sysdeps/aarch64/fpu/math_private.h: New file.
13795 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13797         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13799 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13801         [BZ #16275]
13802         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13803         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13804         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13805         Intel MPX bound registers before _dl_profile_fixup.
13806         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13807         registers after _dl_profile_fixup.  Save and restore bound
13808         registers bnd0/bnd1 when calling _dl_call_pltexit.
13809         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13810         (LR_BND_OFFSET): Likewise.
13811         (LRV_BND0_OFFSET): Likewise.
13812         (LRV_BND1_OFFSET): Likewise.
13814 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13816         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13817         to...
13818         * sysdeps/mach/hurd/i386/tls.h: ... here.
13819         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13820         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13821         fields.
13823 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13825         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13827 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13829         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13831 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13833         [BZ #14770]
13834         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13835         * sysdeps/s390/configure: Regenerate.
13837         [BZ #16824]
13838         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13839         Set round-to-nearest internally to reduce error accumulation.
13841 2014-04-16  Alan Modra  <amodra@gmail.com>
13843         [BZ #16740]
13844         [BZ #16619]
13845         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13846         * math/libm-test.inc (frexp_test_data): Add tests.
13847         * NEWS: Update fixed bug list.
13849 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13851         * benchtests/Makefile: Depend on libraries in build directory.
13852         (bench-math): Separate out math tests.
13853         (bench-pthread): Separate out pthread tests.
13854         (bench): Include math and pthread tests.
13856 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13858         [BZ #16831]
13859         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13860         _dl_debug_initialize.
13862         * configure.ac: Remove SELinux header check.
13863         * configure: Regenerate.
13864         * nscd/selinux.c (perms): Array of const char* to permission names.
13865         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13866         default policy. Call string_to_security_class and string_to_av_perm to
13867         translate strings. Enforce default policy and call avs_has_perm with
13868         results of translated strings.
13870 2014-04-13  David S. Miller  <davem@davemloft.net>
13872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13874 2014-04-12  Allan McRae  <allan@archlinux.org>
13876         [BZ #16838]
13877         * manual/string.texi (Collation Functions): Fix qsort argument
13878         order in example.
13879         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13881 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13883         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13884         Make the test a no-op if there are no exceptions defined.
13886 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13888         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13889         enable-hardcoded-path-in-tests
13891 2014-04-11  Will Newton  <will.newton@linaro.org>
13893         * benchtests/Makefile (extra-objs): Add json-lib.o.
13894         (bench-func): Tidy up JSON output.
13895         * benchtests/bench-skeleton.c: Include json-lib.h.
13896         (main): Use JSON library functions to do output of
13897         benchmark results.
13898         * benchtests/bench-timing-type.c (main): Output the
13899         timing type simply, leaving formatting to the user.
13900         * benchtests/json-lib.c: New file.
13901         * benchtests/json-lib.h: Likewise.
13903 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13905         [BZ #15215]
13906         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13907         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13908         memory barriers.  Add comments.
13909         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13910         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13911         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13912         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13913         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13914         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13916 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13918         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13919         * sysdeps/s390/s390-64/configure.ac: ... this ...
13920         * sysdeps/s390/configure.ac: ... to here.
13921         * sysdeps/s390/s390-32/configure: Delete file.
13922         * sysdeps/s390/s390-64/configure: Delete file.
13923         * sysdeps/s390/configure: Regenerate.
13925 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13927         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13929 2014-04-11  Will Newton  <will.newton@linaro.org>
13931         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13932         to zero if it is not defined elsewhere.  (mtrim): Test
13933         the value of MALLOC_DEBUG with #if rather than #ifdef.
13935 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13937         * benchtests/pthread_once-inputs: New file.
13938         * benchtests/pthread_once-source.c: New file.
13939         * benchtests/README: Update documentation.
13941 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13942             H.J. Lu  <hongjiu.lu@intel.com>
13944         [BZ #16275]
13945         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13946         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13947         * sysdeps/x86_64/configure: Regenerated.
13948         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13949         macro.
13950         (REGISTER_SAVE_RAX): Likewise.
13951         (REGISTER_SAVE_RCX): Likewise.
13952         (REGISTER_SAVE_RDX): Likewise.
13953         (REGISTER_SAVE_RSI): Likewise.
13954         (REGISTER_SAVE_RDI): Likewise.
13955         (REGISTER_SAVE_R8): Likewise.
13956         (REGISTER_SAVE_R9): Likewise.
13957         (REGISTER_SAVE_BND0): Likewise.
13958         (REGISTER_SAVE_BND1): Likewise.
13959         (REGISTER_SAVE_BND2): Likewise.
13960         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13961         bound registers when calling _dl_fixup.
13963 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13965         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13966         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13967         of its definition.
13968         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13969         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13970         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13971         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13972         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13973         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13974         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13976 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13978         [BZ #15514]
13979         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13980         pathconf(_PC_NAME_MAX).
13982 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13984         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13985         Remove macro usage.
13986         (__PTHREAD_SPINS): Move definition to ...
13987         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13988         (__PTHREAD_SPINS): ... here.
13989         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13990         (__PTHREAD_SPIN): Likewise.
13991         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13992         (__PTHREAD_SPIN): Likewise.
13993         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13994         (__PTHREAD_SPIN): Likewise.
13995         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13996         (__PTHREAD_SPIN): Likewise.
13997         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13998         (__PTHREAD_SPIN): Likewise.
13999         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14000         (__PTHREAD_SPIN): Likewise.
14001         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14002         (__PTHREAD_SPIN): Likewise.
14003         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14004         (__PTHREAD_SPIN): Likewise.
14005         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14006         (__PTHREAD_SPIN): Likewise.
14007         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14008         (__PTHREAD_SPIN): Likewise.
14009         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14010         (__PTHREAD_SPIN): Likewise.
14011         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14012         (__PTHREAD_SPIN): Likewise.
14014         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14015         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14016         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14017         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14018         imply folder.
14019         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14020         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14021         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14022         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14023         correct imply path.
14024         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14025         strlen symbol for non multi-arch builds.
14026         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14027         missing hidden_def and weak_alias.
14029 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
14031         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14033 2014-04-07  Will Newton  <will.newton@linaro.org>
14035         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14036         and contents.  [!_LIBC] Remove #ifndef and contents.
14037         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
14038         * string/memccpy.c (__memccpy): Use ANSI prototype.
14039         * string/memfrob.c (memfrob): Likewise.
14040         * string/strcoll.c (STRCOLL): Likewise.
14041         * string/strlen.c (strlen): Likewise.
14042         * string/strtok.c (STRTOK): Likewise.
14043         * string/strcat.c: Remove unused #include of memcopy.h.
14044         (strcat): Use ANSI prototype.
14045         * string/strchr.c: Remove unused #include of memcopy.h.
14046         (strchr): Use ANSI prototype.
14047         * string/strcmp.c: Remove unused #include of memcopy.h.
14048         (strcmp): Use ANSI prototype.
14049         * string/strcpy.c: Remove unused #include of memcopy.h.
14050         (strcpy): Use ANSI prototype.
14052 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14054         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14055         * config.make.in (config-extra-cppflags): Set it from
14056         libc_extra_cppflags.
14057         * configure.ac (libc_extra_cflags): Make it accumulate over
14058         configure fragments.
14059         (libc_extra_cppflags): New flag.
14060         * configure. Regenerate.
14061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14062         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14063         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14066         [BZ #16815]
14067         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14068         result for FE_DOWNWARD rounding mode.
14069         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14070         Likewise.
14071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14073 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
14075         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14076         in function argument name.
14078 2014-04-03  David Svoboda  <svoboda@cert.org>
14080         [BZ #5666]
14081         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14082         explicitly.
14084 2014-04-03  Roland McGrath  <roland@hack.frob.com>
14086         * elf/dl-unmap-segments.h: New file.
14087         * sysdeps/generic/ldsodefs.h
14088         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14089         * elf/dl-close.c: Include <dl-unmap-segments.h>.
14090         * elf/dl-fptr.c: Likewise.
14091         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14092         * sysdeps/aarch64/tlsdesc.c: Likewise.
14093         * sysdeps/arm/tlsdesc.c: Likewise.
14094         * sysdeps/i386/tlsdesc.c: Likewise.
14095         * sysdeps/tile/dl-runtime.c: Likewise.
14096         * sysdeps/x86_64/tlsdesc.c: Likewise.
14097         * elf/dl-load.h: New file.
14098         * elf/dl-load.c: Include it.
14099         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14100         Macros moved to dl-load.h.
14101         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14102         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14103         Use _dl_unmap_segments in place of __munmap.
14104         Break out segment-mapping loop into ...
14105         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14107 2014-04-03  Will Newton  <will.newton@linaro.org>
14109         * elf/dl-lookup.c (do_lookup_x): Remove comment
14110         referring to nested function and move variable
14111         declarations down to before first use.
14113 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
14115         [BZ #16799]
14116         [BZ #16800]
14117         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14118         with 0 numerator.
14119         * math/s_catanf.c (__catanf): Likewise.
14120         * math/s_catanh.c (__catanh): Likewise.
14121         * math/s_catanhf.c (__catanhf): Likewise.
14122         * math/s_catanhl.c (__catanhl): Likewise.
14123         * math/s_catanl.c (__catanl): Likewise.
14124         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14125         by positive zero when computing -Inf result.
14126         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14127         (catanh_test): Likewise.
14128         * sysdeps/i386/fpu/libm-test-ulps: Update.
14129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14131         [BZ #16789]
14132         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14133         instead of using underflowing value in computing result.
14134         * math/s_clog10.c (__clog10): Likewise.
14135         * math/s_clog10f.c (__clog10f): Likewise.
14136         * math/s_clog10l.c (__clog10l): Likewise.
14137         * math/s_clogf.c (__clogf): Likewise.
14138         * math/s_clogl.c (__clogl): Likewise.
14139         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14140         (clog10_test): Likewise.
14141         * sysdeps/i386/fpu/libm-test-ulps: Update.
14142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14144 2014-04-02  Alan Modra  <amodra@gmail.com>
14146         [BZ #16739]
14147         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14148         output when value is near a power of two.  Use int64_t for lx and
14149         remove casts.  Use decimal rather than hex exponent constants.
14150         Don't use long double multiplication when double will suffice.
14151         * math/libm-test.inc (nextafter_test_data): Add tests.
14152         * NEWS: Add 16739 and 16786 to bug list.
14154         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14156         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14158 2014-04-01  Will Newton  <will.newton@linaro.org>
14160         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14161         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
14163 2014-04-01  Florian Weimer  <fweimer@redhat.com>
14165         [BZ #13347]
14166         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14167         * nptl/tst-setuid2.c: New file.
14168         * nptl/Makefile (xtests): Add tst-setuid2.
14170 2014-04-01  Alan Modra  <amodra@gmail.com>
14172         [BZ #16786]
14173         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14175 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14177         [BZ #6803]
14178         [BZ #6804]
14179         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14180         set errno as appropriate.
14181         * math/w_scalbf.c (__scalbf): Likewise.
14182         * math/w_scalbl.c (__scalbl): Likewise.
14183         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14184         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14185         * math/libm-test.inc (scalb_test_data): Add errno expectations.
14186         Add more NaN tests.
14188         [BZ #16349]
14189         * math/w_atan2.c: Include <errno.h>.
14190         (__atan2): Set errno for result underflowing to zero.
14191         * math/w_atan2f.c: Include <errno.h>.
14192         (__atan2f): Set errno for result underflowing to zero.
14193         * math/w_atan2l.c: Include <errno.h>.
14194         (__atan2l): Set errno for result underflowing to zero.
14195         * math/auto-libm-test-in: Don't allow missing errno for some atan2
14196         tests.
14197         * math/auto-libm-test-out: Regenerated.
14199 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14201         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14202         Encode instruction correctly in little endian.
14203         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14204         Likewise.
14205         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14206         Likewise.
14207         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14208         Likewise.
14209         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14210         Likewise.
14212 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14214         [BZ #9894]
14215         * sysdeps/unix/sysv/linux/kernel-features.h
14216         [__sparc__ && !__arch64__ && !__sparc_v9__]
14217         (__ASSUME_SET_ROBUST_LIST): Do not define.
14218         [__sparc__ && !__arch64__ && !__sparc_v9__]
14219         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14220         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14221         Likewise.
14222         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14223         (__ASSUME_FUTEX_LOCK_PI): Undefine.
14224         (__ASSUME_REQUEUE_PI): Likewise.
14225         (__ASSUME_SET_ROBUST_LIST): Likewise.
14226         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14227         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14228         Undefine.
14229         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14230         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14231         Likewise.
14232         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14233         Likewise.
14234         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14235         Likewise.
14236         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14237         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14238         Undefine.
14239         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14240         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14241         Likewise.
14243         [BZ #16648]
14244         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14245         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14246         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14248 2014-03-31  Will Newton  <will.newton@linaro.org>
14250         * benchtests/Makefile (bench): Add ffs and ffsll to list
14251         of tests.
14252         * benchtests/ffs-inputs: New file.
14253         * benchtests/ffsll-inputs: Likewise.
14255 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
14257         [BZ #16770]
14258         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14259         too large before casting to int.
14260         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14261         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14262         * math/libm-test.inc (scalb_test_data): Add more tests.
14264 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14266         * benchtests/Makefile (DETAILED_OPT): New make option.
14267         (bench-func): Run benchmark program with -d if DETAILED_OPT is
14268         set.
14269         * benchtests/bench-skeleton.c: Include stdbool.h.
14270         (main): Store and print timings per input.
14271         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14272         member to each argument value.
14273         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14274         (_print_arg_data): Initialize per-input timing to 0.
14276         * benchtests/Makefile (timing-type): New binary.
14277         (bench-clean): Also remove bench-timing-type.
14278         (bench): New target for timing-type.
14279         (bench-func): Print output in JSON format.
14280         * benchtests/bench-skeleton.c (main): Print output in JSON
14281         format.
14282         * benchtests/bench-timing-type.c: New file.
14283         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14284         (TIMING_PRINT_STATS): Remove.
14285         * benchtests/scripts/bench.py (_print_arg_data): Store variant
14286         name separately.
14288         * benchtests/bench-modf.c: Remove.
14289         * benchtests/modf-inputs: New inputs file.
14291 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
14293         [BZ #16362]
14294         * math/s_clog10.c (M_PI_LOG10E): New macro.
14295         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14296         imaginary parts are 0.
14297         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14298         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14299         imaginary parts are 0.
14300         * math/s_clog10l.c (M_PI_LOG10El): New macro.
14301         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14302         imaginary parts are 0.
14303         * math/libm-test.inc (clog10_test_data): Update expected results
14304         for when real and imaginary parts are 0.
14306 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
14308         * elf/dl-load.c: Finish conversion of __builtin_expect into
14309         __glibc_{un}likely.
14311 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
14313         [BZ #16348]
14314         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14315         1+x for argument with exponent below -67.
14316         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14317         Likewise.
14318         * math/auto-libm-test-in: Add more tests of exp.
14319         * math/auto-libm-test-out: Regenerated.
14321 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14323         [BZ #16759]
14324         * inet/getnetgrent_r.c (get_nonempty_val): New function.
14325         (nscd_getnetgrent): Use it.
14327         [BZ #16760]
14328         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14329         of stpcpy.
14331 2014-03-27  Andi Kleen  <ak@linux.intel.com>
14333         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14334         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14335         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14336         (lll_robust_unlock): Remove out of line section. Use cfi
14337         intrinsics.
14338         (LLL_STUB_UNWIND_INFO*): Remove.
14339         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14340         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14341         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14342         (lll_robust_unlock): Remove out of line section. Use cfi
14343         intrinsics.
14344         (LLL_STUB_UNWIND_INFO*): Remove.
14346 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14348         [BZ #16758]
14349         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14350         blank values.
14352 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14354         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14356 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
14358         [BZ #16198]
14359         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14360         fnstenv.
14361         * math/test-fenv-preserve.c: New file.
14362         * math/Makefile (tests): Add test-fenv-preserve.
14364 2014-03-26  Will Newton <will.newton@linaro.org>
14366         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14368 2014-03-25  Roland McGrath  <roland@hack.frob.com>
14370         * scripts/versionlist.awk: Partition the version sets and emit all
14371         GLIBC_* (sorted) before all others (sorted).
14373 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14375         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14376         GLIBC_2.2.5 version.
14378 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14380         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14381         calls.
14383         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14384         previous change.
14386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14388 2014-03-25  Andreas Schwab  <schwab@suse.de>
14390         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14391         label to be used after in6ailist is initialized.
14393 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14395         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14396         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14398 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14400         [BZ #16357]
14401         [BZ #16599]
14402         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14403         min_plus_half.
14404         (fp_formats): Update initializers.
14405         (init_fp_formats): Initialize new field.
14406         (output_for_one_input_case): Allow underflow for results up to
14407         min_plus_half.
14408         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14409         * math/auto-libm-test-in: Don't mark some underflows from asin and
14410         atanh as spurious.
14411         * math/auto-libm-test-out: Regenerated.
14412         * sysdeps/i386/fpu/libm-test-ulps: Update.
14413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14415 2014-03-25  Andreas Schwab  <schwab@suse.de>
14417         * libio/Makefile (tst-ftell-partial-wide-ENV)
14418         (tst-ftell-active-handler-ENV): Define.
14420 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14422         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14424 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14426         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14428 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14430         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14431         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14432         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14434 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14436         [BZ #16634]
14437         * elf/dl-load.c (open_verify): Add mode parameter.
14438         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14439         (open_path): Change from boolean 'secure' to complete flag 'mode'
14440         (_dl_map_object): Adjust.
14441         * elf/Makefile (tests): Add tst-dlopen-aout.
14442         * elf/tst-dlopen-aout.c: New test.
14444 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14446         [BZ #16714]
14447         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14448         (struct stat): Rename member pad0 to __glibc_reserved0.
14450         [BZ #16712]
14451         * sysdeps/s390/s390-32/bits/wordsize.h
14452         (__WORDSIZE32_SIZE_ULONG): New define.
14453         * sysdeps/s390/s390-64/bits/wordsize.h
14454         (__WORDSIZE32_SIZE_ULONG): Likewise.
14455         * sysdeps/generic/stdint.h (SIZE_MAX):
14456         Define as UL if __WORDSIZE32_SIZE_ULONG.
14458         [BZ #16713]
14459         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14460         (__glibc_reserved0): New variable.
14461         (sa_flags): Change type to int.
14463         * posix/Makefile (before-compile): Use += before-compile instead
14464         of a :=.
14466         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14467         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14469 2014-03-20  Andreas Schwab  <schwab@suse.de>
14471         [BZ #16743]
14472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14473         non-matching result from nscd.
14475 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14477         * scripts/bench.py: Moved to ...
14478         * benchtests/scripts/bench.py: ... here.
14479         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14481 2014-03-24  Andreas Schwab  <schwab@suse.de>
14483         [BZ #16002]
14484         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14485         alloca_account and account alloca use for struct in6ailist.
14487 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14489         [BZ #16284]
14490         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14491         rounding mode to recompute results that overflow to infinity or
14492         underflow to zero.
14493         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14494         bug 16284.
14495         * math/auto-libm-test-out: Regenerated.
14496         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14497         (ccosh_test): Likewise.
14498         (csin_test_data): Use plus_oflow.
14499         (csin_test): Use ALL_RM_TEST.
14500         (csinh_test_data): Use plus_oflow.
14501         (csinh_test): Use ALL_RM_TEST.
14502         * sysdeps/i386/fpu/libm-test-ulps: Update.
14503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14505 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14507         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14508         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14509         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14511         [BZ #16731]
14512         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14513         when x - 1 is zero.
14514         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14515         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14516         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14517         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14518         argument is 1.
14519         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14520         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14521         zero.
14522         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14523         * sysdeps/i386/fpu/libm-test-ulps: Update.
14524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14526 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14528         * scripts/bench.pl: Remove file.
14529         * scripts/bench.py: New benchmark script.
14530         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14531         * benchtests/README: Mention python dependency.
14532         * scripts/pylintrc: New file.
14533         * scripts/pylint: New file.
14535         * bits/mathdef.h: Use #ifdef instead of #if.
14536         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14537         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14538         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14539         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14540         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14541         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14543 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14544             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14546         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14548         and strpbrk-ppc64 objects.
14549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14550         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14551         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14552         multiarch strpbrk for POWER7.
14553         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14554         multiarch strpbrk for PPC64.
14555         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14556         ifunc selector.
14557         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14558         strpbrk for POWER7.
14560 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14562         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14563         (atan_test): Likewise.
14564         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14565         (atanh_test): Use ALL_RM_TEST.
14566         (atan2_test_data): Likewise.
14567         (cabs_test): Likewise.
14568         (cacosh_test): Likewise.
14569         (carg_test): Likewise.
14570         (casin_test): Likewise.
14571         (casinh_test): Likewise.
14572         (cbrt_test): Likewise.
14573         (csqrt_test): Likewise.
14574         (erf_test): Likewise.
14575         (erfc_test): Likewise.
14576         (pow10_test): Likewise.
14577         (exp2_test): Likewise.
14578         (hypot_test): Likewise.
14579         (j0_test): Likewise.
14580         (j1_test): Likewise.
14581         (lgamma_test): Likewise.
14582         (gamma_test): Likewise.
14583         (sincos_test): Likewise.
14584         (tanh_test): Likewise.
14585         (y0_test): Likewise.
14586         (y1_test): Likewise.
14587         * sysdeps/i386/fpu/libm-test-ulps: Update.
14588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14590 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14592         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14594         and strcspn-ppc64 objects.
14595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14596         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14597         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14598         multiarch strcspn for POWER7.
14599         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14600         multiarch strcspn for PPC64.
14601         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14602         ifunc selector.
14603         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14604         strcspn for POWER7.
14606 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14608         * math/gen-libm-test.pl (generate_testfile): Expect only function
14609         name as argument to AUTO_TESTS_* and pass results for all rounding
14610         modes to parse_args.
14611         (parse_auto_input): Separate inputs of automatic tests from
14612         outputs before storing in %auto_tests.
14613         * math/libm-test.inc (acos_test_data): Update call to
14614         AUTO_TESTS_f_f.
14615         (acos_test): Use ALL_RM_TEST.
14616         (acos_tonearest_test_data): Remove.
14617         (acos_test_tonearest): Likewise.
14618         (acos_towardzero_test_data): Likewise.
14619         (acos_test_towardzero): Likewise.
14620         (acos_downward_test_data): Likewise.
14621         (acos_test_downward): Likewise.
14622         (acos_upward_test_data): Likewise.
14623         (acos_test_upward): Likewise.
14624         (acosh_test_data): Update call to AUTO_TESTS_f_f.
14625         (asin_test_data): Likewise.
14626         (asin_test): Use ALL_RM_TEST.
14627         (asin_tonearest_test_data): Remove.
14628         (asin_test_tonearest): Likewise.
14629         (asin_towardzero_test_data): Likewise.
14630         (asin_test_towardzero): Likewise.
14631         (asin_downward_test_data): Likewise.
14632         (asin_test_downward): Likewise.
14633         (asin_upward_test_data): Likewise.
14634         (asin_test_upward): Likewise.
14635         (asinh_test_data): Update call to AUTO_TESTS_f_f.
14636         (atan_test_data): Likewise.
14637         (atanh_test_data): Likewise.
14638         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14639         (cabs_test_data): Update call to AUTO_TESTS_c_f.
14640         (carg_test_data): Likewise.
14641         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14642         (ccos_test_data): Update call to AUTO_TESTS_c_c.
14643         (ccosh_test_data): Likewise.
14644         (cexp_test_data): Likewise.
14645         (clog_test_data): Likewise.
14646         (clog10_test_data): Likewise.
14647         (cos_test_data): Update call to AUTO_TESTS_f_f.
14648         (cos_test): Use ALL_RM_TEST.
14649         (cos_tonearest_test_data): Remove.
14650         (cos_test_tonearest): Likewise.
14651         (cos_towardzero_test_data): Likewise.
14652         (cos_test_towardzero): Likewise.
14653         (cos_downward_test_data): Likewise.
14654         (cos_test_downward): Likewise.
14655         (cos_upward_test_data): Likewise.
14656         (cos_test_upward): Likewise.
14657         (cosh_test_data): Update call to AUTO_TESTS_f_f.
14658         (cosh_test): Use ALL_RM_TEST.
14659         (cosh_tonearest_test_data): Remove.
14660         (cosh_test_tonearest): Likewise.
14661         (cosh_towardzero_test_data): Likewise.
14662         (cosh_test_towardzero): Likewise.
14663         (cosh_downward_test_data): Likewise.
14664         (cosh_test_downward): Likewise.
14665         (cosh_upward_test_data): Likewise.
14666         (cosh_test_upward): Likewise.
14667         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14668         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14669         (ctan_test_data): Likewise.
14670         (ctan_test): Use ALL_RM_TEST.
14671         (ctan_tonearest_test_data): Remove.
14672         (ctan_test_tonearest): Likewise.
14673         (ctan_towardzero_test_data): Likewise.
14674         (ctan_test_towardzero): Likewise.
14675         (ctan_downward_test_data): Likewise.
14676         (ctan_test_downward): Likewise.
14677         (ctan_upward_test_data): Likewise.
14678         (ctan_test_upward): Likewise.
14679         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14680         (ctanh_test): Use ALL_RM_TEST.
14681         (ctanh_tonearest_test_data): Remove.
14682         (ctanh_test_tonearest): Likewise.
14683         (ctanh_towardzero_test_data): Likewise.
14684         (ctanh_test_towardzero): Likewise.
14685         (ctanh_downward_test_data): Likewise.
14686         (ctanh_test_downward): Likewise.
14687         (ctanh_upward_test_data): Likewise.
14688         (ctanh_test_upward): Likewise.
14689         (erf_test_data): Update call to AUTO_TESTS_f_f.
14690         (erfc_test_data): Likewise.
14691         (exp_test_data): Likewise.
14692         (exp_test): Use ALL_RM_TEST.
14693         (exp_tonearest_test_data): Remove.
14694         (exp_test_tonearest): Likewise.
14695         (exp_towardzero_test_data): Likewise.
14696         (exp_test_towardzero): Likewise.
14697         (exp_downward_test_data): Likewise.
14698         (exp_test_downward): Likewise.
14699         (exp_upward_test_data): Likewise.
14700         (exp_test_upward): Likewise.
14701         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14702         (exp10_test): Use ALL_RM_TEST.
14703         (exp10_tonearest_test_data): Remove.
14704         (exp10_test_tonearest): Likewise.
14705         (exp10_towardzero_test_data): Likewise.
14706         (exp10_test_towardzero): Likewise.
14707         (exp10_downward_test_data): Likewise.
14708         (exp10_test_downward): Likewise.
14709         (exp10_upward_test_data): Likewise.
14710         (exp10_test_upward): Likewise.
14711         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14712         (expm1_test_data): Likewise.
14713         (expm1_test): Use ALL_RM_TEST.
14714         (expm1_tonearest_test_data): Remove.
14715         (expm1_test_tonearest): Likewise.
14716         (expm1_towardzero_test_data): Likewise.
14717         (expm1_test_towardzero): Likewise.
14718         (expm1_downward_test_data): Likewise.
14719         (expm1_test_downward): Likewise.
14720         (expm1_upward_test_data): Likewise.
14721         (expm1_test_upward): Likewise.
14722         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14723         (fma_test): Use ALL_RM_TEST.
14724         (fma_towardzero_test_data): Remove.
14725         (fma_test_towardzero): Likewise.
14726         (fma_downward_test_data): Likewise.
14727         (fma_test_downward): Likewise.
14728         (fma_upward_test_data): Likewise.
14729         (fma_test_upward): Likewise.
14730         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14731         (j0_test_data): Update call to AUTO_TESTS_f_f.
14732         (j1_test_data): Likewise.
14733         (jn_test_data): Update call to AUTO_TESTS_if_f.
14734         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14735         (log_test_data): Update call to AUTO_TESTS_f_f.
14736         (log10_test_data): Likewise.
14737         (log1p_test_data): Likewise.
14738         (log2_test_data): Likewise.
14739         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14740         (pow_tonearest_test_data): Likewise.
14741         (sin_test_data): Update call to AUTO_TESTS_f_f.
14742         (sin_test): Use ALL_RM_TEST.
14743         (sin_tonearest_test_data): Remove.
14744         (sin_test_tonearest): Likewise.
14745         (sin_towardzero_test_data): Likewise.
14746         (sin_test_towardzero): Likewise.
14747         (sin_downward_test_data): Likewise.
14748         (sin_test_downward): Likewise.
14749         (sin_upward_test_data): Likewise.
14750         (sin_test_upward): Likewise.
14751         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14752         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14753         (sinh_test): Use ALL_RM_TEST.
14754         (sinh_tonearest_test_data): Remove.
14755         (sinh_test_tonearest): Likewise.
14756         (sinh_towardzero_test_data): Likewise.
14757         (sinh_test_towardzero): Likewise.
14758         (sinh_downward_test_data): Likewise.
14759         (sinh_test_downward): Likewise.
14760         (sinh_upward_test_data): Likewise.
14761         (sinh_test_upward): Likewise.
14762         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14763         (sqrt_test): Use ALL_RM_TEST.
14764         (sqrt_tonearest_test_data): Remove.
14765         (sqrt_test_tonearest): Likewise.
14766         (sqrt_towardzero_test_data): Likewise.
14767         (sqrt_test_towardzero): Likewise.
14768         (sqrt_downward_test_data): Likewise.
14769         (sqrt_test_downward): Likewise.
14770         (sqrt_upward_test_data): Likewise.
14771         (sqrt_test_upward): Likewise.
14772         (tan_test_data): Update call to AUTO_TESTS_f_f.
14773         (tan_test): Use ALL_RM_TEST.
14774         (tan_tonearest_test_data): Remove.
14775         (tan_test_tonearest): Likewise.
14776         (tan_towardzero_test_data): Likewise.
14777         (tan_test_towardzero): Likewise.
14778         (tan_downward_test_data): Likewise.
14779         (tan_test_downward): Likewise.
14780         (tan_upward_test_data): Likewise.
14781         (tan_test_upward): Likewise.
14782         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14783         (tgamma_test_data): Likewise.
14784         (y0_test_data): Likewise.
14785         (y1_test_data): Likewise.
14786         (yn_test_data): Update call to AUTO_TESTS_if_f.
14787         (main): Do not call removed functions.
14789 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14791         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14792         (ldexp_test_data): Remove.
14793         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14794         scalbn_test_data.
14795         (scalb_test): Use ALL_RM_TEST.
14797 2014-03-19  Andreas Schwab  <schwab@suse.de>
14799         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14801 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14803         [BZ #16649]
14804         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14805         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14806         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14807         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14808         (__ASSUME_PREADV): Undefine.
14809         (__ASSUME_PWRITEV): Likewise.
14811 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14813         * bits/mman-linux.h: Add comment about non-Linux use.
14814         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14815         bits/mman-linux.h resting place.
14817         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14818         * bits/mman-linux.h: ... here.
14820 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14822         * conform/conformtest.pl: Add standard definition when calling C
14823         preprocessor on data files.
14824         (checknamespace): Remove unused variable.
14826 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14828         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14829         minus_oflow, plus_uflow and minus_uflow in expected results.
14830         * math/libm-test.inc (scalbn_test_data): Add more tests of
14831         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14832         minus_uflow.
14833         (scalbn_test): Use ALL_RM_TEST.
14834         (scalbln_test_data): Add more tests of negative arguments.  Use
14835         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14836         (scalbln_test): Use ALL_RM_TEST.
14838 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14840         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14842 2014-03-18  Will Newton  <will.newton@linaro.org>
14844         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14845         inaccurate comment.
14847 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14849         * Makerules [!subdir] (check-abi): Exit with error status if a
14850         test failed.
14852 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14854         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14855         for rint.  Include results for all rounding modes.
14856         (nearbyint_test): Use ALL_RM_TEST.
14857         (rint_test_data): Include all tests used for nearbyint.
14859 2014-03-17  Will Newton  <will.newton@linaro.org>
14861         * nptl/sysdeps/pthread/pthread.h: Revert previous
14862         change.
14864         * sysdeps/generic/ldsodefs.h: Revert previous
14865         change.
14867         * libio/genops.c: Revert previous change.
14868         * libio/libioP.h: Likewise.
14869         * stdio-common/vfprintf.c: Likewise.
14871         * sysdeps/generic/math_private.h: Revert previous
14872         change.
14874         * sysdeps/generic/math_private.h: Check whether
14875         HAVE_RM_CTX is defined with #ifdef rather
14876         than #if.
14878         * argp/argp-fmtstream.h: Check whether
14879         __STRICT_ANSI__ is defined with #ifdef rather
14880         than #if.
14881         * argp/argp.h: Likewise.
14883         * libio/genops.c: Check whether
14884         _IO_JUMPS_OFFSET is defined with #ifdef rather
14885         than #if.
14886         * libio/libioP.h: Likewise.
14887         * stdio-common/vfprintf.c: Likewise.
14889         * sysdeps/generic/ldsodefs.h: Check whether
14890         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14891         than #if.
14893         * nptl/sysdeps/pthread/pthread.h: Check
14894         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14895         its value.
14897 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14899         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14900         setting O_APPEND.
14901         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14902         test case.
14904         [BZ #16680]
14905         * libio/fileops.c (_IO_file_open): Seek to end of file but
14906         don't cache the offset.
14907         (get_file_offset): Remove function.
14908         (do_ftell): Use cached offset when available.
14909         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14910         don't cache the offset.
14911         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14912         case.
14913         (do_one_test): Call it.
14914         (do_ftell_test): Fix up expected old offset for a+ mode.
14915         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14916         available.
14918         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14919         up test status with function return status.
14920         (do_write_test): Likewise.
14921         (do_append_test): Likewise.
14923         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14924         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14925         Remove.
14927 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14929         * math/gen-libm-test.pl (parse_args): Handle results specified for
14930         each rounding mode separately.
14931         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14932         tests and results from lrint_tonearest_test_data,
14933         lrint_towardzero_test_data, lrint_downward_test_data and
14934         lrint_upward_test_data.
14935         (lrint_test): Use ALL_RM_TEST.
14936         (lrint_tonearest_test_data): Remove.
14937         (lrint_test_tonearest): Likewise.
14938         (lrint_towardzero_test_data): Likewise.
14939         (lrint_test_towardzero): Likewise.
14940         (lrint_downward_test_data): Likewise.
14941         (lrint_test_downward): Likewise.
14942         (lrint_upward_test_data): Likewise.
14943         (lrint_test_upward): Likewise.
14944         (llrint_test_data): Merge in per-rounding-mode tests and results
14945         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14946         llrint_downward_test_data and llrint_upward_test_data.
14947         (llrint_test): Use ALL_RM_TEST.
14948         (llrint_tonearest_test_data): Remove.
14949         (llrint_test_tonearest): Likewise.
14950         (llrint_towardzero_test_data): Likewise.
14951         (llrint_test_towardzero): Likewise.
14952         (llrint_downward_test_data): Likewise.
14953         (llrint_test_downward): Likewise.
14954         (llrint_upward_test_data): Likewise.
14955         (llrint_test_upward): Likewise.
14956         (rint_test_data): Merge in per-rounding-mode tests and results
14957         from rint_tonearest_test_data, rint_towardzero_test_data,
14958         rint_downward_test_data and rint_upward_test_data.  Add
14959         per-rounding-mode results for tests not in those arrays.
14960         (rint_test): Use ALL_RM_TEST.
14961         (rint_tonearest_test_data): Remove.
14962         (rint_test_tonearest): Likewise.
14963         (rint_towardzero_test_data): Likewise.
14964         (rint_test_towardzero): Likewise.
14965         (rint_downward_test_data): Likewise.
14966         (rint_test_downward): Likewise.
14967         (rint_upward_test_data): Likewise.
14968         (rint_test_upward): Likewise.
14969         (main): Don't call removed functions.
14971 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14973         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14974         "Compiled on ..." crapola.  It is anti-useful.
14976 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14978         * scripts/evaluate-test.sh: Handle fourth argument to determine
14979         whether test run should stop on failure.
14980         * Makeconfig (stop-on-test-failure): New variable.
14981         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14982         $(stop-on-test-failure).
14983         * Makefile (tests): Give a summary of results from testing and
14984         exit with failure status if they include an ERROR or FAIL.
14985         (xtests): Likewise.
14986         * manual/install.texi (Configuring and compiling): Mention
14987         stop-on-test-failure=y.
14988         * INSTALL: Regenerated.
14990 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14992         * scripts/versionlist.awk: New file.
14993         * Makerules [$(build-shared) = yes]
14994         (postclean-generated): Add Versions.def, not Versions.def.v and
14995         Versions.def.v.i.
14996         ($(common-objpfx)Versions.def.v.i): Target removed.
14997         ($(common-objpfx)Versions.def): New target.
14998         ($(common-objpfx)Versions.all): Depend on that rather that
14999         $(common-objpfx)Versions.def.v.
15000         * Versions.def: File removed.
15002         * Makeconfig (+gccwarn): Add -Wundef.
15003         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15004         a dl-sysdep.h breaking its contract.
15005         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15006         * include/stackinfo.h: New file.
15007         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15008         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15009         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15010         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15011         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15012         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15013         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15014         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15015         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15016         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15017         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15018         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15019         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15020         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15021         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15023 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15025         [BZ #16707]
15026         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15027         implementation.
15028         * math/libm-test.inc (round_test_data): Add more tests.
15030         [BZ #16706]
15031         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15032         implementation.
15033         * math/libm-test.inc (nearbyint_test_data): Add more tests.
15035         [BZ #16701]
15036         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15037         implementation.
15038         * math/libm-test.inc (ceil_test_data): Add more tests.
15040         * math/libm-test.inc (trunc_test_data): Add more tests related to
15041         BZ#16414.
15043 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15045         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15046         with #if rather than #ifdef.
15047         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15049 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
15051         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15052         first.  Disable AVX-512 GCC support if assembler doesn't support
15053         it.
15054         * sysdeps/x86_64/configure: Regenerated.
15056 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
15058         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15059         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15060         (__old_pthread_attr_setstack): Likewise.
15061         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15062         [!_STACK_GROWS_DOWN]: Likewise.
15064 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
15066         * config.make.in (have-bash2): Delete.
15067         * configure.ac (libc_cv_have_bash2): Delete.
15068         * configure: Regenerate.
15069         * elf/Makefile (common-ldd-rewrite): Rename to ...
15070         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
15071         (sh-ldd-rewrite): Delete.
15072         (bash-ldd-rewrite): Delete.
15073         (have-bash2): Delete checks.
15074         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15075         ldd-rewrite.
15077         * config.make.in (have-ksh): Delete.
15078         (KSH): Delete.
15079         * configure.ac (libc_cv_have_ksh): Delete.
15080         * configure: Regenerate.
15082         * elf/Makefile: Delete $(have-ksh) check.
15083         ($(objpfx)sotruss): Change KSH to BASH.
15084         * elf/sotruss.ksh: Rename to ...
15085         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
15086         function style to match POSIX.  Drop ksh vim mode setting.
15088         * manual/time.texi (Specifying the Time Zone with TZ): Change
15089         Tuesday to Thursday.
15091         * debug/tst-longjmp_chk2.c: Update header comment.
15092         (stackoverflow_handler): Add comment.  Call assert on pass value.
15094 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
15096         [BZ #16194]
15097         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15098         (HAVE_AVX512_ASM_SUPPORT): Likewise.
15099         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15100         (La_x86_64_vector): Add zmm.
15101         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15102         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15103         ($(objpfx)tst-audit10): New target.
15104         ($(objpfx)tst-audit10.out): Likewise.
15105         (tst-audit10-ENV): New.
15106         (AVX512-CFLAGS): Likewise.
15107         (CFLAGS-tst-audit10.c): Likewise.
15108         (CFLAGS-tst-auditmod10a.c): Likewise.
15109         (CFLAGS-tst-auditmod10b.c): Likewise.
15110         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15111         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15112         * sysdeps/x86_64/configure: Regenerated.
15113         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15114         AVX-512 zmm register support.
15115         (_dl_x86_64_save_sse): Likewise.
15116         (_dl_x86_64_restore_sse): Likewise.
15117         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15118         size vector registers.
15119         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15120         (ZMM_SIZE): Likewise.
15121         * sysdeps/x86_64/tst-audit10.c: New file.
15122         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15123         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15125 2014-03-13  Roland McGrath  <roland@hack.frob.com>
15127         * configure.ac (HAVE_EHDR_START): New check.
15128         * configure: Regenerated.
15129         * config.h.in (HAVE_EHDR_START): New #undef.
15130         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15131         assuming the lowest-addressed segment maps the start of the file.
15133 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
15135         * INSTALL: Regenerated.
15137 2014-03-13  Will Newton  <will.newton@linaro.org>
15139         * manual/setjmp.texi (System V contexts): Improve
15140         clarity and grammar of documentation.
15142 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15144         [BZ #16381]
15145         * elf/Makefile (tests): Add tst-pie2.
15146         (tests-pie): Add tst-pie2.
15147         * elf/tst-pie2.c: New file.
15148         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15149         for ET_EXEC.
15150         * elf/rtld.c (map_doit): Load executable as lt_executable.
15151         (dl_main): Likewise.
15153 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
15155         [BZ #16642]
15156         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15157         (__ASSUME_PSELECT): Undefine.
15159 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15161         [BZ #16689]
15162         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15163         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15164         static build.
15165         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15166         selector for static builds.
15168 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15170         [BZ #16695]
15171         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15172         key in the buffer.
15174 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15176         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15177         IFUNC selector for static builds.
15179 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
15181         * sysdeps/mips/math_private.h [__mips_hard_float]
15182         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15183         libc_feresetround_mips_ctx.
15184         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15185         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15186         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15188         [BZ #16677]
15189         * math/s_nextafter.c (__nextafter): Do not return value from
15190         overflowing computation.
15191         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15192         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15193         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15194         Likewise.
15195         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15196         Likewise.
15197         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15198         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15200 2014-03-11  Roland McGrath  <roland@hack.frob.com>
15202         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15203         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15204         Move sfi_sp use from the load-multiple (that no longer sets sp) to
15205         the new mov targetting sp.
15207 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15209         [BZ #16683]
15210         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15211         Define it for static builds as well.
15212         (NO_BZERO_IMPL): Likewise.
15214 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15216         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15217         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15218         multiarch strspn for PPC64.
15219         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15220         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15222         (__libc_ifunc_impl_list): Likewise.
15223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15224         multiarch optimizations
15225         * string/strspn.c (strspn): Using macro to redefine symbol name.
15227 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15228             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15230         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15231         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15232         multiarch strncat for PPC64.
15233         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15234         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15236         (__libc_ifunc_impl_list): Likewise.
15237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15238         multiarch optimizations
15240 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15242         [BZ #16639]
15243         * nscd/nscd.service: Make service type forking.
15245 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15247         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15248         sign in non default rounding modes.
15249         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15251 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
15253         * math/libm-test.inc (ALL_RM_TEST): New macro.
15254         (ceil_test): Use ALL_RM_TEST.
15255         (cimag_test): Likewise.
15256         (conj_test): Likewise.
15257         (copysign_test): Likewise.
15258         (cproj_test): Likewise.
15259         (creal_test): Likewise.
15260         (fabs_test): Likewise.
15261         (floor_test): Likewise.
15262         (fmax_test): Likewise.
15263         (fmin_test): Likewise.
15264         (fmod_test): Likewise.
15265         (fpclassify_test): Likewise.
15266         (frexp_test): Likewise.
15267         (ilogb_test): Likewise.
15268         (isfinite_test): Likewise.
15269         (finite_test): Likewise.
15270         (isgreater_test): Likewise.
15271         (isgreaterequal_test): Likewise.
15272         (isinf_test): Likewise.
15273         (isless_test): Likewise.
15274         (islessequal_test): Likewise.
15275         (islessgreater_test): Likewise.
15276         (isnan_test): Likewise.
15277         (isnormal_test): Likewise.
15278         (issignaling_test): Likewise.
15279         (isunordered_test): Likewise.
15280         (logb_test): Likewise.
15281         (logb_downward_test_data): Remove.
15282         (logb_test_downward): Likewise.
15283         (lround_test): Use ALL_RM_TEST.
15284         (llround_test): Likewise.
15285         (modf_test): Likewise.
15286         (nexttoward_test): Likewise.
15287         (remainder_test): Likewise.
15288         (drem_test): Likewise.
15289         (remainder_tonearest_test_data): Likewise.
15290         (remainder_test_tonearest): Likewise.
15291         (drem_test_tonearest): Likewise.
15292         (remainder_towardzero_test_data): Likewise.
15293         (remainder_test_towardzero): Likewise.
15294         (drem_test_towardzero): Likewise.
15295         (remainder_downward_test_data): Likewise.
15296         (remainder_test_downward): Likewise.
15297         (drem_test_downward): Likewise.
15298         (remainder_upward_test_data): Likewise.
15299         (remainder_test_upward): Likewise.
15300         (drem_test_upward): Likewise.
15301         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
15302         (round_test): Use ALL_RM_TEST.
15303         (signbit_test): Likewise.
15304         (trunc_test): Likewise.
15305         (significand_test): Likewise.
15306         (main): Don't call removed functions.
15308 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15310         [BZ #16674]
15311         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15312         || __USE_XOPEN2K8].
15313         (ILL_ILLOPN): Likewise.
15314         (ILL_ILLADR): Likewise.
15315         (ILL_ILLTRP): Likewise.
15316         (ILL_PRVOPC): Likewise.
15317         (ILL_PRVREG): Likewise.
15318         (ILL_COPROC): Likewise.
15319         (ILL_BADSTK): Likewise.
15320         (FPE_INTDIV): Likewise.
15321         (FPE_INTOVF): Likewise.
15322         (FPE_FLTDIV): Likewise.
15323         (FPE_FLTOVF): Likewise.
15324         (FPE_FLTUND): Likewise.
15325         (FPE_FLTRES): Likewise.
15326         (FPE_FLTINV): Likewise.
15327         (FPE_FLTSUB): Likewise.
15328         (SEGV_MAPERR): Likewise.
15329         (SEGV_ACCERR): Likewise.
15330         (BUS_ADRALN): Likewise.
15331         (BUS_ADRERR): Likewise.
15332         (BUS_OBJERR): Likewise.
15333         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15334         (TRAP_TRACE): Likewise.
15335         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15336         __USE_XOPEN2K8].
15337         (CLD_KILLED): Likewise.
15338         (CLD_DUMPED): Likewise.
15339         (CLD_TRAPPED): Likewise.
15340         (CLD_STOPPED): Likewise.
15341         (CLD_CONTINUED): Likewise.
15342         (POLL_IN): Likewise.
15343         (POLL_OUT): Likewise.
15344         (POLL_MSG): Likewise.
15345         (POLL_ERR): Likewise.
15346         (POLL_PRI): Likewise.
15347         (POLL_HUP): Likewise.
15348         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15349         Likewise.
15350         (ILL_ILLOPN): Likewise.
15351         (ILL_ILLADR): Likewise.
15352         (ILL_ILLTRP): Likewise.
15353         (ILL_PRVOPC): Likewise.
15354         (ILL_PRVREG): Likewise.
15355         (ILL_COPROC): Likewise.
15356         (ILL_BADSTK): Likewise.
15357         (FPE_INTDIV): Likewise.
15358         (FPE_INTOVF): Likewise.
15359         (FPE_FLTDIV): Likewise.
15360         (FPE_FLTOVF): Likewise.
15361         (FPE_FLTUND): Likewise.
15362         (FPE_FLTRES): Likewise.
15363         (FPE_FLTINV): Likewise.
15364         (FPE_FLTSUB): Likewise.
15365         (SEGV_MAPERR): Likewise.
15366         (SEGV_ACCERR): Likewise.
15367         (BUS_ADRALN): Likewise.
15368         (BUS_ADRERR): Likewise.
15369         (BUS_OBJERR): Likewise.
15370         (BUS_MCEERR_AR): Likewise.
15371         (BUS_MCEERR_AO): Likewise.
15372         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15373         (TRAP_TRACE): Likewise.
15374         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15375         __USE_XOPEN2K8].
15376         (CLD_KILLED): Likewise.
15377         (CLD_DUMPED): Likewise.
15378         (CLD_TRAPPED): Likewise.
15379         (CLD_STOPPED): Likewise.
15380         (CLD_CONTINUED): Likewise.
15381         (POLL_IN): Likewise.
15382         (POLL_OUT): Likewise.
15383         (POLL_MSG): Likewise.
15384         (POLL_ERR): Likewise.
15385         (POLL_PRI): Likewise.
15386         (POLL_HUP): Likewise.
15387         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15388         (ILL_ILLOPN): Likewise.
15389         (ILL_ILLADR): Likewise.
15390         (ILL_ILLTRP): Likewise.
15391         (ILL_PRVOPC): Likewise.
15392         (ILL_PRVREG): Likewise.
15393         (ILL_COPROC): Likewise.
15394         (ILL_BADSTK): Likewise.
15395         (FPE_INTDIV): Likewise.
15396         (FPE_INTOVF): Likewise.
15397         (FPE_FLTDIV): Likewise.
15398         (FPE_FLTOVF): Likewise.
15399         (FPE_FLTUND): Likewise.
15400         (FPE_FLTRES): Likewise.
15401         (FPE_FLTINV): Likewise.
15402         (FPE_FLTSUB): Likewise.
15403         (SEGV_MAPERR): Likewise.
15404         (SEGV_ACCERR): Likewise.
15405         (BUS_ADRALN): Likewise.
15406         (BUS_ADRERR): Likewise.
15407         (BUS_OBJERR): Likewise.
15408         (BUS_MCEERR_AR): Likewise.
15409         (BUS_MCEERR_AO): Likewise.
15410         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15411         (TRAP_TRACE): Likewise.
15412         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15413         __USE_XOPEN2K8].
15414         (CLD_KILLED): Likewise.
15415         (CLD_DUMPED): Likewise.
15416         (CLD_TRAPPED): Likewise.
15417         (CLD_STOPPED): Likewise.
15418         (CLD_CONTINUED): Likewise.
15419         (POLL_IN): Likewise.
15420         (POLL_OUT): Likewise.
15421         (POLL_MSG): Likewise.
15422         (POLL_ERR): Likewise.
15423         (POLL_PRI): Likewise.
15424         (POLL_HUP): Likewise.
15425         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15426         Likewise.
15427         (ILL_ILLOPN): Likewise.
15428         (ILL_ILLADR): Likewise.
15429         (ILL_ILLTRP): Likewise.
15430         (ILL_PRVOPC): Likewise.
15431         (ILL_PRVREG): Likewise.
15432         (ILL_COPROC): Likewise.
15433         (ILL_BADSTK): Likewise.
15434         (ILL_BADIADDR): Likewise.
15435         (ILL_BREAK): Likewise.
15436         (FPE_INTDIV): Likewise.
15437         (FPE_INTOVF): Likewise.
15438         (FPE_FLTDIV): Likewise.
15439         (FPE_FLTOVF): Likewise.
15440         (FPE_FLTUND): Likewise.
15441         (FPE_FLTRES): Likewise.
15442         (FPE_FLTINV): Likewise.
15443         (FPE_FLTSUB): Likewise.
15444         (FPE_DECOVF): Likewise.
15445         (FPE_DECDIV): Likewise.
15446         (FPE_DECERR): Likewise.
15447         (FPE_INVASC): Likewise.
15448         (FPE_INVDEC): Likewise.
15449         (SEGV_MAPERR): Likewise.
15450         (SEGV_ACCERR): Likewise.
15451         (SEGV_PSTKOVF): Likewise.
15452         (BUS_ADRALN): Likewise.
15453         (BUS_ADRERR): Likewise.
15454         (BUS_OBJERR): Likewise.
15455         (BUS_MCEERR_AR): Likewise.
15456         (BUS_MCEERR_AO): Likewise.
15457         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15458         (TRAP_TRACE): Likewise.
15459         (TRAP_BRANCH): Likewise.
15460         (TRAP_HWBKPT): Likewise.
15461         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15462         __USE_XOPEN2K8].
15463         (CLD_KILLED): Likewise.
15464         (CLD_DUMPED): Likewise.
15465         (CLD_TRAPPED): Likewise.
15466         (CLD_STOPPED): Likewise.
15467         (CLD_CONTINUED): Likewise.
15468         (POLL_IN): Likewise.
15469         (POLL_OUT): Likewise.
15470         (POLL_MSG): Likewise.
15471         (POLL_ERR): Likewise.
15472         (POLL_PRI): Likewise.
15473         (POLL_HUP): Likewise.
15474         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15475         (ILL_ILLOPN): Likewise.
15476         (ILL_ILLADR): Likewise.
15477         (ILL_ILLTRP): Likewise.
15478         (ILL_PRVOPC): Likewise.
15479         (ILL_PRVREG): Likewise.
15480         (ILL_COPROC): Likewise.
15481         (ILL_BADSTK): Likewise.
15482         (FPE_INTDIV): Likewise.
15483         (FPE_INTOVF): Likewise.
15484         (FPE_FLTDIV): Likewise.
15485         (FPE_FLTOVF): Likewise.
15486         (FPE_FLTUND): Likewise.
15487         (FPE_FLTRES): Likewise.
15488         (FPE_FLTINV): Likewise.
15489         (FPE_FLTSUB): Likewise.
15490         (SEGV_MAPERR): Likewise.
15491         (SEGV_ACCERR): Likewise.
15492         (BUS_ADRALN): Likewise.
15493         (BUS_ADRERR): Likewise.
15494         (BUS_OBJERR): Likewise.
15495         (BUS_MCEERR_AR): Likewise.
15496         (BUS_MCEERR_AO): Likewise.
15497         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15498         (TRAP_TRACE): Likewise.
15499         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15500         __USE_XOPEN2K8].
15501         (CLD_KILLED): Likewise.
15502         (CLD_DUMPED): Likewise.
15503         (CLD_TRAPPED): Likewise.
15504         (CLD_STOPPED): Likewise.
15505         (CLD_CONTINUED): Likewise.
15506         (POLL_IN): Likewise.
15507         (POLL_OUT): Likewise.
15508         (POLL_MSG): Likewise.
15509         (POLL_ERR): Likewise.
15510         (POLL_PRI): Likewise.
15511         (POLL_HUP): Likewise.
15512         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15513         (ILL_ILLOPN): Likewise.
15514         (ILL_ILLADR): Likewise.
15515         (ILL_ILLTRP): Likewise.
15516         (ILL_PRVOPC): Likewise.
15517         (ILL_PRVREG): Likewise.
15518         (ILL_COPROC): Likewise.
15519         (ILL_BADSTK): Likewise.
15520         (FPE_INTDIV): Likewise.
15521         (FPE_INTOVF): Likewise.
15522         (FPE_FLTDIV): Likewise.
15523         (FPE_FLTOVF): Likewise.
15524         (FPE_FLTUND): Likewise.
15525         (FPE_FLTRES): Likewise.
15526         (FPE_FLTINV): Likewise.
15527         (FPE_FLTSUB): Likewise.
15528         (SEGV_MAPERR): Likewise.
15529         (SEGV_ACCERR): Likewise.
15530         (BUS_ADRALN): Likewise.
15531         (BUS_ADRERR): Likewise.
15532         (BUS_OBJERR): Likewise.
15533         (BUS_MCEERR_AR): Likewise.
15534         (BUS_MCEERR_AO): Likewise.
15535         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15536         (TRAP_TRACE): Likewise.
15537         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15538         __USE_XOPEN2K8].
15539         (CLD_KILLED): Likewise.
15540         (CLD_DUMPED): Likewise.
15541         (CLD_TRAPPED): Likewise.
15542         (CLD_STOPPED): Likewise.
15543         (CLD_CONTINUED): Likewise.
15544         (POLL_IN): Likewise.
15545         (POLL_OUT): Likewise.
15546         (POLL_MSG): Likewise.
15547         (POLL_ERR): Likewise.
15548         (POLL_PRI): Likewise.
15549         (POLL_HUP): Likewise.
15550         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15551         (ILL_ILLOPN): Likewise.
15552         (ILL_ILLADR): Likewise.
15553         (ILL_ILLTRP): Likewise.
15554         (ILL_PRVOPC): Likewise.
15555         (ILL_PRVREG): Likewise.
15556         (ILL_COPROC): Likewise.
15557         (ILL_BADSTK): Likewise.
15558         (FPE_INTDIV): Likewise.
15559         (FPE_INTOVF): Likewise.
15560         (FPE_FLTDIV): Likewise.
15561         (FPE_FLTOVF): Likewise.
15562         (FPE_FLTUND): Likewise.
15563         (FPE_FLTRES): Likewise.
15564         (FPE_FLTINV): Likewise.
15565         (FPE_FLTSUB): Likewise.
15566         (SEGV_MAPERR): Likewise.
15567         (SEGV_ACCERR): Likewise.
15568         (BUS_ADRALN): Likewise.
15569         (BUS_ADRERR): Likewise.
15570         (BUS_OBJERR): Likewise.
15571         (BUS_MCEERR_AR): Likewise.
15572         (BUS_MCEERR_AO): Likewise.
15573         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15574         (TRAP_TRACE): Likewise.
15575         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15576         __USE_XOPEN2K8].
15577         (CLD_KILLED): Likewise.
15578         (CLD_DUMPED): Likewise.
15579         (CLD_TRAPPED): Likewise.
15580         (CLD_STOPPED): Likewise.
15581         (CLD_CONTINUED): Likewise.
15582         (POLL_IN): Likewise.
15583         (POLL_OUT): Likewise.
15584         (POLL_MSG): Likewise.
15585         (POLL_ERR): Likewise.
15586         (POLL_PRI): Likewise.
15587         (POLL_HUP): Likewise.
15588         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15589         (ILL_ILLOPN): Likewise.
15590         (ILL_ILLADR): Likewise.
15591         (ILL_ILLTRP): Likewise.
15592         (ILL_PRVOPC): Likewise.
15593         (ILL_PRVREG): Likewise.
15594         (ILL_COPROC): Likewise.
15595         (ILL_BADSTK): Likewise.
15596         (ILL_DBLFLT): Likewise.
15597         (ILL_HARDWALL): Likewise.
15598         (FPE_INTDIV): Likewise.
15599         (FPE_INTOVF): Likewise.
15600         (FPE_FLTDIV): Likewise.
15601         (FPE_FLTOVF): Likewise.
15602         (FPE_FLTUND): Likewise.
15603         (FPE_FLTRES): Likewise.
15604         (FPE_FLTINV): Likewise.
15605         (FPE_FLTSUB): Likewise.
15606         (SEGV_MAPERR): Likewise.
15607         (SEGV_ACCERR): Likewise.
15608         (BUS_ADRALN): Likewise.
15609         (BUS_ADRERR): Likewise.
15610         (BUS_OBJERR): Likewise.
15611         (BUS_MCEERR_AR): Likewise.
15612         (BUS_MCEERR_AO): Likewise.
15613         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15614         (TRAP_TRACE): Likewise.
15615         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15616         __USE_XOPEN2K8].
15617         (CLD_KILLED): Likewise.
15618         (CLD_DUMPED): Likewise.
15619         (CLD_TRAPPED): Likewise.
15620         (CLD_STOPPED): Likewise.
15621         (CLD_CONTINUED): Likewise.
15622         (POLL_IN): Likewise.
15623         (POLL_OUT): Likewise.
15624         (POLL_MSG): Likewise.
15625         (POLL_ERR): Likewise.
15626         (POLL_PRI): Likewise.
15627         (POLL_HUP): Likewise.
15628         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15629         (ILL_ILLOPN): Likewise.
15630         (ILL_ILLADR): Likewise.
15631         (ILL_ILLTRP): Likewise.
15632         (ILL_PRVOPC): Likewise.
15633         (ILL_PRVREG): Likewise.
15634         (ILL_COPROC): Likewise.
15635         (ILL_BADSTK): Likewise.
15636         (FPE_INTDIV): Likewise.
15637         (FPE_INTOVF): Likewise.
15638         (FPE_FLTDIV): Likewise.
15639         (FPE_FLTOVF): Likewise.
15640         (FPE_FLTUND): Likewise.
15641         (FPE_FLTRES): Likewise.
15642         (FPE_FLTINV): Likewise.
15643         (FPE_FLTSUB): Likewise.
15644         (SEGV_MAPERR): Likewise.
15645         (SEGV_ACCERR): Likewise.
15646         (BUS_ADRALN): Likewise.
15647         (BUS_ADRERR): Likewise.
15648         (BUS_OBJERR): Likewise.
15649         (BUS_MCEERR_AR): Likewise.
15650         (BUS_MCEERR_AO): Likewise.
15651         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15652         (TRAP_TRACE): Likewise.
15653         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15654         __USE_XOPEN2K8].
15655         (CLD_KILLED): Likewise.
15656         (CLD_DUMPED): Likewise.
15657         (CLD_TRAPPED): Likewise.
15658         (CLD_STOPPED): Likewise.
15659         (CLD_CONTINUED): Likewise.
15660         (POLL_IN): Likewise.
15661         (POLL_OUT): Likewise.
15662         (POLL_MSG): Likewise.
15663         (POLL_ERR): Likewise.
15664         (POLL_PRI): Likewise.
15665         (POLL_HUP): Likewise.
15666         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15667         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15669         [BZ #16670]
15670         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15671         before #include of <time.h>.
15672         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15673         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15674         (test-xfail-UNIX98/sched.h/conform): Likewise.
15676 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15678         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15679         error absence of trapping exception support.
15680         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15682 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15684         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15685         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15686         * timezone/Makefile (testdata): Move definition above include of
15687         Rules.
15688         (test-zones): New variable.
15689         (tests-special): Add zone files.
15690         (build-testdata): Use $(evaluate-test).
15692         * elf/Makefile (tests-special): Rename tests to end with .out.
15693         ($(objpfx)noload-mem): Likewise.
15694         ($(objpfx)tst-leaks1-mem): Likewise.
15695         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15696         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15697         $(objpfx)test-iconvconfig.out.
15698         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15699         set -e inside subshell and redirect output to file.
15700         * iconvdata/Makefile (generated): Rename tests to end with .out.
15701         Correct type.
15702         (tests-special): Rename tests to end with .out.
15703         ($(objpfx)mtrace-tst-loading): Likewise.
15704         * intl/Makefile (generated): Likewise.
15705         (tests-special): Likewise.
15706         ($(objpfx)mtrace-tst-gettext): Likewise.
15707         * misc/Makefile (generated): Likewise.
15708         (tests-special): Likewise.
15709         ($(objpfx)tst-error1-mem): Likewise.
15710         * nptl/Makefile (tests-special): Likewise.
15711         ($(objpfx)tst-stack3-mem): Likewise.
15712         (generated): Likewise.
15713         * posix/Makefile (generated): Likewise.
15714         (tests-special): Likewise.
15715         (xtests-special): Likewise.
15716         ($(objpfx)tst-fnmatch-mem): Likewise.
15717         ($(objpfx)bug-regex2-mem): Likewise.
15718         ($(objpfx)bug-regex14-mem): Likewise.
15719         ($(objpfx)bug-regex21-mem): Likewise.
15720         ($(objpfx)bug-regex31-mem): Likewise.
15721         ($(objpfx)tst-vfork3-mem): Likewise.
15722         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15723         ($(objpfx)tst-pcre-mem): Likewise.
15724         ($(objpfx)tst-boost-mem): Likewise.
15725         ($(objpfx)bug-ga2-mem): Likewise.
15726         ($(objpfx)bug-glob2-mem): Likewise.
15727         * resolv/Makefile (generate): Likewise.
15728         (tests-special): Likewise.
15729         (xtests-special): Likewise.
15730         (generated): Likewise.
15731         ($(objpfx)mtrace-tst-leaks): Likewise.
15732         ($(objpfx)mtrace-tst-leaks2): Likewise.
15734         * scripts/merge-test-results.sh: New file.
15735         * Makefile (tests-special-notdir): New variable.
15736         (tests): Run merge-test-results.sh.
15737         (xtests): Likewise.
15738         * Rules (tests-special-notdir): New variable.
15739         (xtests-special-notdir): Likewise.
15740         (tests): Run merge-test-results.sh
15741         (xtests): Likewise.
15743         * Makeconfig (test-xfail-name): New variable.
15744         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15745         compute variable name for expected failures.
15746         * conform/Makefile (conformtest-headers-data): New variable.
15747         (conformtest-standards): Likewise.
15748         (conformtest-headers-ISO): Likewise.
15749         (conformtest-headers-ISO99): Likewise.
15750         (conformtest-headers-ISO11): Likewise.
15751         (conformtest-headers-POSIX): Likewise.
15752         (conformtest-headers-XPG3): Likewise.
15753         (conformtest-headers-XPG4): Likewise.
15754         (conformtest-headers-UNIX98): Likewise.
15755         (conformtest-headers-XOPEN2K): Likewise.
15756         (conformtest-headers-POSIX2008): Likewise.
15757         (conformtest-headers-XOPEN2K8): Likewise.
15758         (conformtest-header-list-base): Likewise.
15759         (conformtest-header-list-tests): Likewise.
15760         (conformtest-header-base): Likewise.
15761         (conformtest-header-tests): Likewise.
15762         (tests-special): Add $(conformtest-header-list-tests).  If
15763         [$(fast-check) && !$(cross-compiling)], add
15764         $(conformtest-header-tests) instead of
15765         $(objpfx)run-conformtest.out.
15766         (generated): Add $(conformtest-header-list-base).  If
15767         [$(fast-check) && !$(cross-compiling)], add
15768         $(conformtest-header-base).  Remove previous setting.
15769         ($(conformtest-header-list-tests)): New target.
15770         (test-xfail-run-conformtest): Remove variable.
15771         ($(objpfx)run-conformtest.out): Remove target.
15772         (test-xfail-ISO11/complex.h/conform): New variable.
15773         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15774         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15775         (test-xfail-XPG3/varargs.h/conform): Likewise.
15776         (test-xfail-XPG4/varargs.h/conform): Likewise.
15777         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15778         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15779         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15780         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15781         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15782         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15783         (test-xfail-XPG3/ftw.h/conform): Likewise.
15784         (test-xfail-XPG3/grp.h/conform): Likewise.
15785         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15786         (test-xfail-XPG3/limits.h/conform): Likewise.
15787         (test-xfail-XPG3/pwd.h/conform): Likewise.
15788         (test-xfail-XPG3/search.h/conform): Likewise.
15789         (test-xfail-XPG3/signal.h/conform): Likewise.
15790         (test-xfail-XPG3/stdio.h/conform): Likewise.
15791         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15792         (test-xfail-XPG3/string.h/conform): Likewise.
15793         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15794         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15795         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15796         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15797         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15798         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15799         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15800         (test-xfail-XPG3/termios.h/conform): Likewise.
15801         (test-xfail-XPG3/time.h/conform): Likewise.
15802         (test-xfail-XPG3/unistd.h/conform): Likewise.
15803         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15804         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15805         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15806         (test-xfail-XPG4/netdb.h/conform): Likewise.
15807         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15808         (test-xfail-XPG4/signal.h/conform): Likewise.
15809         (test-xfail-XPG4/stdio.h/conform): Likewise.
15810         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15811         (test-xfail-XPG4/stropts.h/conform): Likewise.
15812         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15813         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15814         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15815         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15816         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15817         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15818         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15819         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15820         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15821         (test-xfail-XPG4/termios.h/conform): Likewise.
15822         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15823         (test-xfail-XPG4/unistd.h/conform): Likewise.
15824         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15825         (test-xfail-POSIX/sched.h/conform): Likewise.
15826         (test-xfail-POSIX/signal.h/conform): Likewise.
15827         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15828         (test-xfail-POSIX/tar.h/conform): Likewise.
15829         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15830         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15831         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15832         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15833         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15834         (test-xfail-UNIX98/sched.h/conform): Likewise.
15835         (test-xfail-UNIX98/signal.h/conform): Likewise.
15836         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15837         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15838         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15839         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15840         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15841         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15842         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15843         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15844         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15845         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15846         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15847         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15848         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15849         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15850         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15851         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15852         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15853         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15854         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15855         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15856         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15857         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15858         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15859         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15860         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15861         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15862         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15863         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15864         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15865         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15866         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15867         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15868         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15869         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15870         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15871         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15872         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15873         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15874         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15875         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15876         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15877         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15878         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15879         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15880         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15881         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15882         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15883         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15884         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15885         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15886         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15887         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15888         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15889         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15890         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15891         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15892         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15893         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15894         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15895         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15896         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15897         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15898         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15899         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15900         (conformtest-cc-flags): Likewise.
15901         ($(conformtest-header-tests): New target.
15902         * conform/check-header-lists.sh: New file.
15903         * conform/run-conformtest.sh: Remove.
15905         * conform/conformtest.pl: Allow ' and \ in values given for
15906         constants.
15907         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15908         inclusion.
15909         [POSIX] (sys/types.h): Likewise.
15910         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15911         inclusion.
15912         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15913         inclusion.
15914         * conform/data/signal.h-data (SIGIO): Remove expectation.
15915         [XPG3] (SIGBUS): Do not expect.
15916         [POSIX || XPG3] (SIGPOLL): Likewise.
15917         [POSIX || XPG3] (SIGPROF): Likewise.
15918         [POSIX || XPG3] (SIGSYS): Likewise.
15919         [XPG3] (SIGTRAP): Likewise.
15920         [POSIX || XPG3] (SIGURG): Likewise.
15921         [POSIX || XPG3] (SIGVTALRM): Likewise.
15922         [POSIX || XPG3] (SIGXCPU): Likewise.
15923         [POSIX || XPG3] (SIGXFSZ): Likewise.
15924         [POSIX] (SA_SIGINFO): Expect.
15925         [XPG3] (siginfo_t): Do not expect type or contents.
15926         [POSIX] (si_pid): Do not expect element.
15927         [POSIX] (si_uid): Likewise.
15928         [POSIX] (si_addr): Likewise.
15929         [POSIX] (si_status): Likewise.
15930         [POSIX] (si_band): Likewise.
15931         [XPG4] (si_value): Likewise.
15932         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15933         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15934         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15935         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15936         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15937         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15938         [POSIX || XPG3] (ILL_COPROC): Likewise.
15939         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15940         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15941         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15942         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15943         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15944         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15945         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15946         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15947         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15948         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15949         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15950         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15951         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15952         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15953         [POSIX || XPG3] (CLD_EXITED): Likewise.
15954         [POSIX || XPG3] (CLD_KILLED): Likewise.
15955         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15956         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15957         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15958         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15959         [POSIX || XPG3] (POLL_IN): Likewise.
15960         [POSIX || XPG3] (POLL_OUT): Likewise.
15961         [POSIX || XPG3] (POLL_MSG): Likewise.
15962         [POSIX || XPG3] (POLL_ERR): Likewise.
15963         [POSIX || XPG3] (POLL_PRI): Likewise.
15964         [POSIX || XPG3] (POLL_HUP): Likewise.
15965         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15966         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15967         (SIG*): Do not allow.
15968         [XPG3] (si_*): Likewise.
15969         [XPG3] (SI_*): Likewise.
15970         [XPG3 || XPG4] (sigev_*): Likewise.
15971         [XPG3 || XPG4] (SIGEV_*): Likewise.
15972         [XPG3 || XPG4] (sival_*): Likewise.
15973         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15974         [POSIX || XPG3] (BUS_*): Likewise.
15975         [POSIX || XPG3] (CLD_*): Likewise.
15976         [POSIX || XPG3] (FPE_*): Likewise.
15977         [POSIX || XPG3] (ILL_*): Likewise.
15978         [POSIX || XPG3] (POLL_*): Likewise.
15979         [POSIX || XPG3] (SEGV_*): Likewise.
15980         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15981         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15982         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15983         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15984         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15985         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15986         Specify type and value.
15987         (TVERSLEN): Likewise.
15988         (REGTYPE): Likewise.
15989         (AREGTYPE): Likewise.
15990         (LNKTYPE): Likewise.
15991         (SYMTYPE): Likewise.
15992         (CHRTYPE): Likewise.
15993         (BLKTYPE): Likewise.
15994         (DIRTYPE): Likewise.
15995         (FIFOTYPE): Likewise.
15996         (CONTTYPE): Likewise.
15997         (TSUID): Likewise.
15998         (TSGID): Likewise.
15999         (TSVTX): Likewise.
16000         (TUREAD): Likewise.
16001         (TUWRITE): Likewise.
16002         (TUEXEC): Likewise.
16003         (TGREAD): Likewise.
16004         (TGWRITE): Likewise.
16005         (TGEXEC): Likewise.
16006         (TOREAD): Likewise.
16007         (TOWRITE): Likewise.
16008         (TOEXEC): Likewise.
16009         [POSIX] (TSVTX): Expect constant.
16011 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
16013         * Makefile (tests): Change dependencies to ....
16014         (tests-special): ... additions to this variable.
16015         (tests): Depend on $(tests-special).
16016         * Makerules (check-abi-list): New variable.
16017         (check-abi): Depend on $(check-abi-list).
16018         [$(subdir) = elf] (tests-special): Add
16019         $(objpfx)check-abi-libc.out.
16020         [$(build-shared) = yes && subdir] (tests-special): Add
16021         $(check-abi-list).
16022         [$(build-shared) = yes && subdir] (tests): Do not depend on
16023         check-abi.
16024         * Rules (tests): Depend on $(tests-special).
16025         (xtests): Depend on $(xtests-special).
16026         * catgets/Makefile (tests): Change dependencies to ....
16027         (tests-special): ... additions to this variable.
16028         * conform/Makefile (tests): Change dependencies to ....
16029         (tests-special): ... additions to this variable.
16030         * elf/Makefile (tests): Change dependencies to ....
16031         (tests-special): ... additions to this variable.
16032         * grp/Makefile (tests): Change dependencies to ....
16033         (tests-special): ... additions to this variable.
16034         * iconv/Makefile (xtests): Change dependencies to ....
16035         (xtests-special): ... additions to this variable.
16036         * iconvdata/Makefile (tests): Change dependencies to ....
16037         (tests-special): ... additions to this variable.
16038         * intl/Makefile (tests): Change dependencies to ....
16039         (tests-special): ... additions to this variable.  Also add
16040         $(objpfx)tst-gettext.out.
16041         * io/Makefile (tests): Change dependencies to ....
16042         (tests-special): ... additions to this variable.
16043         * libio/Makefile (tests): Change dependencies to ....
16044         (tests-special): ... additions to this variable.
16045         * malloc/Makefile (tests): Change dependencies to ....
16046         (tests-special): ... additions to this variable.
16047         * misc/Makefile (tests): Change dependencies to ....
16048         (tests-special): ... additions to this variable.
16049         * nptl/Makefile (tests): Change dependencies to ....
16050         (tests-special): ... additions to this variable.
16051         * nptl_db/Makefile (tests): Change dependencies to ....
16052         (tests-special): ... additions to this variable.
16053         * posix/Makefile (tests): Change dependencies to ....
16054         (tests-special): ... additions to this variable.
16055         (xtests): Change dependencies to ....
16056         (xtests-special): ... additions to this variable.
16057         * resolv/Makefile (tests): Change dependencies to ....
16058         (tests-special): ... additions to this variable.
16059         (xtests): Change dependencies to ....
16060         (xtests-special): ... additions to this variable.
16061         * stdio-common/Makefile (tests): Change dependencies to ....
16062         (tests-special): ... additions to this variable.
16063         (do-tst-unbputc): Remove target.
16064         (do-tst-printf): Likewise.
16065         * stdlib/Makefile (tests): Change dependencies to ....
16066         (tests-special): ... additions to this variable.
16067         * string/Makefile (tests): Change dependencies to ....
16068         (tests-special): ... additions to this variable.
16069         * sysdeps/x86/Makefile (tests): Change dependencies to ....
16070         (tests-special): ... additions to this variable.
16072         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16073         whole file.
16074         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16075         whole file.
16076         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16077         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16079         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16080         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16081         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16082         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16083         * conform/data/libgen.h-data [XPG3]: Likewise.
16084         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16085         * conform/data/ndbm.h-data [XPG3]: Likewise.
16086         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16087         * conform/data/netdb.h-data [XPG3]: Likewise.
16088         * conform/data/netinet/in.h-data [XPG3]: Likewise.
16089         * conform/data/poll.h-data [XPG3]: Likewise.
16090         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16091         * conform/data/strings.h-data [XPG3]: Likewise.
16092         * conform/data/stropts.h-data [XPG3]: Likewise.
16093         * conform/data/sys/mman.h-data [XPG3]: Likewise.
16094         * conform/data/sys/resource.h-data [XPG3]: Likewise.
16095         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16096         Likewise.
16097         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16098         * conform/data/sys/time.h-data [XPG3]: Likewise.
16099         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16100         * conform/data/sys/uio.h-data [XPG3]: Likewise.
16101         * conform/data/sys/un.h-data [XPG3]: Likewise.
16102         * conform/data/syslog.h-data [XPG3]: Likewise.
16103         * conform/data/ucontext.h-data [XPG3]: Likewise.
16104         * conform/data/utmpx.h-data [XPG3]: Likewise.
16105         * conform/data/varargs.h-data [UNIX98]: Enable file.
16107         * manual/Makefile (INSTALL_INFO): Remove variable setting.
16109         * math/libm-test.inc (struct test_f_f_data): Move expected results
16110         into structure for each rounding mode.
16111         (struct test_ff_f_data): Likewise.
16112         (struct test_ff_f_data_nexttoward): Likewise.
16113         (struct test_fi_f_data): Likewise.
16114         (struct test_fl_f_data): Likewise.
16115         (struct test_if_f_data): Likewise.
16116         (struct test_fff_f_data): Likewise.
16117         (struct test_c_f_data): Likewise.
16118         (struct test_f_f1_data): Likewise.
16119         (struct test_fF_f1_data): Likewise.
16120         (struct test_ffI_f1_data): Likewise.
16121         (struct test_c_c_data): Likewise.
16122         (struct test_cc_c_data): Likewise.
16123         (struct test_f_i_data): Likewise.
16124         (struct test_ff_i_data): Likewise.
16125         (struct test_f_l_data): Likewise.
16126         (struct test_f_L_data): Likewise.
16127         (struct test_fFF_11_data): Likewise.
16128         (RM_): New macro.
16129         (RM_FE_DOWNWARD): Likewise.
16130         (RM_FE_TONEAREST): Likewise.
16131         (RM_FE_TOWARDZERO): Likewise.
16132         (RM_FE_UPWARD): Likewise.
16133         (RUN_TEST_LOOP_f_f): Update references to expected results.
16134         (RUN_TEST_LOOP_2_f): Likewise.
16135         (RUN_TEST_LOOP_fff_f): Likewise.
16136         (RUN_TEST_LOOP_c_f): Likewise.
16137         (RUN_TEST_LOOP_f_f1): Likewise.
16138         (RUN_TEST_LOOP_fF_f1): Likewise.
16139         (RUN_TEST_LOOP_fI_f1): Likewise.
16140         (RUN_TEST_LOOP_ffI_f1): Likewise.
16141         (RUN_TEST_LOOP_c_c): Likewise.
16142         (RUN_TEST_LOOP_cc_c): Likewise.
16143         (RUN_TEST_LOOP_f_i): Likewise.
16144         (RUN_TEST_LOOP_f_i_tg): Likewise.
16145         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16146         (RUN_TEST_LOOP_f_b): Likewise.
16147         (RUN_TEST_LOOP_f_b_tg): Likewise.
16148         (RUN_TEST_LOOP_f_l): Likewise.
16149         (RUN_TEST_LOOP_f_L): Likewise.
16150         (RUN_TEST_LOOP_fFF_11): Likewise.
16151         * math/gen-libm-test.pl (parse_args): Output four copies of
16152         expected results for each test.
16154         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16155         (__ASSUME_UTIMES): Remove.
16156         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16157         (__ASSUME_UTIMES): Likewise.
16159         * math/gen-auto-libm-tests.c: Update comment on output format.
16160         (output_for_one_input_case): Generate before-rounding and
16161         after-rounding information as conditions on output flags not
16162         floating-point format.
16163         * math/auto-libm-test-out: Regenerated.
16164         * math/gen-libm-test.pl (cond_value): New function.
16165         (or_cond_value): Use cond_value.
16166         (generate_testfile): Handle conditional exceptions.
16168 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
16170         * math/libm-test.inc (max_valid_error): New variable.
16171         (init_max_error): Take new argument specifying whether function
16172         results are exactly determined.  Set max_valid_error and bound
16173         other variables for errors based on this argument.
16174         (set_max_error): Do not record results above max_valid_error.
16175         (check_float_internal): Only accept errors of up to 0.5ulps if
16176         also at most max_valid_error.
16177         (START): Take new argument EXACT and pass it to init_max_error.
16178         (acos_test): Update call to START.
16179         (acos_test_tonearest): Likewise.
16180         (acos_test_towardzero): Likewise.
16181         (acos_test_downward): Likewise.
16182         (acos_test_upward): Likewise.
16183         (acosh_test): Likewise.
16184         (asin_test): Likewise.
16185         (asin_test_tonearest): Likewise.
16186         (asin_test_towardzero): Likewise.
16187         (asin_test_downward): Likewise.
16188         (asin_test_upward): Likewise.
16189         (asinh_test): Likewise.
16190         (atan_test): Likewise.
16191         (atanh_test): Likewise.
16192         (atan2_test): Likewise.
16193         (cabs_test): Likewise.
16194         (cacos_test): Likewise.
16195         (cacosh_test): Likewise.
16196         (carg_test): Likewise.
16197         (casin_test): Likewise.
16198         (casinh_test): Likewise.
16199         (catan_test): Likewise.
16200         (catanh_test): Likewise.
16201         (cbrt_test): Likewise.
16202         (ccos_test): Likewise.
16203         (ccosh_test): Likewise.
16204         (ceil_test): Likewise.
16205         (cexp_test): Likewise.
16206         (cimag_test): Likewise.
16207         (clog_test): Likewise.
16208         (clog10_test): Likewise.
16209         (conj_test): Likewise.
16210         (copysign_test): Likewise.
16211         (cos_test): Likewise.
16212         (cos_test_tonearest): Likewise.
16213         (cos_test_towardzero): Likewise.
16214         (cos_test_downward): Likewise.
16215         (cos_test_upward): Likewise.
16216         (cosh_test): Likewise.
16217         (cosh_test_tonearest): Likewise.
16218         (cosh_test_towardzero): Likewise.
16219         (cosh_test_downward): Likewise.
16220         (cosh_test_upward): Likewise.
16221         (cpow_test): Likewise.
16222         (cproj_test): Likewise.
16223         (creal_test): Likewise.
16224         (csin_test): Likewise.
16225         (csinh_test): Likewise.
16226         (csqrt_test): Likewise.
16227         (ctan_test): Likewise.
16228         (ctan_test_tonearest): Likewise.
16229         (ctan_test_towardzero): Likewise.
16230         (ctan_test_downward): Likewise.
16231         (ctan_test_upward): Likewise.
16232         (ctanh_test): Likewise.
16233         (ctanh_test_tonearest): Likewise.
16234         (ctanh_test_towardzero): Likewise.
16235         (ctanh_test_downward): Likewise.
16236         (ctanh_test_upward): Likewise.
16237         (erf_test): Likewise.
16238         (erfc_test): Likewise.
16239         (exp_test): Likewise.
16240         (exp_test_tonearest): Likewise.
16241         (exp_test_towardzero): Likewise.
16242         (exp_test_downward): Likewise.
16243         (exp_test_upward): Likewise.
16244         (exp10_test): Likewise.
16245         (exp10_test_tonearest): Likewise.
16246         (exp10_test_towardzero): Likewise.
16247         (exp10_test_downward): Likewise.
16248         (exp10_test_upward): Likewise.
16249         (pow10_test): Likewise.
16250         (exp2_test): Likewise.
16251         (expm1_test): Likewise.
16252         (expm1_test_tonearest): Likewise.
16253         (expm1_test_towardzero): Likewise.
16254         (expm1_test_downward): Likewise.
16255         (expm1_test_upward): Likewise.
16256         (fabs_test): Likewise.
16257         (fdim_test): Likewise.
16258         (floor_test): Likewise.
16259         (fma_test): Likewise.
16260         (fma_test_towardzero): Likewise.
16261         (fma_test_downward): Likewise.
16262         (fma_test_upward): Likewise.
16263         (fmax_test): Likewise.
16264         (fmin_test): Likewise.
16265         (fmod_test): Likewise.
16266         (fpclassify_test): Likewise.
16267         (frexp_test): Likewise.
16268         (hypot_test): Likewise.
16269         (ilogb_test): Likewise.
16270         (isfinite_test): Likewise.
16271         (finite_test): Likewise.
16272         (isgreater_test): Likewise.
16273         (isgreaterequal_test): Likewise.
16274         (isinf_test): Likewise.
16275         (isless_test): Likewise.
16276         (islessequal_test): Likewise.
16277         (islessgreater_test): Likewise.
16278         (isnan_test): Likewise.
16279         (isnormal_test): Likewise.
16280         (issignaling_test): Likewise.
16281         (isunordered_test): Likewise.
16282         (j0_test): Likewise.
16283         (j1_test): Likewise.
16284         (jn_test): Likewise.
16285         (ldexp_test): Likewise.
16286         (lgamma_test): Likewise.
16287         (gamma_test): Likewise.
16288         (lrint_test): Likewise.
16289         (lrint_test_tonearest): Likewise.
16290         (lrint_test_towardzero): Likewise.
16291         (lrint_test_downward): Likewise.
16292         (lrint_test_upward): Likewise.
16293         (llrint_test): Likewise.
16294         (llrint_test_tonearest): Likewise.
16295         (llrint_test_towardzero): Likewise.
16296         (llrint_test_downward): Likewise.
16297         (llrint_test_upward): Likewise.
16298         (log_test): Likewise.
16299         (log10_test): Likewise.
16300         (log1p_test): Likewise.
16301         (log2_test): Likewise.
16302         (logb_test): Likewise.
16303         (logb_test_downward): Likewise.
16304         (lround_test): Likewise.
16305         (llround_test): Likewise.
16306         (modf_test): Likewise.
16307         (nearbyint_test): Likewise.
16308         (nextafter_test): Likewise.
16309         (nexttoward_test): Likewise.
16310         (pow_test): Likewise.
16311         (pow_test_tonearest): Likewise.
16312         (pow_test_towardzero): Likewise.
16313         (pow_test_downward): Likewise.
16314         (pow_test_upward): Likewise.
16315         (remainder_test): Likewise.
16316         (drem_test): Likewise.
16317         (remainder_test_tonearest): Likewise.
16318         (drem_test_tonearest): Likewise.
16319         (remainder_test_towardzero): Likewise.
16320         (drem_test_towardzero): Likewise.
16321         (remainder_test_downward): Likewise.
16322         (drem_test_downward): Likewise.
16323         (remainder_test_upward): Likewise.
16324         (drem_test_upward): Likewise.
16325         (remquo_test): Likewise.
16326         (rint_test): Likewise.
16327         (rint_test_tonearest): Likewise.
16328         (rint_test_towardzero): Likewise.
16329         (rint_test_downward): Likewise.
16330         (rint_test_upward): Likewise.
16331         (round_test): Likewise.
16332         (scalb_test): Likewise.
16333         (scalbn_test): Likewise.
16334         (scalbln_test): Likewise.
16335         (signbit_test): Likewise.
16336         (sin_test): Likewise.
16337         (sin_test_tonearest): Likewise.
16338         (sin_test_towardzero): Likewise.
16339         (sin_test_downward): Likewise.
16340         (sin_test_upward): Likewise.
16341         (sincos_test): Likewise.
16342         (sinh_test): Likewise.
16343         (sinh_test_tonearest): Likewise.
16344         (sinh_test_towardzero): Likewise.
16345         (sinh_test_downward): Likewise.
16346         (sinh_test_upward): Likewise.
16347         (sqrt_test): Likewise.
16348         (sqrt_test_tonearest): Likewise.
16349         (sqrt_test_towardzero): Likewise.
16350         (sqrt_test_downward): Likewise.
16351         (sqrt_test_upward): Likewise.
16352         (tan_test): Likewise.
16353         (tan_test_tonearest): Likewise.
16354         (tan_test_towardzero): Likewise.
16355         (tan_test_downward): Likewise.
16356         (tan_test_upward): Likewise.
16357         (tanh_test): Likewise.
16358         (tgamma_test): Likewise.
16359         (trunc_test): Likewise.
16360         (y0_test): Likewise.
16361         (y1_test): Likewise.
16362         (yn_test): Likewise.
16363         (significand_test): Likewise.
16365         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16366         individual tests in comment.
16367         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16368         (prev_max_error): New variable.
16369         (prev_real_max_error): Likewise.
16370         (prev_imag_max_error): Likewise.
16371         (compare_ulp_data): Don't refer to test names in comment.
16372         (find_test_ulps): Remove function.
16373         (find_function_ulps): Likewise.
16374         (find_complex_function_ulps): Likewise.
16375         (init_max_error): Take function name as argument.  Look up ulps
16376         for that function.
16377         (print_ulps): Remove function.
16378         (print_max_error): Use prev_max_error instead of calling
16379         find_function_ulps.
16380         (print_complex_max_error): Use prev_real_max_error and
16381         prev_imag_max_error instead of calling find_complex_function_ulps.
16382         (check_float_internal): Take max_ulp parameter instead of calling
16383         find_test_ulps.  Don't call print_ulps.
16384         (check_float): Update call to check_float_internal.
16385         (check_complex): Update calls to check_float_internal.
16386         (START): Pass argument to init_max_error.
16387         * math/gen-libm-test.pl (%results): Don't include "kind"
16388         information.
16389         (parse_ulps): Don't handle ulps of individual tests.
16390         (print_ulps_file): Likewise.
16391         (output_ulps): Likewise.
16392         * math/README.libm-test: Update.
16393         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16394         individual tests.
16395         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16396         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16397         * sysdeps/arm/libm-test-ulps: Likewise.
16398         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16399         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16400         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16401         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16402         * sysdeps/microblaze/libm-test-ulps: Likewise.
16403         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16404         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16405         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16406         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16407         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16408         * sysdeps/sh/libm-test-ulps: Likewise.
16409         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16410         * sysdeps/tile/libm-test-ulps: Likewise.
16411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16413 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
16415         * math/libm-test.inc (print_complex_max_error): Check separately
16416         whether real and imaginary errors are within allowed range and
16417         pass 0 to print_complex_function_ulps instead of value within
16418         allowed range.
16420 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16422         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16423         formatting.
16424         (get_handles_fopen): Likewise.
16425         (do_write_test): Likewise.
16427         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16429         * libio/fileops.c (do_ftell): Use cached offset when
16430         available.
16431         * libio/iofwide.c (do_ftell_wide): Likewise.
16432         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16433         _IO_file_attach.
16434         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16436         [BZ #16532]
16437         * libio/libioP.h (get_file_offset): New function.
16438         * libio/fileops.c (get_file_offset): Likewise.
16439         (do_ftell): Likewise.
16440         (_IO_new_file_seekoff): Split out ftell logic.
16441         * libio/wfileops.c (do_ftell_wide): Likewise.
16442         (_IO_wfile_seekoff): Split out ftell logic.
16443         * libio/tst-ftell-active-handler.c: New test case.
16444         * libio/Makefile (tests): Add it.
16446 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16448         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16449         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16451 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16453         [BZ #16639]
16454         * nscd/connections.c (nscd_init): Call do_exit.
16455         (start_threads): Call do_exit and notify_parent.
16456         (begin_drop_privileges): Call do_exit.
16457         (finish_drop_privileges): Likewise.
16458         * nscd/selinux.c (preserve_capabilities): Likewise.
16459         (install_real_capabilities): Likewise.
16460         (nscd_selinux_enabled): Likewise.
16461         (avc_create_thread): Likewise.
16462         (avc_alloc_lock): Likewise.
16463         (nscd_avc_init): Likewise.
16464         * nscd/nscd.c (parent_fd): New static variable.
16465         (main): Create a pipe between parent and child processes.
16466         Skip closing parent_fd.
16467         (monitor_child): New function.
16468         (do_exit): Likewise.
16469         (notify_parent): Likewise.
16470         * nscd/nscd.h (notify_parent): Likewise.
16471         (do_exit): Likewise.
16473 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16475         * malloc/malloc.c (__libc_calloc): Revert last change.
16477 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16481 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16483         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16485         implementation.
16486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16487         (__libc_ifunc_impl_list): Likewise.
16488         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16489         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16490         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16491         * string/strrchr.c: Define STRRCHR.
16493 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16495         * benchtest/bench-strtok.c (simple_strtok): Delete.
16496         (strtok_string): Use as benchmark.
16497         * string/strtok (STRTOK): New macro.
16499 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16501         * manual/threads.texi: Add header and standard comments to all
16502         functions.
16504         * elf/dl-lookup.c (check_match): New function.
16505         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16506         (do_lookup_x): Remove nested function check_match. Use non-nested
16507         function check_match.
16509 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16511         * csu/Makefile (generated, before-compile): Use += rather than =.
16512         * catgets/Makefile (generated, generated-dirs): Likewise.
16513         * debug/Makefile (generated): Likewise.
16514         * dlfcn/Makefile (generated): Likewise.
16515         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16516         * iconvdata/Makefile (before-compile, generated): Likewise.
16517         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16518         * libio/Makefile (generated): Likewise.
16519         * malloc/Makefile (generated): Likewise.
16520         * manual/Makefile (generated, generated-dirs): Likewise.
16521         * misc/Makefile (generated): Likewise.
16522         * posix/Makefile (generated): Likewise.
16523         * resolv/Makefile (generated): Likewise.
16524         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16525         * timezone/Makefile (generated, generated-dirs): Likewise.
16527         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16529 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16532         power8 implementation.
16533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16534         file: POWER8 llround ifunc implementation.
16535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16536         (__lllround): Add POWER8 implementation.
16537         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16538         POWER8 llround implementation.
16540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16541         power8 implementation.
16542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16543         file: POWER8 llrint ifunc implementation.
16544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16545         Add POWER8 implementation.
16546         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16547         POWER8 llrint implementation.
16549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16550         power8 implementation.
16551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16552         file: POWER8 finite ifunc implementation.
16553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16554         Add POWER8 implementation.
16555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16556         Likewise.
16557         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16558         POWER8 finite implementation.
16559         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16561         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16562         power8 implementation.
16563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16564         file: POWER8 isinf ifunc implementation.
16565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16566         POWER8 implementation.
16567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16568         Likewise.
16569         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16570         isinf implementation.
16571         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16573         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16574         (INIT_ARCH): Add hwcap2 initialization.
16575         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16576         power8 implementation.
16577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16578         file: POWER8 isnan ifunc implementation.
16579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16580         POWER8 implementation.
16581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16582         Likewise.
16583         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16584         isnan implementation.
16585         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16587 2014-02-27  Joey Ye  <joey.ye@arm.com>
16589         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16590         (_FP_NANFRAC_Q): Set to zero.
16592 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16594         [BZ #16623]
16595         * math/auto-libm-test-in: New test inputs.
16596         * math/auto-libm-test-out: Regenerate.
16597         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16598         and DA.
16599         (__cos): Likewise.
16600         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16602 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
16604         * scripts/evaluate-test.sh: Take new argument indicating whether
16605         failure is expected.
16606         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16607         indicating whether failure is expected.
16608         * conform/Makefile (test-xfail-run-conformtest): New variable.
16609         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16610         level.
16611         * posix/Makefile (test-xfail-annexc): New variable.
16612         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16614 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
16616         * argp/Makefile: Include Makeconfig immediately after defining
16617         subdir.
16618         * assert/Makefile: Likewise.
16619         * benchtests/Makefile: Likewise.
16620         * catgets/Makefile: Likewise.
16621         * conform/Makefile: Likewise.
16622         * crypt/Makefile: Likewise.
16623         * csu/Makefile: Likewise.
16624         (all): Remove target.
16625         * ctype/Makefile: Include Makeconfig immediately after defining
16626         subdir.
16627         * debug/Makefile: Likewise.
16628         * dirent/Makefile: Likewise.
16629         * dlfcn/Makefile: Likewise.
16630         * gmon/Makefile: Likewise.
16631         * gnulib/Makefile: Likewise.
16632         * grp/Makefile: Likewise.
16633         * gshadow/Makefile: Likewise.
16634         * hesiod/Makefile: Likewise.
16635         * hurd/Makefile: Likewise.
16636         (all): Remove target.
16637         * iconvdata/Makefile: Include Makeconfig immediately after
16638         defining subdir.
16639         * inet/Makefile: Likewise.
16640         * intl/Makefile: Likewise.
16641         * io/Makefile: Likewise.
16642         * libio/Makefile: Likewise.
16643         (all): Remove target.
16644         * locale/Makefile: Include Makeconfig immediately after defining
16645         subdir.
16646         * login/Makefile: Likewise.
16647         * mach/Makefile: Likewise.
16648         (all): Remove target.
16649         * malloc/Makefile: Include Makeconfig immediately after defining
16650         subdir.
16651         (all): Remove target.
16652         * manual/Makefile: Include Makeconfig immediately after defining
16653         subdir.
16654         * math/Makefile: Likewise.
16655         * misc/Makefile: Likewise.
16656         * nis/Makefile: Likewise.
16657         * nss/Makefile: Likewise.
16658         * po/Makefile: Likewise.
16659         (all): Remove target.
16660         * posix/Makefile: Include Makeconfig immediately after defining
16661         subdir.
16662         * pwd/Makefile: Likewise.
16663         * resolv/Makefile: Likewise.
16664         * resource/Makefile: Likewise.
16665         * rt/Makefile: Likewise.
16666         * setjmp/Makefile: Likewise.
16667         * shadow/Makefile: Likewise.
16668         * signal/Makefile: Likewise.
16669         * socket/Makefile: Likewise.
16670         * soft-fp/Makefile: Likewise.
16671         * stdio-common/Makefile: Likewise.
16672         * stdlib/Makefile: Likewise.
16673         * streams/Makefile: Likewise.
16674         * string/Makefile: Likewise.
16675         * sunrpc/Makefile: Likewise.
16676         (all): Remove target.
16677         * sysvipc/Makefile: Include Makeconfig immediately after defining
16678         subdir.
16679         * termios/Makefile: Likewise.
16680         * time/Makefile: Likewise.
16681         * timezone/Makefile: Likewise.
16682         (all): Remove target.
16683         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16684         subdir.
16685         * wctype/Makefile: Likewise.
16687 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16689         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16690         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16691         (libc_feholdexcept_setround_mips): Ditto.
16692         (libc_feholdsetround): New.
16693         (libc_feholdsetroundf): New.
16694         (libc_feholdsetroundl): New.
16695         (libc_feupdateenv_test_mips): New.
16696         (libc_feupdateenv_test): New.
16697         (libc_feupdateenv_testf): New.
16698         (libc_feupdateenv_testl): New.
16699         (libc_feresetround): New.
16700         (libc_feresetroundf): New.
16701         (libc_feresetroundl): New.
16702         (libc_fetestexcept_mips): New.
16703         (libc_fetestexcept): New.
16704         (libc_fetestexceptf): New.
16705         (libc_fetestexceptl): New.
16706         (HAVE_RM_CTX): New.
16707         (libc_feholdexcept_setround_mips_ctx): New.
16708         (libc_feholdexcept_setround_ctx): New.
16709         (libc_feholdexcept_setroundf_ctx): New.
16710         (libc_feholdexcept_setroundl_ctx): New.
16711         (libc_fesetenv_mips_ctx): New.
16712         (libc_fesetenv_ctx): New.
16713         (libc_fesetenv_ctxf): New.
16714         (libc_fesetenv_ctxl): New.
16715         (libc_feupdateenv_mips_ctx): New.
16716         (libc_feupdateenv_ctx): New.
16717         (libc_feupdateenvf_ctx): New.
16718         (libc_feupdateenvl_ctx): New.
16719         (libc_feholdsetround_mips_ctx): New.
16720         (libc_feholdsetround_ctx): New.
16721         (libc_feholdsetroundf_ctx): New.
16722         (libc_feholdsetroundl_ctx): New.
16723         (libc_feresetround_mips_ctx): New.
16724         (libc_feresetround_ctx): New.
16725         (libc_feresetroundf_ctx): New.
16726         (libc_feresetroundl_ctx): New.
16728 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16730         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16732         * manual/ipc.texi: New file.
16733         * manual/Makefile (chapters): Add ipc.
16734         * manual/job.texi: Add "Inter-Process Communication" to next.
16735         * manual/process.texi: Add "Inter-Process Communication" to prev.
16737 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16741 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16743         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16745         * manual/arith.texi: Fix spaces after sentences.
16746         * manual/charset.texi: Likewise.
16747         * manual/errno.texi: Likewise.
16748         * manual/install.texi: Likewise.
16749         * manual/llio.texi: Likewise.
16750         * manual/locale.texi: Likewise.
16751         * manual/maint.texi: Likewise.
16752         * manual/math.texi: Likewise.
16753         * manual/memory.texi: Likewise.
16754         * manual/message.texi: Likewise.
16755         * manual/probes.texi: Likewise.
16756         * manual/resource.texi: Likewise.
16757         * manual/signal.texi: Likewise.
16758         * manual/socket.texi: Likewise.
16759         * manual/stdio.texi: Likewise.
16760         * manual/string.texi: Likewise.
16761         * manual/time.texi: Likewise.
16762         * manual/users.texi: Likewise.
16764 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16766         [BZ #16632]
16767         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16768         _DEFAULT_SOURCE is defined.
16770 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16771             Carlos O'Donell  <carlos@redhat.com>
16773         [BZ #16613]
16774         * elf/dl-tls.c (_dl_count_modids): New function.
16775         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16776         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16777         audit library and increment generation counter.
16778         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16779         * elf/tst-audit9.c: New file.
16780         * elf/tst-auditmod9a.c: New file.
16781         * elf/tst-auditmod9b.c: New file.
16782         * elf/Makefile: Add rules to build and run tst-audit9.
16784 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16786         [BZ #15347]
16787         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16789 2014-02-25  Will Newton  <will.newton@linaro.org>
16791         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16792         (__longjmp): Restore sp and lr before restoring callee
16793         saved registers.  Add longjmp and longjmp_target
16794         SystemTap probe point.
16795         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16796         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16797         Define to zero to match jmpbuf layout.
16798         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16799         (__sigsetjmp): Save sp and lr before saving callee
16800         saved registers.  Add setjmp SystemTap probe point.
16802 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16804         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16806 2014-02-24  Andreas Schwab  <schwab@suse.de>
16808         [BZ #15804]
16809         * elf/pldd.c (wait_for_ptrace_stop): New function.
16810         (main): Call it after attaching.
16812 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16814         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16815         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16816         Versions files is now verboten.
16817         * hurd/Versions (libc: GLIBC_2.0):
16818         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16819         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16820         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16821         * mach/Versions: Likewise.
16823         * csu/Versions: Remove unused %include.
16824         * resolv/Versions: Likewise.
16826 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16828         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16829         ($(objpfx)check-local-headers.out): Likewise.
16830         ($(objpfx)begin-end-check.out): Likewise.
16831         * Makerules (check-abi-%.out): Likewise.
16832         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16833         ($(objpfx)test2.cat): Likewise.
16834         ($(objpfx)de/libc.cat): Likewise.
16835         ($(objpfx)test-gencat.out): Likewise.
16836         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16837         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16838         ($(objpfx)noload-mem): Likewise.
16839         ($(objpfx)tst-pathopt.out): Likewise.
16840         ($(objpfx)tst-rtld-load-self.out): Likewise.
16841         ($(objpfx)tst-array1-cmp.out): Likewise.
16842         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16843         ($(objpfx)tst-array2-cmp.out): Likewise.
16844         ($(objpfx)tst-array3-cmp.out): Likewise.
16845         ($(objpfx)tst-array4-cmp.out): Likewise.
16846         ($(objpfx)tst-array5-cmp.out): Likewise.
16847         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16848         ($(objpfx)check-textrel.out): Likewise.
16849         ($(objpfx)check-execstack.out): Likewise.
16850         ($(objpfx)check-localplt.out): Likewise.
16851         ($(objpfx)order2-cmp.out): Likewise.
16852         ($(objpfx)tst-leaks1-mem): Likewise.
16853         ($(objpfx)tst-leaks1-static-mem): Likewise.
16854         ($(objpfx)tst-initorder-cmp.out): Likewise.
16855         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16856         ($(objpfx)tst-unused-dep.out): Likewise.
16857         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16858         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16859         * iconv/Makefile (test-iconvconfig): Likewise.
16860         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16861         ($(objpfx)iconv-test.out): Likewise.
16862         ($(objpfx)tst-tables.out): Likewise.
16863         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16864         ($(objpfx)tst-gettext.out): Likewise.
16865         ($(objpfx)tst-translit.out): Likewise.
16866         ($(objpfx)tst-gettext2.out): Likewise.
16867         ($(objpfx)tst-gettext4.out): Likewise.
16868         ($(objpfx)tst-gettext6.out): Likewise.
16869         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16870         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16871         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16872         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16873         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16874         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16875         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16876         ($(objpfx)wordexp-tst.out): Likewise.
16877         ($(objpfx)annexc.out): Likewise.
16878         ($(objpfx)tst-fnmatch-mem): Likewise.
16879         ($(objpfx)bug-regex2-mem): Likewise.
16880         ($(objpfx)bug-regex14-mem): Likewise.
16881         ($(objpfx)bug-regex21-mem): Likewise.
16882         ($(objpfx)bug-regex31-mem): Likewise.
16883         ($(objpfx)tst-vfork3-mem): Likewise.
16884         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16885         ($(objpfx)tst-pcre-mem): Likewise.
16886         ($(objpfx)tst-boost-mem): Likewise.
16887         ($(objpfx)tst-getconf.out): Likewise.
16888         ($(objpfx)bug-ga2-mem): Likewise.
16889         ($(objpfx)bug-glob2-mem): Likewise.
16890         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16891         ($(objpfx)mtrace-tst-leaks2): Likewise.
16892         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16893         ($(objpfx)tst-printf.out): Likewise.
16894         ($(objpfx)tst-setvbuf1.out): Likewise.
16895         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16896         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16897         ($(objpfx)tst-fmtmsg.out): Likewise.
16898         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16899         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16901         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16902         * bits/sigaction.h [__USE_MISC]: Likewise.
16903         * bits/waitstatus.h: Update #endif comments.
16904         * ctype/ctype.h: Likewise.
16905         * dirent/dirent.h: Likewise.
16906         [__USE_MISC]: Remove redundant conditionals.
16907         * grp/grp.h: Update #endif comments.
16908         [__USE_GNU]: Remove redundant conditionals.
16909         [__USE_MISC]: Likewise.
16910         * inet/netinet/in.h [__USE_GNU]: Likewise.
16911         * io/sys/stat.h [__USE_MISC]: Likewise.
16912         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16913         * libio/bits/stdio.h: Update #endif comments.
16914         [__USE_MISC]: Remove redundant conditionals.
16915         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16916         * libio/stdio.h: Update #endif comments.
16917         [__USE_MISC]: Remove redundant conditionals.
16918         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16919         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16920         * math/math.h: Update #else and #endif comments.
16921         [__USE_MISC]: Remove redundant conditionals.
16922         * misc/sys/uio.h: Update #endif comments.
16923         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16924         * posix/glob.h [__USE_MISC]: Likewise.
16925         * posix/sys/types.h: Update #endif comments.
16926         [__USE_MISC]: Remove redundant conditionals.
16927         * posix/sys/wait.h: Update #endif comments.
16928         [__USE_MISC]: Remove redundant conditionals.
16929         * posix/unistd.h: Update #endif comments.
16930         [__USE_MISC]: Remove redundant conditionals.
16931         * pwd/pwd.h [__USE_GNU]: Likewise.
16932         [__USE_MISC]: Likewise.
16933         * resolv/netdb.h [__USE_GNU]: Likewise.
16934         * signal/signal.h: Update #endif comments.
16935         [__USE_MISC]: Remove redundant conditionals.
16936         * stdlib/stdlib.h: Update #else and #endif comments.
16937         [__USE_MISC]: Remove redundant conditionals.
16938         [__USE_GNU]: Likewise.
16939         * string/bits/string2.h [__USE_MISC]: Likewise.
16940         * string/string.h: Update #endif comments.
16941         [__USE_MISC]: Remove redundant conditionals.
16942         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16943         Likewise.
16944         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16945         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16946         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16947         Likewise.
16948         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16949         Likewise.
16950         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16951         comments.
16952         [__USE_MISC]: Remove redundant conditionals.
16953         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16954         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16955         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16956         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16957         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16958         Likewise.
16959         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16960         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16961         Likewise.
16962         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16963         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16964         Likewise.
16965         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16966         Likewise.
16967         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16968         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16969         Likewise.
16970         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16971         Likewise.
16972         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16973         * sysdeps/x86/bits/string.h: Update #endif comments.
16974         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16975         conditionals.
16976         * time/sys/time.h: Update #endif comments.
16977         * time/time.h: Likewise.
16978         [__USE_MISC]: Remove redundant conditionals.
16980 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16982         [BZ #16600]
16983         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16985 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16987         * Versions.def (librt): Add GLIBC_2.17.
16989 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16991         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16992         synonym for _SYS_AUXV_H to allow direct inclusion.
16993         * sysdeps/sparc/bits/hwcap.h: Likewise.
16994         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16995         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16996         * sysdeps/sparc/sysdep.h: Likewise.
16998 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17000         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17002 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17004         * benchtests/bench-strrchr.c: Print length instead of position.
17006 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
17008         [BZ #16611]
17009         * sysdeps/unix/sysv/linux/kernel-features.h
17010         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17011         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17012         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17013         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17014         Likewise.
17015         [__i386__ || __powerpc__ || __sh__ || __sparc__]
17016         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17017         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17018         (__ASSUME_SENDMMSG): Define instead of using previous
17019         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17020         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17021         (__ASSUME_SENDMMSG_SYSCALL): Define.
17022         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17023         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17024         Likewise.
17025         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17026         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17027         Likewise.
17028         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17029         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17030         Likewise.
17031         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17032         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17033         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17034         [__ASSUME_SENDMMSG]: Change conditionals to
17035         [__ASSUME_SENDMMSG_SOCKETCALL].
17036         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17037         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17038         Define.
17039         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17040         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17041         Likewise.
17042         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17043         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17044         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17045         [!__ASSUME_SENDMMSG]: Change conditional to
17046         [!__ASSUME_SENDMMSG_SOCKETCALL].
17047         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17048         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17049         Define.
17051         [BZ #16610]
17052         * sysdeps/unix/sysv/linux/kernel-features.h
17053         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17054         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17055         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17056         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17057         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17058         [__i386__ || __sparc__]
17059         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17060         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17061         (__ASSUME_RECVMMSG): Define instead of using previous
17062         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17063         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17064         (__ASSUME_RECVMMSG_SYSCALL): Define.
17065         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17066         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17067         Likewise.
17068         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17069         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17070         Likewise.
17071         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17072         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17073         Likewise.
17074         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17075         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17076         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17077         [__ASSUME_RECVMMSG]: Change condition to
17078         [__ASSUME_RECVMMSG_SOCKETCALL].
17079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17080         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17081         Define.
17082         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17083         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17084         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17085         Likewise.
17086         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17087         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17088         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17089         [!__ASSUME_RECVMMSG]: Change condition to
17090         [!__ASSUME_RECVMMSG_SOCKETCALL].
17091         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17092         (__ASSUME_RECVMMSG_SYSCALL): Define.
17094         [BZ #16609]
17095         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17096         __powerpc__ || __s390__ || __sh__ || __sparc__]
17097         (__ASSUME_SOCKETCALL): Define.
17098         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17099         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17100         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17101         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17102         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17103         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17104         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17105         (__ASSUME_ACCEPT4): Define instead of using previous
17106         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17107         __powerpc__ || __sparc__ || __s390__)] condition.
17108         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17109         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17110         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17111         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17112         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17113         [!__ASSUME_ACCEPT4]: Change condition to
17114         [!__ASSUME_ACCEPT4_SOCKETCALL].
17115         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17116         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
17117         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17118         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17119         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17120         __ASSUME_ACCEPT4_SYSCALL.
17121         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17122         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17123         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17124         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17125         __ASSUME_ACCEPT4_SYSCALL.
17126         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17127         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17128         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17129         [__ASSUME_ACCEPT4]: Change condition to
17130         [__ASSUME_ACCEPT4_SOCKETCALL].
17131         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17132         (__ASSUME_SOCKETCALL): Define.
17133         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17134         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17135         (__ASSUME_SOCKETCALL): Define.
17136         (__ASSUME_ACCEPT4): Remove.
17137         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17138         Define.
17139         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17140         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17141         Likewise.
17142         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17143         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17145         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17146         macro.
17147         (HWCAP_ARM_LPAE): Likewise.
17148         (HWCAP_ARM_EVTSTRM): Likewise.
17149         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17150         Add vpfd32, lpae and evtstrm.
17151         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17152         Increase to 22.
17154 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
17156         * math/auto-libm-test-in: Add tests of clog10.
17157         * math/auto-libm-test-out: Regenerated.
17158         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17159         * sysdeps/i386/fpu/libm-test-ulps: Update.
17160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17162 2014-02-18  Andreas Schwab  <schwab@suse.de>
17164         [BZ #16574]
17165         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17166         Store non-zero if the second buffer was newly allocated.
17167         (send_dg): Likewise.
17168         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17169         to send_vc and send_dg.
17170         (res_nsend): Pass NULL for ansp2_malloced.
17171         * resolv/res_query.c (__libc_res_nquery): Add parameter
17172         answerp2_malloced and pass it down to __libc_res_nsend.
17173         (res_nquery): Pass additional NULL to __libc_res_nquery.
17174         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17175         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
17176         second answer buffer if answerp2_malloced was set.
17177         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17178         (__libc_res_nquerydomain): Add parameter
17179         answerp2_malloced and pass it down to __libc_res_nquery.
17180         (res_nquerydomain): Pass additional NULL to
17181         __libc_res_nquerydomain.
17182         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17183         additional NULL to __libc_res_nsend and __libc_res_nquery.
17184         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17185         additional NULL to __libc_res_nsearch.
17186         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
17187         parameter of __libc_res_nsearch to check for separately allocated
17188         second buffer.
17189         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17190         __libc_res_nquery.
17191         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17192         additional NULL to __libc_res_nquery.
17193         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17194         __libc_res_nsearch.
17195         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17196         * include/resolv.h: Update prototypes of __libc_res_nquery,
17197         __libc_res_nsearch, __libc_res_nsend.
17199 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
17201         * math/auto-libm-test-in: Add tests of fma.
17202         * math/auto-libm-test-out: Regenerated.
17203         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17204         (fma_towardzero_test_data): Likewise.
17205         (fma_downward_test_data): Likewise.
17206         (fma_upward_test_data): Likewise.
17207         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17208         mpc_mode.
17209         (rounding_modes): Add values for new field.
17210         (func_calc_method): Add value mpfr_fff_f.
17211         (func_calc_desc): Add mpfr_fff_f union field.
17212         (test_function): Add field exact_args.
17213         (FUNC): Add macro argument EXACT_ARGS.
17214         (FUNC_mpfr_f_f): Update call to FUNC.
17215         (FUNC_mpfr_f_f): Likewise.
17216         (FUNC_mpfr_ff_f): Likewise.
17217         (FUNC_mpfr_if_f): Likewise.
17218         (FUNC_mpc_c_f): Likewise.
17219         (FUNC_mpc_c_c): Likewise.
17220         (test_functions): Add fma.  Update calls to FUNC.
17221         (handle_input_arg): Add argument exact_args.
17222         (add_test): Update call to handle_input_arg.
17223         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
17224         (output_for_one_input_case): Update call to calc_generic_results.
17225         Recalculate exact zero results in each rounding mode.
17227         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17228         non-negative before setting low bit.
17229         * math/auto-libm-test-in: Mark one asin test possibly having
17230         spurious underflow.
17231         * math/auto-libm-test-out: Regenerated.
17232         * sysdeps/i386/fpu/libm-test-ulps: Update.
17233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17235 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
17237         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17238         * sysdeps/unix/sysv/linux/microblaze: Move directory from
17239         ports/sysdeps/unix/sysv/linux/microblaze.
17240         * README: Add missing listing for microblaze*-*-linux-gnu.
17242 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
17244         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17245         duplicate code
17247 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
17249         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17250         * sysdeps/unix/sysv/linux/ia64: Move directory from
17251         ports/sysdeps/unix/sysv/linux/ia64.
17252         * README: Update listing for ia64-*-linux-gnu.
17254 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
17255             Joseph Myers  <joseph@codesourcery.com>
17257         * Makeconfig (test-name): New variable.
17258         (evaluate-test): Likewise.
17259         * Makerules (do-test-clean): Remove .test-result files.
17260         (common-mostlyclean): Likewise.
17261         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17262         * scripts/evaluate-test.sh: New file.
17264 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
17266         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17267         separate $(objpfx)tst-fopenloc-cmp.out and
17268         $(objpfx)tst-fopenloc-mem.out targets.
17269         (tests): Update dependencies.
17270         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17271         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17272         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17273         (tst-rxspencer-no-utf8-ARGS): New variable.
17274         (tst-rxspencer-no-utf8-ENV): Likewise.
17275         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17276         instead of $(objpfx)tst-rxspencer-mem.
17277         ($(objpfx)tst-rxspencer-mem): Change target to
17278         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
17279         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17280         * posix/tst-rxspencer-no-utf8.c: New file.
17282         * elf/Makefile ($(objpfx)order.out): Remove rule.
17283         [$(run-built-tests) = yes] (tests): Depend on
17284         $(objpfx)order-cmp.out.
17285         ($(objpfx)order-cmp.out): New rule.
17286         [$(run-built-tests) = yes] (tests): Depend on
17287         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17288         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17289         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17290         $(objpfx)tst-array5-static-cmp.out.
17291         ($(objpfx)tst-array1.out): Remove rule.
17292         ($(objpfx)tst-array1-cmp.out): New rule.
17293         ($(objpfx)tst-array1-static.out): Remove rule.
17294         ($(objpfx)tst-array1-static-cmp.out): New rule.
17295         ($(objpfx)tst-array2.out): Remove rule.
17296         ($(objpfx)tst-array2-cmp.out): New rule.
17297         ($(objpfx)tst-array3.out): Remove rule.
17298         ($(objpfx)tst-array3-cmp.out): New rule.
17299         ($(objpfx)tst-array4.out): Remove rule.
17300         ($(objpfx)tst-array4-cmp.out): New rule.
17301         ($(objpfx)tst-array5.out): Remove rule.
17302         ($(objpfx)tst-array5-cmp.out): New rule.
17303         ($(objpfx)tst-array5-static.out): Remove rule.
17304         ($(objpfx)tst-array5-static-cmp.out): New rule.
17305         [$(run-built-tests) = yes] (tests): Depend on
17306         $(objpfx)order2-cmp.out.
17307         ($(objpfx)order2.out): Remove rule.
17308         ($(objpfx)order2-cmp.out): New rule.
17309         ($(objpfx)tst-initorder.out): Remove rule.
17310         [$(run-built-tests) = yes] (tests): Depend on
17311         $(objpfx)tst-initorder-cmp.out.
17312         ($(objpfx)tst-initorder-cmp.out): New rule.
17313         ($(objpfx)tst-initorder2.out): Remove rule.
17314         [$(run-built-tests) = yes] (tests): Depend on
17315         $(objpfx)tst-initorder2-cmp.out.
17316         ($(objpfx)tst-initorder2-cmp.out): New rule.
17317         [$(run-built-tests) = yes] (tests): Depend on
17318         $(objpfx)tst-unused-dep-cmp.out.
17319         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17320         ($(objpfx)tst-unused-dep-cmp.out): New rule.
17321         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17322         on $(objpfx)tst-setvbuf1-cmp.out.
17323         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17324         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17325         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17326         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17327         ($(objpfx)tst-svc.out): Remove rule.
17328         ($(objpfx)tst-svc-cmp.out): New rule.
17330 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
17332         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17333         * ctype/ctype.h [__USE_MISC]: Likewise.
17334         * dirent/dirent.h [__USE_MISC]: Likewise.
17335         * grp/grp.h [__USE_MISC]: Likewise.
17336         * io/fcntl.h [__USE_MISC]: Likewise.
17337         * io/sys/stat.h [__USE_MISC]: Likewise.
17338         * libio/stdio.h [__USE_MISC]: Likewise.
17339         * posix/unistd.h [__USE_MISC]: Likewise.
17340         * pwd/pwd.h [__USE_MISC]: Likewise.
17341         * stdlib.h [__USE_MISC]: Likewise.
17342         * string/bits/string2.h [__USE_MISC]: Likewise.
17343         * string/string.h [__USE_MISC]: Likewise.
17344         * time/time.h [__USE_MISC]: Likewise.
17346 2014-02-13  Andreas Schwab  <schwab@suse.de>
17348         [BZ #16574]
17349         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17350         second answer buffer if it was separately allocated.
17352 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
17354         * sysdeps/mips/math-tests.h: Include <features.h>.
17355         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17356         (ROUNDING_TESTS_long_double): Do not define.
17357         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17358         (EXCEPTION_TESTS_long_double): Likewise.
17359         * sysdeps/mips/mips64/libm-test-ulps: Update.
17361         * include/features.h (__USE_BSD): Remove macro definitions.
17362         (__USE_SVID): Likewise.
17363         (_BSD_SOURCE): Likewise.
17364         (_SVID_SOURCE): Likewise.
17365         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17366         from definition of _DEFAULT_SOURCE.
17367         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17368         [_DEFAULT_SOURCE].
17369         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17370         * bits/mman.h [__USE_BSD]: Likewise.
17371         * bits/termios.h [__USE_BSD]: Likewise.
17372         * bits/waitstatus.h [__USE_BSD]: Likewise.
17373         * ctype/ctype.h [__USE_SVID]: Likewise.
17374         * dirent/dirent.h [__USE_BSD]: Likewise.
17375         * grp/grp.h [__USE_SVID]: Likewise.
17376         [__USE_BSD]: Likewise.
17377         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17378         * io/fcntl.h [__USE_BSD]: Likewise.
17379         * io/ftw.h [__USE_BSD]: Likewise.
17380         * io/sys/stat.h [__USE_BSD]: Likewise.
17381         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17382         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17383         * libio/stdio.h [__USE_SVID]: Likewise.
17384         [__USE_BSD]: Likewise.
17385         * math/math.h [__USE_SVID]: Likewise.
17386         [__USE_BSD]: Likewise.
17387         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17388         * misc/bits/syslog.h [__USE_BSD]: Likewise.
17389         * misc/search.h [__USE_SVID]: Likewise.
17390         * misc/sys/mman.h [__USE_BSD]: Likewise.
17391         * misc/sys/syslog.h [__USE_BSD]: Likewise.
17392         * misc/sys/uio.h [__USE_BSD]: Likewise.
17393         * posix/bits/unistd.h [__USE_BSD]: Likewise.
17394         * posix/glob.h [__USE_BSD]: Likewise.
17395         * posix/regex.h [__USE_BSD]: Likewise.
17396         * posix/sys/types.h [__USE_BSD]: Likewise.
17397         [__USE_SVID]: Likewise.
17398         * posix/sys/utsname.h [__USE_SVID]: Likewise.
17399         * posix/sys/wait.h [__USE_BSD]: Likewise.
17400         [__USE_SVID]: Likewise.
17401         * posix/unistd.h [__USE_BSD]: Likewise.
17402         [__USE_SVID]: Likewise.
17403         * pwd/pwd.h [__USE_SVID]: Likewise.
17404         * resolv/netdb.h [__USE_BSD]: Likewise.
17405         * setjmp/setjmp.h [__USE_BSD]: Likewise.
17406         * signal/signal.h [__USE_BSD]: Likewise.
17407         [__USE_SVID]: Likewise.
17408         * socket/sys/socket.h [__USE_BSD]: Likewise.
17409         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17410         * stdlib/stdlib.h [__USE_BSD]: Likewise.
17411         [__USE_SVID]: Likewise.
17412         * string/bits/string2.h [__USE_BSD]: Likewise.
17413         [__USE_SVID]: Likewise.
17414         * string/bits/string3.h [__USE_BSD]: Likewise.
17415         * string/endian.h [__USE_BSD]: Likewise.
17416         * string/string.h [__USE_SVID]: Likewise.
17417         [__USE_BSD]: Likewise.
17418         * string/strings.h [__USE_BSD]: Likewise.
17419         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17420         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17421         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17422         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17423         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17424         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17425         Likewise.
17426         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17427         Likewise.
17428         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17429         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17430         Likewise.
17431         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17432         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17433         Likewise.
17434         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17435         Likewise.
17436         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17437         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17438         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17439         Likewise.
17440         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17441         Likewise.
17442         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17443         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17444         * termios/termios.h [__USE_BSD]: Likewise.
17445         * time/sys/time.h [__USE_BSD]: Likewise.
17446         * time/time.h [__USE_BSD]: Likewise.
17447         [__USE_SVID]: Likewise.
17449         * Makefile (subdir_targets): Remove subdir_lint.out.
17451         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17452         (do-tst-printf): Likewise.
17453         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17454         $(objpfx)tst-printf.out.
17456         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17458         * Makerules (check-abi-%): Change target to
17459         $(objpfx)check-abi-%.out.
17460         (check-abi target): Update dependencies.
17461         (check-abi-pattern variable): Redirect output of diff to $@.
17462         (check-abi variable): Likewise.
17463         * elf/Makefile (check-abi): Update dependencies.
17465         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17466         unused.
17467         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17468         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17469         subnormal range.
17470         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17471         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17472         value has largest subnormal exponent.
17473         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17474         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17475         * sysdeps/aarch64/soft-fp/sfp-machine.h
17476         (_FP_TININESS_AFTER_ROUNDING): New macro.
17477         * sysdeps/alpha/soft-fp/sfp-machine.h
17478         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17479         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17480         Likewise.
17481         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17482         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17483         * sysdeps/mips/soft-fp/sfp-machine.h
17484         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17485         * sysdeps/powerpc/soft-fp/sfp-machine.h
17486         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17487         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17488         Likewise.
17489         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17490         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17491         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17492         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17493         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17494         Likewise.
17496 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17498         [BZ #16545]
17499         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17500         model 1.
17502 2014-02-12  Richard Henderson  <rth@redhat.com>
17504         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17505         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17506         * sysdeps/unix/sysv/linux/alpha: Move directory from
17507         ports/sysdeps/unix/sysv/linux/alpha.
17508         * README: Update listing for alpha-*-linux-gnu.
17510 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17512         * include/features.h: Update comment documenting feature test
17513         macros.
17514         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17515         _DEFAULT_SOURCE.
17516         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17517         (_SVID_SOURCE): Likewise.
17518         (_DEFAULT_SOURCE): Update description of default features.
17519         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17520         with _GNU_SOURCE.
17521         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17522         (S_ISVTX): Likewise.
17523         * manual/math.texi (Mathematical Constants): Likewise.
17524         * manual/signal.texi (Interrupted Primitives): Likewise.
17525         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17526         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17527         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17528         Don't refer to _SVID_SOURCE in warning text.
17530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17532         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17533         already defined.
17534         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17535         * sysdeps/mips/dl-lookup.c: Remove.
17536         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17538 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17540         [BZ #16447]
17541         * math/auto-libm-test-in: Add testcase for expl.
17542         * math/auto-libm-test-out: Regenerate.
17543         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17544         calculation of unsafe.
17545         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17547 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17549         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17550         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17551         ports/sysdeps/unix/sysv/linux/aarch64.
17552         * README: Update listing for aarch64*-*-linux-gnu.
17554 2014-02-11  Will Newton  <will.newton@linaro.org>
17556         * manual/probes.texi (Mathematical Function Probes): Use
17557         "triggered" instead of "hit".
17559         * manual/probes.texi (Internal Probes): Add documentation
17560         of setjmp, longjmp and longjmp_target probes.
17562         * include/stap-probe.h: Add comment about probe argument
17563         format.
17565         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17566         definition.  (tr_where, tr_freehook, tr_mallochook,
17567         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17569 2014-02-11  David S. Miller  <davem@davemloft.net>
17571         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17572         processing int_tests.
17574 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17576         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17577         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17578         * sysdeps/unix/sysv/linux/mips: Move directory from
17579         ports/sysdeps/unix/sysv/linux/mips.
17580         * README: Update listing for mips-*-linux-gnu and
17581         mips64-*-linux-gnu.
17583 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17585         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17586         * sysdeps/unix/sysv/linux/m68k: Move directory from
17587         ports/sysdeps/unix/sysv/linux/m68k.
17588         * README: Update listing for m68k-*-linux-gnu.
17590 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17592         * sysdeps/tile: Move directory from ports/sysdeps/tile.
17593         * sysdeps/unix/sysv/linux/generic: Move directory from
17594         ports/sysdeps/unix/sysv/linux/generic.
17595         * sysdeps/unix/sysv/linux/tile: Move directory from
17596         ports/sysdeps/unix/sysv/linux/tile.
17597         * README: Update listing for tile*-*-linux-gnu.
17599 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
17601         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17602         __builtin_expect.
17603         * benchtests/bench-memmem.c (simple_memmem): Likewise.
17604         * catgets/open_catalog.c (__open_catalog): Likewise.
17605         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17606         * debug/confstr_chk.c: Likewise.
17607         * debug/fread_chk.c (__fread_chk): Likewise.
17608         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17609         * debug/getgroups_chk.c: Likewise.
17610         * debug/mbsnrtowcs_chk.c: Likewise.
17611         * debug/mbsrtowcs_chk.c: Likewise.
17612         * debug/mbstowcs_chk.c: Likewise.
17613         * debug/memcpy_chk.c: Likewise.
17614         * debug/memmove_chk.c: Likewise.
17615         * debug/mempcpy_chk.c: Likewise.
17616         * debug/memset_chk.c: Likewise.
17617         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17618         * debug/strcat_chk.c (__strcat_chk): Likewise.
17619         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17620         * debug/strncat_chk.c (__strncat_chk): Likewise.
17621         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17622         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17623         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17624         * debug/wcpncpy_chk.c: Likewise.
17625         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17626         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17627         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17628         * debug/wcsncpy_chk.c: Likewise.
17629         * debug/wcsnrtombs_chk.c: Likewise.
17630         * debug/wcsrtombs_chk.c: Likewise.
17631         * debug/wcstombs_chk.c: Likewise.
17632         * debug/wmemcpy_chk.c: Likewise.
17633         * debug/wmemmove_chk.c: Likewise.
17634         * debug/wmempcpy_chk.c: Likewise.
17635         * debug/wmemset_chk.c: Likewise.
17636         * dirent/scandirat.c (SCANDIRAT): Likewise.
17637         * dlfcn/dladdr1.c (dladdr1): Likewise.
17638         * dlfcn/dladdr.c (dladdr): Likewise.
17639         * dlfcn/dlclose.c (dlclose_doit): Likewise.
17640         * dlfcn/dlerror.c (__dlerror): Likewise.
17641         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17642         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17643         * dlfcn/dlopen.c (dlopen_doit): Likewise.
17644         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17645         * dlfcn/dlsym.c (dlsym_doit): Likewise.
17646         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17647         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17648         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17649         Likewise.
17650         * elf/dl-conflict.c: Likewise.
17651         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17652         * elf/dl-dst.h: Likewise.
17653         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17654         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17655         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17656         * elf/dl-init.c (call_init, _dl_init): Likewise.
17657         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17658         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17659         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17660         Likewise.
17661         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17662         Likewise.
17663         * elf/dl-minimal.c (__libc_memalign): Likewise.
17664         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17665         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17666         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17667         * elf/dl-sym.c (do_sym): Likewise.
17668         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17669         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17670         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17671         * elf/dl-writev.h (_dl_writev): Likewise.
17672         * elf/ldconfig.c (search_dir): Likewise.
17673         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17674         (dl_main): Likewise.
17675         * elf/setup-vdso.h (setup_vdso): Likewise.
17676         * grp/compat-initgroups.c (compat_call): Likewise.
17677         * grp/fgetgrent.c (fgetgrent): Likewise.
17678         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17679         * grp/putgrent.c (putgrent): Likewise.
17680         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17681         Likewise.
17682         * hurd/hurdinit.c: Likewise.
17683         * iconvdata/8bit-gap.c (struct): Likewise.
17684         * iconvdata/ansi_x3.110.c : Likewise.
17685         * iconvdata/big5.c : Likewise.
17686         * iconvdata/big5hkscs.c : Likewise.
17687         * iconvdata/cp1255.c: Likewise.
17688         * iconvdata/cp1258.c : Likewise.
17689         * iconvdata/cp932.c : Likewise.
17690         * iconvdata/euc-cn.c: Likewise.
17691         * iconvdata/euc-jisx0213.c : Likewise.
17692         * iconvdata/euc-jp.c: Likewise.
17693         * iconvdata/euc-jp-ms.c : Likewise.
17694         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17695         * iconvdata/gb18030.c : Likewise.
17696         * iconvdata/gbbig5.c (const): Likewise.
17697         * iconvdata/gbgbk.c: Likewise.
17698         * iconvdata/gbk.c : Likewise.
17699         * iconvdata/ibm1364.c : Likewise.
17700         * iconvdata/ibm930.c : Likewise.
17701         * iconvdata/ibm932.c: Likewise.
17702         * iconvdata/ibm933.c : Likewise.
17703         * iconvdata/ibm935.c : Likewise.
17704         * iconvdata/ibm937.c : Likewise.
17705         * iconvdata/ibm939.c : Likewise.
17706         * iconvdata/ibm943.c: Likewise.
17707         * iconvdata/iso_11548-1.c: Likewise.
17708         * iconvdata/iso-2022-cn.c : Likewise.
17709         * iconvdata/iso-2022-cn-ext.c : Likewise.
17710         * iconvdata/iso-2022-jp-3.c: Likewise.
17711         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17712         * iconvdata/iso-2022-kr.c : Likewise.
17713         * iconvdata/iso646.c (gconv_end): Likewise.
17714         * iconvdata/iso_6937-2.c : Likewise.
17715         * iconvdata/iso_6937.c : Likewise.
17716         * iconvdata/iso8859-1.c: Likewise.
17717         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17718         * iconvdata/shift_jisx0213.c : Likewise.
17719         * iconvdata/sjis.c : Likewise.
17720         * iconvdata/t.61.c : Likewise.
17721         * iconvdata/tcvn5712-1.c : Likewise.
17722         * iconvdata/tscii.c: Likewise.
17723         * iconvdata/uhc.c : Likewise.
17724         * iconvdata/unicode.c (gconv_end): Likewise.
17725         * iconvdata/utf-16.c (gconv_end): Likewise.
17726         * iconvdata/utf-32.c (gconv_end): Likewise.
17727         * iconvdata/utf-7.c (base64): Likewise.
17728         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17729         * iconv/gconv_close.c (__gconv_close): Likewise.
17730         * iconv/gconv_open.c (__gconv_open): Likewise.
17731         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17732         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17733         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17734         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17735         (ucs4le_internal_loop_single): Likewise.
17736         * iconv/iconv.c (iconv): Likewise.
17737         * iconv/iconv_close.c: Likewise.
17738         * iconv/loop.c (SINGLE): Likewise.
17739         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17740         * include/atomic.h: Likewise.
17741         * inet/inet6_option.c (option_alloc): Likewise.
17742         * intl/bindtextdom.c (set_binding_values): Likewise.
17743         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17744         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17745         * intl/localealias.c (read_alias_file): Likewise.
17746         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17747         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17748         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17749         * libio/fmemopen.c (fmemopen): Likewise.
17750         * libio/iofgets.c (_IO_fgets): Likewise.
17751         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17752         * libio/iofgetws.c (fgetws): Likewise.
17753         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17754         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17755         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17756         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17757         * locale/findlocale.c (_nl_find_locale): Likewise.
17758         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17759         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17760         Likewise.
17761         * locale/setlocale.c (setlocale): Likewise.
17762         * login/programs/pt_chown.c (main): Likewise.
17763         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17764         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17765         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17766         (mmap, mmap64, mremap, munmap): Likewise.
17767         * math/e_exp2l.c: Likewise.
17768         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17769         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17770         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17771         * math/s_catan.c (__catan): Likewise.
17772         * math/s_catanf.c (__catanf): Likewise.
17773         * math/s_catanh.c (__catanh): Likewise.
17774         * math/s_catanhf.c (__catanhf): Likewise.
17775         * math/s_catanhl.c (__catanhl): Likewise.
17776         * math/s_catanl.c (__catanl): Likewise.
17777         * math/s_ccosh.c (__ccosh): Likewise.
17778         * math/s_ccoshf.c (__ccoshf): Likewise.
17779         * math/s_ccoshl.c (__ccoshl): Likewise.
17780         * math/s_cexp.c (__cexp): Likewise.
17781         * math/s_cexpf.c (__cexpf): Likewise.
17782         * math/s_cexpl.c (__cexpl): Likewise.
17783         * math/s_clog10.c (__clog10): Likewise.
17784         * math/s_clog10f.c (__clog10f): Likewise.
17785         * math/s_clog10l.c (__clog10l): Likewise.
17786         * math/s_clog.c (__clog): Likewise.
17787         * math/s_clogf.c (__clogf): Likewise.
17788         * math/s_clogl.c (__clogl): Likewise.
17789         * math/s_csin.c (__csin): Likewise.
17790         * math/s_csinf.c (__csinf): Likewise.
17791         * math/s_csinh.c (__csinh): Likewise.
17792         * math/s_csinhf.c (__csinhf): Likewise.
17793         * math/s_csinhl.c (__csinhl): Likewise.
17794         * math/s_csinl.c (__csinl): Likewise.
17795         * math/s_csqrt.c (__csqrt): Likewise.
17796         * math/s_csqrtf.c (__csqrtf): Likewise.
17797         * math/s_csqrtl.c (__csqrtl): Likewise.
17798         * math/s_ctan.c (__ctan): Likewise.
17799         * math/s_ctanf.c (__ctanf): Likewise.
17800         * math/s_ctanh.c (__ctanh): Likewise.
17801         * math/s_ctanhf.c (__ctanhf): Likewise.
17802         * math/s_ctanhl.c (__ctanhl): Likewise.
17803         * math/s_ctanl.c (__ctanl): Likewise.
17804         * math/w_pow.c: Likewise.
17805         * math/w_powf.c: Likewise.
17806         * math/w_powl.c: Likewise.
17807         * math/w_scalb.c (sysv_scalb): Likewise.
17808         * math/w_scalbf.c (sysv_scalbf): Likewise.
17809         * math/w_scalbl.c (sysv_scalbl): Likewise.
17810         * misc/error.c (error_tail): Likewise.
17811         * misc/pselect.c (__pselect): Likewise.
17812         * nis/nis_callback.c (__nis_create_callback): Likewise.
17813         * nis/nis_call.c (__nisfind_server): Likewise.
17814         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17815         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17816         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17817         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17818         * nis/nis_lookup.c (nis_lookup): Likewise.
17819         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17820         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17821         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17822         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17823         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17824         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17825         * nis/nss_compat/compat-initgroups.c (add_group)
17826         (internal_getgrent_r): Likewise.
17827         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17828         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17829         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17830         (internal_getspnam_r): Likewise.
17831         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17832         (_nss_nis_getaliasbyname_r): Likewise.
17833         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17834         (_nss_nis_getntohost_r): Likewise.
17835         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17836         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17837         (_nss_nis_getgrgid_r): Likewise.
17838         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17839         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17840         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17841         (_nss_nis_gethostbyname4_r): Likewise.
17842         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17843         (initgroups_netid): Likewise.
17844         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17845         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17846         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17847         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17848         (_nss_nis_getprotobynumber_r): Likewise.
17849         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17850         (_nss_nis_getsecretkey): Likewise.
17851         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17852         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17853         (_nss_nis_getpwuid_r): Likewise.
17854         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17855         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17856         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17857         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17858         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17859         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17860         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17861         Likewise.
17862         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17863         (_nss_nisplus_getntohost_r): Likewise.
17864         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17865         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17866         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17867         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17868         Likewise.
17869         * nis/nss_nisplus/nisplus-initgroups.c
17870         (_nss_nisplus_initgroups_dyn): Likewise.
17871         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17872         (_nss_nisplus_getnetbyaddr_r): Likewise.
17873         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17874         (_nss_nisplus_getprotobynumber_r): Likewise.
17875         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17876         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17877         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17878         Likewise.
17879         * nis/nss_nisplus/nisplus-service.c
17880         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17881         (_nss_nisplus_getservbyport_r): Likewise.
17882         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17883         (_nss_nisplus_getspnam_r): Likewise.
17884         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17885         Likewise.
17886         * nscd/aicache.c (addhstaiX): Likewise.
17887         * nscd/cache.c (cache_search, prune_cache): Likewise.
17888         * nscd/connections.c (register_traced_file, send_ro_fd)
17889         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17890         (main_loop_epoll): Likewise.
17891         * nscd/grpcache.c (addgrbyX): Likewise.
17892         * nscd/hstcache.c (addhstbyX): Likewise.
17893         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17894         * nscd/mem.c (gc, mempool_alloc): Likewise.
17895         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17896         (addinnetgrX): Likewise.
17897         * nscd/nscd-client.h (__nscd_acquire_maplock)
17898         (__nscd_drop_map_ref): Likewise.
17899         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17900         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17901         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17902         Likewise.
17903         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17904         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17905         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17906         (__nscd_get_map_ref): Likewise.
17907         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17908         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17909         Likewise.
17910         * nscd/pwdcache.c (addpwbyX): Likewise.
17911         * nscd/selinux.c (preserve_capabilities): Likewise.
17912         * nscd/servicescache.c (addservbyX): Likewise.
17913         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17914         * posix/fnmatch.c (fnmatch): Likewise.
17915         * posix/getopt.c (_getopt_internal_r): Likewise.
17916         * posix/glob.c (glob, glob_in_dir): Likewise.
17917         * posix/wordexp.c (exec_comm_child): Likewise.
17918         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17919         (getanswer_r, gaih_getanswer_slice): Likewise.
17920         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17921         * resolv/res_init.c: Likewise.
17922         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17923         * resolv/res_query.c (__libc_res_nquery): Likewise.
17924         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17925         Likewise.
17926         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17927         * stdio-common/perror.c (perror): Likewise.
17928         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17929         * stdio-common/tmpnam.c (tmpnam): Likewise.
17930         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17931         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17932         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17933         Likewise.
17934         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17935         * stdlib/putenv.c (putenv): Likewise.
17936         * stdlib/setenv.c (__add_to_environ): Likewise.
17937         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17938         * stdlib/strtol_l.c (INTERNAL): Likewise.
17939         * string/memmem.c (memmem): Likewise.
17940         * string/strerror.c (strerror): Likewise.
17941         * string/strnlen.c (__strnlen): Likewise.
17942         * string/test-memmem.c (simple_memmem): Likewise.
17943         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17944         * sunrpc/pm_getport.c (__get_socket): Likewise.
17945         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17946         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17947         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17948         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17949         Likewise.
17950         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17951         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17952         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17953         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17954         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17955         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17956         Likewise.
17957         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17958         Likewise.
17959         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17960         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17961         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17962         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17963         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17964         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17965         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17966         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17967         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17968         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17969         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17970         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17971         Likewise.
17972         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17973         Likewise.
17974         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17975         Likewise.
17976         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17977         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17978         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17979         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17980         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17981         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17982         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17983         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17984         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17985         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17986         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17987         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17988         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17989         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17990         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17991         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17992         Likewise.
17993         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17994         Likewise.
17995         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17996         Likewise.
17997         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17998         Likewise.
17999         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18000         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18001         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18002         Likewise.
18003         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18004         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18005         * sysdeps/posix/opendir.c (__opendirat): Likewise.
18006         * sysdeps/posix/sleep.c: Likewise.
18007         * sysdeps/posix/tempname.c: Likewise.
18008         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18009         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18010         Likewise.
18011         * sysdeps/powerpc/powerpc32/dl-machine.h
18012         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18013         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18014         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18015         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18016         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18017         Likewise.
18018         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18019         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18020         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18021         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18022         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18023         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18024         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18025         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18026         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18027         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18028         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18029         (elf_machine_lazy_rel): Likewise.
18030         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18031         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18032         (elf_machine_lazy_rel): Likewise.
18033         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18034         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18035         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18036         * sysdeps/unix/grantpt.c (grantpt): Likewise.
18037         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18038         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18039         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18040         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18041         Likewise.
18042         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18043         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18044         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18045         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18046         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18047         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18048         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18049         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18050         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18051         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18052         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18053         Likewise.
18054         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18055         (__posix_fallocate64_l64): Likewise.
18056         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18057         (posix_fallocate): Likewise.
18058         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18059         Likewise.
18060         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18061         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18062         (getifaddrs_internal): Likewise.
18063         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18064         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18065         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18066         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18067         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18068         (__posix_fallocate64_l64): Likewise.
18069         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18070         Likewise.
18071         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18072         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18073         (__get_clockfreq): Likewise.
18074         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18075         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18076         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18077         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18078         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18079         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18080         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18081         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18082         Likewise.
18083         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18084         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18085         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18086         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18087         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18088         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18089         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18090         Likewise.
18091         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18092         (posix_fallocate): Likewise.
18093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18094         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18095         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18096         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18097         (elf_machine_rela, elf_machine_rela_relative)
18098         (elf_machine_lazy_rel): Likewise.
18099         * time/asctime.c (asctime_internal): Likewise.
18100         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18101         * time/tzset.c (__tzset_parse_tz): Likewise.
18102         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18103         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18104         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18105         * wcsmbs/wcsmbsload.h: Likewise.
18107         [BZ #15894]
18108         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18110         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18111         (arena_get2): Remove THREAD_STATS conditionals.
18112         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18113         (__malloc_stats, int): Likewise.
18115 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
18117         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18118         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
18120         * manual/setjmp.texi: Fix typos/grammar errors.
18122         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18123         Only return early when n is <= 0.  Delete unused return statement.
18125         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18126         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18127         * debug/tst-longjmp_chk3.c: New file.
18129         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18130         (test_main): Replace code with set_fortify_handler call.
18131         * debug/test-strcpy_chk.c: Likewise.
18132         * debug/tst-chk1.c: Likewise.
18133         * debug/tst-longjmp_chk.c: Likewise.
18134         * test-skeleton.c: Include fcntl.h & paths.h
18135         (set_fortify_handler): Define.
18137         * debug/tst-longjmp_chk.c: Add header comment and include
18138         ../test-skeleton.c.
18139         (do_test): Mark static.
18140         (TEST_FUNCTION): Define.
18142         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18143         (IP_PMTUDISC_INTERFACE): Likewise.
18144         (IP_MULTICAST_IF): Likewise.
18145         (IP_MULTICAST_TTL): Likewise.
18146         (IP_MULTICAST_LOOP): Likewise.
18147         (IP_ADD_MEMBERSHIP): Likewise.
18148         (IP_DROP_MEMBERSHIP): Likewise.
18149         (IP_UNBLOCK_SOURCE): Likewise.
18150         (IP_BLOCK_SOURCE): Likewise.
18151         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18152         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18153         (IP_MSFILTER): Likewise.
18154         (MCAST_JOIN_GROUP): Likewise.
18155         (MCAST_BLOCK_SOURCE): Likewise.
18156         (MCAST_UNBLOCK_SOURCE): Likewise.
18157         (MCAST_LEAVE_GROUP): Likewise.
18158         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18159         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18160         (MCAST_MSFILTER): Likewise.
18161         (IP_MULTICAST_ALL): Likewise.
18162         (IP_UNICAST_IF): Likewise.
18164         * timezone/Makefile: Delete $(have-ksh) check.
18165         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18166         * timezone/tzselect.ksh: Add +x mode bits.
18168         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18169         (ANON_INODE_FS_MAGIC): Likewise.
18170         (BDEVFS_MAGIC): Likewise.
18171         (BINFMTFS_MAGIC): Likewise.
18172         (BTRFS_TEST_MAGIC): Likewise.
18173         (CRAMFS_MAGIC_WEND): Likewise.
18174         (DEBUGFS_MAGIC): Likewise.
18175         (ECRYPTFS_SUPER_MAGIC): Likewise.
18176         (EXT3_SUPER_MAGIC): Likewise.
18177         (EXT4_SUPER_MAGIC): Likewise.
18178         (FUTEXFS_SUPER_MAGIC): Likewise.
18179         (HOSTFS_SUPER_MAGIC): Likewise.
18180         (HUGETLBFS_MAGIC): Likewise.
18181         (MINIX3_SUPER_MAGIC): Likewise.
18182         (MTD_INODE_FS_MAGIC): Likewise.
18183         (NILFS_SUPER_MAGIC): Likewise.
18184         (OPENPROM_SUPER_MAGIC): Likewise.
18185         (PIPEFS_MAGIC): Likewise.
18186         (PSTOREFS_MAGIC): Likewise.
18187         (QNX6_SUPER_MAGIC): Likewise.
18188         (RAMFS_MAGIC): Likewise.
18189         (REISERFS_SUPER_MAGIC_STRING): Likewise.
18190         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18191         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18192         (SECURITYFS_MAGIC): Likewise.
18193         (SELINUX_MAGIC): Likewise.
18194         (SMACK_MAGIC): Likewise.
18195         (SOCKFS_MAGIC): Likewise.
18196         (SQUASHFS_MAGIC): Likewise.
18197         (STACK_END_MAGIC): Likewise.
18198         (TMPFS_MAGIC): Likewise.
18199         (USBDEVICE_SUPER_MAGIC): Likewise.
18200         (V9FS_MAGIC): Likewise.
18201         (XENFS_SUPER_MAGIC): Likewise.
18202         (CRAMFS_MAGIC): Fix typo in comment.
18203         (EXT2_SUPER_MAGIC): Update comment.
18204         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18206 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
18208         * sysdeps/arm: Move directory from ports/sysdeps/arm.
18209         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18210         * sysdeps/unix/sysv/linux/arm: Move directory from
18211         ports/sysdeps/unix/sysv/linux/arm.
18212         * README: Update listing for arm-*-linux-gnueabi.
18214         * README: Remove mention of am33.
18216 2014-02-07  Roland McGrath  <roland@hack.frob.com>
18218         * bits/sigset.h (__sigemptyset): Use a statement expression rather
18219         than the comma operator, to avoid "rhs of comma has no effect"
18220         compiler warnings.
18221         (__sigfillset, __sigandset, __sigorset): Likewise.
18222         * include/signal.h (__sigemptyset): Likewise.
18223         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18225 2014-02-07  Allan McRae  <allan@archlinux.org>
18227         * version.h (RELEASE): Set to "development".
18228         (VERSION): Set to "2.19.90"
18229         * NEWS: Add 2.20 section.
18231 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
18233         [BZ #16529]
18234         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18236 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18238         * manual/contrib.texi: Update entry for Carlos O'Donell,
18239         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18241 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
18243         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18245         * sysdeps/unix/sysv/linux/kernel-features.h
18246         [__LINUX_KERNEL_VERSION >= 0x020621]
18247         (__ASSUME_PROC_PID_TASK_COMM): Define.
18249 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18251         [BZ #16398]
18252         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18253         conversion when destination buffer does not have enough space.
18254         * libio/tst-ftell-partial-wide.c: New test case.
18255         * libio/Makefile (tests): Add tst-ftell-partial-wide.
18257         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18258         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
18259         Leonard and Allan McRae.
18261 2014-02-04  David S. Miller  <davem@davemloft.net>
18263         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18264         32-bit.
18266 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18269         New file
18270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18271         New file
18272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18273         New file.
18274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18275         New file.
18276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18277         New file.
18278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18279         New file.
18280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18281         New file.
18282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18283         New file.
18284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18285         New file.
18286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18287         New file.
18288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18289         New file.
18290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18291         New file.
18292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18293         New file.
18295 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18297         * nptl/shlib-versions: Change powerpc*le start to 2.17.
18298         * shlib-versions: Likewise.
18300 2014-02-04  Roland McGrath  <roland@hack.frob.com>
18301             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18303         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18304         (abilist-pattern): New variable, set to %-le.abilist.
18306         * Makerules (abilist-pattern): New variable.
18307         (vpath): Use $(abilist-pattern) in place of %.abilist.
18308         (check-abi-% pattern rule): Likewise.
18309         (check-abi, update-abi): Likewise.
18311 2014-02-04  Eric Wong  <normalperson@yhbt.net>
18313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18315 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
18317         * manual/startup.texi: Add next, previous, and top entries for
18318         the `Program Arguments' and `Environment Variables' nodes.
18320 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
18322         * manual/macros.texi: Add comments before MTASC-safety macros.
18324         * manual/users.texi: Document MTASC-safety properties.
18326         * manual/threads.texi (pthread_key_create, pthread_key_delete)
18327         (pthread_getspecific, pthread_setspecific): Format with
18328         @deftypefun, and add @safety note.
18329         * manual/signal.texi: Move comments that analyze the above
18330         functions to their home place.
18332 2014-02-03  Allan McRae  <allan@archlinux.org>
18334         * po/sl.po: Update Slovenian translation from translation project.
18336 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
18338         * manual/time.texi (timegm): Add missing blank after @c.
18339         Reported by Joseph Myers <joseph@codesourcery.com>.
18341 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
18343         * manual/check-safety.sh: New.
18344         * manual/Makefile ($(objpfx)stamp-summary): Run it.
18346         * manual/terminal.texi: Document MTASC-safety properties.
18348         * manual/filesys.texi: Document MTASC-safety properties.
18350         * manual/errno.texi: Document MTASC-safety properties.
18352         * manual/intro.texi: Document safety identifiers and
18353         conditionals.
18355         * manual/string.texi (wcstok): Fix prototype.
18356         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18358         * manual/time.texi: Document MTASC-safety properties.
18360         * manual/string.texi: Document MTASC-safety properties.
18362         * manual/threads.texi: Document MTASC-safety properties.
18364         * manual/stdio.texi: Document MTASC-safety properties.
18366         * manual/syslog.texi: Document MTASC-safety properties.
18368         * manual/sysinfo.texi: Document MTASC-safety properties.
18370         * manual/startup.texi: Document MTASC-safety properties.
18372         * manual/socket.texi: Document MTASC-safety properties.
18374         * manual/signal.texi: Document MTASC-safety properties.
18376 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
18378         * manual/setjmp.texi: Document MTASC-safety properties.
18380         * manual/search.texi: Document MTASC-safety properties.
18382         * manual/resource.texi: Document MTASC-safety properties.
18384         * manual/process.texi: Document MTASC-safety properties.
18386         * manual/platform.texi: Document MTASC-safety properties.
18388         * manual/pipe.texi: Document MTASC-safety properties.
18390         * manual/pattern.texi: Document MTASC-safety properties.
18392         * manual/message.texi: Document MTASC-safety properties.
18394         [BZ #12751]
18395         * manual/memory.texi: Document MTASC-safety properties.
18397         * manual/math.texi: Document MTASC-safety properties.
18399         * manual/locale.texi: Document MTASC-safety properties.
18401         * manual/llio.texi: Document MTASC-safety properties.
18403         * manual/libdl.texi: New.
18405         * manual/lang.texi: Document MTASC-safety properties.
18407         * manual/job.texi: Document MTASC-safety properties.
18409         * manual/getopt.texi: Document MTASC-safety properties.
18411         * manual/ctype.texi: Document MTASC-safety properties.
18413 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
18415         [BZ #16046]
18416         * csu/libc-tls.c (static_map): Remove variable.
18417         (__libc_setup_tls): Use main executable's link map for TLS data.
18418         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18419         casing for LM_ID_BASE and GL(dl_nns).
18420         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18421         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18422         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18423         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18424         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18425         member.
18426         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18427         l_phnum members.
18429 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18431         * manual/debug.texi: Document MTASC-safety properties.
18433 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18435         [BZ #16510]
18436         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18437         of __x86_64__ when disabling x87 inline functions.
18439 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18441         * manual/charset.texi: Document MTASC-safety properties.
18443         * manual/crypt.texi: Document MTASC-safety properties.
18445         * manual/conf.texi: Document MTASC-safety properties.
18447         * manual/arith.texi: Document MTASC-safety properties.
18449         * manual/argp.texi: Document MTASC-safety properties.
18451         * manual/macros.texi: Introduce macros to document multi
18452         thread, asynchronous signal and asynchronous cancellation
18453         safety properties.
18454         * manual/intro.texi: Introduce the properties themselves.
18456 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18458         * sysdeps/sh/sh4/Makefile: New file.
18460 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18462         * math/gen-libm-test.pl ($srcdir): New variable.
18463         ($auto_input): Use it.
18465 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18467         [BZ #16506]
18468         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18469         access beyond array bounds when parsing netgroups file.
18471         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18472         the old buffer before realloc.
18474 2014-01-27  Allan McRae  <allan@archlinux.org>
18476         * po/fr.po: Update French translation from translation project.
18478 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18480         * sysdeps/sh/libm-test-ulps: Regenerate.
18482 2014-01-24  David S. Miller  <davem@davemloft.net>
18484         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18486 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18488         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18489         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18491 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18493         [BZ #16474]
18494         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18495         string pointers after reallocation.
18497 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18499         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18500         __SH4A__ instead of __SH_FPU_ANY__.
18502 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18504         * sysdeps/sh/fpu_control.h: New file.
18505         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18506         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18507         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18508         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18509         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18510         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18511         * sysdeps/sh/sys/ucontext.h: Remove.
18512         * sysdeps/sh/sys: Remove directory.
18514 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18516         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18517         s390/sys/ucontext.h.
18518         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18519         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18521 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18523         [BZ #15605]
18524         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18526 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18528         [BZ#16431]
18529         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18530         Adjust the vDSO correctly for internal calls.
18531         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18533 2014-01-20  Allan McRae  <allan@archlinux.org>
18535         * po/ca.po: Update Catalan translation from translation project.
18537 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18539         * sysdeps/s390/sotruss-lib.c: New file.
18541 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18543         [BZ#16430]
18544         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18545         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18546         local calls issues by not having a PLT stub required for IFUNC calls.
18547         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18549 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18551         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18552         * math/test-fpucw-static.c: Likewise.
18554 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18556         [BZ #16453]
18557         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18559 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18561         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18562         implementation for powerpc.
18564 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18566         [BZ #14782]
18567         * sysdeps/posix/system.c (__libc_system): Do not enable
18568         asynchronous cancellation.
18570 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18572         [BZ #16427]
18573         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18574         handling only for numbers special also in the IEEE case.
18576 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18578         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18580 2014-01-11  Allan McRae  <allan@archlinux.org>
18582         * po/bg.po: Update Bulgarian translation from translation project.
18584         * po/de.po: Update German translation from translation project.
18586 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18588         * sysdeps/generic/gcc-compat.h: New file.
18590 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18592         * benchtests/asin-inputs: Correct slow inputs.
18593         * benchtests/acos-inputs: Likewise.
18595 2014-01-10  Allan McRae  <allan@archlinux.org>
18597         * po:sv.po: Update Swedish translation from translation project.
18599         * po/vi.po: Update Vietnamese translation from translation project.
18601         * po/eo.po: Update Esperanto translation from translation project.
18603         * po/cs.po: Update Czech translation from translation project.
18605         * po/nl.po: Update Dutch translation from translation project.
18607         * po/pl.po: Update Polish translation from translation project.
18609         * po/ru.po: Update Russian translation from translation project.
18611         * po/uk.po: Update Ukrainian translation from translation project.
18613 2014-01-08  Brooks Moses  <bmoses@google.com>
18615         * elf/dl-load.c: Fix comment typo.
18617 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
18619         * po/header.pot: Rename to...
18620         * po/pot.header: ... this.
18621         * po/Makefile: Use pot.header.
18623 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
18624             Maxim Kuvyrkov  <maxim@kugelworks.com>
18626         [BZ #16394]
18627         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18628         SRC and DEST against LEN.
18630 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18632         [BZ #16414]
18633         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18634         implementation.
18635         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18637 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18641 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
18643         [BZ #16408]
18644         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18645         for large positive arguments.
18647 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
18649         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18651         * math/auto-libm-test-in: Mark various tests with
18652         xfail-rounding:ldbl-128ibm.
18653         * math/auto-libm-test-out: Regenerated.
18655         [BZ #16407]
18656         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18657         Increase overflow threshold.
18659 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
18661         [BZ #14286]
18662         * stdio-common/vfprintf.c: Check for integer overflow.
18664 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18666         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18667         the first argument and return value of __tls_get_addr_internal.
18669 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18671         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18672         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18674 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18676         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18677         * sysdeps/s390/rtld-global-offsets.sym: New file.
18678         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18679         GLIBC_2.19 symbol.
18680         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18681         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18682         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18683         ... this.
18684         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18685         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18686         ... this.
18687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18688         Regenerate.
18689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18690         Regenerate.
18691         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18692         halfs of GPRs for high_gprs contexts.
18693         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18694         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18695         field.
18696         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18697         uc_flags field.
18698         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18699         64 bit versions:
18700         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18701         for high GPRs (uc_high_gprs) and for future extensions
18702         (__reserved).
18703         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18704         for future extensions (__reserved).
18705         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18706         64 bit versions:
18707         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18708         SC_HIGHGPRS offset definition.
18709         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18710         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18712         * Versions.def: Add GLIBC_2.19 for libpthread.
18713         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18714         siglongjmp for libpthread with GLIBC_2.19 symver.
18715         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18716         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18717         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18718         * sysdeps/s390/__longjmp.c: New file.
18719         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18720         * sysdeps/s390/longjmp.c: New file.
18721         * sysdeps/s390/setjmp.S: New file.
18722         * sysdeps/s390/sigjmp.S: New file.
18723         * sysdeps/s390/v1-longjmp.c: New file.
18724         * sysdeps/s390/v1-setjmp.h: New file.
18725         * sysdeps/s390/v1-sigjmp.c: New file.
18726         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18727         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18728         GLIBC_2.19 version.
18729         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18730         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18731         versioned symbols for ____longjmp_chk.
18732         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18733         Likewise.
18734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18735         Regenerate.
18736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18737         Regenerate.
18738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18739         Regenerate.
18740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18741         Regenerate.
18742         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18743         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18744         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18745         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18746         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18747         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18748         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18749         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18750         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18751         * sysdeps/s390/rtld-__longjmp.c: New file.
18752         * sysdeps/s390/rtld-setjmp.S: New file.
18754 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18756         [BZ #16400]
18757         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18758         Return -__logl (x) for small positive arguments without evaluating
18759         a polynomial.
18761 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18763         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18764         Rename to ...
18765         (__ptrace_peeksiginfo_args): ... this.
18766         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18767         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18768         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18770 2014-01-06  Allan McRae  <allan@archlinux.org>
18772         * inet/netinet/in.h: Fix typo in comment.
18774 2014-01-05  Andreas Jaeger  <aj@suse.de>
18776         * sysdeps/i386/fpu/libm-test-ulps: Update.
18778 2014-01-05  Allan McRae  <allan@archlinux.org>
18780         * po/libc.pot: Regenerated.
18782         * malloc/memusagestat.c: Fix gettext call formatting.
18784 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18786         * nscd/nscd.c: Improve usage() output.
18788 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18790         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18791         * sysdeps/unix/sysv/linux/configure: Regenerated.
18792         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18793         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18795 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18797         [BZ #16390]
18798         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18799         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18801 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18803         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18804         extra tokens at end of #undef directive.
18805         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18806         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18807         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18809 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18811         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18813         * math/auto-libm-test-in: Mark various tests with
18814         xfail-rounding:ldbl-128ibm.
18815         * math/auto-libm-test-out: Regenerated.
18817 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18819         [BZ #16386]
18820         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18821         numbers with subnormal high part when calculating exponent.
18823         [BZ #16385]
18824         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18825         fabs.
18827         [BZ #16384]
18828         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18829         M_LN2l.
18830         (__ieee754_acoshl): Use __log1pl not __log1p.
18832 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18834         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18835         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18836         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18837         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18838         (reused_arena, arena_get2): Convert to GNU style.
18839         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18840         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18841         (memalign_check, __malloc_set_state): Likewise.
18842         * malloc/mallocbug.c (main): Likewise.
18843         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18844         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18845         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18846         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18847         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18848         (__posix_memalign, malloc_info): Likewise.
18849         * malloc/malloc.h: Likewise.
18850         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18851         (mallochook, memalignhook, reallochook, mabort): Likewise.
18852         * malloc/mcheck.h: Likewise.
18853         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18854         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18855         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18856         * malloc/morecore.c (__default_morecore): Likewise.
18857         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18858         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18859         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18860         (print_and_abort): Likewise.
18861         * malloc/obstack.h: Likewise.
18862         * malloc/set-freeres.c (__libc_freeres): Likewise.
18863         * malloc/tst-mallocstate.c (main): Likewise.
18864         * malloc/tst-mtrace.c (main): Likewise.
18865         * malloc/tst-realloc.c (do_test): Likewise.
18867 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18869         [BZ #16366]
18870         * nscd/netgroupcache.c (do_notfound): New function.
18871         (addgetnetgrentX): Use it.
18873         [BZ # 16365]
18874         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18875         NSS_STATUS_NOTFOUND.
18877 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18879         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18882 2014-01-01  Allan McRae  <allan@archlinux.org>
18884         * scripts/update-copyrights: Update configure input file suffix.
18886         * NEWS: Update copyright year.
18887         * catgets/gencat.c: Likewise.
18888         * csu/version.c: Likewise.
18889         * debug/catchsegv.sh: Likewise.
18890         * debug/pcprofiledump.c: Likewise.
18891         * debug/xtrace.sh: Likewise.
18892         * elf/ldconfig.c: Likewise.
18893         * elf/ldd.bash.in: Likewise.
18894         * elf/pldd.c: Likewise.
18895         * elf/sotruss.ksh: Likewise.
18896         * elf/sprof.c: Likewise.
18897         * iconv/iconv_prog.c: Likewise.
18898         * iconv/iconvconfig.c: Likewise.
18899         * locale/programs/locale.c: Likewise.
18900         * locale/programs/localedef.c: Likewise.
18901         * login/programs/pt_chown.c: Likewise.
18902         * malloc/memusage.sh: Likewise.
18903         * malloc/memusagestat.c: Likewise.
18904         * malloc/mtrace.pl: Likewise.
18905         * manual/libc.texinfo: Likewise.
18906         * nscd/nscd.c: Likewise.
18907         * nss/getent.c: Likewise.
18908         * nss/makedb.c: Likewise.
18909         * posix/getconf.c: Likewise.
18910         * scripts/test-installation.pl: Likewise.
18912         * All files with FSF copyright notices: Update copyright dates
18913         using scripts/update-copyrights.
18914         * intl/plural.c: Regenerated.
18915         * locale/programs/charmap-kw.h: Likewise.
18916         * locale/programs/locfile-kw.h: Likewise.
18918 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18920         * sysdeps/unix/sysv/linux/configure: Regenerated.
18921         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18922         the linux/fanotify.h header.
18923         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18924         HAVE_LINUX_FANOTIFY_H is defined.
18926 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18928         * benchtests/cos-inputs: New inputs.
18929         * benchtests/sin-inputs: Likewise.
18931         * benchtests/atan-inputs: New inputs. Fix name of multiple
18932         precision fallback inputs.
18934         * benchtests/atanh-inputs: New inputs.
18935         * benchtests/tanh-inputs: Likewise.
18937         * benchtests/acosh-inputs: New inputs.
18938         * benchtests/asinh-inputs: Likewise.
18940         * benchtests/cosh-inputs: New inputs.
18941         * benchtests/sinh-inputs: Likewise.
18943         * benchtests/acos-inputs: Add more inputs.
18944         * benchtests/asin-inputs: Likewise.
18946 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18948         [BZ #16375]
18949         * manual/arith.texi: Fix spelling.
18950         * manual/charset.texi: Likewise.
18951         * manual/errno.texi: Likewise.
18952         * manual/filesys.texi: Likewise.
18953         * manual/lang.texi: Likewise.
18954         * manual/llio.texi: Likewise.
18955         * manual/locale.texi: Likewise.
18956         * manual/message.texi: Likewise.
18957         * manual/resource.texi: Likewise.
18958         * manual/search.texi: Likewise.
18959         * manual/setjmp.texi: Likewise.
18960         * manual/stdio.texi: Likewise.
18961         * manual/string.texi: Likewise.
18962         * manual/sysinfo.texi: Likewise.
18963         * manual/time.texi: Likewise.
18965 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18967         * po/sl.po: New file.
18969 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18971         * .gitignore: Add core/.gdbinit/.gdb_history.
18973 2013-12-27  Allan McRae  <allan@archlinux.org>
18975         [BZ #16369]
18976         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18977         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18979 2013-12-24  Brooks Moses  <bmoses@google.com>
18981         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18982         all compilers that claim C++98 compliance, not just GCC.
18983         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18984         Likewise.
18986 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18988         * NEWS: Restore accidentally deleted bug-fix entries.
18990 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18991             Ondřej Bílka  <neleai@seznam.cz>
18993         [BZ #15073]
18994         * malloc/malloc.c (_int_free): Perform sanity check only if we
18995         have_lock.
18997 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18999         [BZ #12986]
19000         * manual/stdio.texi (String Input Conversions): Clarify that character
19001         classes are not supported.
19003 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19007 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
19009         [BZ #16337]
19010         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19011         Calculate results for small negative arguments directly rather
19012         than using reflection formula with special underflow handling.
19014         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19015         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19016         sysdeps/unix/bsd/bsd4.4/syscalls.list.
19017         (fchflags): Likewise.
19018         (revoke): Likewise.
19019         (setlogin): Likewise.
19020         (sigaltstack): Likewise.
19021         (wait4): Likewise.
19022         (sigblock): Remove.
19023         (sigsetmask): Likewise.
19024         (wait3): Likewise.
19025         (waitpid): Likewise.
19026         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19027         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19028         file.
19029         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19030         * sysdeps/unix/bsd/Makefile: ... here.
19031         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19032         * sysdeps/unix/bsd/Versions: ... here.
19033         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19034         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19035         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19036         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19037         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19038         * sysdeps/unix/bsd/sigblock.c: ... here.
19039         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19040         * sysdeps/unix/bsd/sigsetmask.c: ... here.
19041         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19042         * sysdeps/unix/bsd/sigvec.c: ... here.
19043         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19044         * sysdeps/unix/bsd/tcdrain.c: ... here.
19045         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19046         * sysdeps/unix/bsd/tcgetattr.c: ... here.
19047         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19048         * sysdeps/unix/bsd/tcsetattr.c: ... here.
19049         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19050         * sysdeps/unix/bsd/wait.c: ... here.
19051         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19052         * sysdeps/unix/bsd/wait3.c: ... here.
19053         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19054         * sysdeps/unix/bsd/waitpid.c: ... here.
19056 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
19058         [BZ #16356]
19059         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19060         round-to-nearest for [!USE_AS_EXPM1L].
19061         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19062         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
19063         more tests of exp and exp10.  Expect some exp10 tests to miss
19064         exceptions or fail in directed rounding modes.
19065         * math/auto-libm-test-out: Regenerated.
19066         * math/libm-test.inc (exp10_tonearest_test_data): New array.
19067         (exp10_test_tonearest): New function.
19068         (exp10_towardzero_test_data): New array.
19069         (exp10_test_towardzero): New function.
19070         (exp10_downward_test_data): New array.
19071         (exp10_test_downward): New function.
19072         (exp10_upward_test_data): New array.
19073         (exp10_test_upward): New function.
19074         (main): Call the new functions.
19075         * sysdeps/i386/fpu/libm-test-ulps: Update.
19076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19078 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
19080         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19081         asinh, atan, atan2, atanh, cbrt, cos and cosh.
19082         * math/auto-libm-test-out: Regenerated.
19083         * math/libm-test.inc (acosh_test_data): Add more tests.
19084         (atanh_test_data): Likewise.
19085         (ceil_test_data): Likewise.
19086         (copysign_test_data): Likewise.
19087         * sysdeps/i386/fpu/libm-test-ulps: Update.
19088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19090         * timezone/checktab.awk: Update from tzcode 2013i.
19091         * timezone/private.h: Likewise.
19092         * timezone/scheck.c: Likewise.
19093         * timezone/tzfile.h: Likewise.
19094         * timezone/tzselect.ksh: Likewise.
19095         * timezone/zdump.c: Likewise.
19096         * timezone/zic.c: Likewise.
19098         * math/auto-libm-test-in: Add tests of cpow.
19099         * math/auto-libm-test-out: Regenerated.
19100         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19101         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19102         mpc_cc_c.
19103         (func_calc_desc): Add mpc_cc_c union field.
19104         (test_functions): Add cpow.
19105         (special_fill_2pi): New function.
19106         (special_real_inputs): Add 2pi.
19107         (calc_generic_results): Handle mpc_cc_c.
19108         * sysdeps/i386/fpu/libm-test-ulps: Update.
19109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19111         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19112         csqrt, ctan and ctanh.
19113         * math/auto-libm-test-out: Regenerated.
19114         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19115         (TEST_COND_x86): Likewise.
19116         (ccos_test_data): Use AUTO_TESTS_c_c.
19117         (ccosh_test_data): Likewise.
19118         (cexp_test_data): Likewise.
19119         (clog_test_data): Likewise.
19120         (csqrt_test_data): Likewise.
19121         (ctan_test_data): Likewise.
19122         (ctan_tonearest_test_data): Likewise.
19123         (ctan_towardzero_test_data): Likewise.
19124         (ctan_downward_test_data): Likewise.
19125         (ctan_upward_test_data): Likewise.
19126         (ctanh_test_data): Likewise.
19127         (ctanh_tonearest_test_data): Likewise.
19128         (ctanh_towardzero_test_data): Likewise.
19129         (ctanh_downward_test_data): Likewise.
19130         (ctanh_upward_test_data): Likewise.
19131         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19132         mpc_c_c.
19133         (func_calc_desc): Add mpc_c_c union field.
19134         (FUNC_mpc_c_c): New macro.
19135         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19136         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19137         ctanh.
19138         (special_fill_min_subnorm_p120): New function.
19139         (special_real_inputs): Add min_subnorm_p120.
19140         (calc_generic_results): Handle mpc_c_c.
19141         * sysdeps/i386/fpu/libm-test-ulps: Update.
19142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19144 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19146         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19147         (do_sin_slow): New functions.
19148         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19149         (cslow2, csloww1, csloww2): Use the new functions.
19151         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19152         Use M to change sign of result instead of X.  Assume X is
19153         positive.
19154         (csloww1): Likewise.
19155         (__sin): Adjust.
19156         (__cos): Adjust.
19158         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19159         arguments A and DA.
19160         (__sin): Adjust.
19161         (__cos): Likewise.
19163         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19164         (__cos): Likewise.
19165         (sloww1): Don't adjust sign of DX.
19166         (csloww1): Likewise.
19167         (sloww2): Use X directly and don't adjust sign of DX.
19168         (csloww2): Likewise.
19170 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19172         * math/auto-libm-test-in: Add tests of cabs and carg.
19173         * math/auto-libm-test-out: Regenerated.
19174         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19175         (carg_test_data): Likewise.
19176         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19177         mpc_c_f.
19178         (func_calc_desc): Add mpc_c_f union field.
19179         (test_functions): Add cabs and carg.
19180         (calc_generic_results): Handle mpc_c_f.
19182         * sysdeps/powerpc/powerpc32/libgcc-compat.S
19183         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19184         as a macro and a compat symbol.
19185         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19186         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19187         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19188         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19189         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19190         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19191         not use .hidden.
19192         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19193         Likewise.
19194         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19195         Likewise.
19196         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19197         Likewise.
19198         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19199         Likewise.
19200         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19201         Likewise.
19202         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19203         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19204         from GLIBC_2.3.2.
19206 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19210 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19212         * manual/texinfo.tex: Update to version 2013-11-26.10 with
19213         trailing whitespace removed.
19214         * scripts/config.guess: Update to version 2013-11-29.
19215         * scripts/config.sub: Update to version 2013-10-01.
19217         * math/auto-libm-test-in: Add tests of sincos.
19218         * math/auto-libm-test-out: Regenerated.
19219         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19220         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19221         mpfr_f_11.
19222         (func_calc_desc): Add mpfr_f_11 union field.
19223         (test_functions): Add sincos.
19224         (calc_generic_results): Handle mpfr_f_11.
19225         * sysdeps/i386/fpu/libm-test-ulps: Update.
19226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19228 2013-12-19  Andreas Schwab  <schwab@suse.de>
19230         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19231         CALL_MCOUNT.
19232         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19233         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19234         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19236 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19238         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19239         * sysdeps/i386/fpu/libm-test-ulps: Update.
19240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19242         [BZ #16293]
19243         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19244         round-to-nearest mode when using frndint.
19245         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19246         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19247         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19248         Likewise.
19249         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
19250         sinh test to fail.
19251         * math/auto-libm-test-out: Regenerated.
19252         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19253         (TEST_COND_x86): Likewise.
19254         (expm1_tonearest_test_data): New array.
19255         (expm1_test_tonearest): New function.
19256         (expm1_towardzero_test_data): New array.
19257         (expm1_test_towardzero): New function.
19258         (expm1_downward_test_data): New array.
19259         (expm1_test_downward): New function.
19260         (expm1_upward_test_data): New array.
19261         (expm1_test_upward): New function.
19262         (main): Run the new test functions.
19263         * sysdeps/i386/fpu/libm-test-ulps: Update.
19264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19266         * include/features.h: Update comment documenting feature test
19267         macros.  Mention _DEFAULT_SOURCE in comment.
19268         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19269         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19270         _BSD_SOURCE and _SVID_SOURCE.
19271         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19272         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19273         !_SVID_SOURCE]: Likewise.
19274         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19275         (__USE_POSIX_IMPLICITLY): Define.
19276         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19277         (_POSIX_SOURCE): Undefine and redefine.
19278         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19279         (_POSIX_C_SOURCE): Likewise.
19280         * manual/creature.texi (_DEFAULT_SOURCE): Document.
19281         (Feature Test Macros): Update documentation of default features.
19283 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19285         * benchtests/Makefile: Add bench-strtok.
19286         * benchtests/bench-strtok.c: New file: strtok benchtest.
19288 2013-12-19  Allan McRae  <allan@archlinux.org>
19290         * manual/install.texi: Suppress menu for plain text output.
19291         * INSTALL: Regenerated.
19293 2013-12-18  Brooks Moses  <bmoses@google.com>
19295         [BZ #15846]
19296         * misc/getauxval.c: Include errno.h.
19297         (__getauxval): Set errno to ENOENT if the requested type is not
19298         found.
19299         * misc/sys/auxv.h (getauxval): Document that it may set errno;
19300         don't declare with __attribute_const__.
19301         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19302         * manual/startup.texi: Document that getauxval sets errno.
19304 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19306         * math/auto-libm-test-in: Add tests of jn and yn.
19307         * math/auto-libm-test-out: Regenerated.
19308         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19309         (yn_test_data): Likewise.
19310         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19311         mpfr_if_f.
19312         (func_calc_desc): Add mpfr_if_f union field.
19313         (FUNC_mpfr_if_f): New macro.
19314         (test_functions): Add jn and yn.
19315         (calc_generic_results): Assert type of second input for
19316         mpfr_ff_f.  Handle mpfr_if_f.
19317         (output_for_one_input_case): Disable all checking for arguments
19318         fitting floating-point types in case of an integer argument.
19319         * sysdeps/i386/fpu/libm-test-ulps: Update.
19320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19323         Don't expect fegetround reference in libm.so.
19325 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19327         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19328         $(config-cflags-nofma).
19330 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19332         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19333         * math/auto-libm-test-out: Regenerated.
19335         [BZ #16338]
19336         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19337         to determine exponent and adjust argument to have exponent of -1.
19338         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19339         log2.
19340         * math/auto-libm-test-out: Regenerated.
19341         * sysdeps/i386/fpu/libm-test-ulps: Update.
19342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19344 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
19346         * manual/probes.texi: Remove cases when per-thread arenas are
19347         disabled.
19349 2013-12-18  Andreas Schwab  <schwab@suse.de>
19351         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19352         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19353         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19354         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19355         * sysdeps/i386/i686/multiarch/Makefile: Update.
19356         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19358 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19360         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19361         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19363 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
19365         [BZ #15968]
19366         Support TZ transition times < 00:00:00.
19367         This is needed for version-3 tz-format files; it supports time
19368         stamps past 2037 for America/Godthab (the only entry in the tz
19369         database for which this change is relevant).
19370         * manual/time.texi (TZ Variable): Document transition times
19371         from -167:59:59 through -00:00:01.
19372         * time/tzset.c (tz_rule): Time of day is now signed.
19373         (__tzset_parse_tz): Parse negative time of day.
19375         Document TZ transition times >= 25:00:00.
19376         * manual/time.texi (TZ Variable): Document transition times from
19377         25:00:00 through 167:59:59.  These are already supported, and this
19378         support will help with version-3 tz-format files.
19380         * manual/time.texi (TZ Variable): Modernize North America example
19381         to reflect current (i.e., 2007-and-later) daylight saving rules.
19383         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19385 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19387         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19388         * sysdeps/unix/bsd/bits/stat.h: Likewise.
19389         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19390         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19391         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19392         * sysdeps/unix/bsd/bsdstat.h: Likewise.
19393         * sysdeps/unix/bsd/clock.c: Likewise.
19394         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19395         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19396         * sysdeps/unix/bsd/init-posix.c: Likewise.
19397         * sysdeps/unix/bsd/poll.c: Likewise.
19398         * sysdeps/unix/bsd/ptsname.c: Likewise.
19399         * sysdeps/unix/bsd/seekdir.c: Likewise.
19400         * sysdeps/unix/bsd/setegid.c: Likewise.
19401         * sysdeps/unix/bsd/seteuid.c: Likewise.
19402         * sysdeps/unix/bsd/setgid.c: Likewise.
19403         * sysdeps/unix/bsd/setrgid.c: Likewise.
19404         * sysdeps/unix/bsd/setruid.c: Likewise.
19405         * sysdeps/unix/bsd/setsid.c: Likewise.
19406         * sysdeps/unix/bsd/setuid.c: Likewise.
19407         * sysdeps/unix/bsd/sigaction.c: Likewise.
19408         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19409         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19410         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19411         * sysdeps/unix/bsd/telldir.c: Likewise.
19412         * sysdeps/unix/bsd/times.c: Likewise.
19413         * sysdeps/unix/bsd/usleep.c: Likewise.
19415         * misc/Makefile (install-lib): Remove libbsd-compat.a.
19416         ($(objpfx)libbsd-compat.a): Remove rule.
19418         * include/features.h (__FAVOR_BSD): Do not define.
19419         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19420         features conflicting with POSIX.
19421         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19422         (_BSD_SOURCE): Remove description of not being a subset of other
19423         feature test macros.
19424         * manual/job.texi (getpgrp): Do not document BSD version.
19425         (getpgid): Do not document by reference to BSD getpgrp.
19426         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19427         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19428         * signal/signal.h [__FAVOR_BSD]: Likewise.
19429         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19430         instead of making contents conditional on [__FAVOR_BSD].
19431         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19433 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19437 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19439         [BZ #16314]
19440         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19441         values below 2**-450, not 2**-500.
19442         * math/auto-libm-test-in: Don't allow spurious underflow from
19443         hypot.
19444         * math/auto-libm-test-out: Regenerated.
19446         [BZ #16316]
19447         [BZ #16330]
19448         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19449         values of ha and hb and sort them after adjusting subnormal
19450         arguments.
19451         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19452         Likewise.
19453         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19454         values of ea and eb and sort them after adjusting subnormal
19455         arguments.
19456         * math/auto-libm-test-in: Do not expect some hypot tests of
19457         subnormals to fail.  Add more hypot tests.
19458         * math/auto-libm-test-out: Regenerated.
19460 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19462         [BZ #13304]
19463         * sysdeps/sh/s_fma.c: New file.
19464         * sysdeps/sh/s_fmaf.c: New file.
19465         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19466         version.
19467         * sysdeps/sh/Implies: Add sh/soft-fp.
19469 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19471         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19472         level of indirection to members `objname', `errstring', `malloced'.
19473         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19474         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19475         it as the __longjmp argument (just pass 1 instead).
19476         (_dl_catch_error): Initialize C with argument pointers and address of
19477         volatile local ERRCODE rather than copying values out of C at return.
19479 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19481         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19482         * math/auto-libm-test-out: Regenerated.
19483         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19484         (hypot_test_data): Likewise.
19485         (pow_test_data): Likewise.
19486         (pow_tonearest_test_data): Likewise.
19487         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19488         mpfr_ff_f.
19489         (func_calc_desc): Add mpfr_ff_f union field.
19490         (FUNC_mpfr_ff_f): New macro.
19491         (test_functions): Add atan2, hypot and pow.
19492         (special_fill_min): New function.
19493         (special_fill_minus_min): Likewise.
19494         (special_fill_min_subnorm): Likewise.
19495         (special_fill_minus_min_subnorm): Likewise.
19496         (special_real_inputs): Add min, -min, min_subnorm and
19497         -min_subnorm.
19498         (calc_generic_results): Handle mpfr_ff_f.
19499         * sysdeps/i386/fpu/libm-test-ulps: Update.
19500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19502 2013-12-16  Will Newton  <will.newton@linaro.org>
19504         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19505         (Aligned Memory Blocks): Add documentation for aligned_alloc
19506         and suggest it as an alternative to posix_memalign.
19507         (Hooks for Malloc): Document __memalign_hook is also called
19508         for aligned_alloc.  (Summary of Malloc): Add summary for
19509         aligned alloc.  Document __memalign_hook is also called
19510         for aligned_alloc.
19512 2013-12-16  Will Newton  <will.newton@linaro.org>
19514         * manual/memory.texi (Malloc Examples): Clarify default
19515         alignment documentation.  Suggest posix_memalign rather
19516         than memalign or valloc.
19517         (Aligned Memory Blocks): Remove suggestion to use memalign
19518         or valloc.  Remove obsolete comment about BSD.
19519         Document memalign errno values and mark the function obsolete.
19520         Document posix_memalign returned error codes.  Mark valloc
19521         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19522         called for posix_memalign and valloc.
19523         (Summary of Malloc): Add posix_memalign to function summary.
19524         __memalign_hook is also called for posix_memalign and valloc.
19526 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19528         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19529         TAYLOR_SIN.
19530         (__sin): Adjust.
19531         (__cos): Likewise.
19532         (sloww): Use mynumber union.  Expand ternary operator into
19533         if-else statements.
19534         (cslow): use mynumber union.
19536 2013-12-16  Allan McRae  <allan@archlinux.org>
19538         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19539         * configure: Regenerated.
19541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19543         [BZ #14120]
19544         * configure.ac: Added --enable-maintainer-mode. Check for
19545         autoconf when enabled.
19546         * configure: Regenerated.
19548         * nscd/nscd.service: New file.
19549         * nscd/nscd.tmpfiles: New file.
19551 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19553         [BZ #12100]
19554         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19555         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19556         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19557         (strstr): Add __strstr_sse2_unaligned ifunc.
19558         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19559         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19560         (strcasestr): Remove __strcasestr_sse42 ifunc.
19561         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19565 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19567         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19568         * sysdeps/sh/bits/fenv.h: ... here.
19569         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19571 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19573         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19575         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19576         hypotf multiarch implementations.
19577         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19578         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19579         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19580         multiarch hypot for PPC64.
19581         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19582         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19583         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19584         multiarch hypotf for PPC64.
19586         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19587         modff multiarch implementations.
19588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19591         multiarch modf for PPC64.
19592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19595         multiarch modff for PPC64.
19597         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19598         and logl multiarch implementations.
19599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19602         multiarch logb for PPC64.
19603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19606         multiarch logb for PPC64.
19607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19610         multiarch logb for PPC64.
19612         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19613         isinff multiarch implementation.
19614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19615         file.
19616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19618         multiarch isinf for PPC64.
19619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19620         file.
19621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19622         multiarch isinff for PPC64.
19624         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19625         finitef multiarch implementation.
19626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19627         file.
19628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19630         multiarch finite for PPC64.
19631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19632         file.
19633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19634         multiarch finitef for PPC64.
19636         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19637         lrint multiarch implementation.
19638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19639         file.
19640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19642         multiarch llrint for PPC64.
19643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19644         multiarch lrint for PPC64.
19646         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19647         copysignf multiarch implementation.
19648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19649         file.
19650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19651         file.
19652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19653         multiarch copysign for PPC64.
19654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19655         multiarch copysignf for PPC64.
19657         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19658         multiarch implementation.
19659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19660         file.
19661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19662         file.
19663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19664         file.
19665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19666         file.
19667         multiarch llround for PPC64.
19668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19669         multiarch trunc for PPC64.
19670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19671         multiarch truncf for PPC64.
19673         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19674         multiarch implementation.
19675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19676         file.
19677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19678         file.
19679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19680         file.
19681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19682         file.
19683         multiarch llround for PPC64.
19684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19685         multiarch round for PPC64.
19686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19687         multiarch roundf for PPC64.
19689         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19690         multiarch implementation.
19691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19692         file.
19693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19694         file.
19695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19696         file.
19697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19698         file.
19699         multiarch llround for PPC64.
19700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19701         multiarch floor for PPC64.
19702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19703         multiarch floorf for PPC64.
19705         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19706         multiarch implementation.
19707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19708         file.
19709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19710         file.
19711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19712         file.
19713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19714         file.
19715         multiarch llround for PPC64.
19716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19717         multiarch ceil for PPC64.
19718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19719         multiarch ceilf for PPC64.
19721         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19722         multiarch implementation.
19723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19724         file.
19725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19726         file.
19727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19728         file.
19729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19730         multiarch llround for PPC64.
19731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19732         multiarch lround for PPC64.
19734         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19735         multiarch implementation.
19736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19739         file.
19740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19743         multiarch isnan for PPC64.
19744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19745         multiarch isnanf for PPC64.
19747         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19748         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19749         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19750         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19751         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19754         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19755         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19756         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19757         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19760         multiarch implementations.
19761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19762         (__libc_ifunc_impl_list): Likewise.
19763         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19764         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19765         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19766         multiarch stpcpy for PPC64.
19768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19769         multiarch implementations.
19770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19771         (__libc_ifunc_impl_list): Likewise.
19772         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19773         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19774         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19775         multiarch strcpy for PPC64.
19777         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19778         redefine function name.
19779         (_wordcopy_fwd_dest_aligned): Likewise.
19780         (_wordcopy_bwd_aligned): Likewise.
19781         (_wordcopy_bwd_dest_aligned): Likewise.
19782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19783         multiarch implementations.
19784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19785         (__libc_ifunc_impl_list): Likewise.
19786         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19787         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19788         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19789         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19790         multiarch wcscpy for PPC64.
19792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19793         multiarch implementations.
19794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19795         (__libc_ifunc_impl_list): Likewise.
19796         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19797         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19798         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19799         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19800         multiarch wcscpy for PPC64.
19802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19803         multiarch implementations.
19804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19805         (__libc_ifunc_impl_list): Likewise.
19806         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19807         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19808         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19809         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19810         multiarch wcsrchr for PPC64.
19812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19813         multiarch implementations.
19814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19815         (__libc_ifunc_impl_list): Likewise.
19816         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19817         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19818         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19819         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19820         multiarch wcschr for PPC64.
19822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19823         multiarch implementations.
19824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19825         (__libc_ifunc_impl_list): Likewise.
19826         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19827         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19828         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19829         multiarch strchrnul for PPC64.
19831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19832         implementations.
19833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19834         (__libc_ifunc_impl_list): Likewise.
19835         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19836         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19837         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19838         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19839         strchr for PPC64.
19841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19842         implementations.
19843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19844         (__libc_ifunc_impl_list): Likewise.
19845         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19846         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19847         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19848         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19849         strncmp for PPC64.
19851         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19852         multiarch implementations.
19853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19854         (__libc_ifunc_impl_list): Likewise.
19855         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19856         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19857         strncasecmp for PPC64.
19858         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19859         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19860         multiarch strncasecmp_l for PPC64.
19862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19863         multiarch implementations.
19864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19865         (__libc_ifunc_impl_list): Likewise.
19866         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19867         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19868         multiarch strcasecmp for PPC64.
19869         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19870         file.
19871         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19872         multiarch strcasecmp_l for PPC64.
19874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19875         implementations.
19876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19877         (__libc_ifunc_impl_list): Likewise.
19878         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19879         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19880         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19881         strnlen for PPC64.
19883         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19884         implementations.
19885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19886         (__libc_ifunc_impl_list): Likewise.
19887         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19888         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19889         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19890         strlen for PPC64.
19892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19893         implementations.
19894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19895         (__libc_ifunc_impl_list): Likewise.
19896         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19897         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19898         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19899         rawmemrchr for PPC64.
19901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19902         implementation.
19903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19904         (__libc_ifunc_impl_list): Likewise.
19905         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19906         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19907         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19908         memrchr for PPC64.
19910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19911         implementation.
19912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19913         (__libc_ifunc_impl_list): Likewise.
19914         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19915         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19916         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19917         memchr for PPC64.
19919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19920         implementation.
19921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19922         (__libc_ifunc_impl_list): Likewise.
19923         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19924         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19925         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19926         mempcpy for PPC64.
19928         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19929         avoid cretion of __bzero symbol.
19930         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19931         Likewise.
19932         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19933         Likewise.
19934         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19935         Likewise.
19936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19937         multiarch implementations.
19938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19939         (__libc_ifunc_impl_list): Likewise.
19940         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19941         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19942         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19943         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19944         bzero for PPC32.
19945         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19946         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19947         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19948         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19949         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19950         memset for PPC64.
19951         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19953         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19955         implementations.
19956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19957         (__libc_ifunc_impl_list): Likewise.
19958         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19959         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19960         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19961         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19962         memcmp for PPC64.
19964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19965         multiarch for POWER/PPC64.
19966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19967         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19968         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19969         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19970         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19971         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19972         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19973         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19974         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19975         memcpy for PPC64.
19977         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19978         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19979         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19980         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19981         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19982         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19983         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19984         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19985         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19986         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19987         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19988         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19989         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19990         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19991         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20000 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20002         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20004 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20006         * benchtests/Makefile (bench): Add exp2 and log2.
20007         (LDLIBS-bench-exp2): Add -lm.
20008         (LDLIBS-bench-log2): Likewise.
20009         * benchtests/exp2-inputs: New inputs file.
20010         * benchtests/log2-inputs: New inputs file.
20011         * benchtests/log-inputs: Add new inputs.
20012         * benchtests/tan-inputs: Likewise.
20014 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20016         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20017         definition...
20018         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20019         (csloww2): ... from here.
20021         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20022         instead of structures.
20023         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20024         (POLYNOMIAL): Likewise.
20025         (TAYLOR_SLOW): Likewise.
20026         (__sin): Likewise.
20027         (__cos): Likewise.
20028         (slow1): Likewise.
20029         (slow2): Likewise.
20030         (sloww): Likewise.
20031         (sloww1); Likewise.
20032         (sloww2): Likewise.
20033         (bsloww1): Likewise.
20034         (bsloww2): Likewise.
20035         (cslow2): Likewise.
20036         (csloww): Likewise.
20037         (csloww1): Likewise.
20038         (csloww2): Likewise.
20040 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
20042         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20043         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20044         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20045         * malloc/hooks.c (realloc_check): Likewise.
20047         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20048         * malloc/arena.c: Remove PER_THREAD conditional.
20049         [!PER_THREAD]: Remove code.
20050         (ptmalloc_unlock_all2): Likewise.
20051         (ptmalloc_init): Likewise.
20052         (_int_new_arena): Likewise.
20053         (arena_get2): Likewise.
20054         * malloc/hooks.c (__malloc_get_state): Likewise.
20055         (__malloc_set_state): Likewise.
20056         * malloc/malloc.c: Likewise.
20057         (struct malloc_state): Likewise.
20058         (struct malloc_par): Likewise.
20059         (__libc_realloc): Likewise.
20060         (__libc_mallopt): Likewise.
20062 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20064         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20066 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
20068         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20069         macro to a function.  Check for zero perturb_byte.
20070         (_int_malloc, _int_free): Remove zero perturb_byte checks.
20072         * malloc/malloc.c: (force_reg): Remove.
20073         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20074         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20075         force_reg by atomic_forced_read.
20076         * malloc/arena.c (ptmalloc_init): Likewise.
20077         * malloc/hooks.c (top_check): Likewise.
20079 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20083 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
20085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20087 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
20089         * math/auto-libm-test-in: Add tests of lgamma.
20090         * math/auto-libm-test-out: Regenerated.
20091         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20092         (M_LOG_2_SQRT_PIl): Likewise.
20093         (lgamma_test_data): Use AUTO_TESTS_f_f1.
20094         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20095         mpfr_f_f1.
20096         (func_calc_desc): Add mpfr_f_f1 union field.
20097         (ARGS1): New macro.
20098         (ARGS2): Likewise.
20099         (ARGS3): Likewise.
20100         (ARGS4): Likewise.
20101         (RET1): Likewise.
20102         (RET2): Likewise.
20103         (CALC): Likewise.
20104         (FUNC): Likewise.
20105         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20106         (test_functions): Add lgamma.
20107         (calc_generic_results): Handle mpfr_f_f1.
20108         * sysdeps/i386/fpu/libm-test-ulps: Update.
20109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20111 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20113         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20114         __mpn_add_n for PowerPC64/POWER7.
20115         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20116         __mpn_sub_n for PowerPC64/POWER7.
20118         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20119         __mpn_addmul_1 for PowerPC64.
20120         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20121         __mpn_submul_1 for PowerPC64.
20122         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20123         for PowerPC64.
20124         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20125         for PowerPC64.
20127 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
20129         [BZ #15089]
20130         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20132 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20134         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20136         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20137         add multiarch folders.
20138         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20139         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20140         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20141         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20142         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20143         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20144         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20145         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20146         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20147         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20148         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20157         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20159         New file.
20160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20161         New file.
20162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20163         multiarch __ieee754_hypot for PowerPC32.
20164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20165         New file.
20166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20167         New file.
20168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20169         multiarch __ieee754_hypotf for PowerPC32.
20171         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20172         long_double_symbol only if __logbl is defined.
20173         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20174         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20175         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20176         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20177         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20178         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20179         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20180         path for implementation.
20181         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20182         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20184         logb, and logbl multiarch implementations for PowerPC32.
20185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20186         file.
20187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20188         file.
20189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20190         multiarch logb for PowerPC32.
20191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20192         file.
20193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20194         file.
20195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20196         multiarch logbf for PowerPC32.
20197         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20199         file.
20200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20201         multiarch logbl implementation for PowerPC32.
20203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20204         and modff multiarch implementations.
20205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20206         New file.
20207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20208         New file.
20209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20210         multiarch modf for PowerPC32.
20211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20212         New file.
20213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20214         New file.
20215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20216         multiarch modff for PowerPC32.
20218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20219         and lrintf multiarch implementations.
20220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20221         New file.
20222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20223         New file.
20224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20225         multiarch lrint for PowerPC32.
20226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20227         file: multiarch lrintf for PowerPC32.
20229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20230         and lroundf multiarch implementations.
20231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20232         New file.
20233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20234         New file.
20235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20236         New file.
20237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20238         multiarch lround for PowerPC32.
20239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20240         file: multiarch lroundf for PowerPC32.
20242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20243         copysign and copysignf multiarch implementations.
20244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20245         New file.
20246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20247         New file.
20248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20249         file: multiarch copysign for PowerPC32.
20250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20251         file: multiarch copysignf for PowerPC32.
20253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20254         and truncf multiarch implementations.
20255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20256         New file.
20257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20258         file.
20259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20260         multiarch trunc for PowerPC32.
20261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20262         New file.
20263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20264         New file.
20265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20266         multiarch truncf for PowerPC32.
20268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20269         and roundf multiarch implementations.
20270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20271         New file.
20272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20273         file.
20274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20275         multiarch round for PowerPC32.
20276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20277         New file.
20278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20279         New file.
20280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20281         multiarch roundf for PowerPC32.
20283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20284         and floorf multiarch implementations.
20285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20286         New file.
20287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20288         file.
20289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20290         multiarch floor for PowerPC32.
20291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20292         New file.
20293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20294         New file.
20295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20296         multiarch floorf for PowerPC32.
20298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20299         and ceilf multiarch implementations.
20300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20301         New file.
20302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20303         file.
20304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20305         multiarch ceil for PowerPC32.
20306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20307         New file.
20308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20309         file.
20310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20311         multiarch ceilf for PowerPC32.
20313         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20314         is defined.
20315         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20316         FINITEF is defined.
20317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20318         and finitef multiarch implementations.
20319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20320         New file.
20321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20322         file.
20323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20324         multiarch finite for PowerPC32.
20325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20326         New file.
20327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20328         file: multiarch finitef for PowerPC32.
20330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20331         and isinff multiarch implementations.
20332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20333         file.
20334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20335         file.
20336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20337         multiarch isinf for PowerPC32.
20338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20339         New file.
20340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20341         multiarch isinff for PowerPC32.
20343         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20344         alias when __isnan is defined.
20345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20346         and isnanf multiarch implementations.
20347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20348         file.
20349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20350         file.
20351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20352         file.
20353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20354         file.
20355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20356         multiarch isnan for PowerPC32.
20357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20358         New file.
20359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20360         New file.
20361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20362         multiarch isnanf for PowerPC32.
20364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20365         and sqrtf multiarch implementations.
20366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20367         file.
20368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20369         file.
20370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20371         multiarch sqrt for PowerPC32.
20372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20373         file.
20374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20375         file.
20376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20377         multiarch sqrtf for PowerPC32.
20379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20380         and llroundf multiarch implementations.
20381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20382         New file.
20383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20384         New file.
20385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20386         New file.
20387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20388         file: multiarch llround for PowerPC32.
20389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20390         file: multiarch llroundf for PowerPC32.
20392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20393         multiarch PowerPC32 fpu implementations.
20394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20395         New file.
20396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20397         New file.
20398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20399         multiarch llrint for PowerPC32.
20400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20401         New file.
20402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20403         New file.
20404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20405         file.
20407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20409         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20410         file.
20411         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20412         file.
20413         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20414         file.
20415         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20416         multiarch wordcopy for PPC32.
20417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20418         wordcopy objects.
20419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20420         (__libc_ifunc_impl_list): Likewise.
20421         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20422         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20423         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20424         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20425         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20426         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20428         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20429         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20430         file.
20431         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20432         file.
20433         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20434         file.
20435         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20436         multiarch wcscpy for PPC32.
20437         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20438         multiarch objects.
20439         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20440         (__libc_ifunc_impl_list): Likewise.
20441         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20442         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20443         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20444         sysdeps/powerpc/power6/wcscpy.c.
20446         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20447         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20448         file.
20449         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20450         file.
20451         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20452         file.
20453         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20454         multiarch wcsrchr for PPC32.
20455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20456         multiarch objects.
20457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20458         (__libc_ifunc_impl_list): Likewise.
20459         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20460         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20461         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20462         sysdeps/powerpc/power6/wcsrchr.c.
20464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20465         file.
20466         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20467         file.
20468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20469         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20470         multiarch wcschr for PPc32.
20471         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20472         multiarch objects.
20473         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20474         (__libc_ifunc_impl_list): Likewise.
20475         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20476         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20477         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20478         sysdeps/powerpc/power6/wcschr.c.
20480         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20481         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20482         file.
20483         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20484         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20485         file: multiarch strchr for PPC32.
20486         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20487         multiarch objects.
20488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20489         (__libc_ifunc_impl_list): Likewise.
20491         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20492         name.
20493         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20494         file.
20495         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20496         file.
20497         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20498         multiarch strchrnul for PPC32.
20499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20500         multiarch objects.
20501         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20502         (__libc_ifunc_impl_list): Likewise.
20504         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20505         file.
20506         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20507         multiarch strncasecmp for PPC32.
20508         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20509         file.
20510         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20511         multiarch strncasecmp_l for PPC32.
20512         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20513         strncasecmp multiarch objects.
20514         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20515         (__libc_ifunc_impl_list): Likewise.
20517         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20518         file.
20519         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20520         multiarch strncasecmp for PPC32.
20521         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20522         New file.
20523         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20524         multiarch strcasecmp_l for PPC32.
20525         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20526         multiarch objects.
20527         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20528         (__libc_ifunc_impl_list): Likewise.
20530         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20531         file.
20532         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20533         file.
20534         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20535         multiarch strncmp for PPC32.
20536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20537         multiarch objects.
20538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20539         (__libc_ifunc_impl_list): Likewise.
20541         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20542         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20543         file.
20544         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20545         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20546         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20547         multiarch objects.
20548         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20549         (__libc_ifunc_impl_list): Likewise.
20551         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20552         file.
20553         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20554         file.
20555         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20556         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20557         multiarch objects.
20558         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20559         (__libc_ifunc_impl_list): Likewise.
20561         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20562         file.
20563         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20564         file.
20565         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20566         multiarch rawmemchr for PPC32.
20567         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20568         multiarch objects.
20569         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20570         (__libc_ifunc_impl_list): Likewise.
20572         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20573         file.
20574         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20575         file.
20576         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20577         file: memrchr multiarch for PPC32.
20578         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20579         multiarch objects.
20580         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20581         (__libc_ifunc_impl_list): Likewise.
20583         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20584         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20585         file.
20586         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20587         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20588         multiarch memchr for PPC32.
20589         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20590         multiarch objects.
20591         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20592         (__libc_ifunc_impl_list): Likewise.
20594         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20595         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20596         file.
20597         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20598         file.
20599         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20600         file: multiarch mempcpy for PPC32.
20601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20602         multiarch objects.
20603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20604         (__libc_ifunc_impl_list): Likewise.
20606         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20607         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20608         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20609         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20610         multiarch bzero for PPC32.
20611         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20612         file.
20613         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20614         file.
20615         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20616         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20617         file: multiarch memset for PPC32.
20618         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20619         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20620         memset multiarch objects.
20621         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20622         (__libc_ifunc_impl_list): Likewise.
20624         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20625         file.
20626         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20627         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20628         memcmp for PPC32.
20629         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20631         multiarch objects.
20632         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20633         (__libc_ifunc_impl_list): Likewise.
20635         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20636         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20637         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20638         file.
20639         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20640         file.
20641         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20642         file.
20643         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20644         multiarch memcpy for PPC32.
20645         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20646         multiarch objects.
20647         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20648         (__libc_ifunc_impl_list): Likewise.
20650         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20651         support multiarch for POWER/PPC32.
20652         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20653         Likewise.
20654         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20656         Implies file to make multiarch folder appers before the fpu and
20657         default folder for power4 configuration.
20659 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20661         * scripts/bench.pl: Append volatile keyword to type.
20663 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20665         * sysdeps/sh/sotruss-lib.c: New file.
20666         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20668 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20672 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20674         [BZ #6810]
20675         * math/w_tgamma.c: Include <errno.h>.
20676         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20677         * math/w_tgammaf.c: Include <errno.h>.
20678         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20679         * math/w_tgammal.c: Include <errno.h>.
20680         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20681         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20682         underflow.  Add more tgamma tests.
20683         * math/auto-libm-test-out: Regenerated.
20684         * sysdeps/i386/fpu/libm-test-ulps: Update.
20685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20687         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20688         sin, sinh, tan, tanh, tgamma, y0 and y1.
20689         * math/auto-libm-test-out: Regenerated.
20690         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20691         (TEST_COND_x86): Likewise.
20692         (M_E2l): Remove macro.
20693         (M_E3l): Likewise.
20694         (M_2_SQRT_PIl): Likewise.
20695         (M_SQRT_PIl): Likewise.
20696         (M_1_DIV_El): Likewise.
20697         (log_test_data): Use AUTO_TESTS_f_f.
20698         (log10_test_data): Likewise.
20699         (log1p_test_data): Likewise.
20700         (log2_test_data): Likewise.
20701         (sin_test_data): Likewise.
20702         (sin_tonearest_test_data): Likewise.
20703         (sin_towardzero_test_data): Likewise.
20704         (sin_downward_test_data): Likewise.
20705         (sin_upward_test_data): Likewise.
20706         (sinh_test_data): Likewise.
20707         (sinh_tonearest_test_data): Likewise.
20708         (sinh_towardzero_test_data): Likewise.
20709         (sinh_downward_test_data): Likewise.
20710         (sinh_upward_test_data): Likewise.
20711         (tan_test_data): Likewise.
20712         (tan_tonearest_test_data): Likewise.
20713         (tan_towardzero_test_data): Likewise.
20714         (tan_downward_test_data): Likewise.
20715         (tan_upward_test_data): Likewise.
20716         (tanh_test_data): Likewise.
20717         (tgamma_test_data): Likewise.
20718         (y0_test_data): Likewise.
20719         (y1_test_data): Likewise.
20720         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20721         (special_real_inputs): Add pi/4.
20722         * sysdeps/i386/fpu/libm-test-ulps: Update.
20723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20725 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20727         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20728         "longjmp_target" static probes.
20729         (__longjmp): Rename to __longjmp_symbol.
20730         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20731         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20732         on which longjmp to generate.
20733         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20734         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20735         probe.
20736         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20737         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20738         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20739         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20740         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20741         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20743         __longjmp_symbol based on which __longjmp to generate.
20744         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20745         probe.
20746         (setjmp): Rename to setjmp_symbol.
20747         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20748         (_setjmp): Rename to _setjmp_symbol.
20749         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20750         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20751         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20752         which setjmp to generate.
20753         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20754         "longjmp_target" static probes.
20756 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20758         * benchtests/README: Add note about output arguments.
20759         * benchtests/bench-sincos.c: Remove file.
20760         * benchtests/sincos-inputs: New file.
20761         * scripts/bench.pl: Identify output arguments and define
20762         static variables for them.
20764         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20766         [BZ #15941]
20767         * Makefile (INSTALL): Add install-plain.texi as the primary
20768         dependency.
20769         * manual/install-plain.texi: New file.
20770         * manual/install.texi: Include node directive only for
20771         non-plaintext output.
20773 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20775         * stdlib/longlong.h: Update from GCC.
20777         [BZ #6807]
20778         [BZ #15901]
20779         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20780         * math/w_j0f.c (y0f): Likewise.
20781         * math/w_j0l.c (__y0l): Likewise.
20782         * math/w_j1.c (y1): Likewise.
20783         * math/w_j1f.c (y1f): Likewise.
20784         * math/w_j1l.c (__y1l): Likewise
20785         * math/w_jn.c (yn): Likewise.
20786         * math/w_jnf.c (ynf): Likewise.
20787         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20788         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20789         value for Bessel function domain errors outside _SVID_ mode.
20790         Adjust sign of return value for yn (negative integer, 0).
20791         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20792         by zero in return for negative x and set sign appropriately for
20793         negative n.
20794         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20795         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20796         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20797         expectations in error cases.
20798         (y1_test_data): Likewise.
20799         (yn_test_data): Likewise.
20800         * sysdeps/i386/fpu/libm-test-ulps: Update.
20801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20803 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20805         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20806         "64" to "64-v1".  Add "64-v2".
20807         (abi-64-options): Rename to ...
20808         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20809         (abi-64-condition): Rename to ...
20810         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20811         (abi-64-ld-soname): Rename to ...
20812         (abi-64-v1-ld-soname): ... this.
20813         (abi-64-v2-options): Define.
20814         (abi-64-v2-condition): Likewise.
20815         (abi-64-v2-ld-soname): Likewise.
20816         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20817         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20822 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20823             Alan Modra  <amodra@gmail.com>
20825         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20826         New versions for use with the ELFv2 ABI.
20827         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20828         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20829         declaration.
20830         (struct La_ppc64v2_retval): Likewise.
20831         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20832         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20833         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20834         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20835         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20836         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20837         Do not save or restore CR.
20838         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20839         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20840         return values for ELFv2 ABI.  Fix location of FPR return registers.
20841         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20842         updated values for _CALL_ELF == 2.
20843         (La_regs, La_retval, int_retval): Likewise.
20845 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20847         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20848         (FRAME_MIN_SIZE_PARM): Likewise.
20849         (FRAME_BACKCHAIN): Likewise.
20850         (FRAME_CR_SAVE): Likewise.
20851         (FRAME_LR_SAVE): Likewise.
20852         (FRAME_TOC_SAVE): Likewise.
20853         (FRAME_PARM_SAVE): Likewise.
20854         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20855         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20856         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20857         (call_mcount_parm_offset): New macro.
20858         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20859         (PROF): Use symbolic stack frame offsets.
20860         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20861         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20862         Redefine in terms of FRAME_MIN_SIZE.
20863         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20864         (_dl_profile_resolve): Likewise.  Update comment.
20865         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20866         symbols stack frame offsets.
20867         (__sigsetjmp): Likewise.
20868         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20869         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20870         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20871         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20874         (FRAME_BACKCHAIN): Remove.
20875         (FRAME_CR_SAVE): Likewise.
20876         (FRAME_LR_SAVE): Likewise.
20877         (FRAME_COMPILER_DW): Likewise.
20878         (FRAME_LINKER_DW): Likewise.
20879         (FRAME_TOC_SAVE): Likewise.
20880         (FRAME_PARM_SAVE): Likewise.
20881         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20882         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20883         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20885         (CHECK_SP): Use symbolic stack frame offsets.
20886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20887         zone" instead of caller's parameter save area for temp storage.
20888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20889         Likewise.  Also, use symbolic stack frame offsets.
20890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20891         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20892         our own stack frame instead of the caller's.
20893         (__socket): Use symbolic stack frame offsets.
20895 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20896             Alan Modra  <amodra@gmail.com>
20898         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20899         Define.
20900         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20901         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20902         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20903         New function.
20904         (elf_machine_fixup_plt): Call it.
20905         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20906         reloc arguments.
20907         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20908         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20909         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20910         r2 before calling target.
20912 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20913             Alan Modra  <amodra@gmail.com>
20915         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20916         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20917         versions of macros to support ELFv2 ABI.
20918         (LOCALENTRY): New macro.
20919         (ENTRY, EALIGN): Use it.
20920         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20921         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20922         fall through into ENTRY entry point.
20923         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20924         Only define if _CALL_ELF != 2.
20926         (elf_machine_matches_host): Verify ABI version matches.
20927         (RTLD_START): Use LOCALENTRY.
20928         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20929         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20930         (PLT_ENTRY_WORDS): New macro.
20931         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20932         (elf_machine_runtime_setup): Support ELFv2 ABI.
20933         (elf_machine_fixup_plt): Likewise.
20934         (elf_machine_plt_conflict): Likewise.
20935         (resolve_ifunc): Likewise.
20936         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20937         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20938         Likewise.
20939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20940         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20942         (makecontext): Support ELFv2 ABI.
20943         * elf/elf.h (EF_PPC64_ABI): Define.
20945 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20947         * sysdeps/powerpc/powerpc64/sysdep.h
20948         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20949         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20950         (ENTRY) [ASSEMBLER]: ... but instead here ...
20951         (EALIGN) [ASSEMBLER]: ... and here.
20952         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20953         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20954         (ENTRY_2) [!ASSEMBLER]: Use it.
20955         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20956         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20957         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20958         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20959         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20961         Use PPC64_LOAD_FUNCPTR.
20963         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20965 2013-12-04  Alan Modra  <amodra@gmail.com>
20967         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20968         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20969         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20970         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20972         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20973         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20974         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20975         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20976         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20977         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20979 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20982         (__makecontext): Fix incorrect CFI when backtracing out of
20983         context created via makecontext.
20984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20985         (__setcontext): Fix incorrect CFI during switch to new context.
20986         (__novec_setcontext): Likewise.
20988 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20990         [BZ #4772]
20991         * time/strptime_l.c (__strptime_internal): Allow modifiers
20992         in strptime.
20993         * time/tst-strptime.c (day_tests): Add testcase.
20995 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20997         * scripts/bench.pl: Skip over blank lines.
20999 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21001         [BZ #926]
21002         * manual/time.texi (Calendar Time): Clarify what timezone functions
21003         use.
21005 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21009 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
21011         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21012         implementation.
21013         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21014         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21015         * debug/memset_chk.c (__memset_chk): Likewise.
21016         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21017         * debug/strncpy_chk.c: Likewise.
21019 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21021         [BZ #15268]
21022         [BZ #15425]
21023         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21024         (__ieee754_exp): For possibly underflowing results, check size of
21025         result and force underflow exception if required.
21026         * math/auto-libm-test-in: Add more tests of exp.
21027         * math/auto-libm-test-out: Regenerated.
21028         * sysdeps/i386/fpu/libm-test-ulps: Update.
21029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21031         [BZ #16283]
21032         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21033         * math/w_exp2f.c (__exp2f): Likewise.
21034         * math/w_exp2l.c (__exp2l): Likewise.
21035         * math/auto-libm-test-in: Do not allow missing errno on exp2
21036         underflow.
21037         * math/auto-libm-test-out: Regenerated.
21039 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
21041         [BZ #16274]
21042         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21043         handle filename validation.
21044         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21045         (do_open): Delete.
21047 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21049         [BZ #6786]
21050         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21051         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21052         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21053         <float.h>.
21054         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21055         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21056         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21057         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21058         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21059         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21060         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21061         * math/auto-libm-test-in: Don't allow missing errno from erfc.
21062         Add more erfc tests.
21063         * math/auto-libm-test-out: Regenerated.
21064         * sysdeps/i386/fpu/libm-test-ulps: Update.
21065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21067         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21068         exp2, expm1, j0 and j1.
21069         * math/auto-libm-test-out: Regenerated.
21070         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21071         (erfc_test_data): Likewise.
21072         (exp_test_data): Likewise.
21073         (exp_tonearest_test_data): Likewise.
21074         (exp_towardzero_test_data): Likewise.
21075         (exp_downward_test_data): Likewise.
21076         (exp_upward_test_data): Likewise.
21077         (exp10_test_data): Likewise.
21078         (exp2_test_data): Likewise.
21079         (expm1_test_data): Likewise.
21080         (j0_test_data): Likewise.
21081         (j1_test_data): Likewise.
21082         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21083         (input_flag_type): Add flag_xfail_rounding.
21084         (input_flags): Add xfail-rounding.
21085         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21086         (output_for_one_input_case): Handle flag_xfail_rounding.
21087         * sysdeps/i386/fpu/libm-test-ulps: Update.
21088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21090 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
21092         [BZ #16289]
21093         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21094         division by 0.
21096 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21098         [BZ #16195]
21099         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21100         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21101         (STAP_PROBE0): New macro.
21102         (STAP_PROBE1): Likewise.
21103         (STAP_PROBE2): Likewise.
21104         (STAP_PROBE3): Likewise.
21105         (STAP_PROBE4): Likewise.
21107 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
21109         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21111 2013-12-02  Steve Ellcey  <sellcey@mips.com>
21113         * benchtests/Makefile (bench): Add sqrt.
21114         (LDLIBS-bench-sqrt): New.
21115         * benchtests/sqrt-input: New.
21117 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
21119         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21120         (GAIH_EAI): Likewise.
21121         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21122         (gaih_inet): Likewise.
21123         (getaddrinfo): Don't use GAIH_EAI.
21125         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21126         (struct gaih): Remove definition.
21128 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21130         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21131         Use HERRNOP directly.
21133 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21137 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
21139         * math/gen-auto-libm-tests.c (test_functions): Add more
21140         single-argument functions.
21141         (special_fill_pi_2): New function.
21142         (special_fill_minus_pi_2): Likewise.
21143         (special_fill_pi_6): Likewise.
21144         (special_fill_minus_pi_6): Likewise.
21145         (special_fill_pi_3): Likewise.
21146         (special_fill_2pi_3): Likewise.
21147         (special_fill_e): Likewise.
21148         (special_fill_1_e): Likewise.
21149         (special_fill_e_minus_1): Likewise.
21150         (special_real_inputs): Add more special inputs.
21151         (output_for_one_input_case): Do not require ERANGE on underflow to
21152         zero if round-to-nearest result does not underflow to zero, unless
21153         exact results required.
21154         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21155         atan, atanh, cbrt, cos and cosh.
21156         * math/auto-libm-test-out: Regenerated.
21157         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21158         (acos_tonearest_test_data): Likewise.
21159         (acos_towardzero_test_data): Likewise.
21160         (acos_downward_test_data): Likewise.
21161         (acos_upward_test_data): Likewise.
21162         (acosh_test_data): Likewise.
21163         (asin_test_data): Likewise.
21164         (asin_tonearest_test_data): Likewise.
21165         (asin_towardzero_test_data): Likewise.
21166         (asin_upward_test_data): Likewise.
21167         (asinh_test_data): Likewise.
21168         (atan_test_data): Likewise.
21169         (atanh_test_data): Likewise.
21170         (cbrt_test_data): Likewise.
21171         (cos_test_data): Likewise.
21172         (cos_tonearest_test_data): Likewise.
21173         (cos_towardzero_test_data): Likewise.
21174         (cos_downward_test_data): Likewise.
21175         (cos_upward_test_data): Likewise.
21176         (cosh_test_data): Likewise.
21177         (cosh_tonearest_test_data): Likewise.
21178         (cosh_towardzero_test_data): Likewise.
21179         (cosh_downward_test_data): Likewise.
21180         (cosh_upward_test_data): Likewise.
21181         * sysdeps/i386/fpu/libm-test-ulps: Update.
21182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21184 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
21186         [BZ #6787]
21187         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21188         * math/w_exp10f.c (__exp10f): Likewise.
21189         * math/w_exp10l.c (__exp10l): Likewise.
21190         * math/libm-test.inc (exp10_test_data): Add more tests and expect
21191         errno settings in existing tests.
21193         [BZ #14032]
21194         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21195         precision control set to double precision.
21196         * sysdeps/i386/fpu/w_sqrt.c: New file.
21197         * math/auto-libm-test-in: Add more tests.
21198         * math/auto-libm-test-out: Update.
21200         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21201         (sqrt_test_tonearest): New function.
21202         (sqrt_towardzero_test_data): New variable.
21203         (sqrt_test_towardzero): New function.
21204         (sqrt_downward_test_data): New variable.
21205         (sqrt_test_downward): New function.
21206         (sqrt_upward_test_data): New variable.
21207         (sqrt_test_upward): New function.
21208         (main): Call the new functions.
21210         * math/gen-auto-libm-tests.c: New file.
21211         * math/auto-libm-test-in: Likewise.
21212         * math/auto-libm-test-out: New generated file.
21213         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21214         variables.
21215         (%beautify): Add generated representations of zero.
21216         (top level): Set $auto_input and call parse_auto_input.
21217         (beautify): Remove trailing "f" from hex float constants.
21218         (parse_args): Handle XFAIL_TEST.
21219         (convert_condition): New function.
21220         (or_value): Likewise.
21221         (or_cond_value): Likewise.
21222         (generate_testfile): Handle AUTO_TESTS_* lines.
21223         (parse_auto_input): New function.
21224         * math/libm-test.inc (XFAIL_TEST): New macro.
21225         (ERRNO_UNCHANGED): Update value.
21226         (ERRNO_EDOM): Likewise.
21227         (ERRNO_ERANGE): Likewise.
21228         (IGNORE_RESULT): Likewise.
21229         (TEST_COND_flt_32): New macro.
21230         (TEST_COND_dbl_64): Likewise.
21231         (TEST_COND_ldbl_96_intel): Likewise.
21232         (TEST_COND_ldbl_96_m68k): Likewise.
21233         (TEST_COND_ldbl_128): Likewise.
21234         (TEST_COND_ldbl_128ibm): Likewise.
21235         (TEST_COND_long32): Likewise.
21236         (TEST_COND_long64): Likewise.
21237         (TEST_COND_before_rounding): Likewise.
21238         (TEST_COND_after_rounding): Likewise.
21239         (enable_test): Handle XFAIL_TEST flag.
21240         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21241         with finite results.
21242         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21243         auto-libm-test-out.
21245 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21246             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21248         [BZ #16214]
21249         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21250         __tls_get_addr_internal instead of __tls_get_offset in order to
21251         avoid GOT pointer dependency.  Make rtld export
21252         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21253         __tls_get_addr since we are a __tls_get_offset platform.
21254         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21255         GOT pointer being set up before.
21256         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21258 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
21260         * manual/math.texi (Errors in Math Functions): Document accuracy
21261         goals.
21263         [BZ #15004]
21264         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21265         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21266         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21267         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21268         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21269         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21270         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21271         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21272         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21273         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21274         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21275         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21276         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21277         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21278         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21279         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21281         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21282         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21283         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21284         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21285         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21286         Likewise.
21287         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21288         Likewise.
21289         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21290         Likewise.
21291         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21292         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21293         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21294         atomic-feupdateenv and flt-rounds.
21295         * sysdeps/powerpc/nofpu/Versions (libc): Add
21296         __atomic_feholdexcept, __atomic_feclearexcept,
21297         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21298         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21299         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21300         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21301         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21302         here.
21303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21304         Update.
21306         * manual/arith.texi (FP Exceptions): Document that exceptions may
21307         not be raised when matherr is used.
21308         (Math Error Reporting): Document overflow in directed rounding
21309         modes.  Document that errno may not be set when finite values are
21310         returned on overflow.  Document intent to set errno on underflow
21311         only for underflow to zero.
21313         [BZ #16271]
21314         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21315         round-to-nearest then adjust result for other rounding modes.
21316         * include/fenv.h (fegetround): Use libm_hidden_proto.
21317         * math/fegetround.c (fegetround): Use libm_hidden_def.
21318         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21319         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21320         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21321         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21322         Likewise.
21323         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21324         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21325         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21326         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21328 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21330         [BZ #16077]
21331         * nss/Versions (libnss_files): Add
21332         _nss_files_gethostbyname3_r.
21333         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21334         New function.
21335         (HOST_DB_LOOKUP): Remove macro.
21336         (_nss_files_gethostbyname_r): Implement function without the
21337         HOST_DB_LOOKUP macro.
21338         (_nss_files_gethostbyname2_r): Likewise.
21340 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
21342         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21344 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
21346         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21347         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21348         warning.
21350 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21352         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21353         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21354         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21355         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21356         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21357         __fe_nomask_env_priv and attribute_hidden.
21358         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21359         (libc_feupdateenv_test_ppc): Likewise.
21360         (libc_feresetround_ppc): Likewise.
21361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21362         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21363         compat_symbol macro.
21364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21365         (__fe_nomask_env): Likewise.
21366         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21368 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21370         * string/Makefile: Remove ifunc tests.
21371         * string/test-string.h: Define TEST_IFUNC.
21372         * string/test-bcopy-ifunc.c: Remove.
21373         * string/test-bzero-ifunc.c: Likewise.
21374         * string/test-memccpy-ifunc.c: Likewise.
21375         * string/test-memchr-ifunc.c: Likewise.
21376         * string/test-memcmp-ifunc.c: Likewise.
21377         * string/test-memcpy-ifunc.c: Likewise.
21378         * string/test-memmem-ifunc.c: Likewise.
21379         * string/test-memmove-ifunc.c: Likewise.
21380         * string/test-mempcpy-ifunc.c: Likewise.
21381         * string/test-memrchr-ifunc.c: Likewise.
21382         * string/test-memset-ifunc.c: Likewise.
21383         * string/test-rawmemchr-ifunc.c: Likewise.
21384         * string/test-stpcpy-ifunc.c: Likewise.
21385         * string/test-stpncpy-ifunc.c: Likewise.
21386         * string/test-strcasecmp-ifunc.c: Likewise.
21387         * string/test-strcasestr-ifunc.c: Likewise.
21388         * string/test-strcat-ifunc.c: Likewise.
21389         * string/test-strchr-ifunc.c: Likewise.
21390         * string/test-strchrnul-ifunc.c: Likewise.
21391         * string/test-strcmp-ifunc.c: Likewise.
21392         * string/test-strcpy-ifunc.c: Likewise.
21393         * string/test-strcspn-ifunc.c: Likewise.
21394         * string/test-strlen-ifunc.c: Likewise.
21395         * string/test-strncasecmp-ifunc.c: Likewise.
21396         * string/test-strncat-ifunc.c: Likewise.
21397         * string/test-strncmp-ifunc.c: Likewise.
21398         * string/test-strncpy-ifunc.c: Likewise.
21399         * string/test-strnlen-ifunc.c: Likewise.
21400         * string/test-strpbrk-ifunc.c: Likewise.
21401         * string/test-strrchr-ifunc.c: Likewise.
21402         * string/test-strspn-ifunc.c: Likewise.
21403         * string/test-strstr-ifunc.c: Likewise.
21405 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21407         * benchtests/Makefile: Remove ifunc tests.
21408         * benchtests/bench-string.h: Define TEST_IFUNC.
21409         * benchtests/bench-bcopy-ifunc.c: Remove.
21410         * benchtests/bench-bzero-ifunc.c: Likewise.
21411         * benchtests/bench-memccpy-ifunc.c: Likewise.
21412         * benchtests/bench-memchr-ifunc.c: Likewise.
21413         * benchtests/bench-memcmp-ifunc.c: Likewise.
21414         * benchtests/bench-memcpy-ifunc.c: Likewise.
21415         * benchtests/bench-memmem-ifunc.c: Likewise.
21416         * benchtests/bench-memmove-ifunc.c: Likewise.
21417         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21418         * benchtests/bench-memrchr-ifunc.c: Likewise.
21419         * benchtests/bench-memset-ifunc.c: Likewise.
21420         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21421         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21422         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21423         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21424         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21425         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21426         * benchtests/bench-strcat-ifunc.c: Likewise.
21427         * benchtests/bench-strchr-ifunc.c: Likewise.
21428         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21429         * benchtests/bench-strcmp-ifunc.c: Likewise.
21430         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21431         * benchtests/bench-strcpy-ifunc.c: Likewise.
21432         * benchtests/bench-strcspn-ifunc.c: Likewise.
21433         * benchtests/bench-strlen-ifunc.c: Likewise.
21434         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21435         * benchtests/bench-strncat-ifunc.c: Likewise.
21436         * benchtests/bench-strncmp-ifunc.c: Likewise.
21437         * benchtests/bench-strncpy-ifunc.c: Likewise.
21438         * benchtests/bench-strnlen-ifunc.c: Likewise.
21439         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21440         * benchtests/bench-strrchr-ifunc.c: Likewise.
21441         * benchtests/bench-strsep-ifunc.c: Likewise.
21442         * benchtests/bench-strspn-ifunc.c: Likewise.
21443         * benchtests/bench-strstr-ifunc.c: Likewise.
21445 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21447         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21449 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21451         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21452         * rt/aio.h: Likewise.
21453         * sysdeps/gnu/bits/utmp.h: Likewise.
21454         * sysdeps/gnu/bits/utmpx.h: Likewise.
21455         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21456         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21457         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21458         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21459         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21460         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21461         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21462         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21463         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21464         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21465         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21466         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21467         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21469         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21470         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21471         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21472         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21473         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21474         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21475         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21476         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21477         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21478         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21479         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21480         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21481         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21482         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21483         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21484         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21485         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21486         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21487         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21488         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21489         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21490         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21491         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21492         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21493         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21494         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21495         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21496         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21498 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21500         [BZ #16245]
21501         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21502         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21504 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21506         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21507         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21508         Likewise.
21510 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21512         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21513         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21514         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21515         (__fesetround): Remove define.
21516         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21517         rounding and exceptions handling.
21518         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21519         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21520         (__fe_nomask_env): Likewise.
21521         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21522         __fegetround instead of fegetround.
21523         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21524         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21526 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21528         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21529         it's there.
21531         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21533 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21535         [BZ #11157]
21536         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21537         (encrypt_r): Likewise.
21538         * malloc/obstack.h (obstack_free): Likewise.
21539         * posix/unistd.h (encrypt): Likewise.
21541 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21543         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21544         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21545         DL_CALL_DT_FINI() that call the functions directly.
21546         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21547         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21548         * elf/dl-fini.c: Likewise.
21550 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21552         * malloc/hooks.c (memalign_check): Add alignment rounding.
21553         * malloc/malloc.c (_mid_memalign): New function.
21554         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21555         Implement by calling _mid_memalign.
21556         * manual/probes.texi (Memory Allocation Probes): Remove
21557         memory_valloc_retry and memory_pvalloc_retry.
21559 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21561         * locale/programs/locarchive.c (open_archive): Add const
21562         qualifier to ARCHIVEFNAME and copy default fname to
21563         DEFAULT_FNAME.
21565         [BZ #15601]
21566         * libio/tst-widetext.input: Rename Oriya to Odia.
21567         * locale/iso-639.def: Likewise.
21569         * manual/probes.texi (Mathematical Function Probes): Add
21570         documentation for sin, cos, asin and acos probes.
21571         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21572         (__sin32): Add slowasin probe.
21573         (__cos32): Add slowacos probe.
21574         (__mpsin): Add slowsin probe.
21575         (__mpcos): Add slowcos probe.
21577 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21579         [BZ #15483]
21580         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21581         thread-local __sim_exceptions_thread and global
21582         __sim_exceptions_global.
21583         (__sim_disabled_exceptions): Change to thread-local
21584         __sim_disabled_exceptions_thread and global
21585         __sim_disabled_exceptions_global.
21586         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21587         and global __sim_round_mode_global.
21588         (__simulate_exceptions): Use thread-local floating-point state and
21589         set global state from it as needed.
21590         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21591         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21592         __sim_round_mode_thread.
21593         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21594         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21595         and global __sim_exceptions_global.
21596         (__sim_disabled_exceptions): Change to thread-local
21597         __sim_disabled_exceptions_thread and global
21598         __sim_disabled_exceptions_global.
21599         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21600         and global __sim_round_mode_global.
21601         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21602         (SIM_SET_GLOBAL): Likewise.
21603         * sysdeps/powerpc/soft-fp/sfp-machine.h
21604         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21605         __sim_round_mode_thread.
21606         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21607         __sim_disabled_exceptions_thread.
21608         (__sim_exceptions): Change to __sim_exceptions_thread.
21609         (__sim_disabled_exceptions): Change to
21610         __sim_disabled_exceptions_thread.
21611         (__sim_round_mode): Change to __sim_round_mode_thread.
21612         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21613         thread-local floating-point state and set global state from it as
21614         needed.
21615         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21616         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21617         (__sim_disabled_exceptions): Remove extern declaration.
21618         (feenableexcept): Use thread-local floating-point state and set
21619         global state from it as needed.
21620         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21621         extern declaration.
21622         (__sim_disabled_exceptions): Likewise.
21623         (__sim_round_mode): Likewise.
21624         (__fegetenv): Use thread-local floating-point state.
21625         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21626         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21627         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21628         floating-point state and set global state from it as needed.
21629         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21630         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21631         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21632         Likewise.
21633         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21634         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21635         Likewise.
21636         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21637         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21638         Use __sim_round_mode_thread.
21639         * math/test-fenv-tls.c: New file.
21640         * math/Makefile (tests): Add test-fenv-tls.
21641         ($(objpfx)test-fenv-tls): Depend on
21642         $(common-objpfx)nptl/libpthread.so.
21644 2013-11-19  Andreas Schwab  <schwab@suse.de>
21646         * locale/programs/locale.c (show_info): Decode wordarray elements.
21647         * locale/categories.def (LC_MONETARY): Add element for
21648         _NL_MONETARY_CRNCYSTR.
21649         * locale/C-monetary.c (conversion_rate): New variable.
21650         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21651         element.
21653 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
21655         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21656         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21658 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21660         * elf/Makefile (tst-auxv): New test.
21661         * elf/tst-auxv.c: New
21662         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21664 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21666         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21667         (hidden_proto): Caller changed.
21668         (hidden_tls_proto): New macro.
21669         (libc_hidden_tls_proto): Likewise.
21670         (rtld_hidden_tls_proto): Likewise.
21671         (libm_hidden_tls_proto): Likewise.
21672         (libresolv_hidden_tls_proto): Likewise.
21673         (librt_hidden_tls_proto): Likewise.
21674         (libdl_hidden_tls_proto): Likewise.
21675         (libnss_files_hidden_tls_proto): Likewise.
21676         (libnsl_hidden_tls_proto): Likewise.
21677         (libnss_nisplus_hidden_tls_proto): Likewise.
21678         (libutil_hidden_tls_proto): Likewise.
21680 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21682         [BZ #10253]
21683         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21684         (decompose_rpath): Defer expansion to fillin_rpath.
21685         (_dl_init_paths): Pass linkmap to fillin_rpath.
21687 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21689         * benchtests/Makefile: Add strsep.
21690         * benchtests/bench-strsep.c: New file: strsep benchtest.
21691         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21693 2013-11-18  Andreas Schwab  <schwab@suse.de>
21695         * locale/programs/locale.c (show_info) [case byte]: Check for
21696         '\377' instead of '\177'.
21697         * locale/C-monetary.c (not_available): Always use "\377".
21698         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21699         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21700         detect unavailable sign_posn locale elements.
21701         * locale/localeconv.c (__localeconv): For grouping and
21702         mon_grouping handle "\177" and "\377" like no grouping.
21703         (INT_ELEM): New macro.  Use it to set all numeric members.
21704         * locale/programs/ld-monetary.c (monetary_read)
21705         <tok_mon_grouping>: Normalize single -1 to the empty string.
21706         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21707         Likewise.
21709 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21711         [BZ #16055]
21712         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21713         when we match (nil).
21714         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21716 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21718         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21719         (NO_TEST_INLINE): Update value.
21720         (ERRNO_UNCHANGED): Likewise.
21721         (ERRNO_EDOM): Likewise.
21722         (ERRNO_ERANGE): Likewise.
21723         (IGNORE_RESULT): Likewise.
21724         (check_float_internal): Check signs of NaN results if
21725         TEST_NAN_SIGN used.
21726         (check_complex): Pass TEST_NAN_SIGN flag through to second
21727         check_float_internal call.
21728         (copysign_test_data): Add tests with quiet NaNs as second
21729         argument.  Use TEST_NAN_SIGN.
21730         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21731         TEST_NAN_SIGN.
21732         (signbit_test_data): Add tests of quiet NaN argument.
21733         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21735         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21736         $ignore_result.
21737         (parse_args): Handle function results specified as IGNORE.
21738         * math/libm-test.inc (IGNORE_RESULT): New macro.
21739         (check_float_internal): Do not check numerical result if flag
21740         IGNORE_RESULT set.
21741         (check_complex): Pass through IGNORE_RESULT to second
21742         check_float_internal call.
21743         (check_int): Do not check numerical result if flag IGNORE_RESULT
21744         set.
21745         (check_long): Likewise.
21746         (check_bool): Likewise.
21747         (check_longlong): Likewise.
21748         (lrint_test_data): Add tests of infinite and NaN arguments.
21749         (lrint_tonearest_test_data): Likewise.
21750         (lrint_towardzero_test_data): Likewise.
21751         (lrint_downward_test_data): Likewise.
21752         (lrint_upward_test_data): Likewise.
21753         (llrint_test_data): Likewise.
21754         (llrint_tonearest_test_data): Likewise.
21755         (llrint_towardzero_test_data): Likewise.
21756         (llrint_downward_test_data): Likewise.
21757         (llrint_upward_test_data): Likewise.
21758         (lround_test_data): Likewise.
21759         (llround_test_data): Likewise.
21761         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21762         (ERRNO_UNCHANGED): Update value.
21763         (ERRNO_EDOM): Likewise.
21764         (ERRNO_ERANGE): Likewise.
21765         (NO_TEST_INLINE_FLOAT): New macro.
21766         (NO_TEST_INLINE_DOUBLE): Likewise.
21767         (enable_test): New function.
21768         (RUN_TEST_f_f): Check enable_test before running test.
21769         (RUN_TEST_2_f): Likewise.
21770         (RUN_TEST_fff_f): Likewise.
21771         (RUN_TEST_c_f): Likewise.
21772         (RUN_TEST_f_f1): Likewise.
21773         (RUN_TEST_fF_f1): Likewise.
21774         (RUN_TEST_fI_f1): Likewise.
21775         (RUN_TEST_ffI_f1): Likewise.
21776         (RUN_TEST_c_c): Likewise.
21777         (RUN_TEST_cc_c): Likewise.
21778         (RUN_TEST_f_i): Likewise.
21779         (RUN_TEST_f_i_tg): Likewise.
21780         (RUN_TEST_ff_i_tg): Likewise.
21781         (RUN_TEST_f_b): Likewise.
21782         (RUN_TEST_f_b_tg): Likewise.
21783         (RUN_TEST_f_l): Likewise.
21784         (RUN_TEST_f_L): Likewise.
21785         (RUN_TEST_fFF_11): Likewise.
21786         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21787         conditionals.
21788         (cosh_test_data): Likewise.
21789         (exp_test_data): Likewise.
21790         (expm1_test_data): Likewise.
21791         (hypot_test_data): Likewise.
21792         (pow_test_data): Likewise.
21793         (sinh_test_data): Likewise.
21794         (tanh_test_data): Likewise.
21795         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21796         flags argument.
21798         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21799         tests with quiet NaN input and output.
21800         (acosh_test_data): Likewise.
21801         (asin_test_data): Likewise.
21802         (asinh_test_data): Likewise.
21803         (atan_test_data): Likewise.
21804         (atanh_test_data): Likewise.
21805         (atan2_test_data): Likewise.
21806         (cbrt_test_data): Likewise.
21807         (cos_test_data): Likewise.
21808         (cosh_test_data): Likewise.
21809         (erf_test_data): Likewise.
21810         (erfc_test_data): Likewise.
21811         (exp_test_data): Likewise.
21812         (exp10_test_data): Likewise.
21813         (exp2_test_data): Likewise.
21814         (expm1_test_data): Likewise.
21815         (hypot_test_data): Likewise.
21816         (j0_test_data): Likewise.
21817         (j1_test_data): Likewise.
21818         (jn_test_data): Likewise.
21819         (lgamma_test_data): Likewise.
21820         (log_test_data): Likewise.
21821         (log10_test_data): Likewise.
21822         (log1p_test_data): Likewise.
21823         (log2_test_data): Likewise.
21824         (pow_test_data): Likewise.
21825         (scalb_test_data): Likewise.
21826         (sin_test_data): Likewise.
21827         (sincos_test_data): Likewise.
21828         (sinh_test_data): Likewise.
21829         (tan_test_data): Likewise.
21830         (tanh_test_data): Likewise.
21831         (tgamma_test_data): Likewise.
21832         (y0_test_data): Likewise.
21833         (y1_test_data): Likewise.
21834         (yn_test_data): Likewise.
21836         [BZ #16167]
21837         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21838         argument being NaN and avoid computations with second argument in
21839         that case.
21840         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21841         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21842         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21844 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21846         * locale/iso-639.def: Add Chitwani Tharu (the).
21848 2013-11-14  Andreas Schwab  <schwab@suse.de>
21850         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21851         word instead of empty string.
21853 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21856         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21858         (__fe_nomask_env): Likewise.
21860 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21862         * benchtests/bench-timing.h: Include time.h.
21864 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21866         [BZ #15997]
21867         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21868         to 3.4.0 for x32.
21869         * sysdeps/unix/sysv/linux/configure: Regenerated.
21871 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21873         [BZ #16151]
21874         * stdlib/strtod_l.c (round_and_return): Do not consider
21875         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21876         exponent one less than half the least subnormal exponent.
21877         * stdlib/test-strtod-round-data: Add more tests.
21878         * stdlib/tst-strtod-round.c (tests): Regenerated.
21880 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21882         [BZ #14143]
21883         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21884         (__fe_mask_env): Likewise.
21885         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21886         libm_hidden_proto and add function prototype.
21887         (__fe_mask_env): Add function prototype.
21888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21889         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21891         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21893         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21895 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21897         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21898         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21900 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21902         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21903         of htab_find_slot().
21905 2013-11-11  David S. Miller  <davem@davemloft.net>
21907         [BZ #16150]
21908         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21909         symbol in the non-vis3 case in static builds.
21910         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21911         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21912         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21913         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21915 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21917         [BZ #387]
21918         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21919         it is empty.
21921 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21923         * benchtests/Makefile: Add bench-strtod.
21924         * benchtests/bench-strtod.c: New file: strtod benchtest
21926 2013-11-11  Andreas Schwab  <schwab@suse.de>
21928         [BZ #16153]
21929         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21930         terminating NUL in key length.
21932 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21934         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21935         Add artificial ODP entry for vDSO symbol for PPC64.
21936         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21937         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21939 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21941         [BZ #15374]
21942         * nss/getent.c (services_keys): Recognize services starting with digit.
21944 2013-11-06  David S. Miller  <davem@davemloft.net>
21946         [BZ #15985]
21947         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21948         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21950 2013-11-06  Will Newton  <will.newton@linaro.org>
21952         * manual/memory.texi (Malloc Examples): Remove register
21953         keyword from examples.
21955 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21957         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21959 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21961         [BZ #6981]
21962         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21963         depending on [__GCC_IEC_559 > 0].
21964         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21965         depending on [__GCC_IEC_559_COMPLEX > 0].
21967 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21969         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21970         to iso-639.def.
21972 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21974         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21976 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21978         [BZ #16112]
21979         * malloc/malloc (malloc_info): Do not handle first bin as
21980         special case.
21982 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21984         * locale/iso-639.def: Add Central Nahuatl (nhn).
21986 2013-11-01  Bruno Haible  <bruno@clisp.org>
21988         [BZ #7003]
21989         * manual/math.texi (BSD Random): Specify range upper bound as
21990         in POSIX.
21992 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21994         * locale/iso-639.def: Add Meadow Mari (mhr).
21996 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21998         [BZ #14752], [BZ #15763]
21999         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22000         Validate name.
22001         * rt/tst_shm.c: Add test for escaping directory.
22003 2013-10-31  Andreas Schwab  <schwab@suse.de>
22005         [BZ #15917]
22006         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22007         followed by 'x' as part of digit sequence.
22008         * stdio-common/tst-sscanf.c (double_tests2): New tests.
22010 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22012         [BZ #16037]
22013         * configure.ac: allow GNU Make 4.0 and greater.
22014         * configure: Regenerated.
22016 2013-10-30  Will Newton  <will.newton@linaro.org>
22018         [BZ #16038]
22019         * malloc/hooks.c (memalign_check): Limit alignment to the
22020         maximum representable power of two.
22021         * malloc/malloc.c (__libc_memalign): Likewise.
22022         * malloc/tst-memalign.c (do_test): Add test for very
22023         large alignment values.
22024         * malloc/tst-posix_memalign.c (do_test): Likewise.
22026 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
22028         [BZ #11087]
22029         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22030         (munmap_chunk): Likewise.
22031         (mremap_chunk): Likewise.
22033 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
22035         [BZ #15799]
22036         * stdlib/div.c (div): Remove obsolete code.
22037         * stdlib/ldiv.c (ldiv): Likewise.
22038         * stdlib/lldiv.c (lldiv): Likewise.
22040 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22042         [BZ #16071]
22043         * nss/nss_files/files-XXX.c (get_contents_ret): New
22044         enumerator.
22045         (get_contents): New function.
22046         (internal_getent): Use it.  Expand size of LINEBUFLEN.
22048 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
22050         * configure.in: Moved to ...
22051         * configure.ac: ... here. Change reference to configure.in
22052         to configure.ac.
22053         * sysdeps/arm/preconfigure.ac: ... here.
22054         configure.in to configure.ac.
22055         * sysdeps/gnu/configure.in: Moved to ...
22056         * sysdeps/gnu/configure.ac: ... here.
22057         * sysdeps/i386/configure.in: Moved to ...
22058         * sysdeps/i386/configure.ac: ... here.
22059         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22060         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22061         * sysdeps/mach/configure.in: Moved to ...
22062         * sysdeps/mach/configure.ac: ... here.
22063         * sysdeps/mach/hurd/configure.in: Moved to ...
22064         * sysdeps/mach/hurd/configure.ac: ... here.
22065         * sysdeps/powerpc/configure.in: Moved to ...
22066         * sysdeps/powerpc/configure.ac: ... here.
22067         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22068         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22069         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22070         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22071         * sysdeps/s390/s390-32/configure.in: Moved to ...
22072         * sysdeps/s390/s390-32/configure.ac: ... here.
22073         * sysdeps/s390/s390-64/configure.in: Moved to ...
22074         * sysdeps/s390/s390-64/configure.ac: ... here.
22075         * sysdeps/sh/configure.in: Moved to ...
22076         * sysdeps/sh/configure.ac: ... here.
22077         * sysdeps/sparc/configure.in: Moved to ...
22078         * sysdeps/sparc/configure.ac: ... here.
22079         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22080         * sysdeps/unix/sysv/linux/configure.ac: ... here.
22081         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22082         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22083         * sysdeps/x86_64/configure.in: Moved to ...
22084         * sysdeps/x86_64/configure.ac: ... here.
22085         * sysdeps/x86_64/preconfigure.in: Moved to ...
22086         * sysdeps/x86_64/preconfigure.ac: ... here.
22087         * aclocal.m4: Change reference to configure.in to configure.ac.
22088         * config.h.in: Likewise.
22089         * manual/install.texi: Likewise.
22090         * manual/maint.texi: Likewise.
22091         * Makefile: Likewise.
22092         * malloc/Makefile: Likewise.
22093         * nscd/Makefile: Likewise.
22094         * Makeconfig: Change reference to configure.in and
22095         preconfigure.in to configure.ac and preconfigure.ac
22096         respectively.
22097         * INSTALL: Regenerated.
22098         * configure: Likewise.
22099         * sysdeps/gnu/configure: Likewise.
22100         * sysdeps/i386/configure: Likewise.
22101         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22102         * sysdeps/mach/configure: Likewise.
22103         * sysdeps/mach/hurd/configure: Likewise.
22104         * sysdeps/powerpc/configure: Likewise.
22105         * sysdeps/powerpc/powerpc32/configure: Likewise.
22106         * sysdeps/powerpc/powerpc64/configure: Likewise.
22107         * sysdeps/s390/s390-32/configure: Likewise.
22108         * sysdeps/s390/s390-64/configure: Likewise.
22109         * sysdeps/sh/configure: Likewise.
22110         * sysdeps/sparc/configure: Likewise.
22111         * sysdeps/unix/sysv/linux/configure: Likewise.
22112         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22113         * sysdeps/x86_64/configure: Likewise.
22114         * sysdeps/x86_64/preconfigure: Likewise.
22116 2013-10-29  Andreas Schwab  <schwab@suse.de>
22118         * stdio-common/Makefile (tst-swscanf-ENV): Define.
22120 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22122         * benchtests/pow-inputs: Add new inputs.
22124         * benchtests/exp-inputs: Add new inputs.
22126         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22127         conditional check for return value.
22128         (__cos32): Likewise.
22130 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22132         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22133         to provide a boost for large inputs with word alignment.
22134         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22135         implementation based on optimized PPC64 strcpy.
22136         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22137         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22138         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22139         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22141 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22143         [BZ #2801]
22144         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22146 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22148         [BZ #14876]
22149         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22150         * time/tst-strptime.c (day_tests): Add testcase.
22152 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22154         [BZ #14029]
22155         * manual/pattern.texi: Acknowledge that fnmatch can fail.
22157 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
22159         [BZ #16074]
22160         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22161         MAP_FAILED on error.
22163 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22165         [BZ #16072]
22166         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22167         heap for large requests.
22169 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
22171         [BZ #9954]
22172         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22173         result if the result has no associated interface.
22174         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22175         interface for all 127.X.Y.Z addresses.
22177 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
22179         * locale/iso-639.def: Add Ligurian (lij)
22181 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
22183         [BZ #15825]
22184         * sunrpc/rpc_main.c: Document rpcgen -5.
22186 2013-10-19  Michael Stahl  <mstahl@redhat.com>
22188         * elf/rtld.c (do_preload): Print the reason why preloading failed.
22190 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22192         [BZ #10278]
22193         * posix/glob.c: Match only directories when trailing slash is present.
22194         * posix/tst-gnuglob.c (my_opendir): Do not open files.
22195         (main): Add testcase.
22197 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22199         [BZ #15670]
22200         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22202 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
22204         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22205         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22206         AUTH_DES and cindex for FIPS 140-2.
22207         (DES Encryption): Add cindex FIPS 46-3.
22209         * locale/locarchive.h (struct locarhandle): Add fname.
22210         * locale/programs/localedef.c (main): Pass ARGV[remaining]
22211         if an optional argument was specified to --list-archive,
22212         otherwise NULL.
22213         * locale/programs/locarchive.c (show_archive_content): Take new
22214         argument fname and pass it via ah.fname to open_archive.
22215         * locale/programs/localedef.h: Update decl.
22216         (open_archive): If AH->fname is non-null, open that file
22217         rather than the default file name, and don't ignore ENOENT.
22218         (create_archive): Set AH.fname to NULL.
22219         (delete_locales_from_archive): Likewise.
22220         (add_locales_to_archive): Likewise.
22221         * locale/programs/locfile.c (write_all_categories): Likewise.
22223 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
22224             Aldy Hernandez  <aldyh@redhat.com>
22226         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22227         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22228         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22229         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22230         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22231         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22232         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22233         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22234         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22235         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22236         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22237         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22238         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22239         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22240         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22241         Likewise.
22242         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22243         Likewise.
22244         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22245         Likewise.
22246         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22247         Likewise.
22248         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22249         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22250         Likewise.
22251         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22252         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22253         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22254         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22255         Likewise.
22256         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22257         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22258         * sysdeps/powerpc/preconfigure: Likewise.
22259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22260         Likewise.
22261         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22262         Replace contents of file by #include of <fenv_libc.h>.
22263         * sysdeps/powerpc/soft-fp/sfp-machine.h
22264         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22265         and <sys/prctl.h>.
22266         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22267         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22268         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22269         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22270         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22271         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22273         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22274         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22275         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22276         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22277         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22279         Allow copysignl PLT reference to be missing.
22281 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
22282             Joseph Myers  <joseph@codesourcery.com
22284         [BZ #15948]
22285         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22286         single character.
22287         (add_to_tablewc): Assert sequence of wide characters is nonempty.
22289 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22291         * elf/tst-tls-dlinfo.c: Don't include tls.h.
22292         * elf/tst-tls1.c: Likewise.
22293         * elf/tst-tls10.h: Likewise.
22294         * elf/tst-tls14.c: Likewise.
22295         * elf/tst-tls2.c: Likewise.
22296         * elf/tst-tls3.c: Likewise.
22297         * elf/tst-tls4.c: Likewise.
22298         * elf/tst-tls5.c: Likewise.
22299         * elf/tst-tls6.c: Likewise.
22300         * elf/tst-tls7.c: Likewise.
22301         * elf/tst-tls8.c: Likewise.
22302         * elf/tst-tls9.c: Likewise.
22303         * elf/tst-tlsmod1.c: Likewise.
22304         * elf/tst-tlsmod13.c: Likewise.
22305         * elf/tst-tlsmod13a.c: Likewise.
22306         * elf/tst-tlsmod14a.c: Likewise.
22307         * elf/tst-tlsmod16a.c: Likewise.
22308         * elf/tst-tlsmod16b.c: Likewise.
22309         * elf/tst-tlsmod2.c: Likewise.
22310         * elf/tst-tlsmod3.c: Likewise.
22311         * elf/tst-tlsmod4.c: Likewise.
22312         * elf/tst-tlsmod5.c: Likewise.
22313         * elf/tst-tlsmod6.c: Likewise.
22315 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
22317         [BZ #12486]
22318         * malloc/malloc.c: remove checks for statistics.
22320 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22322         [BZ #15277]
22323         * inet/inet_net.c (inet_network): Detect additional invalid strings.
22324         * inet/tst-network.c: Add testcase.
22326 2013-10-17  Andreas Schwab  <schwab@suse.de>
22328         [BZ #15218]
22329         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22330         to determine canonical name.
22332 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22334         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22335         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22336         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22337         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22338         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22339         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22340         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22341         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22342         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22343         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22344         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22345         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22346         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22347         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22348         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22349         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22350         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22351         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22352         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22353         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22354         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22355         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22356         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22357         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22358         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22359         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22360         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22361         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22362         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22363         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22364         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22365         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22366         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22367         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22368         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22369         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22370         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22371         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22372         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22373         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22374         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22375         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22376         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22377         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22378         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22379         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22380         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22381         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22382         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22383         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22384         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22385         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22386         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22387         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22388         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22389         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22390         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22391         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22393 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
22395         [BZ #16041]
22396         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22397         make result into a quiet NaN.
22399 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
22401         * soft-fp/adddf3.c: Fix horizontal whitespace.
22402         * soft-fp/addsf3.c: Likewise.
22403         * soft-fp/addtf3.c: Likewise.
22404         * soft-fp/divdf3.c: Likewise.
22405         * soft-fp/divsf3.c: Likewise.
22406         * soft-fp/divtf3.c: Likewise.
22407         * soft-fp/double.h: Likewise.
22408         * soft-fp/eqdf2.c: Likewise.
22409         * soft-fp/eqsf2.c: Likewise.
22410         * soft-fp/eqtf2.c: Likewise.
22411         * soft-fp/extenddftf2.c: Likewise.
22412         * soft-fp/extended.h: Likewise.
22413         * soft-fp/extendsfdf2.c: Likewise.
22414         * soft-fp/extendsftf2.c: Likewise.
22415         * soft-fp/extendxftf2.c: Likewise.
22416         * soft-fp/fixdfdi.c: Likewise.
22417         * soft-fp/fixdfsi.c: Likewise.
22418         * soft-fp/fixdfti.c: Likewise.
22419         * soft-fp/fixsfdi.c: Likewise.
22420         * soft-fp/fixsfsi.c: Likewise.
22421         * soft-fp/fixsfti.c: Likewise.
22422         * soft-fp/fixtfdi.c: Likewise.
22423         * soft-fp/fixtfsi.c: Likewise.
22424         * soft-fp/fixtfti.c: Likewise.
22425         * soft-fp/fixunsdfdi.c: Likewise.
22426         * soft-fp/fixunsdfsi.c: Likewise.
22427         * soft-fp/fixunsdfti.c: Likewise.
22428         * soft-fp/fixunssfdi.c: Likewise.
22429         * soft-fp/fixunssfsi.c: Likewise.
22430         * soft-fp/fixunssfti.c: Likewise.
22431         * soft-fp/fixunstfdi.c: Likewise.
22432         * soft-fp/fixunstfsi.c: Likewise.
22433         * soft-fp/fixunstfti.c: Likewise.
22434         * soft-fp/floatdidf.c: Likewise.
22435         * soft-fp/floatdisf.c: Likewise.
22436         * soft-fp/floatditf.c: Likewise.
22437         * soft-fp/floatsidf.c: Likewise.
22438         * soft-fp/floatsisf.c: Likewise.
22439         * soft-fp/floatsitf.c: Likewise.
22440         * soft-fp/floattidf.c: Likewise.
22441         * soft-fp/floattisf.c: Likewise.
22442         * soft-fp/floattitf.c: Likewise.
22443         * soft-fp/floatundidf.c: Likewise.
22444         * soft-fp/floatundisf.c: Likewise.
22445         * soft-fp/floatunditf.c: Likewise.
22446         * soft-fp/floatunsidf.c: Likewise.
22447         * soft-fp/floatunsisf.c: Likewise.
22448         * soft-fp/floatunsitf.c: Likewise.
22449         * soft-fp/floatuntidf.c: Likewise.
22450         * soft-fp/floatuntisf.c: Likewise.
22451         * soft-fp/floatuntitf.c: Likewise.
22452         * soft-fp/fmadf4.c: Likewise.
22453         * soft-fp/fmasf4.c: Likewise.
22454         * soft-fp/fmatf4.c: Likewise.
22455         * soft-fp/gedf2.c: Likewise.
22456         * soft-fp/gesf2.c: Likewise.
22457         * soft-fp/getf2.c: Likewise.
22458         * soft-fp/ledf2.c: Likewise.
22459         * soft-fp/lesf2.c: Likewise.
22460         * soft-fp/letf2.c: Likewise.
22461         * soft-fp/muldf3.c: Likewise.
22462         * soft-fp/mulsf3.c: Likewise.
22463         * soft-fp/multf3.c: Likewise.
22464         * soft-fp/negdf2.c: Likewise.
22465         * soft-fp/negsf2.c: Likewise.
22466         * soft-fp/negtf2.c: Likewise.
22467         * soft-fp/op-1.h: Likewise.
22468         * soft-fp/op-2.h: Likewise.
22469         * soft-fp/op-4.h: Likewise.
22470         * soft-fp/op-8.h: Likewise.
22471         * soft-fp/op-common.h: Likewise.
22472         * soft-fp/quad.h: Likewise.
22473         * soft-fp/single.h: Likewise.
22474         * soft-fp/soft-fp.h: Likewise.
22475         * soft-fp/sqrtdf2.c: Likewise.
22476         * soft-fp/sqrtsf2.c: Likewise.
22477         * soft-fp/sqrttf2.c: Likewise.
22478         * soft-fp/subdf3.c: Likewise.
22479         * soft-fp/subsf3.c: Likewise.
22480         * soft-fp/subtf3.c: Likewise.
22481         * soft-fp/truncdfsf2.c: Likewise.
22482         * soft-fp/trunctfdf2.c: Likewise.
22483         * soft-fp/trunctfsf2.c: Likewise.
22484         * soft-fp/trunctfxf2.c: Likewise.
22485         * soft-fp/unorddf2.c: Likewise.
22486         * soft-fp/unordsf2.c: Likewise.
22487         * soft-fp/unordtf2.c: Likewise.
22489 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22491         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22492         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22494 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22496         * elf/dl-libc.c: Clear initfini list after freeing.
22498 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22500         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22501         * soft-fp/addsf3.c: Likewise.
22502         * soft-fp/addtf3.c: Likewise.
22503         * soft-fp/divdf3.c: Likewise.
22504         * soft-fp/divsf3.c: Likewise.
22505         * soft-fp/divtf3.c: Likewise.
22506         * soft-fp/double.h: Likewise.
22507         * soft-fp/eqdf2.c: Likewise.
22508         * soft-fp/eqsf2.c: Likewise.
22509         * soft-fp/eqtf2.c: Likewise.
22510         * soft-fp/extenddftf2.c: Likewise.
22511         * soft-fp/extended.h: Likewise.
22512         * soft-fp/extendsfdf2.c: Likewise.
22513         * soft-fp/extendsftf2.c: Likewise.
22514         * soft-fp/extendxftf2.c: Likewise.
22515         * soft-fp/fixdfdi.c: Likewise.
22516         * soft-fp/fixdfsi.c: Likewise.
22517         * soft-fp/fixdfti.c: Likewise.
22518         * soft-fp/fixsfdi.c: Likewise.
22519         * soft-fp/fixsfsi.c: Likewise.
22520         * soft-fp/fixsfti.c: Likewise.
22521         * soft-fp/fixtfdi.c: Likewise.
22522         * soft-fp/fixtfsi.c: Likewise.
22523         * soft-fp/fixtfti.c: Likewise.
22524         * soft-fp/fixunsdfdi.c: Likewise.
22525         * soft-fp/fixunsdfsi.c: Likewise.
22526         * soft-fp/fixunsdfti.c: Likewise.
22527         * soft-fp/fixunssfdi.c: Likewise.
22528         * soft-fp/fixunssfsi.c: Likewise.
22529         * soft-fp/fixunssfti.c: Likewise.
22530         * soft-fp/fixunstfdi.c: Likewise.
22531         * soft-fp/fixunstfsi.c: Likewise.
22532         * soft-fp/fixunstfti.c: Likewise.
22533         * soft-fp/floatdidf.c: Likewise.
22534         * soft-fp/floatdisf.c: Likewise.
22535         * soft-fp/floatditf.c: Likewise.
22536         * soft-fp/floatsidf.c: Likewise.
22537         * soft-fp/floatsisf.c: Likewise.
22538         * soft-fp/floatsitf.c: Likewise.
22539         * soft-fp/floattidf.c: Likewise.
22540         * soft-fp/floattisf.c: Likewise.
22541         * soft-fp/floattitf.c: Likewise.
22542         * soft-fp/floatundidf.c: Likewise.
22543         * soft-fp/floatundisf.c: Likewise.
22544         * soft-fp/floatunsidf.c: Likewise.
22545         * soft-fp/floatunsisf.c: Likewise.
22546         * soft-fp/floatuntidf.c: Likewise.
22547         * soft-fp/floatuntisf.c: Likewise.
22548         * soft-fp/floatuntitf.c: Likewise.
22549         * soft-fp/fmadf4.c: Likewise.
22550         * soft-fp/fmasf4.c: Likewise.
22551         * soft-fp/fmatf4.c: Likewise.
22552         * soft-fp/gedf2.c: Likewise.
22553         * soft-fp/gesf2.c: Likewise.
22554         * soft-fp/getf2.c: Likewise.
22555         * soft-fp/ledf2.c: Likewise.
22556         * soft-fp/lesf2.c: Likewise.
22557         * soft-fp/letf2.c: Likewise.
22558         * soft-fp/muldf3.c: Likewise.
22559         * soft-fp/mulsf3.c: Likewise.
22560         * soft-fp/multf3.c: Likewise.
22561         * soft-fp/negdf2.c: Likewise.
22562         * soft-fp/negsf2.c: Likewise.
22563         * soft-fp/negtf2.c: Likewise.
22564         * soft-fp/op-1.h: Likewise.
22565         * soft-fp/op-2.h: Likewise.
22566         * soft-fp/op-4.h: Likewise.
22567         * soft-fp/op-8.h: Likewise.
22568         * soft-fp/op-common.h: Likewise.
22569         * soft-fp/quad.h: Likewise.
22570         * soft-fp/single.h: Likewise.
22571         * soft-fp/soft-fp.h: Likewise.
22572         * soft-fp/sqrtdf2.c: Likewise.
22573         * soft-fp/sqrtsf2.c: Likewise.
22574         * soft-fp/sqrttf2.c: Likewise.
22575         * soft-fp/subdf3.c: Likewise.
22576         * soft-fp/subsf3.c: Likewise.
22577         * soft-fp/subtf3.c: Likewise.
22578         * soft-fp/truncdfsf2.c: Likewise.
22579         * soft-fp/trunctfdf2.c: Likewise.
22580         * soft-fp/trunctfsf2.c: Likewise.
22581         * soft-fp/trunctfxf2.c: Likewise.
22582         * soft-fp/unorddf2.c: Likewise.
22583         * soft-fp/unordsf2.c: Likewise.
22584         * soft-fp/unordtf2.c: Likewise.
22586 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22588         [BZ #15672]
22589         * misc/error.c (error_tail): Fix possible buffer overflow.
22591 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
22593         [BZ #13028]
22594         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22595         address.
22597 2013-10-14  P. J. McDermott  <pj@pehjota.net>
22599         [BZ #832]
22600         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
22601         testing pipefail option.
22603 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22605         * soft-fp/double.h: Indent preprocessor directives inside #if.
22606         * soft-fp/extended.h: Likewise.
22607         * soft-fp/op-2.h: Likewise.
22608         * soft-fp/op-4.h: Likewise.
22609         * soft-fp/op-common.h: Likewise.
22610         * soft-fp/quad.h: Likewise.
22611         * soft-fp/single.h: Likewise.
22612         * soft-fp/soft-fp.h: Likewise.
22614 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
22616         * iconv/iconv_prog.c: Fix typos.
22617         * stdio-common/psiginfo-data.h: Likewise.
22619 2013-10-12   Reuben Thomas <rrt@sc3d.org>
22621         [BZ #15764]
22622         * locale/setlocale.c: Fix typo.
22624 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22626         [BZ #16036]
22627         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22628         signaling NaN arguments.
22629         * soft-fp/unordsf2.c (__unordsf2): Likewise.
22630         * soft-fp/unordtf2.c (__unordtf2): Likewise.
22632         [BZ #14910]
22633         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22634         unordered operands.
22635         * soft-fp/gesf2.c (__gesf2): Likewise.
22636         * soft-fp/getf2.c (__getf2): Likewise.
22637         * soft-fp/ledf2.c (__ledf2): Likewise.
22638         * soft-fp/lesf2.c (__lesf2): Likewise.
22639         * soft-fp/letf2.c (__letf2): Likewise.
22641         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22642         * soft-fp/eqsf2.c (__eqsf2): Likewise.
22643         * soft-fp/eqtf2.c (__eqtf2): Likewise.
22644         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22645         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22646         * soft-fp/fixdfti.c (__fixdfti): Likewise.
22647         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22648         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22649         * soft-fp/fixsfti.c (__fixsfti): Likewise.
22650         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22651         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22652         * soft-fp/fixtfti.c (__fixtfti): Likewise.
22653         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22654         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22655         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22656         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22657         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22658         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22659         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22660         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22661         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22662         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22663         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22664         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22665         * soft-fp/floattidf.c (__floattidf): Likewise.
22666         * soft-fp/floattisf.c (__floattisf): Likewise.
22667         * soft-fp/floattitf.c (__floattitf): Likewise.
22668         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22669         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22670         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22671         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22672         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22673         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22674         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22675         * soft-fp/gesf2.c (__gesf2): Likewise.
22676         * soft-fp/getf2.c (__getf2): Likewise.
22677         * soft-fp/ledf2.c (__ledf2): Likewise.
22678         * soft-fp/lesf2.c (__lesf2): Likewise.
22679         * soft-fp/letf2.c (__letf2): Likewise.
22681         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22682         Undefine and redefine.
22683         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22684         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22685         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22686         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22687         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22688         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22689         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22690         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22691         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22692         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22693         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22694         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22695         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22696         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22697         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22699         [BZ #16032]
22700         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22701         without decrementing exponent if mantissa >= that for the
22702         denominator, not >.
22703         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22704         denominator, not >.  Decrement exponent in < case instead of
22705         incrementing in >= case.
22706         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22707         without decrementing exponent if mantissa >= that for the
22708         denominator, not >.
22710         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22711         computing saturated result for unsigned overflow.
22713 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22714             Jeff Law  <law@redhat.com>
22716         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22717         (atan2Mp): Add systemtap probe marker.
22718         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22719         (__ieee754_log): Add systemtap probe marker.
22720         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22721         (atanMp): Add systemtap probe marker.
22722         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22723         (tanMp): Add systemtap probe marker.
22724         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22725         (__slowexp): Add systemtap probe marker.
22726         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22727         (__slowpow): Add systemtap probe marker.
22728         * manual/probes.texi: Document probes.
22730 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22732         [BZ #15362]
22733         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22734         written.
22735         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22736         written.
22737         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22738         written to buffer but not flushed.
22739         * libio/iofwrite_u.c:  Likewise.
22740         * libio/iopadn.c:  Return bytes returned even if EOF was
22741         encountered.
22742         * libio/iowpadn.c:  Likewise.
22743         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22744         if _IO_padn does not write the whole buffer.
22745         [!COMPILE_WPRINTF] (PAD): Likewise.
22747 2013-10-10  David S. Miller  <davem@davemloft.net>
22749         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22750         directory block.
22752 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22754         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22755         instead of FSF address.
22756         * soft-fp/fixdfti.c: Likewise.
22757         * soft-fp/fixsfti.c: Likewise.
22758         * soft-fp/fixtfti.c: Likewise.
22759         * soft-fp/fixunsdfti.c: Likewise.
22760         * soft-fp/fixunssfti.c: Likewise.
22761         * soft-fp/fixunstfti.c: Likewise.
22762         * soft-fp/floattidf.c: Likewise.
22763         * soft-fp/floattisf.c: Likewise.
22764         * soft-fp/floattitf.c: Likewise.
22765         * soft-fp/floatuntidf.c: Likewise.
22766         * soft-fp/floatuntisf.c: Likewise.
22767         * soft-fp/floatuntitf.c: Likewise.
22768         * soft-fp/trunctfxf2.c: Likewise.
22770         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22771         * soft-fp/fixdfti.c: Likewise.
22772         * soft-fp/fixsfti.c: Likewise.
22773         * soft-fp/fixtfti.c: Likewise.
22774         * soft-fp/fixunsdfti.c: Likewise.
22775         * soft-fp/fixunssfti.c: Likewise.
22776         * soft-fp/fixunstfti.c: Likewise.
22777         * soft-fp/floattidf.c: Likewise.
22778         * soft-fp/floattisf.c: Likewise.
22779         * soft-fp/floattitf.c: Likewise.
22780         * soft-fp/floatuntidf.c: Likewise.
22781         * soft-fp/floatuntisf.c: Likewise.
22782         * soft-fp/floatuntitf.c: Likewise.
22783         * soft-fp/trunctfxf2.c: Likewise.
22785 2013-10-10  David S. Miller  <davem@davemloft.net>
22787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22789 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22791         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22792         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22793         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22794         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22795         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22796         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22797         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22799         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22800         for NaNs before doing comparisons on argument.
22801         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22802         Likewise.
22804 2013-10-10  Will Newton  <will.newton@linaro.org>
22806         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22807         passed to _int_memalign does not overflow.
22809 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22811         * scripts/bench.pl: Add include-sources directive.
22812         * benchtests/README: Update documentation.
22814 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22816         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22817         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22818         instead of FP_INIT_ROUNDMODE.
22819         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22820         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22822         [BZ #16034]
22823         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22824         copy class of input value.
22825         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22826         not handle exceptions.
22827         * soft-fp/negsf2.c (__negsf2): Likewise.
22828         * soft-fp/negtf2.c (__negtf2): Likewise.
22829         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22831 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22833         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22834         semicolon.  From Linux kernel.
22836 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22838         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22840 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22842         [BZ #156]
22843         * manual/socket.texi: Added statement about buffer
22844         for gethostbyname2_r.
22846 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22848         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22849         Use .p2align directive instead, throughout.
22850         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22851         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22852         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22853         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22854         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22855         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22856         * sysdeps/x86_64/strchr.S: Likewise.
22857         * sysdeps/x86_64/strrchr.S: Likewise.
22859 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22861         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22863         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22865         * sysdeps/generic/math_private.h (__mpsin1): Remove
22866         declaration.
22867         (__mpcos1): Likewise.
22868         (__mpsin): New argument __range_reduce.
22869         (__mpcos): Likewise.
22870         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22871         (slow): Use __mpsin and __mpcos.
22872         (slow1): Likewise.
22873         (slow2): Likewise.
22874         (sloww): Likewise.
22875         (sloww1): Likewise.
22876         (sloww2): Likewise.
22877         (bsloww): Likewise.
22878         (bsloww1): Likewise.
22879         (bsloww2): Likewise.
22880         (cslow2): Likewise.
22881         (csloww): Likewise.
22882         (csloww1): Likewise.
22883         (csloww2): Likewise.
22884         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22885         range_reduce.  Merge in __mpsin1.
22886         (__mpcos): Likewise.
22887         (__mpsin1): Remove.
22888         (__mpcos1): Likewise.
22890 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22892         * locale/loadlocale.c (_nl_intern_locale_data): Use
22893         LOCFILE_ALIGNED_P.
22894         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22895         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22896         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22897         obstack data is appropriately aligned.
22898         (obstack_int32_grow_fast): Likewise.
22899         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22900         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22901         (add_locale_uint32_array): Likewise.
22903 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22905         * benchtests/Makefile: Remove ARGLIST and RET variables.
22906         ($(objpfx)bench-%.c): Pass only function name to the script.
22907         * benchtests/README: Update documentation.
22908         * benchtests/acos-inputs: Add new directives.
22909         * benchtests/acosh-inputs: Likewise.
22910         * benchtests/asin-inputs: Likewise.
22911         * benchtests/asinh-inputs: Likewise.
22912         * benchtests/atan-inputs: Likewise.
22913         * benchtests/atanh-inputs: Likewise.
22914         * benchtests/cos-inputs: Likewise.
22915         * benchtests/cosh-inputs: Likewise.
22916         * benchtests/exp-inputs: Likewise.
22917         * benchtests/log-inputs: Likewise.
22918         * benchtests/pow-inputs: Likewise.
22919         * benchtests/rint-inputs: Likewise.
22920         * benchtests/sin-inputs: Likewise.
22921         * benchtests/sinh-inputs: Likewise.
22922         * benchtests/tan-inputs: Likewise.
22923         * benchtests/tanh-inputs: Likewise.
22924         * scripts/bench.pl: Add support for new directives.
22926 2013-10-07  Alan Modra  <amodra@gmail.com>
22928         * README: Fix careless merge.
22930 2013-10-05  Alan Modra  <amodra@gmail.com>
22932         * NEWS: Mention powerpc64le support and bugs fixed.
22933         * README: Both big-endian and little-endian powerpc64 supported.
22935 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22937         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22938         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22939         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22940         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22942 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22944         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22945         match prototype.
22947 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22949         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22950         Move -mhard-float appending from
22951         ports/sysdeps/powerpc/powerpc32/Makefile.
22952         [$(with-fp) = yes] (ASFLAGS): Likewise.
22953         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22954         * sysdeps/powerpc/nofpu: Move directory from
22955         ports/sysdeps/powerpc/nofpu.
22956         * sysdeps/powerpc/soft-fp: Move directory from
22957         ports/sysdeps/powerpc/soft-fp.
22958         * sysdeps/powerpc/powerpc32/405: Move directory from
22959         ports/sysdeps/powerpc/powerpc32/405.
22960         * sysdeps/powerpc/powerpc32/440: Move directory from
22961         ports/sysdeps/powerpc/powerpc32/440.
22962         * sysdeps/powerpc/powerpc32/464: Move directory from
22963         ports/sysdeps/powerpc/powerpc32/464.
22964         * sysdeps/powerpc/powerpc32/476: Move directory from
22965         ports/sysdeps/powerpc/powerpc32/476.
22966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22967         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22969         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22971         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22973         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22975         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22976         * README: Update for powerpc-*-linux-gnu software floating point
22977         support in libc.
22979         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22980         case to powerpc/powerpc32*.
22981         * sysdeps/unix/sysv/linux/configure: Regenerated.
22983         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22984         (_FPU_MASK_OM): Define as 0x04.
22985         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22986         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22987         0x00c10080.
22988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22989         0x0000003c.
22990         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22993         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22994         getcontext_e500.
22995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22996         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22997         setcontext_e500.
22998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22999         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23000         and setcontext_e500.
23002 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
23004         * locale/iso-3166.def: Update iso-1366.def and related occurrences
23006 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23008         * manual/threads.texi (Default Thread Attributes): Fix typo.
23010 2013-10-04  Will Newton  <will.newton@linaro.org>
23012         * malloc/Makefile: Add tst-memalign.
23013         * malloc/tst-memalign.c: New file.
23015         * malloc/tst-posix_memalign.c: Add comments.
23016         (do_test): Add comments and call free on all potentially
23017         allocated pointers. Add space after cast.
23019         * malloc/tst-pvalloc.c: Add comments.
23020         (do_test): Add comments and call free on all potentially
23021         allocated pointers. Remove duplicate check for NULL pointer.
23022         Add space after cast.
23024         * malloc/tst-valloc.c: Add comments.
23025         (do_test): Add comments and call free on all potentially
23026         allocated pointers. Remove duplicate check for NULL pointer.
23027         Add space after cast.
23029 2013-10-04  Alan Modra  <amodra@gmail.com>
23031         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23032         Use stdint types in rather than __attribute__((mode())).
23033         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23035 2013-10-04  Alan Modra  <amodra@gmail.com>
23037         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23038         Correct handling of unaligned relocs for little-endian.
23039         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23041 2013-10-04  Alan Modra  <amodra@gmail.com>
23043         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23044         * configure: Regenerate.
23045         * nptl/shlib-versions: Powerpc*le starts at 2.18.
23046         * shlib-versions: Likewise.
23048 2013-10-04  Alan Modra  <amodra@gmail.com>
23050         * string/tester.c (test_memrchr): Increment reported test cycle.
23052 2013-10-04  Alan Modra  <amodra@gmail.com>
23054         * string/test-memcpy.c (do_one_test): When reporting errors, print
23055         string address and don't overrun end of string.
23057 2013-10-04  Alan Modra  <amodra@gmail.com>
23059         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23060         insrdi.  Make better use of reg selection to speed exit slightly.
23061         Schedule entry path a little better.  Remove useless "are we done"
23062         checks on entry to main loop.  Handle wrapping around zero address.
23063         Correct main loop count.  Handle single left-over word from main
23064         loop inline rather than by using loop_small.  Remove extra word
23065         case in loop_small caused by wrong loop count.  Add little-endian
23066         support.
23067         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23068         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
23069         cache hint.
23070         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23071         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23072         support.  Avoid rlwimi.
23073         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23075 2013-10-04  Alan Modra  <amodra@gmail.com>
23077         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23078         insrdi.  Formatting.
23079         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23080         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23081         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23082         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23083         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23084         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23086 2013-10-04  Alan Modra  <amodra@gmail.com>
23088         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23089         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23090         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23091         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23092         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23093         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23094         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23095         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23096         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
23097         use of regs.  Use power7 mtocrf.  Tidy function tails.
23099 2013-10-04  Alan Modra  <amodra@gmail.com>
23101         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23102         Formatting.  Consistently use rXXX register defines or rN defines.
23103         Use early exit labels that avoid restoring unused non-volatile regs.
23104         Make cr field use more consistent with rWORDn compares.  Rename
23105         regs used as shift registers for unaligned loop, using rN defines
23106         for short lifetime/multiple use regs.
23107         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23108         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
23109         addi 1,1,64 to pop stack frame.  Simplify return value code.
23110         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23112 2013-10-04  Alan Modra  <amodra@gmail.com>
23114         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23115         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
23116         rather than rlwimi.
23117         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23118         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23119         little-endian support.  Correct typos.
23120         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
23121         rather than rlwimi.
23122         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
23123         in loop and entry code to keep "and." results.
23124         (strchr): Add little-endian support.  Comment.  Move cntlzd
23125         earlier in tail.
23126         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23128 2013-10-04  Alan Modra  <amodra@gmail.com>
23130         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23131         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23132         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23133         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23135 2013-10-04  Alan Modra  <amodra@gmail.com>
23137         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23138         (rTMP): Define as r11.
23139         (strcmp): Add little-endian support.  Optimise tail.
23140         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23141         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23142         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23143         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23144         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23145         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23146         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23148 2013-10-04  Alan Modra  <amodra@gmail.com>
23150         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23151         little-endian support.  Remove unnecessary "are we done" tests.
23152         Handle "s" wrapping around zero and extremely large "size".
23153         Correct main loop count.  Handle single left-over word from main
23154         loop inline rather than by using small_loop.  Correct comments.
23155         Delete "zero" tail, use "end_max" instead.
23156         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23158 2013-10-04  Alan Modra  <amodra@gmail.com>
23160         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23161         support.  Don't branch over align.
23162         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23163         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23164         support.  Rearrange tmp reg use to suit.  Comment.
23165         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23167 2013-10-04  Alan Modra  <amodra@gmail.com>
23169         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23171 2013-10-04  Alan Modra  <amodra@gmail.com>
23173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23174         conditional form of branch and link when obtaining pc.
23175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23177 2013-10-04  Alan Modra  <amodra@gmail.com>
23179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23180         HIWORD/LOWORD.
23181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23184 2013-10-04  Alan Modra  <amodra@gmail.com>
23186         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23187         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23188         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23189         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23190         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23191         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23192         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23193         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23194         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23195         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23197 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23198             Alistair Popple <alistair@ozlabs.au.ibm.com>
23199             Alan Modra <amodra@gmail.com>
23201         [BZ #15723]
23202         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23203         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23204         _dl_hwcap access for little-endian.
23205         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
23206         destroy vmx regs when saving unaligned.
23207         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23208         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
23209         destroy vmx regs when saving unaligned.
23211 2013-10-04  Alan Modra  <amodra@gmail.com>
23213         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23214         Don't use a union to pack hi/low value.
23216 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23218         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23219         for little-endian.
23220         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23221         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23222         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23223         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23224         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23226 2013-10-04  Alan Modra  <amodra@gmail.com>
23228         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23229         constants to usual value for .cst8 section, and remove redundant
23230         high address load.
23231         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23232         constant for 0x1p52.  Load little-endian words of double from
23233         correct stack offsets.
23235 2013-10-04  Alan Modra  <amodra@gmail.com>
23237         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23238         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23239         words of double from correct stack offsets.
23240         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23241         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23242         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23243         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23244         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23245         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23246         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23247         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23248         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23249         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23250         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23251         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23252         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23253         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23254         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23255         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23256         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23258 2013-10-04  Alan Modra  <amodra@gmail.com>
23260         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23261         64-bit int/double union.
23262         (_FPU_SETCW): Likewise.
23263         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23264         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23266 2013-10-04  Alan Modra  <amodra@gmail.com>
23268         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23269         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23271 2013-10-04  Alan Modra  <amodra@gmail.com>
23273         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23274         use vector int constants.
23275         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23277 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23279         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23280         array with long long.
23281         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23282         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23283         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23284         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23285         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23286         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23287         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23288         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23289         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23290         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23291         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23292         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23293         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23295 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23297         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23298         (__signbit): Likewise.  Correct for little-endian.
23299         (__signbitl): Call __signbit.
23300         (lrint): Correct for little-endian.
23301         (lrintf): Call lrint.
23303 2013-10-04  Alan Modra  <amodra@gmail.com>
23305         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23306         union 32-bit int array member with 64-bit int array.
23307         (t515, tm256): Double rather than long double.
23308         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23310 2013-10-04  Alan Modra  <amodra@gmail.com>
23312         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23313         Delete.
23314         (IEEE854_LONG_DOUBLE_BIAS): Delete.
23315         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23316         version of math_ldbl.h.
23318 2013-10-04  Alan Modra  <amodra@gmail.com>
23320         [BZ #15734], [BZ #15735]
23321         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23322         all uses of ieee875 long double macros and unions.  Simplify test
23323         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
23324         ldbl_extract_mantissa value for ix,iy exponents.  Properly
23325         normalize after ldbl_extract_mantissa, and don't add hidden bit
23326         already handled.  Don't treat low word of ieee854 mantissa like
23327         low word of IBM long double and mask off bit when testing for
23328         zero.
23329         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23330         all uses of ieee875 long double macros and unions.  Simplify tests
23331         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
23332         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
23333         two1022, instead use their values.  Recognise that tests for large
23334         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
23335         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23336         Rewrite all uses of ieee875 long double macros and unions.  Simplify
23337         test for 0.0L and nan.  Correct negation.
23338         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23339         ieee875 long double macros and unions.  Correct output for large
23340         magnitude x.  Correct absolute value calculation.
23341         (__erfcl): Likewise.
23342         * math/libm-test.inc: Add tests for errors discovered in IBM long
23343         double versions of fmodl, remainderl, erfl and erfcl.
23345 2013-10-04  Alan Modra  <amodra@gmail.com>
23347         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23348         all uses of ieee854 long double macros and unions.  Simplify tests
23349         for long doubles that are fully specified by the high double.
23350         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23351         Likewise.
23352         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23353         Remove dead code too.
23354         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23355         (__ieee754_ynl): Likewise.
23356         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23357         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23358         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23359         Remove dead code too.
23360         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23361         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23362         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23363         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23364         Simplify.
23365         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23366         Simplify.
23367         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23368         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23369         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23370         Comment on variable precision.
23371         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23372         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23373         Likewise.
23374         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23375         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23376         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23377         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23378         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23380 2013-10-04  Alan Modra  <amodra@gmail.com>
23382         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23383         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23384         all uses of ieee854 long double macros and unions.
23385         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23387         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23388         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23389         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23390         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23391         Likewise.
23392         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23393         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23394         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23395         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23396         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23397         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23398         Simplify sign and nan test too.
23399         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23400         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23401         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23402         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23403         Likewise.
23404         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23405         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23406         Likewise.
23407         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23408         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23409         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23410         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23411         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23412         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23414 2013-10-04  Alan Modra  <amodra@gmail.com>
23416         * stdio-common/printf_size.c (__printf_size): Don't use
23417         union ieee854_long_double in fpnum union.
23418         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23419         signbit macro to retrieve sign from long double.
23420         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23421         retrieve sign from long double.
23422         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23423         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23424         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23425         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23426         * math/test-misc.c (main): Don't use union ieee854_long_double.
23428 2013-10-04  Alan Modra  <amodra@gmail.com>
23430         [BZ #15680]
23431         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23432         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23433         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23434         calculation.  Remove unnecessary test for denormal exponent.
23435         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23436         Correct handling of denormals.  Avoid undefined shift behaviour.
23437         Correct normalisation of low mantissa when low double is denormal.
23438         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23439         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23440         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23441         Correct normalisation of low mantissa.  Test for overflow of high
23442         mantissa and normalise.
23443         (ldbl_nearbyint): Use more readable constant for two52.
23444         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23445         (__mpn_construct_long_double): Fix test for overflow of high
23446         mantissa and correct normalisation.  Avoid undefined shift.
23448 2013-10-04  Alan Modra  <amodra@gmail.com>
23450         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23451         (union ibm_extended_long_double): Define as an array of ieee754_double.
23452         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23453         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23454         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23455         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23456         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23457         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23458         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23459         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23460         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23461         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23462         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23464 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23466         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23467         page size instead of calling getpagesize.
23469         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23470         (LOCFILE_ALIGN_MASK): Likewise.
23471         (LOCFILE_ALIGN_UP): Likewise.
23472         (LOCFILE_ALIGNED_P): Likewise.
23473         * locale/programs/ld-collate.c (collate_output): Use the new
23474         macros instead of __alignof__ (int32_t).
23475         * locale/weight.h (findidx): Likewise.
23477 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23479         [BZ #431]
23480         * manual/string.texi: Fix strncat and wcsncat.
23482 2013-10-03  Brooks Moses  <bmoses@google.com>
23484         [BZ #15915]
23485         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23486         * Makerules: ...here, and adjust associated comments.
23488 2013-10-02  Will Newton  <will.newton@linaro.org>
23490         * malloc/Makefile: Add tst-pvalloc.
23491         * malloc/tst-pvalloc.c: New file.
23493 2013-10-02  Will Newton  <will.newton@linaro.org>
23495         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23496         improve test coverage.
23498 2013-10-02  Will Newton  <will.newton@linaro.org>
23500         * malloc/Makefile: Add tst-posix_memalign.
23501         * malloc/tst-posix_memalign.c: New file.
23503 2013-10-01  Eric Blake  <eblake@redhat.com>
23505         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23506         Use __THROWNL rather than __THROW on static functions.
23508 2013-09-30  Petr Machata  <pmachata@redhat.com>
23510         * elf/elf.h (R_AARCH64_ABS16): New macro.
23511         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23512         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23513         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23514         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23515         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23516         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23517         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23518         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23519         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23520         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23521         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23522         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23523         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23524         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23525         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23526         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23527         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23528         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23529         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23530         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23531         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23532         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23533         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23534         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23535         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23536         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23537         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23538         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23539         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23540         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23541         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23542         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23543         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23544         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23545         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23546         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23547         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23548         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23549         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23550         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23551         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23552         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23553         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23554         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23555         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23556         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23557         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23558         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23559         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23560         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23561         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23562         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23563         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23564         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23565         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23566         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23567         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23568         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23569         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23570         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23571         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23572         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23573         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23574         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23575         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23576         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23577         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23578         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23579         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23580         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23581         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23582         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23583         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23584         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23585         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23586         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23587         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23588         (R_AARCH64_TLSDESC_LDR): Likewise.
23589         (R_AARCH64_TLSDESC_ADD): Likewise.
23590         (R_AARCH64_TLSDESC_CALL): Likewise.
23592 2013-09-30  Andreas Schwab  <schwab@suse.de>
23594         [BZ #15048]
23595         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23596         the nss database lookup.
23597         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23600 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
23602         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23604 2013-09-28  P. J. McDermott  <pj@pehjota.net>
23606         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23607         ${Bash-specific parameter/pattern/string} parameter expansion.
23608         * sysdeps/unix/make-syscalls.sh: Likewise.
23610 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23612         * sysdeps/sh/stackguard-macros.h: New file.
23614 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
23616         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23618         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23619         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23620         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23621         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23623 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23625         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23626         Fix thread ID register.
23628 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
23630         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23631         [POSIX || UNIX98]: Require rather than permitting all symbols from
23632         <time.h>.
23633         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23634         element of struct sched_param.
23635         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23636         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23637         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23638         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23639         constant.
23641 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
23643         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23644         argument calculation.
23646 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23648         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23649         Expect macro.
23650         [POSIX] (pthread_attr_t): Do not require type.
23651         [POSIX] (pthread_cond_t): Likewise.
23652         [POSIX] (pthread_condattr_t): Likewise.
23653         [POSIX] (pthread_key_t): Likewise.
23654         [POSIX] (pthread_mutex_t): Likewise.
23655         [POSIX] (pthread_mutexattr_t): Likewise.
23656         [POSIX] (pthread_once_t): Likewise.
23657         [POSIX] (pthread_t): Likewise.
23658         [POSIX-based standards] (pthread_atfork): Expect function.
23660 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23661             Richard Sandiford  <richard@codesourcery.com>
23663         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23664         (swap_endianness_p): New extern variable.
23665         (set_big_endian): New inline function.
23666         (maybe_swap_uint32): Likewise.
23667         (maybe_swap_uint32_array): Likewise.
23668         (maybe_swap_uint32_obstack): Likewise.
23669         * locale/programs/locfile.c: Include <stdbool.h>.
23670         (swap_endianness_p): New variable.
23671         (add_locale_uint32): Call maybe_swap_uint32.
23672         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23673         (write_locale_data): Call maybe_swap_uint32_array.
23674         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23675         maybe_swap_uint32.
23676         (obstack_int32_grow_fast): Likewise.
23677         (output_weightwc): Call maybe_swap_uint32_obstack.
23678         (collate_output): Likewise.
23679         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23680         (OPT_LITTLE_ENDIAN): Likewise.
23681         (options): Add --little-endian and --big-endian options.
23682         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23683         * locale/programs/locarchive.c: Include "locfile.h".
23684         (GET): New macro.
23685         (SET): Likewise.
23686         (INC): Likewise.
23687         (create_archive): Use the new macros to access fields of
23688         structures directly mapped from or written to locale archives.
23689         (oldlocrecentcmp): Likewise.
23690         (enlarge_archive): Likewise.
23691         (insert_name): Likewise.
23692         (add_alias): Likewise.
23693         (add_locale): Likewise.
23694         (delete_locales_from_archive): Likewise.
23695         (show_archive_content): Likewise.
23696         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23697         locale data.
23699 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23701         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23702         http://www.gnu.org/doc/freemanuals.texi.
23703         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23705 2013-09-24  Will Newton  <will.newton@linaro.org>
23707         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23708         macro.
23710 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23712         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23713         unsigned char.
23715 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23717         * manual/threads.texi (POSIX Threads): Fix a typo.
23719 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23721         [BZ #14547]
23722         * string/tst-strcoll-overflow.c: New test case.
23723         * string/Makefile (xtests): Add tst-strcoll-overflow.
23724         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23725         cache if string sizes may cause integer overflow.
23727         [BZ #14547]
23728         * string/strcoll_l.c (coll_seq): New members rule, idx,
23729         save_idx and back_us.
23730         (get_next_seq_nocache): New function.
23731         (do_compare_nocache): New function.
23732         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23733         when malloc fails.
23735 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23737         [BZ #15754]
23738         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23739         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23740         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23742         [BZ #15754]
23743         * elf/Makefile (tests): Add tst-ptrguard1.
23744         (tests-static): Add tst-ptrguard1-static.
23745         (tst-ptrguard1-ARGS): Define.
23746         (tst-ptrguard1-static-ARGS): Define.
23747         * elf/tst-ptrguard1.c: New file.
23748         * elf/tst-ptrguard1-static.c: New file.
23749         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23750         * sysdeps/i386/stackguard-macros.h: Likewise.
23751         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23752         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23753         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23754         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23755         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23756         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23758 2013-09-23  Hector Marco  <hecmargi@upv.es>
23759             Ismael Ripoll  <iripoll@disca.upv.es>
23760             Carlos O'Donell  <carlos@redhat.com>
23762         [BZ #15754]
23763         * sysdeps/generic/stackguard-macros.h: Define
23764         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23765         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23766         Define __pointer_chk_guard_local.
23767         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23768         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23770 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23772         [BZ #15859]
23773         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23775 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23777         * include/string.h (__ffs): Declare as hidden.
23778         * string/ffs.c (__ffs): Define as hidden.
23779         * sysdeps/i386/ffs.c (__ffs): Likewise.
23780         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23781         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23782         * sysdeps/s390/ffs.c (__ffs): Likewise.
23783         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23785 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23787         * NEWS: Mention malloc probes.
23789         * malloc/arena.c (new_heap): New memory_heap_new probe.
23790         (grow_heap): New memory_heap_more probe.
23791         (shrink_heap): New memory_heap_less probe.
23792         (heap_trim): New memory_heap_free probe.
23793         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23794         (systrim): New memory_sbrk_less probe.
23795         * manual/probes.texi: Document them.
23797         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23798         * manual/probes.texi: Document it.
23800         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23801         (__libc_realloc): Add memory_realloc_retry probe.
23802         (__libc_memalign): Add memory_memalign_retry probe.
23803         (__libc_valloc): Add memory_valloc_retry probe.
23804         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23805         (__libc_calloc): Add memory_calloc_retry probe.
23806         * manual/probes.texi: Document them.
23808         * malloc/arena.c (get_free_list): Add probe
23809         memory_arena_reuse_free_list.
23810         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23811         and memory_arena_reuse.
23812         (arena_get2) [!PER_THREAD]: Likewise.
23813         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23814         memory_arena_reuse_realloc.
23815         * manual/probes.texi: Document them.
23817         * malloc/malloc.c (__libc_free): Add
23818         memory_mallopt_free_dyn_thresholds probe.
23819         (__libc_mallopt): Add multiple memory_mallopt probes.
23820         * manual/probes.texi: Document them.
23822         * malloc/malloc.c: Include stap-probe.h.
23823         (__libc_mallopt): Add memory_mallopt probe.
23824         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23825         * manual/probes.texi: New.
23826         * manual/Makefile (chapters): Add probes.
23827         * manual/threads.texi: Set next node.
23829 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23831         [BZ #15963, #13985]
23832         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23833         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23834         Add `Chinese' to `nan' entry name.
23836 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23838         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23839         (POLYNOMIAL): Likewise.
23840         (TAYLOR_SINCOS): Likewise.
23841         (TAYLOR_SLOW): Likewise.
23842         (__sin): Use TAYLOR_SINCOS.
23843         (__cos): Likewise.
23844         (slow): Use TAYLOR_SLOW.
23845         (sloww): Likewise.
23846         (bsloww): Likewise.
23847         (csloww): Likewise.
23849 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23851         * stdlib/strtod_l.c: Fix buffer overrun.
23853 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23855         * benchtests/Makefile (bench): Add sincos.
23856         * benchtests/bench-sincos.c: New file.
23858         * math/libm-test.inc (cos_test_data): New test inputs.
23859         (sin_test_data): Likewise.
23861         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23862         macro.
23863         (__sin): Use it.
23864         (__cos): Likewise.
23865         (slow1): Likewise.
23866         (slow2): Likewise.
23867         (sloww1): Likewise.
23868         (sloww2): Likewise.
23869         (bsloww1): Likewise.
23870         (bsloww2): Likewise.
23871         (cslow2): Likewise.
23872         (csloww1): Likewise.
23873         (csloww2): Likewise.
23875         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23876         function.
23877         (__sin): Use it.
23878         (__cos): Likewise.
23880         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23881         gotos.
23882         (__cos): Likewise.
23884 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23886         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23887         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23888         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23889         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23890         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23891         * elf/cache.c (print_entry): Handle the new cache flags.
23893 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23894             Aldy Hernandez  <aldyh@redhat.com>
23896         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23897         Change condition to [_SOFT_FLOAT].
23898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23899         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23900         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23901         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23902         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23905         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23909         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23910         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23912         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23913         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23914         declaration.
23916 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23918         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23919         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23920         (__longjmp): Use LOAD_GP to load saved GPRs.
23921         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23922         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23923         (__sigsetjmp): Use SAVE_GP to save GPRs.
23925         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23926         Do not append -msoft-float.
23927         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23929 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23931         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23933 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23935         [BZ #15966]
23936         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23937         (_FPU_GETCW): Use initial "__" on variable and field names but not
23938         on macro parameter name.
23939         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23940         parentheses around reference to macro parameter.
23942 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23944         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23945         prototype.
23946         (ctype_startup): Use uint32_t in cast and sizeof for
23947         ctype->charnames.
23949 2013-09-11  Jia Liu  <proljc@gmail.com>
23951         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23952         __daddr_t_defined.
23953         [__FreeBSD__]: Likewise.
23955 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23957         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23958         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23959         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23960         (strchr): Remove __strchr_sse42 ifunc selection.
23961         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23962         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23964 2013-09-11  Will Newton  <will.newton@linaro.org>
23966         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23967         parameter to RES. Remove hardcoded 1000 value.
23968         * benchtests/bench-skeleton.c (main): Pass RES parameter
23969         to TIMING_INIT and multiply result by 1000.
23971 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23975 2013-09-11  Andreas Schwab  <schwab@suse.de>
23977         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23978         if not defined.
23979         (O_TMPFILE) [__USE_GNU]: Define.
23980         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23981         Define.
23983 2013-09-11  Will Newton  <will.newton@linaro.org>
23985         [BZ #15857]
23986         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23987         does not overflow.
23989 2013-09-11  Will Newton  <will.newton@linaro.org>
23991         [BZ #15856]
23992         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23993         does not overflow.
23995 2013-09-11  Will Newton  <will.newton@linaro.org>
23997         [BZ #15855]
23998         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23999         does not overflow.
24001 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
24003         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24004         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24005         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24006         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24007         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24009 2013-09-10  Allan McRae  <allan@archlinux.org>
24011         [BZ #15748]
24012         * manual/arith.texi (Parsing of Floats): Clarify
24013         cross-reference.
24015         [BZ #15849]
24016         * manual/install.texi (Running make install): Mention
24017         --enable-pt-chown.
24018         * INSTALL: Regenerated.
24020 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
24022         * csu/init-first.c (_init): Remove the !SHARED condition around
24023         FPU control word initialization.
24024         * elf/dl-support.c (_dl_fpu_control): New variable.
24025         (_dl_aux_init) <AT_FPUCW>: Initialize it.
24026         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24027         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24028         * math/test-fpucw-static.c: New file.
24029         * math/test-fpucw-ieee.c: New file.
24030         * math/test-fpucw-ieee-static.c: New file.
24031         * math/Makefile (tests): Add `test-fpucw-ieee' and
24032         `$(tests-static)'.
24033         (tests-static): New variable.
24034         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24035         dependency to...
24036         [($(build-shared),yes)]
24037         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24038         ... this.
24039         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24040         New dependency.
24042 2013-09-09  Allan McRae  <allan@archlinux.org>
24044         [BZ #15939]
24045         * manual/string.texi (Collation Functions): Fix typo in
24046         strcoll example.
24047         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24049         [BZ #15893]
24050         * stdlib/isomac.c (get_null_defines): Fix memory leak.
24052         [BZ #15892]
24053         * libio/memstream.c (open_memstream): Fix memory leak.
24054         * libio/wmemstream.c (open_wmemstream): Likewise.
24056         [BZ #15895]
24057         * nscd/netgroupcache.c: Fix nesting of ifdefs.
24059 2013-09-09  Will Newton  <will.newton@linaro.org>
24061         * malloc/Makefile: Add tst-realloc to tests.
24062         * malloc/tst-realloc.c: New file.
24064 2013-09-09  Allan McRae  <allan@archlinux.org>
24066         [BZ #15844]
24067         * COPYING: Update from GNU website to fix FSF address.
24068         * COPYING.LIB: Likewise.
24070 2013-09-06  David S. Miller  <davem@davemloft.net>
24072         * po/zh_TW.po: Update Chinese (traditional) translation from
24073         translation project.
24075 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
24076             Joseph Myers  <joseph@codesourcery.com>
24078         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24079         "localeinfo.h".
24080         (obstack_chunk_alloc): New macro.
24081         (obstack_chunk_free): Likewise.
24082         (record_offset): New function.
24083         (init_locale_data): Likewise.
24084         (align_locale_data): Likewise.
24085         (add_locale_empty): Likewise.
24086         (add_locale_raw_data): Likewise.
24087         (add_locale_raw_obstack): Likewise.
24088         (add_locale_string): Likewise.
24089         (add_locale_wstring): Likewise.
24090         (add_locale_uint32): Likewise.
24091         (add_locale_uint32_array): Likewise.
24092         (add_locale_char): Likewise.
24093         (start_locale_structure): Likewise.
24094         (end_locale_structure): Likewise.
24095         (start_locale_prelude): Likewise.
24096         (end_locale_prelude): Likewise.
24097         (write_locale_data): Take locale_file structure rather than an
24098         iovec.
24099         * locale/programs/locfile.h: Include "obstack.h".
24100         (struct locale_file): Change to store locale file contents instead
24101         of header.
24102         (init_locale_data): New prototype.
24103         (align_locale_data): Likewise.
24104         (add_locale_empty): Likewise.
24105         (add_locale_raw_data): Likewise.
24106         (add_locale_raw_obstack): Likewise.
24107         (add_locale_string): Likewise.
24108         (add_locale_wstring): Likewise.
24109         (add_locale_uint32): Likewise.
24110         (add_locale_uint32_array): Likewise.
24111         (add_locale_char): Likewise.
24112         (start_locale_structure): Likewise.
24113         (end_locale_structure): Likewise.
24114         (start_locale_prelude): Likewise.
24115         (end_locale_prelude): Likewise.
24116         (write_locale_data): Update prototype.
24117         * locale/programs/3level.h (struct TABLE): Remove result field.
24118         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24119         Use new locale_file interface.
24120         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24121         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24122         * locale/programs/ld-address.c (address_output): Use new
24123         locale_file interface.
24124         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24125         NO_ADD_LOCALE.
24126         (collate_finish): Don't call collseq_table_finalize.
24127         (collate_output): Use new locale_file interface.
24128         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24129         in file.
24130         (NO_FINALIZE): Change to NO_ADD_LOCALE.
24131         (TABLE): Move defines earlier in file.
24132         (ELEMENT): Likewise.
24133         (DEFAULT): Likewise.
24134         (wctrans_table_add): Move macro and inline function earlier in
24135         file.
24136         (struct wctype_table): Move type earlier in file.
24137         (add_locale_wctype_table): New static prototype.
24138         (struct locale_ctype_t): Use logical types instead of struct iovec
24139         pointers for members.
24140         (ctype_output): Use new locale_file interface.
24141         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
24142         new locale_file interface.
24143         (allocate_arrays): Update for use of new locale_file interface.
24144         * locale/programs/ld-identification.c (identification_output): Use
24145         new locale_file interface.
24146         * locale/programs/ld-measurement.c (measurement_output): Likewise.
24147         * locale/programs/ld-messages.c (messages_output): Likewise.
24148         * locale/programs/ld-monetary.c (monetary_output): Likewise.
24149         * locale/programs/ld-name.c (name_output): Likewise.
24150         * locale/programs/ld-numeric.c (numeric_output): Likewise.
24151         * locale/programs/ld-paper.c (paper_output): Likewise.
24152         * locale/programs/ld-telephone.c (telephone_output): Likewise.
24153         * locale/programs/ld-time.c (time_output): Likewise.
24155 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24157         * benchtests/Makefile: Add memrchr benchmark.
24158         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24159         benchmark as memrchr.
24160         * benchtests/bench-memrchr-ifunc.c: New file.
24161         * benchtests/bench-memrchr.c: New file.
24163 2013-09-06   Will Newton  <will.newton@linaro.org>
24165         * benchtests/Makefile (string-bench): Add memcpy.
24167 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
24168             Cong Wang  <amwang@redhat.com>
24170         [BZ #15850]
24171         * sysdeps/unix/sysv/linux/bits/in.h
24172         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24173         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24174         before __USE_KERNEL_IPV6_DEFS uses.
24175         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24176         IPPROTO_BEETPH.
24177         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24178         sockaddr_in6, or ipv6_mreq.
24180 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24182         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24183         memory access for final bytes in some large inputs.
24184         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24186 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24188         * string/test-memrchr.c: New file.
24189         * string/test-memrchr-ifunc.c: New file.
24190         * string/Makefile: Add new memrchr testcase.
24192 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
24194         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24195         fanotify_init returns EPERM.
24197 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24199         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24200         errors.
24201         (top level): Treat second token from macro or constant entries for
24202         allowed headers as allowed.
24203         * include/complex.h: Condition internal declarations on
24204         [!_ISOMAC].
24205         * include/fenv.h: Condition include of <stdbool.h> and internal
24206         declarations on [!_ISOMAC].
24208 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
24210         [BZ #15923]
24211         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24213 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24215         * configure.in (--enable-versioning): Remove configure option.
24216         (libc_cv_asm_symver_directive): Remove configure test.
24217         (libc_cv_ld_version_script_option): Likewise.
24218         (VERSIONING): Remove variable and AC_SUBST.
24219         (DO_VERSIONING): Remove AC_DEFINE.
24220         * configure: Regenerated.
24221         * config.h.in (DO_VERSIONING): Remove macro.
24222         * Makerules [$(versioning) = yes]: Change conditionals to
24223         [$(build-shared) = yes].
24224         * config.make.in (versioning): Remove variable.
24225         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24226         [$(build-shared) = yes].
24227         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24228         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24229         * elf/Makefile [$(versioning) = yes]: Change conditionals to
24230         [$(build-shared) = yes].
24231         * extra-lib.mk [$(versioning) = yes]: Likewise.
24232         * hurd/Makefile [$(versioning) = yes]: Likewise.
24233         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24234         [SHARED].
24235         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24236         [SHARED].
24237         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24238         [SHARED && !NO_HIDDEN].
24239         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24240         [SHARED].
24241         [SHARED && DO_VERSIONING]: Likewise..
24242         * libio/Makefile [$(versioning) = yes]: Change conditionals to
24243         [$(build-shared) = yes].
24244         * manual/install.texi (--disable-versioning): Remove
24245         documentation.
24246         * INSTALL: Regenerated.
24247         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24248         to [SHARED].
24249         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24250         [$(build-shared) = yes].
24251         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24252         * sysdeps/i386/i686/multiarch/strstr-c.c
24253         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24254         [SHARED && !NO_HIDDEN].
24255         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24256         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24257         * sysdeps/powerpc/powerpc32/dl-machine.c
24258         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24259         * sysdeps/powerpc/powerpc32/sysdep.h
24260         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24261         to [SHARED && PIC && !NO_HIDDEN].
24262         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24263         conditional to [SHARED].
24265 2013-09-04   Will Newton  <will.newton@linaro.org>
24267         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24268         * benchtests/bench-string.h: Include bench-timing.h instead
24269         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24270         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24271         call to HP_TIMING_DIFF_INIT.
24272         * benchtests/bench-memccpy.c: Use bench-timing.h macros
24273         instead of hp-timing.h macros.
24274         * benchtests/bench-memchr.c: Likewise.
24275         * benchtests/bench-memcmp.c: Likewise.
24276         * benchtests/bench-memcpy.c: Likewise.
24277         * benchtests/bench-memmem.c: Likewise.
24278         * benchtests/bench-memmove.c: Likewise.
24279         * benchtests/bench-memset.c: Likewise.
24280         * benchtests/bench-rawmemchr.c: Likewise.
24281         * benchtests/bench-strcasecmp.c: Likewise.
24282         * benchtests/bench-strcasestr.c: Likewise.
24283         * benchtests/bench-strcat.c: Likewise.
24284         * benchtests/bench-strchr.c: Likewise.
24285         * benchtests/bench-strcmp.c: Likewise.
24286         * benchtests/bench-strcpy.c: Likewise.
24287         * benchtests/bench-strcpy_chk.c: Likewise.
24288         * benchtests/bench-strlen.c: Likewise.
24289         * benchtests/bench-strncasecmp.c: Likewise.
24290         * benchtests/bench-strncat.c: Likewise.
24291         * benchtests/bench-strncmp.c: Likewise.
24292         * benchtests/bench-strncpy.c: Likewise.
24293         * benchtests/bench-strnlen.c: Likewise.
24294         * benchtests/bench-strpbrk.c: Likewise.
24295         * benchtests/bench-strrchr.c: Likewise.
24296         * benchtests/bench-strspn.c: Likewise.
24297         * benchtests/bench-strstr.c: Likewise.
24299 2013-09-04  Will Newton  <will.newton@linaro.org>
24301         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24303 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
24305         [BZ #15427]
24306         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24307         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24308         * math/libm-test.inc (lgamma_test_data): Add more tests.
24309         * sysdeps/i386/fpu/libm-test-ulps: Update.
24310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24312 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
24314         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24316         Add ifunc.
24317         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24318         Add strcmp-sse2-unaligned
24319         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24321 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24323         * Versions.def (libc): Add GLIBC_2.19.
24325 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24327         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24328         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24330 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
24332         [BZ #14155]
24333         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24334         intermediate calculations in recurrence.
24335         (__ieee754_ynf): Likewise.
24336         * math/libm-test.inc (jn_test_data): Do not allow spurious
24337         underflow exception.  Add more tests.
24338         (yn_test_data): Add more tests.
24339         * sysdeps/i386/fpu/libm-test-ulps: Update.
24340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24342 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
24344         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24346 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24348         * csu/init-first.c: Fix then/than typos.
24349         * locale/programs/ld-collate.c: Likewise.
24350         * locale/programs/linereader.h: Likewise.
24351         * manual/charset.texi: Likewise.
24352         * manual/filesys.texi: Likewise.
24353         * manual/stdio.texi: Likewise.
24354         * manual/string.texi: Likewise.
24355         * stdlib/fmtmsg.c: Likewise.
24356         * sysdeps/i386/stpncpy.S: Likewise.
24357         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24358         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24359         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24360         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24362 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24364         * elf/dl-open.c: Fix typos.
24365         * iconvdata/gbbig5.c: Likewise.
24366         * iconvdata/iso-2022-jp.c: Likewise.
24367         * iconv/gconv_int.h: Likewise.
24368         * iconv/loop.c: Likewise.
24369         * nis/rpcsvc/nis.h: Likewise.
24370         * resolv/ns_name.c: Likewise.
24371         * stdio-common/vfscanf.c: Likewise.
24372         * streams/stropts.h: Likewise.
24373         * sunrpc/rpc_thread.c: Likewise.
24374         * sysdeps/i386/strpbrk.S: Likewise.
24375         * sysdeps/ieee754/k_standard.c: Likewise.
24376         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24377         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24378         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24379         * sysdeps/mach/hurd/profil.c: Likewise.
24380         * sysdeps/s390/dl-procinfo.h: Likewise.
24381         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24382         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24383         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24384         * sysdeps/x86_64/dl-trampoline.S: Likewise.
24385         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24387 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
24389         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24392 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
24394         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24395         aix specific files.
24396         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24397         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24398         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24399         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24400         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24401         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24402         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24403         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24405 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24406             Roland McGrath  <roland@hack.frob.com>
24408         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24409         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24411 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24413         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24414         __executable_start symbol instead of _start.
24416 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24418         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24419         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24420         Move macros to...
24421         * sysdeps/gnu/ldsodefs.h: ... this new file.
24423         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24424         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24425         instead of ELFOSABI_LINUX.
24427         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24428         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24429         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24430         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24431         Likewise.
24432         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24433         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24434         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24435         Likewise.
24436         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24437         (ibm_extended_long_double): Add ieee_nan member.
24438         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24439         (do_test): New function.
24441         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24442         TEST_TRUNC.
24443         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24444         functions, renamed from truncdfsf_test, trunctfsf_test,
24445         trunctfdf_test.
24446         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24447         functions.
24448         (do_test): Run all these.
24450 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24452         * argp/argp-help.c: Fix typos.
24453         * argp/argp-parse.c: Likewise.
24454         * debug/backtracesyms.c: Likewise.
24455         * elf/elf.h: Likewise.
24456         * malloc/malloc.c: Likewise.
24457         * nis/nis_print.c: Likewise.
24458         * resolv/res_comp.c: Likewise.
24459         * stdlib/stdlib.h: Likewise.
24460         * sunrpc/clnt_tcp.c: Likewise.
24461         * sunrpc/clnt_udp.c: Likewise.
24462         * sunrpc/clnt_unix.c: Likewise.
24463         * sysdeps/unix/bsd/ptsname.c: Likewise.
24464         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24465         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24467         Likewise.
24468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24469         Likewise.
24470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24471         Likewise.
24472         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24474 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24476         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24479 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24481         [BZ #15897]
24482         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24483         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24484         ($(objpfx)bug-dl-leaf): New rule.
24485         ($(objpfx)bug-dl-leaf.so): Likewise.
24486         ($(objpfx)bug-dl-leaf.out): Likewise.
24487         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24488         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24489         * dlfcn/bug-dl-leaf.c: New test.
24490         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24491         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24492         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24493         (dlclose): Likewise.
24494         (dlmopen): Likewise.
24496 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24498         * include/netdb.h [!_ISOMAC]:
24499         Don't include <tls.h>.
24500         (h_errno, __libc_h_errno): Move declaration and macros out of
24501         [_LIBC_REENTRANT].
24503         * include/resolv.h [_RESOLV_H_]:
24504         Don't include <tls.h>.
24505         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24506         * resolv/res_libc.c: Don't include <tls.h>.
24507         (_res): Use __attribute__ ((nocommon)) in place of
24508         __attribute__ ((section (".bss"))).
24510         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24511         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24513         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24515         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24516         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24518         * resolv/res_mkquery.c: Include <sys/time.h>.
24520         * inet/ifreq.c: Moved to ...
24521         * sysdeps/unix/ifreq.c: ... here.
24522         * inet/ifreq.c: New file, true stub version.
24524         * socket/sa_len.c: New file.
24525         * socket/Makefile (aux): Add it.
24526         * sysdeps/unix/sysv/linux/Makefile
24527         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24528         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24529         and #include <socket/sa_len.c>.
24530         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24531         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24533         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24534         * bits/socket.h: ... here.
24536         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24537         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24538         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24540 2013-08-27  Andreas Schwab  <schwab@suse.de>
24542         [BZ #15736]
24543         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24544         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24545         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24546         * string/test-strcasecmp.c (test_main): Run tests in several
24547         locales.
24548         * string/test-strncasecmp.c (test_main): Likewise.
24550         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24551         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24552         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24553         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24554         (__strncasecmp_ssse3) [PIC]: Likewise.
24556 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24558         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24560         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24561         instead of explicitly declaring xdecrypt.
24562         * nis/nss_nis/nis-publickey.c: Likewise.
24564 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24566         [BZ #15890]
24567         * nscd/aicache.c: Include res_hconf.h.
24568         (addhstaiX): Initialize res_hconf.
24570 2013-08-26  Andreas Schwab  <schwab@suse.de>
24572         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24573         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24575 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24577         * nscd/aicache.c (addhstaiX): Fix indentation.
24579 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24581         * configure.ac: Quote $build_pt_chown test.
24582         * configure: Regenerated.
24584 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24586         [BZ #15532]
24587         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24588         * math/s_cexpf.c (__cexpf): Likewise.
24589         * math/s_cexpl.c (__cexpl): Likewise.
24590         * math/libm-test.inc (cexp_test_data): Correct expected return
24591         value for NaN + i0.  Add another test.
24593 2013-08-22  David S. Miller  <davem@davemloft.net>
24595         * po/ca.po: Update Catalan translation from translation project.
24596         * po/uk.po: Add Ukrainian translations from translation project.
24598 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
24600         [BZ #15797]
24601         * math/s_fdim.c (__fdim): Check for infinite arguments if result
24602         is infinite, not alongside NaN test.
24603         * math/s_fdimf.c (__fdimf): Likewise.
24604         * math/s_fdiml.c (__fdiml): Likewise.
24605         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
24606         errno is unchanged.
24608 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
24610         * argp/argp-help.c: Fix typos.
24611         * crypt/speeds.c: Likewise.
24612         * csu/check_fds.c: Likewise.
24613         * elf/dl-load.c: Likewise.
24614         * elf/dl-open.c: Likewise.
24615         * elf/reldep3.c: Likewise.
24616         * elf/reldep.c: Likewise.
24617         * elf/sprof.c: Likewise.
24618         * iconv/iconv_charmap.c: Likewise.
24619         * iconv/skeleton.c: Likewise.
24620         * iconv/strtab.c: Likewise.
24621         * io/lockf64.c: Likewise.
24622         * libio/libioP.h: Likewise.
24623         * resolv/gai_notify.c: Likewise.
24624         * resolv/ns_name.c: Likewise.
24625         * resolv/ns_samedomain.c: Likewise.
24626         * resolv/res_send.c: Likewise.
24627         * stdlib/random.c: Likewise.
24628         * sunrpc/rpc/xdr.h: Likewise.
24629         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24630         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24631         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24632         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24633         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24634         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24635         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24636         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24637         * sysdeps/mach/hurd/check_fds.c: Likewise.
24638         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24639         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24640         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24641         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24642         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24643         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24644         * sysdeps/pthread/aio_notify.c: Likewise.
24645         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24646         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24647         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24648         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24649         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24651 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24653         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24654         version if bit_Slow_SSE4_2 is set.
24655         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24656         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24658 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24660         [BZ #15867]
24661         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24662         trampoline stack frame information.
24663         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24664         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24665         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24666         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24667         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24668         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24669         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24670         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24671         sa_flags value.
24672         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24673         interrupting a syscall and set with option SA_SIGINFO.
24675 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24677         [BZ #15531]
24678         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24679         argument is infinite.
24680         * math/s_cprojf.c (__cprojf): Likewise.
24681         * math/s_cprojl.c (__cprojl): Likewise.
24682         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24683         * math/libm-test.inc (cproj_test_data): Add more tests.
24685         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24687         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24688         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24689         size.  Use __ffs to determine corresponding shift.
24691 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24692             Roland McGrath  <roland@hack.frob.com>
24694         * Makefile (INSTALL): Remove trailing blank lines from output of
24695         makeinfo.
24697 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24699         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24700         Align 32 bit compat elf_greg to 8 bytes.
24702 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24704         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24706 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24708         * string/strcoll_l.c (coll_seq): New structure.
24709         (get_next_seq_cached): New function.
24710         (get_next_seq): New function.
24711         (do_compare): New function.
24712         (STRCOLL): Use GNU style definition.  Simplify implementation
24713         by using get_next_seq, get_next_seq_cached and do_compare.
24715 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24717         [BZ #14699]
24718         CVE-2013-4237
24719         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24720         member.
24721         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24722         member.
24723         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24724         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24725         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24726         conditional.
24727         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24728         GETDENTS_64BIT_ALIGNED.
24729         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24730         * manual/filesys.texi (Reading/Closing Directory): Document
24731         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24732         strongly.
24733         * manual/conf.texi (Limits for Files): Add portability note to
24734         NAME_MAX, PATH_MAX.
24735         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24737 2013-08-13  Andreas Schwab  <schwab@suse.de>
24739         [BZ #15749]
24740         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24741         of fabs.
24742         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24743         LDBL_MAX_EXP >= 16384]: Add tests for it.
24745 2013-08-12  David S. Miller  <davem@davemloft.net>
24747         * version.h (RELEASE): Set to "development".
24748         (VERSION): Set to "2.18.90".
24749         * NEWS: Add 2.19 section.
24751 2013-08-03  David S. Miller  <davem@davemloft.net>
24753         * po/ko.po: Update Korean translation from translation project.
24755 2013-08-01  David S. Miller  <davem@davemloft.net>
24757         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24758         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24759         Bilka.
24761 2013-07-30  David S. Miller  <davem@davemloft.net>
24763         * po/fr.po: Update French translation from translation project.
24765 2013-07-28  David S. Miller  <davem@davemloft.net>
24767         * po/cs.po: Update Czech translation from translation project.
24769         * po/sv.po: Update Swedish translation from translation project.
24771 2013-07-27  David S. Miller  <davem@davemloft.net>
24773         * po/eo.po: Update Esperanto translation from translation project.
24775         * po/vi.po: Update Vietnamese translation from translation project.
24777         * po/de.po: Update German translation from translation project.
24779 2013-07-26  David S. Miller  <davem@davemloft.net>
24781         * po/bg.po: Update Bulgarian translation from translation project.
24783         * po/nl.po: Update Dutch translation from translation project.
24784         * po/pl.po: Update Polish translation from translation project.
24785         * po/ru.po: Update Russian translation from translation project.
24787 2013-07-24  David S. Miller  <davem@davemloft.net>
24789         * po/libc.pot: Update.
24791 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24793         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24794         variable page size.
24795         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24796         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24797         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24799 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24801         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24803 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24804             Andreas Schwab  <schwab@suse.de>
24805             Roland McGrath  <roland@hack.frob.com>
24806             Joseph Myers  <joseph@codesourcery.com>
24807             Carlos O'Donell  <carlos@redhat.com>
24809         [BZ #15755]
24810         * config.h.in: Define HAVE_PT_CHOWN.
24811         * config.make.in (build-pt-chown): New variable.
24812         * configure.in (--enable-pt_chown): New configure option.
24813         * configure: Regenerate.
24814         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24815         build-pt-chown is enabled.
24816         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24817         pt_chown to fix pty ownership.
24818         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24819         CLOSE_ALL_FDS.
24820         * manual/install.texi (Configuring and compiling): Mention
24821         --enable-pt_chown. Add @findex for grantpt.
24822         * INSTALL: Regenerate.
24824 2013-07-20  David S. Miller  <davem@davemloft.net>
24826         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24827         difference between 32-bit and 64-bit.
24829 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24831         [BZ #15711]
24832         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24833         Avoid system header dependency with -ffreestanding.
24834         ($(objpfx)bits/syscall%d): Likewise.
24836 2013-07-13  David S. Miller  <davem@davemloft.net>
24838         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24839         underflows from atanl/atan2l due to bug 15319.
24840         (casinh_test_data): Likewise.
24842 2013-07-07  David S. Miller  <davem@davemloft.net>
24844         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24846 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24848         * sysdeps/i386/fpu/libm-test-ulps: Update.
24849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24851 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24853         * configure.in (--enable-lock-elision): Fix message text.
24854         * INSTALL: Regenerate.
24855         * configure: Regenerate.
24857 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24861 2013-07-03  Andreas Jaeger  <aj@suse.de>
24863         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24864         define.
24865         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24866         (ptrace_peeksiginfo_args): Add.
24867         (__ptrace_peeksiginfo_flags): Add.
24868         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24869         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24870         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24872 2013-07-03  Allan McRae  <allan@archlinux.org>
24874         * sysdeps/i386/fpu/libm-test-ulps: Update.
24876 2013-07-02  David S. Miller  <davem@davemloft.net>
24878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24880 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24884 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24886         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24889 2013-07-02  Andi Kleen <ak@linux.intel.com>
24891         * config.h.in (ENABLE_LOCK_ELISION): Add.
24892         * configure.in (--enable-lock-elision): Add option.
24893         * manual/install.texi: Document --enable lock elision.
24894         * configure: Regenerate
24895         * INSTALL: Regenerate.
24897 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24899         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24900         SSE4.2 strcasecmp for libc.a.
24901         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24903 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24905         [BZ #13304]
24906         * soft-fp/op-common.h (_FP_FMA): New macro.
24907         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24908         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24909         (_FP_MUL_MEAT_1_imm): ... here.
24910         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24911         (_FP_MUL_MEAT_1_wide): ... here.
24912         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24913         (_FP_MUL_MEAT_1_hard): ... here.
24914         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24915         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24916         (_FP_MUL_MEAT_2_wide): ... here.
24917         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24918         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24919         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24920         (_FP_MUL_MEAT_2_gmp): ... here.
24921         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24922         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24923         (_FP_MUL_MEAT_4_wide): ... here.
24924         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24925         (_FP_MUL_MEAT_4_gmp): ... here.
24926         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24927         (_FP_WFRACBITS_DW_S): Likewise.
24928         (_FP_WFRACXBITS_DW_S): Likewise.
24929         (_FP_HIGHBIT_DW_S): Likewise.
24930         (FP_FMA_S): Likewise.
24931         (_FP_FRAC_HIGH_DW_S): Likewise.
24932         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24933         (_FP_WFRACBITS_DW_D): Likewise.
24934         (_FP_WFRACXBITS_DW_D): Likewise.
24935         (_FP_HIGHBIT_DW_D): Likewise.
24936         (FP_FMA_D): Likewise.
24937         (_FP_FRAC_HIGH_DW_D): Likewise.
24938         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24939         (_FP_WFRACBITS_DW_E): Likewise.
24940         (_FP_WFRACXBITS_DW_E): Likewise.
24941         (_FP_HIGHBIT_DW_E): Likewise.
24942         (FP_FMA_E): Likewise.
24943         (_FP_FRAC_HIGH_DW_E): Likewise.
24944         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24945         (_FP_WFRACBITS_DW_Q): Likewise.
24946         (_FP_WFRACXBITS_DW_Q): Likewise.
24947         (_FP_HIGHBIT_DW_Q): Likewise.
24948         (FP_FMA_Q): Likewise.
24949         (_FP_FRAC_HIGH_DW_Q): Likewise.
24950         * soft-fp/fmasf4.c: New file.
24951         * soft-fp/fmadf4.c: Likewise.
24952         * soft-fp/fmatf4.c: Likewise.
24954 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24956         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24957         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24958         Silvermont.
24959         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24960         macro.
24961         (index_Slow_SSE4_2): Likewise.
24962         (index_Prefer_PMINUB_for_stringop): Likewise.
24963         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24964         bit_Slow_SSE4_2 is set.
24965         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24966         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24968 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24970         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24971         rtld_global._dl_hwcap2.
24972         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24973         POWER8.
24974         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24975         POWER8 feature descriptions defined in _dl_hwcap2.
24976         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24977         string handling for POWER8 feature bits.
24978         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24979         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24980         _dl_powerpc_cap_flags.
24981         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24982         * sysdeps/powerpc/rtld-global-offsets.sym
24983         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24984         _dl_hwcap2 in the rtld_global_ro structure.
24986 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24988         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24989         hardware capabilities in support of AT_HWCAP2.
24990         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24991         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24992         GLRO(dl_hwcap2).
24993         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24994         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24995         explicitly the unknown a_type display mechanism is used.
24996         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24997         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24998         struct member.
24999         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25000         to macro prototype for AT_HWCAP2 support.
25001         * sysdeps/i386/dl-procinfo.h: Likewise.
25002         * sysdeps/s390/dl-procinfo.h: Likewise.
25003         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25004         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
25005         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
25006         return -1 for unknown a_type display fallback.
25007         * sysdeps/sparc/dl-procinfo.h: Likewise.
25008         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25009         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25011 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
25013         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25014         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25016 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
25018         [BZ #12492]
25019         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25020         mprotect making __stack_prot writable.
25022 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
25023             Joseph Myers  <joseph@codesourcery.com>
25025         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25026         as being properly aligned.
25028 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
25030         * dlfcn/modstatic5.c: New file.
25031         * dlfcn/tststatic5.c: New file.
25032         * dlfcn/Makefile (tests): Add tststatic5.
25033         (tests-static): Likewise.
25034         (modules-names): Add modstatic5.
25035         (tststatic5-ENV): New variable.
25036         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25038         [BZ #15022]
25039         * elf/dl-support.c (_dl_main_map): New variable.
25040         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25041         (_dl_nns, _dl_load_adds): Set to 1.
25042         (_dl_initial_searchlist): Refer to _dl_main_map.
25043         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25044         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25045         call to _dl_get_origin.
25046         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25047         around call_map.
25048         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25049         * dlfcn/modstatic3.c: New file.
25050         * dlfcn/tststatic3.c: New file.
25051         * dlfcn/tststatic4.c: New file.
25052         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25053         (tests-static): Likewise.
25054         (modules-names): Add modstatic3.
25055         (tststatic3-ENV, tststatic4-ENV): New variables.
25056         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25057         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25059 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
25061         * configure.in (CC): Require GCC version 4.4 or later.
25062         * configure: Regenerated.
25063         * manual/install.texi (Tools for Compilation): Update GCC version
25064         requirement.
25065         * INSTALL: Regenerated.
25067 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25069         [BZ #15674]
25070         * string/test-memcmp.c (check2): New.
25071         (main): Call check2.
25073         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25075 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
25077         [BZ #15022]
25078         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25079         over to...
25080         (dl_open_worker) [!SHARED]: ... here.
25082 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25084         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25086 2013-06-25  Richard Henderson  <rth@redhat.com>
25088         * locale/programs/locarchive.c: Include <libc-internal.h>
25090 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
25092         * manual/texinfo.tex: Update to version 2013-06-21.17, with
25093         trailing whitespace removed.
25095 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25097         [BZ #10283]
25098         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25099         * locale/programs/locarchive.c: Include libc-mmap.h.
25100         (prepare_address_space): Take two new outputs (the mmap base and len).
25101         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
25102         values.
25103         (create_archive): Declare new mmap base and len values for
25104         prepare_address_space, and store the result in ah.
25105         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25106         (enlarge_archive): If ah->mmap_base is not NULL, use that and
25107         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25108         Declare new mmap base and len values for
25109         prepare_address_space, and store the result in new_ah.
25110         (open_archive): Declare new mmap base and len values for
25111         prepare_address_space, and store the result in ah.
25112         (close_archive): If ah->mmap_base is not NULL, use that and
25113         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25114         * sysdeps/generic/libc-mmap.h: New file.
25116 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25118         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25119         (ALIGN_UP): Likewise.
25120         (PTR_ALIGN_DOWN): Likewise.
25121         (PTR_ALIGN_UP): Likewise.
25123 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25125         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25126         entry mapped to PPC_PLATFORM_POWER8.
25127         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25128         POWER8.
25129         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25130         (_dl_string_platform): Add case for exporting platform position for
25131         POWER8.
25132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25133         search path to sysdeps/powerpc/powerpc32/power8 directory.
25134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25135         search path to sysdeps/powerpc/powerpc64/power8 directory.
25136         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25137         power7 directories.
25138         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25139         power7 directories.
25141 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25143         * INSTALL: Regenerate.
25145         * nscd/connections.c (nscd_init): Fix comment.
25147 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
25149         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25151         [BZ #15667]
25152         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25153         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25155 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25157         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25158         DL_DST_REQ_STATIC.
25159         (DL_DST_REQ_STATIC): Remove macro.
25161 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
25163         [BZ #7006]
25164         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25165         with a shift of 0 bits.
25167 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25169         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25170         $(tststatic-ENV).
25172 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25174         [BZ #15655]
25175         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25177 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25179         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25180         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25181         accepts -fno-tree-loop-distribute-patterns.
25182         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25183         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25184         recursive call.
25185         * string/memset.c (memset): Likewise.
25186         * string/test-memmove.c (simple_memmove): Disable loop transformation
25187         to library calls.
25188         * string/test-memset.c (simple_memset): Likewise.
25189         * benchtests/bench-memmove.c (simple_memmove): Likewise.
25190         * benchtests/bench-memset.c (simple_memset): Likewise.
25191         * configure: Regenerated.
25193 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
25195         * math/test-misc.c (main): Ignore fesetround failure when failures
25196         of subsequent rounding tests would be ignored.
25198         [BZ #15654]
25199         * math/fedisblxcpt.c (fedisableexcept): Return 0.
25200         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25201         * math/fegetenv.c (__fegetenv): Return 0.
25202         * math/fegetexcept.c (fegetexcept): Return 0.
25203         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25204         FE_TONEAREST.
25205         * math/feholdexcpt.c (feholdexcept): Return 0.
25206         * math/fesetenv.c (__fesetenv): Return 0.
25207         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25208         argument FE_TONEAREST.
25209         * math/feupdateenv.c (__feupdateenv): Return 0.
25210         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25212 2013-06-18  Roland McGrath  <roland@hack.frob.com>
25214         * elf/rtld-Rules (rtld-compile-command.S): New variable.
25215         (rtld-compile-command.s, rtld-compile-command.c): New variables.
25216         ($(objpfx)rtld-%.os rules): Use them.
25218 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25220         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25221         fields.
25223 2013-06-17  Roland McGrath  <roland@hack.frob.com>
25225         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25226         length of target pattern, then descending length of dependency pattern.
25227         * configure.in (AWK): Require gawk 3.1.2 or newer.
25228         * manual/install.texi (Tools for Compilation): Say that we do.
25229         * configure: Regenerated.
25231         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25232         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25233         * scripts/sysd-rules.awk: ... this new script.
25234         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25235         than a glob-style pattern.
25237 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
25239         * math/test-misc.c (main): Do not treat incorrectly rounded
25240         conversions as failure unless ROUNDING_TESTS passes.
25242 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
25244         [BZ #15631]
25245         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25246         restore exception state around main square root computation, then
25247         check for inexactness explicitly.
25249         * math/libm-test.inc (fma_test_data): Add another test.
25251 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25253         * manual/threads.texi (Non-POSIX Extensions): New document
25254         node.  Document pthread_getattr_default_np and
25255         pthread_setattr_default_np.
25257         * Versions.def (libpthread): Add GLIBC_2.18.
25258         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25260         Likewise.
25261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25262         Likewise.
25263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25264         Likewise.
25265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25266         Likewise.
25267         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25268         Likewise.
25269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25270         Likewise.
25271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25272         Likewise.
25273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25274         Likewise.
25275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25276         Likewise.
25278 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25281         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25283 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25284             H.J. Lu  <hjl.tools@gmail.com>
25286         [BZ #15627]
25287         * sysdeps/x86_64/rtld-memset.c: Remove file.
25288         * sysdeps/x86_64/rtld-memset.S: New file.
25290 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
25292         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25293         (test_in_one_mode): Take arguments for whether the rounding mode
25294         is supported for each floating-point type.
25295         (do_test): Pass new arguments to test_in_one_mode using
25296         ROUNDING_TESTS.
25298 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25300         * posix/tst-waitid.c (do_test): Distinguish different instances of
25301         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
25302         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25303         before entering the kernel for waitpid.
25305 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25307         * NEWS: Fix note on clock function precision.  Text by Roland
25308         McGrath.
25310 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25312         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25313         it into place only when and if the sanity check passes.
25315 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
25317         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25318         output for whether conversion result is exact.  Take argument
25319         indicating whether type is IBM long double.
25320         (round_for_all): Change need_exact field to ibm_ld.
25321         * stdlib/tst-strtod-round.c (struct exactness): New type.
25322         (struct test): Change bool ld_ok field to struct exactness exact.
25323         (TEST): Update all definitions for change to field.
25324         (tests): Regenerate array contents.
25325         (test_in_one_mode): Take pointer to new field instead of old ld_ok
25326         field value.  Check for IBM long double here.
25327         (do_test): Update calls to test_in_one_mode.
25329 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25331         [BZ #12515]
25332         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25333         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25335 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25337         [BZ #15605]
25338         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25339         generated by the compiler on loop optimizations.
25340         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25341         general definitions.
25343 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
25345         * math/bug-nextafter.c: Include <math-tests.h>.
25346         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25347         the relevant type.
25348         * math/bug-nexttoward.c: Include <math-tests.h>.
25349         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25350         the relevant type.
25351         * math/test-misc.c: Include <math-tests.h>.
25352         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25353         the relevant type.
25355 2013-06-12  Andreas Jaeger  <aj@suse.de>
25357         * po/ia.po: Update Interlingua translation from translation
25358         project.
25360 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25362         * include/fenv.h: Include stdbool.h.
25363         (struct rm_ctx): New structure.
25364         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25365         Define macro.
25366         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25367         (SET_RESTORE_ROUNDF): Likewise.
25368         (SET_RESTORE_ROUNDL): Likewise.
25369         (SET_RESTORE_ROUND_NOEX): Likewise.
25370         (SET_RESTORE_ROUND_NOEXF): Likewise.
25371         (SET_RESTORE_ROUND_NOEXL): Likewise.
25372         (SET_RESTORE_ROUND_53BIT): Likewise.
25373         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25374         (libc_feresetround_noexf_ctx): Likewise.
25375         (libc_feresetround_noexl_ctx): Likewise.
25376         (libc_feholdsetround_53bit_ctx): Likewise.
25377         (libc_feresetround_53bit_ctx): Likewise.
25378         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25379         (libc_feholdexcept_setround_sse_ctx): New function.
25380         (libc_fesetenv_sse_ctx): Likewise.
25381         (libc_feupdateenv_sse_ctx): Likewise.
25382         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25383         (libc_feholdexcept_setround_387_ctx): Likewise.
25384         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25385         (libc_feholdsetround_387_prec_ctx): Likewise.
25386         (libc_feholdsetround_387_ctx): Likewise.
25387         (libc_feholdsetround_387_53bit_ctx): Likewise.
25388         (libc_feholdsetround_sse_ctx): Likewise.
25389         (libc_feresetround_sse_ctx): Likewise.
25390         (libc_feresetround_387_ctx): Likewise.
25391         (libc_feupdateenv_387_ctx): Likewise.
25392         (libc_feholdexcept_setroundf_ctx): Define macro.
25393         (libc_fesetenvf_ctx): Likewise.
25394         (libc_feupdateenvf_ctx): Likewise.
25395         (libc_feholdsetroundf_ctx): Likewise.
25396         (libc_feresetroundf_ctx): Likewise.
25397         (libc_feholdexcept_setround_ctx): Likewise.
25398         (libc_fesetenv_ctx): Likewise.
25399         (libc_feupdateenv_ctx): Likewise.
25400         (libc_feholdsetround_ctx): Likewise.
25401         (libc_feresetround_ctx): Likewise.
25402         (libc_feholdexcept_setroundl_ctx): Likewise.
25403         (libc_feupdateenvl_ctx): Likewise.
25404         (libc_feholdsetroundl_ctx): Likewise.
25405         (libc_feresetroundl_ctx): Likewise.
25406         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25407         (libc_feresetround_53bit_ctx): Likewise.
25409 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25411         * locale/iso-639.def: Convert to UTF-8.
25413 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
25415         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25416         (EXCEPTION_TESTS_double): Likewise.
25417         (EXCEPTION_TESTS_long_double): Likewise.
25418         (EXCEPTION_TESTS): Likewise.
25419         * math/libm-test.inc (test_exceptions): Only test exceptions if
25420         EXCEPTION_TESTS (FLOAT).
25422 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25424         * benchtests/Makefile (string-bench): Add strcpy_chk and
25425         stpcpy_chk.
25426         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25427         * benchtests/bench-stpcpy_chk.c: New file.
25428         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25429         * benchtests/bench-strcpy_chk.c: New file.
25430         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25431         code.
25432         (do_test): Likewise.
25434 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25436         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25437         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25438         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25439         with tabs where appropriate.
25440         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25441         dl-procinfo.h.
25442         [PPC_PLATFORM_PPC440]: Likewise.
25443         [PPC_PLATFORM_PPC464]: Likewise.
25444         [PPC_PLATFORM_PPC476]: Likewise.
25445         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25446         ppc464, and ppc476 platform strings merging from ports/
25447         dl-procinfo.h.
25449 2013-06-11  Andreas Schwab  <schwab@suse.de>
25451         [BZ #14991]
25452         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25453         (from_ucs4_idx): Regenerate.
25454         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25455         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25456         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25457         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25458         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25459         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25460         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25461         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25462         from FROM_LOOP and TO_LOOP specific macros.
25463         (BODY): Handle combining characters.
25464         * iconvdata/BIG5HKSCS.irreversible: Update.
25465         * iconvdata/BIG5HKSCS.precomposed: New file.
25466         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25467         characters.
25468         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25470 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25472         * include/sys/time.h: Fix indentation and add copyright header.
25474         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25475         (do_test): Likewise.
25476         * string/test-memchr.c (do_one_test): Likewise.
25477         (do_test): Likewise.
25478         * string/test-memcmp.c (do_one_test): Likewise.
25479         (do_test): Likewise.
25480         * string/test-memcpy.c (do_one_test): Likewise.
25481         (do_test): Likewise.
25482         * string/test-memmem.c (do_one_test): Likewise.
25483         (do_test): Likewise.
25484         (do_random_tests): Likewise.
25485         * string/test-memmove.c (do_one_test): Likewise.
25486         (do_test): Likewise.
25487         * string/test-memset.c (do_one_test): Likewise.
25488         (do_test): Likewise.
25489         * string/test-rawmemchr.c (do_one_test): Likewise.
25490         (do_test): Likewise.
25491         * string/test-strcasecmp.c (do_one_test): Likewise.
25492         (do_test): Likewise.
25493         * string/test-strcasestr.c (do_one_test): Likewise.
25494         (do_test): Likewise.
25495         * string/test-strcat.c (do_one_test): Likewise.
25496         (do_test): Likewise.
25497         * string/test-strchr.c (do_one_test): Likewise.
25498         (do_test): Likewise.
25499         * string/test-strcmp.c (do_one_test): Likewise.
25500         (do_test): Likewise.
25501         * string/test-strcpy.c (do_one_test): Likewise.
25502         (do_test): Likewise.
25503         * string/test-string.h: Likewise.
25504         (test_init): Likewise.
25505         * string/test-strlen.c (do_one_test): Likewise.
25506         (do_test): Likewise.
25507         * string/test-strncasecmp.c (do_one_test): Likewise.
25508         (do_test): Likewise.
25509         * string/test-strncat.c (do_one_test): Likewise.
25510         (do_test): Likewise.
25511         * string/test-strncmp.c (do_one_test): Likewise.
25512         (do_test_limit): Likewise.
25513         (do_test): Likewise.
25514         * string/test-strncpy.c (do_one_test): Likewise.
25515         (do_test): Likewise.
25516         * string/test-strnlen.c (do_one_test): Likewise.
25517         (do_test): Likewise.
25518         * string/test-strpbrk.c (do_one_test): Likewise.
25519         (do_test): Likewise.
25520         * string/test-strrchr.c (do_one_test): Likewise.
25521         (do_test): Likewise.
25522         * string/test-strspn.c (do_one_test): Likewise.
25523         (do_test): Likewise.
25524         * string/test-strstr.c (do_one_test): Likewise.
25525         (do_test): Likewise.
25527         * benchtests/Makefile (string-bench): Add string benchmarks.
25528         * benchtests/bench-bcopy-ifunc.c: New file.
25529         * benchtests/bench-bcopy.c: New file.
25530         * benchtests/bench-bzero-ifunc.c: New file.
25531         * benchtests/bench-bzero.c: New file.
25532         * benchtests/bench-memccpy-ifunc.c: New file.
25533         * benchtests/bench-memccpy.c: New file.
25534         * benchtests/bench-memchr-ifunc.c: New file.
25535         * benchtests/bench-memchr.c: New file.
25536         * benchtests/bench-memcmp-ifunc.c: New file.
25537         * benchtests/bench-memcmp.c: New file.
25538         * benchtests/bench-memmem-ifunc.c: New file.
25539         * benchtests/bench-memmem.c: New file.
25540         * benchtests/bench-memmove-ifunc.c: New file.
25541         * benchtests/bench-memmove.c: New file.
25542         * benchtests/bench-mempcpy-ifunc.c: New file.
25543         * benchtests/bench-mempcpy.c: New file.
25544         * benchtests/bench-memset-ifunc.c: New file.
25545         * benchtests/bench-memset.c: New file.
25546         * benchtests/bench-rawmemchr-ifunc.c: New file.
25547         * benchtests/bench-rawmemchr.c: New file.
25548         * benchtests/bench-stpcpy-ifunc.c: New file.
25549         * benchtests/bench-stpcpy.c: New file.
25550         * benchtests/bench-stpncpy-ifunc.c: New file.
25551         * benchtests/bench-stpncpy.c: New file.
25552         * benchtests/bench-strcasecmp-ifunc.c: New file.
25553         * benchtests/bench-strcasecmp.c: New file.
25554         * benchtests/bench-strcasestr-ifunc.c: New file.
25555         * benchtests/bench-strcasestr.c: New file.
25556         * benchtests/bench-strcat-ifunc.c: New file.
25557         * benchtests/bench-strcat.c: New file.
25558         * benchtests/bench-strchr-ifunc.c: New file.
25559         * benchtests/bench-strchr.c: New file.
25560         * benchtests/bench-strchrnul-ifunc.c: New file.
25561         * benchtests/bench-strchrnul.c: New file.
25562         * benchtests/bench-strcmp-ifunc.c: New file.
25563         * benchtests/bench-strcmp.c: New file.
25564         * benchtests/bench-strcpy-ifunc.c: New file.
25565         * benchtests/bench-strcpy.c: New file.
25566         * benchtests/bench-strcspn-ifunc.c: New file.
25567         * benchtests/bench-strcspn.c: New file.
25568         * benchtests/bench-strlen-ifunc.c: New file.
25569         * benchtests/bench-strlen.c: New file.
25570         * benchtests/bench-strncasecmp-ifunc.c: New file.
25571         * benchtests/bench-strncasecmp.c: New file.
25572         * benchtests/bench-strncat-ifunc.c: New file.
25573         * benchtests/bench-strncat.c: New file.
25574         * benchtests/bench-strncmp-ifunc.c: New file.
25575         * benchtests/bench-strncmp.c: New file.
25576         * benchtests/bench-strncpy-ifunc.c: New file.
25577         * benchtests/bench-strncpy.c: New file.
25578         * benchtests/bench-strnlen-ifunc.c: New file.
25579         * benchtests/bench-strnlen.c: New file.
25580         * benchtests/bench-strpbrk-ifunc.c: New file.
25581         * benchtests/bench-strpbrk.c: New file.
25582         * benchtests/bench-strrchr-ifunc.c: New file.
25583         * benchtests/bench-strrchr.c: New file.
25584         * benchtests/bench-strspn-ifunc.c: New file.
25585         * benchtests/bench-strspn.c: New file.
25586         * benchtests/bench-strstr-ifunc.c: New file.
25587         * benchtests/bench-strstr.c: New file.
25589         * benchtests/Makefile: Disable parallel execution of targets.
25590         (string-bench): Add memcpy.
25591         (benchset): New variable to store a list of benchmark sets.
25592         (bench-func): Renamed from bench.
25593         (bench-set): New target.
25594         (bench): Depend on bench-func and bench-set.
25595         * benchtests/README: Add section on benchmark sets.
25596         * benchtests/bench-memcpy-ifunc.c: New file.
25597         * benchtests/bench-memcpy.c: New file.
25598         * benchtests/bench-string.h: New file.
25600 2013-06-11  Andreas Schwab  <schwab@suse.de>
25602         [BZ #15577]
25603         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25604         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25605         values in the triple.
25606         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25607         terminator in the group key.
25609 2013-06-11  Andreas Jaeger  <aj@suse.de>
25611         * po/zh_TW.po: Update Chinese (traditional) translation from
25612         translation project.
25614 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25616         * include/time.h (__clock_gettime): Add libc_hidden_proto.
25617         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25618         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
25619         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25620         (clock_getcpuclockid): Likewise.
25621         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25622         Add weak_alias and libc_hidden_def.
25623         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25624         * rt/clock_gettime.c (clock_gettime): Rename to
25625         __clock_gettime.  Add weak_alias and libc_hidden_def.
25626         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25627         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25628         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
25629         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25630         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25631         Likewise.
25632         * rt/clock_settime.c (clock_settime): Rename to
25633         __clock_settime.  Add weak_alias and libc_hidden_def.
25634         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25636 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
25638         * mach/err_boot.sub: Remove trailing whitespace.
25639         * mach/err_ipc.sub: Likewise.
25640         * mach/err_mach.sub: Likewise.
25642         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25643         (ROUNDING_TESTS_double): Likewise.
25644         (ROUNDING_TESTS_long_double): Likewise.
25645         (ROUNDING_TESTS): Likewise.
25646         * math/libm-test.inc: Include <math-tests.h>.
25647         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25648         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25649         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25650         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25652 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25654         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25655         of assigning.
25657 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
25659         * sysdeps/gnu/errlist.awk: Do not generate space at end of
25660         otherwise empty TRANS lines.
25661         * sysdeps/gnu/errlist.c: Regenerated.
25663         * catgets/gencat.c (error_print): Use (void) in function
25664         definition.
25665         * crypt/crypt_util.c (__init_des): Likewise.
25666         * crypt/speeds.c (Stop): Likewise.
25667         (main): Likewise.
25668         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25669         * inet/ruserpass.c (token): Likewise.
25670         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25671         * intl/localealias.c (extend_alias_table): Likewise.
25672         * intl/plural-exp.c (init_germanic_plural): Likewise.
25673         * libio/fcloseall.c (__fcloseall): Likewise.
25674         * libio/genops.c (_IO_flush_all): Likewise.
25675         (_IO_flush_all_linebuffered): Likewise.
25676         (_IO_cleanup): Likewise.
25677         (_IO_iter_begin): Likewise.
25678         (_IO_iter_end): Likewise.
25679         (_IO_list_lock): Likewise.
25680         (_IO_list_unlock): Likewise.
25681         (_IO_list_resetlock): Likewise.
25682         * libio/getchar.c (getchar): Likewise.
25683         * libio/getchar_u.c (getchar_unlocked): Likewise.
25684         * libio/getwchar.c (getwchar): Likewise.
25685         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25686         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25687         * login/getpt.c (__getpt): Likewise.
25688         * login/tst-utmp.c (main): Likewise.
25689         * malloc/hooks.c (__malloc_check_init): Likewise.
25690         * malloc/malloc.c (__malloc_stats): Likewise.
25691         * malloc/mtrace.c (tr_break): Likewise.
25692         (mtrace): Likewise.
25693         (muntrace): Likewise.
25694         * misc/fstab.c (endfsent): Likewise.
25695         * misc/getclktck.c (__getclktck): Likewise.
25696         * misc/getdtsz.c (__getdtablesize): Likewise.
25697         * misc/gethostid.c (gethostid): Likewise.
25698         * misc/getpagesize.c (__getpagesize): Likewise.
25699         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25700         (__get_nprocs): Likewise.
25701         (__get_phys_pages): Likewise.
25702         (__get_avphys_pages): Likewise.
25703         * misc/getttyent.c (getttyent): Likewise.
25704         (setttyent): Likewise.
25705         (endttyent): Likewise.
25706         * misc/getusershell.c (getusershell): Likewise.
25707         (endusershell): Likewise.
25708         (setusershell): Likewise.
25709         (initshells): Likewise.
25710         * misc/hsearch.c (__hdestroy): Likewise.
25711         * misc/sync.c (sync): Likewise.
25712         * misc/syslog.c (closelog_internal): Likewise.
25713         (closelog): Likewise.
25714         * misc/ttyslot.c (ttyslot): Likewise.
25715         * misc/vhangup.c (vhangup): Likewise.
25716         * posix/fork.c (__fork): Likewise.
25717         * posix/getegid.c (__getegid): Likewise.
25718         * posix/geteuid.c (__geteuid): Likewise.
25719         * posix/getgid.c (__getgid): Likewise.
25720         * posix/getpid.c (__getpid): Likewise.
25721         * posix/getppid.c (__getppid): Likewise.
25722         * posix/getuid.c (__getuid): Likewise.
25723         * posix/pause.c (pause): Likewise.
25724         * posix/setpgrp.c (setpgrp): Likewise.
25725         * posix/setsid.c (__setsid): Likewise.
25726         * posix/test-vfork.c (noop): Likewise.
25727         * resolv/gethnamaddr.c (_endhtent): Likewise.
25728         (_gethtent): Likewise.
25729         (ht_endhostent): Likewise.
25730         (gethostent): Likewise.
25731         (dns_service): Likewise.
25732         * stdlib/drand48.c (drand48): Likewise.
25733         * stdlib/lrand48.c (lrand48): Likewise.
25734         * stdlib/mrand48.c (mrand48): Likewise.
25735         * stdlib/rand.c (rand): Likewise.
25736         * stdlib/random.c (__random): Likewise.
25737         * stdlib/setenv.c (clearenv): Likewise.
25738         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25739         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25740         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25741         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25742         (__get_nprocs): Likewise.
25743         (__get_phys_pages): Likewise.
25744         (__get_avphys_pages): Likewise.
25745         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25746         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25747         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25748         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25749         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25750         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25751         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25752         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25753         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25754         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25755         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25756         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25757         * sysdeps/posix/clock.c (clock): Likewise.
25758         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25759         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25760         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25761         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25762         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25763         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25764         (__get_nprocs_conf): Likewise.
25765         (__get_phys_pages): Likewise.
25766         (__get_avphys_pages): Likewise.
25767         * time/clock.c (clock): Likewise.
25768         * time/tzset.c (__tzname_max): Likewise.
25770 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25772         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25773         (__bswap_32): Do not use "register".
25774         * crypt/crypt.c (_ufc_doit_r): Likewise.
25775         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25776         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25777         * gmon/gmon.c (__monstartup): Likewise.
25778         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25779         * hurd/hurdmalloc.c (more_memory): Likewise.
25780         (malloc): Likewise.
25781         (free): Likewise.
25782         (realloc): Likewise.
25783         (malloc_fork_prepare): Likewise.
25784         (malloc_fork_parent): Likewise.
25785         (malloc_fork_child): Likewise.
25786         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25787         (_svcauth_des): Likewise.
25788         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25789         * inet/inet_net.c (inet_network): Likewise.
25790         * inet/inet_netof.c (inet_netof): Likewise.
25791         * inet/rcmd.c (__validuser2_sa): Likewise.
25792         * io/fts.c (fts_open): Likewise.
25793         (fts_load): Likewise.
25794         (fts_close): Likewise.
25795         (fts_read): Likewise.
25796         (fts_children): Likewise.
25797         (fts_build): Likewise.
25798         (fts_stat): Likewise.
25799         (fts_sort): Likewise.
25800         (fts_alloc): Likewise.
25801         (fts_lfree): Likewise.
25802         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25803         (_IO_file_xsgetn): Likewise.
25804         (_IO_file_xsgetn_mmap): Likewise.
25805         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25806         (_IO_cookie_write): Likewise.
25807         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25808         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25809         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25810         * malloc/obstack.c (_obstack_begin): Likewise.
25811         (_obstack_begin_1): Likewise.
25812         (_obstack_newchunk): Likewise.
25813         (_obstack_allocated_p): Likewise.
25814         (obstack_free): Likewise.
25815         (_obstack_memory_used): Likewise.
25816         * misc/getttyent.c (getttynam): Likewise.
25817         (getttyent): Likewise.
25818         (skip): Likewise.
25819         (value): Likewise.
25820         * misc/getusershell.c (initshells): Likewise.
25821         * misc/syslog.c (__vsyslog_chk): Likewise.
25822         * misc/ttyslot.c (ttyslot): Likewise.
25823         * nis/nis_hash.c (__nis_hash): Likewise.
25824         * posix/fnmatch_loop.c (FCT): Likewise.
25825         * posix/getconf.c (print_all): Likewise.
25826         (main): Likewise.
25827         * posix/getopt.c (exchange): Likewise.
25828         * posix/glob.c (globfree): Likewise.
25829         (prefix_array): Likewise.
25830         (__glob_pattern_type): Likewise.
25831         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25832         (NS_GET32): Likewise.
25833         (NS_PUT16): Likewise.
25834         (NS_PUT32): Likewise.
25835         * resolv/gethnamaddr.c (getanswer): Likewise.
25836         (gethostbyname2): Likewise.
25837         (gethostbyaddr): Likewise.
25838         (_gethtent): Likewise.
25839         (_gethtbyname2): Likewise.
25840         (_gethtbyaddr): Likewise.
25841         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25842         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25843         * resolv/res_init.c (__res_vinit): Likewise.
25844         (net_mask): Likewise.
25845         * resolv/res_mkquery.c (outchar): Likewise.
25846         (PRINT): Likewise.
25847         * stdio-common/printf_fp.c (outchar): Likewise.
25848         (PRINT): Likewise.
25849         * stdio-common/printf_fphex.c (outchar): Likewise.
25850         (PRINT): Likewise.
25851         * stdio-common/printf_size.c (outchar): Likewise.
25852         (PRINT): Likewise.
25853         * stdio-common/test_rdwr.c (main): Likewise.
25854         * stdio-common/tfformat.c (matches): Likewise.
25855         * stdio-common/vfprintf.c (outchar): Likewise.
25856         (printf_unknown): Likewise.
25857         (buffered_vfprintf): Likewise.
25858         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25859         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25860         (ReadFile): Likewise.
25861         * stdlib/qsort.c (SWAP): Likewise.
25862         (_quicksort): Likewise.
25863         * stdlib/setenv.c (__add_to_environ): Likewise.
25864         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25865         * stdlib/strtol_l.c (__strtol_l): Likewise.
25866         * stdlib/tst-strtod.c (main): Likewise.
25867         * stdlib/tst-strtol.c (main): Likewise.
25868         * stdlib/tst-strtoll.c (main): Likewise.
25869         * string/bits/string2.h (__strcmp_cc): Likewise.
25870         (__strcmp_cg): Likewise.
25871         (__strcspn_c1): Likewise.
25872         (__strcspn_c2): Likewise.
25873         (__strcspn_c3): Likewise.
25874         (__strspn_c1): Likewise.
25875         (__strspn_c2): Likewise.
25876         (__strspn_c3): Likewise.
25877         (__strsep_1c): Likewise.
25878         (__strsep_2c): Likewise.
25879         (__strsep_3c): Likewise.
25880         * string/memccpy.c (__memccpy): Likewise.
25881         * string/stpcpy.c (__stpcpy): Likewise.
25882         * string/strcmp.c (strcmp): Likewise.
25883         * string/strrchr.c (strrchr): Likewise.
25884         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25885         Likewise.
25886         * sysdeps/mach/hurd/getcwd.c
25887         (_hurd_canonicalize_directory_name_internal): Likewise.
25888         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25889         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25890         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25891         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25892         Likewise, in both definitions.
25893         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25894         definitions.
25895         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25896         64] (__bswap_64): Likewise.
25897         * time/test_time.c (main): Likewise.
25898         * time/tzfile.c (__tzfile_read): Likewise.
25899         (__tzfile_compute): Likewise.
25900         * time/tzset.c (__tzset_parse_tz): Likewise.
25901         (tzset_internal): Likewise.
25902         (compute_change): Likewise.
25903         * wcsmbs/wcscat.c (__wcscat): Likewise.
25904         * wcsmbs/wcschr.c (wcschr): Likewise.
25905         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25906         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25907         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25908         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25909         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25910         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25911         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25912         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25913         * wcsmbs/wmemset.c (wmemset): Likewise.
25915 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25917         * scripts/config.guess: Update to version 2013-05-16.
25918         * scripts/config.sub: Update to version 2013-04-24.
25919         * scripts/install-sh: Update to version 2011-11-20.07.
25920         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25921         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25923 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25925         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25926         * elf/sln.c: Likewise.
25927         * hurd/hurd/ioctl.h: Likewise.
25928         * hurd/hurdmalloc.c: Likewise.
25929         * hurd/xattr.c: Likewise.
25930         * include/shlib-compat.h: Likewise.
25931         * inet/ruserpass.c: Likewise.
25932         * libio/iofgets_u.c: Likewise.
25933         * libio/iofgetws_u.c: Likewise.
25934         * locale/programs/ld-identification.c: Likewise.
25935         * locale/programs/ld-time.c: Likewise.
25936         * mach/msg-destroy.c: Likewise.
25937         * nss/nss_files/files-netgrp.c: Likewise.
25938         * resolv/res_data.c: Likewise.
25939         * soft-fp/op-1.h: Likewise.
25940         * soft-fp/op-2.h: Likewise.
25941         * soft-fp/op-4.h: Likewise.
25942         * soft-fp/op-common.h: Likewise.
25943         * stdio-common/printf_fphex.c: Likewise.
25944         * stdlib/strtod_l.c: Likewise.
25945         * sunrpc/rpc/clnt.h: Likewise.
25946         * sysdeps/generic/framestate.c: Likewise.
25947         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25948         * sysdeps/i386/bsd-setjmp.S: Likewise.
25949         * sysdeps/i386/__longjmp.S: Likewise.
25950         * sysdeps/i386/setjmp.S: Likewise.
25951         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25952         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25953         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25954         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25955         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25956         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25957         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25958         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25959         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25960         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25961         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25962         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25963         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25964         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25965         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25966         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25967         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25968         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25969         * sysdeps/ieee754/support.c: Likewise.
25970         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25971         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25972         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25973         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25974         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25975         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25976         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25977         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25978         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25979         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25980         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25981         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25982         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25983         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25984         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25985         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25986         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25989 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25991         * posix/transbug.c: Remove executable mode.
25993 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25995         * crypt/speeds.c: Remove trailing whitespace.
25996         * dlfcn/default.c: Likewise.
25997         * elf/ifuncdep2.c: Likewise.
25998         * elf/ifuncmain1.c: Likewise.
25999         * elf/ifuncmain1vis.c: Likewise.
26000         * elf/testobj.h: Likewise.
26001         * elf/tst-stackguard1.c: Likewise.
26002         * gmon/sys/gmon.h: Likewise.
26003         * hurd/hurdmsg.c: Likewise.
26004         * hurd/new-fd.c: Likewise.
26005         * hurd/ports-get.c: Likewise.
26006         * iconvdata/ibm1008_420.c: Likewise.
26007         * inet/tst-getni1.c: Likewise.
26008         * inet/tst-getni2.c: Likewise.
26009         * libio/ioungetc.c: Likewise.
26010         * libio/wfiledoalloc.c: Likewise.
26011         * manual/libm-err-tab.pl: Likewise.
26012         * math/w_dremf.c: Likewise.
26013         * misc/ftruncate.c: Likewise.
26014         * posix/bug-glob2.c: Likewise.
26015         * posix/tst-pcre.c: Likewise.
26016         * posix/wait4.c: Likewise.
26017         * resolv/README: Likewise.
26018         * resolv/res_debug.h: Likewise.
26019         * resolv/tst-inet_ntop.c: Likewise.
26020         * setjmp/bug269-setjmp.c: Likewise.
26021         * soft-fp/extended.h: Likewise.
26022         * soft-fp/op-1.h: Likewise.
26023         * soft-fp/op-2.h: Likewise.
26024         * soft-fp/op-4.h: Likewise.
26025         * soft-fp/op-8.h: Likewise.
26026         * soft-fp/testit.c: Likewise.
26027         * stdio-common/bug16.c: Likewise.
26028         * stdlib/random.c: Likewise.
26029         * sunrpc/rpcsvc/rquota.x: Likewise.
26030         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26031         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26032         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26033         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26034         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26035         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26036         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26037         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26038         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26039         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26040         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26041         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26042         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26043         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26044         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26045         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26046         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26047         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26048         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26049         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26050         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26051         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26052         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26053         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26054         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26055         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26056         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26057         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26058         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26059         * sysdeps/ieee754/s_lib_version.c: Likewise.
26060         * sysdeps/mach/hurd/check_fds.c: Likewise.
26061         * sysdeps/mach/hurd/getsockname.c: Likewise.
26062         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26063         * sysdeps/mach/hurd/recvfrom.c: Likewise.
26064         * sysdeps/powerpc/bits/link.h: Likewise.
26065         * sysdeps/powerpc/dl-procinfo.c: Likewise.
26066         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26067         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26068         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26069         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26070         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26071         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26072         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26073         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26074         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26075         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26076         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26077         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26078         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26079         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26080         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26081         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26082         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26083         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26084         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26085         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26086         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26087         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26088         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26089         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26090         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26091         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26092         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26093         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26094         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26095         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26096         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26097         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26098         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26099         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26100         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26101         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26102         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26103         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26104         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26105         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26106         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26107         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26108         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26109         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26110         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26111         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26112         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26113         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26114         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26115         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26116         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26117         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26118         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26119         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26120         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26121         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26122         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26123         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26124         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26125         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26126         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26127         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26128         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26129         * sysdeps/powerpc/sysdep.h: Likewise.
26130         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26131         * sysdeps/s390/s390-64/sub_n.S: Likewise.
26132         * sysdeps/sh/dl-trampoline.S: Likewise.
26133         * sysdeps/sh/memset.S: Likewise.
26134         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26135         * sysdeps/sh/strlen.S: Likewise.
26136         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26137         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26138         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26139         * sysdeps/sparc/sparc32/rem.S: Likewise.
26140         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26141         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26142         * sysdeps/sparc/sparc32/strchr.S: Likewise.
26143         * sysdeps/sparc/sparc32/udiv.S: Likewise.
26144         * sysdeps/sparc/sparc32/urem.S: Likewise.
26145         * sysdeps/sparc/sparc64/add_n.S: Likewise.
26146         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26147         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26148         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26149         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26150         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26151         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26152         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26153         * sysdeps/unix/bsd/times.c: Likewise.
26154         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26155         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26159         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26160         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26161         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26162         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26163         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26164         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26165         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26166         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26167         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26168         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26169         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26170         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26171         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26172         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26173         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26174         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26175         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26176         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26177         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26178         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26179         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26180         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26181         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26182         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26183         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26184         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26185         * sysdeps/x86_64/strcspn.S: Likewise.
26187 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26189         * locale/C-translit.h: Revert #include <stdint.h> because this is a
26190         generated file.  Regenerate properly from gen-translit.pl.
26191         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
26192         locale/C-translit.h.
26194 2013-06-05  Andreas Schwab  <schwab@suse.de>
26196         [BZ #15100]
26197         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26198         week as 6 instead of -1.
26199         * time/tst-strptime.c (day_tests): Add test case.
26201 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26203         * sysdeps/generic/math_private.h
26204         (libc_feholdexcept_setround_53bit): Replace with
26205         libc_feholdsetround_53bit.
26206         (libc_feupdateenv_53bit): Replace with
26207         libc_feresetround_53bit.
26208         (SET_RESTORE_ROUND_53BIT): Adjust.
26210 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26212         * string/test-strchrnul.c: Add copyright header.
26214         * posix/tst-getaddrinfo4.c: Increase test timeout.
26216 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
26218         [BZ #15536]
26219         * math/libm-test.inc (MAX_EXP): Remove
26220         (MIN_EXP): Define.
26221         (ulp): Use MIN_EXP - MANT_DIG.
26222         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26224 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
26226         * po/be.po: Revert last change.
26227         * po/zh_CN.po: Likewise.
26228         * po/header.pot: Likewise.
26230 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
26232         * Makefile ($(common-objpfx)linkobj/libc.so): Define
26233         link-libc-deps to empty as target-specific variable.
26234         * Makerules (link-libc-args): New variable.
26235         (libc-for-link): Likewise.
26236         (link-libc-deps): Likewise.
26237         (lib%.so): Depend on $(link-libc-deps).  Link with
26238         $(link-libc-args).
26239         (build-module): Link with $(link-libc-args).
26240         (build-module-asneeded): Likewise.
26241         (build-module-helper-objlist): Filter out $(link-libc-deps) from
26242         list of objects.
26243         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26244         target-specific variable.
26245         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26246         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26247         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26248         libc.
26249         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26250         libc and ld.so.
26251         ($(objpfx)libpcprofile.so): Likewise.
26252         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26253         libc_nonshared.a.
26254         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26255         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26256         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26257         $(link-libc-deps).
26258         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26259         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26260         * login/Makefile ($(objpfx)libutil.so): Likewise.
26261         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26262         * math/Makefile ($(objpfx)libm.so): Likewise.
26263         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26264         $(objpfx)libnsl.so): Define libc-for-link as target-specific
26265         variable instead of depending directly on libc.
26266         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26267         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26268         $(link-libc-deps).
26269         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26270         libc.
26271         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26272         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26273         ($(objpfx)libanl.so): Likewise.
26274         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26275         ld.so.
26276         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26277         $(link-libc-deps).
26278         * sysdeps/i386/fpu/Makefile: Remove file.
26279         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26280         ($(objpfx)libm.so): Remove dependency on ld.so.
26282 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
26284         [BZ # 15553]
26285         * nis/yp_xdr.c (XDRMAXNAME): Define.
26286         (XDRMAXRECORD): Define.
26287         (xdr_domainname): Use XDRMAXNAME.
26288         (xdr_mapname): Likewise.
26289         (xdr_peername): Likewise.
26290         (xdr_keydat): Use XDRMAXRECORD.
26291         (xdr_valdat): Likewise.
26293 2013-05-30  Jeff Law  <law@redhat.com>
26295         [BZ #14256]
26296         * manual/errno.texi (ESTALE): Update to account for more than
26297         just NFS file systems.
26298         * sysdeps/gnu/errlist.c: Regenerated.
26300 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26302         [BZ #15465]
26303         * elf/Makefile (tests): Add tst-null-argv.
26304         (modules-names):  Add tst-null-argv-lib.
26305         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26306         (tst-null-argv-ENV): Set environment for tst-null-argv.
26307         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26308         (RTLD_PROGNAME): New macro.
26309         * elf/tst-null-argv.c: New test case.
26310         * elf/tst-null-argv-lib.c: Library for test case.
26311         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26312         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26313         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26314         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26315         * elf/dl-init.c (call_init): Likewise.
26316         (_dl_init): Likewise.
26317         * elf/dl-load.c (print_search_path): Likewise.
26318         (_dl_map_object): Likewise.
26319         * elf/dl-lookup.c (do_lookup_x): Likewise.
26320         (add_dependency): Likewise.
26321         (_dl_lookup_symbol_x): Likewise.
26322         (_dl_debug_bindings): Likewise.
26323         * elf/dl-open.c (_dl_show_scope): Likewise.
26324         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26325         * elf/dl-version.c (match_symbol): Likewise.
26326         (_dl_check_map_versions): Likewise.
26327         * elf/rtld.c (dl_main): Likewise.
26328         (print_unresolved): Use RTLD_PROGNAME.
26329         (print_missing_version): Likewise.
26330         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26331         (elf_machine_rela): Likewise.
26332         * sysdeps/powerpc/powerpc32/dl-machine.c
26333         (__process_machine_rela): Likewise.
26334         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26335         Likewise.
26336         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26337         Likewise.
26338         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26339         Likewise.
26340         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26341         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26342         Likewise.
26343         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26344         Likewise.
26345         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26347 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
26349         * po/be.po: Add descriptive title.
26350         * po/zh_CN.po: Likewise.
26351         * po/header.pot: Likewise.
26353 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
26355         * locale/programs/locarchive.c (create_archive): Inlucde fname in
26356         error message.
26357         (enlarge_archive): Likewise.
26359 2013-05-28  Ben North  <ben@redfrontdoor.org>
26361         * manual/arith.texi (frexp): It is the magnitude of the return
26362         value which lies in [0.5, 1), not the return value itself.
26364 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26368 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
26370         * stdio-common/bug26.c (main): Correct fscanf template.
26372         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26373         declare _dl_skip_args.
26375         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26376         Don't declare.
26378         * manual/platform.texi: Add missing @end deftypefun.
26380 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26382         [BZ #15529]
26383         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26384         bit of mantissa of 2^16382.
26385         * math/libm-test.inc (hypot_test_data): Add more tests.
26387         * math/libm-test.inc: Add drem and pow10 to list of tested
26388         functions.
26389         (pow10_test): New function.
26390         (drem_test): Likewise.
26391         (drem_test_tonearest): Likewise.
26392         (drem_test_towardzero): Likewise.
26393         (drem_test_downward): Likewise.
26394         (drem_test_upward): Likewise.
26395         (main): Call the new functions.
26397         * math/libm-test.inc (finite_test_data): Remove.
26398         (finite_test): Run tests from isfinite_test_data.
26399         (gamma_test_data): Remove.
26400         (gamma_test): Run tests from lgamma_test_data.
26401         * sysdeps/i386/fpu/libm-test-ulps: Update.
26402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26404 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26406         * manual/platform.texi: Add PowerPC PPR function set documentation.
26407         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26408         implementation.
26410 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
26412         * math/libm-test.inc (MAX_EXP): Define.
26413         (ULPDIFF): Define.
26414         (ulp): New function.
26415         (check_float_internal): Use ULPDIFF.
26416         (cpow_test): Disable failing test.
26417         (check_ulp): Test ulp() implemetnation.
26418         (main): Call check_ulp before starting tests.
26420 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26422         * math/gen-libm-test.pl (generate_testfile): Do not handle
26423         START_DATA and END_DATA.
26424         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26425         END_DATA.
26426         (acos_tonearest_test_data): Likewise.
26427         (acos_towardzero_test_data): Likewise.
26428         (acos_downward_test_data): Likewise.
26429         (acos_upward_test_data): Likewise.
26430         (acosh_test_data): Likewise.
26431         (asin_test_data): Likewise.
26432         (asin_tonearest_test_data): Likewise.
26433         (asin_towardzero_test_data): Likewise.
26434         (asin_downward_test_data): Likewise.
26435         (asin_upward_test_data): Likewise.
26436         (asinh_test_data): Likewise.
26437         (atan_test_data): Likewise.
26438         (atanh_test_data): Likewise.
26439         (atan2_test_data): Likewise.
26440         (cabs_test_data): Likewise.
26441         (cacos_test_data): Likewise.
26442         (cacosh_test_data): Likewise.
26443         (carg_test_data): Likewise.
26444         (casin_test_data): Likewise.
26445         (casinh_test_data): Likewise.
26446         (catan_test_data): Likewise.
26447         (catanh_test_data): Likewise.
26448         (cbrt_test_data): Likewise.
26449         (ccos_test_data): Likewise.
26450         (ccosh_test_data): Likewise.
26451         (ceil_test_data): Likewise.
26452         (cexp_test_data): Likewise.
26453         (cimag_test_data): Likewise.
26454         (clog_test_data): Likewise.
26455         (clog10_test_data): Likewise.
26456         (conj_test_data): Likewise.
26457         (copysign_test_data): Likewise.
26458         (cos_test_data): Likewise.
26459         (cos_tonearest_test_data): Likewise.
26460         (cos_towardzero_test_data): Likewise.
26461         (cos_downward_test_data): Likewise.
26462         (cos_upward_test_data): Likewise.
26463         (cosh_test_data): Likewise.
26464         (cosh_tonearest_test_data): Likewise.
26465         (cosh_towardzero_test_data): Likewise.
26466         (cosh_downward_test_data): Likewise.
26467         (cosh_upward_test_data): Likewise.
26468         (cpow_test_data): Likewise.
26469         (cproj_test_data): Likewise.
26470         (creal_test_data): Likewise.
26471         (csin_test_data): Likewise.
26472         (csinh_test_data): Likewise.
26473         (csqrt_test_data): Likewise.
26474         (ctan_test_data): Likewise.
26475         (ctan_tonearest_test_data): Likewise.
26476         (ctan_towardzero_test_data): Likewise.
26477         (ctan_downward_test_data): Likewise.
26478         (ctan_upward_test_data): Likewise.
26479         (ctanh_test_data): Likewise.
26480         (ctanh_tonearest_test_data): Likewise.
26481         (ctanh_towardzero_test_data): Likewise.
26482         (ctanh_downward_test_data): Likewise.
26483         (ctanh_upward_test_data): Likewise.
26484         (erf_test_data): Likewise.
26485         (erfc_test_data): Likewise.
26486         (exp_test_data): Likewise.
26487         (exp_tonearest_test_data): Likewise.
26488         (exp_towardzero_test_data): Likewise.
26489         (exp_downward_test_data): Likewise.
26490         (exp_upward_test_data): Likewise.
26491         (exp10_test_data): Likewise.
26492         (exp2_test_data): Likewise.
26493         (expm1_test_data): Likewise.
26494         (fabs_test_data): Likewise.
26495         (fdim_test_data): Likewise.
26496         (finite_test_data): Likewise.
26497         (floor_test_data): Likewise.
26498         (fma_test_data): Likewise.
26499         (fma_towardzero_test_data): Likewise.
26500         (fma_downward_test_data): Likewise.
26501         (fma_upward_test_data): Likewise.
26502         (fmax_test_data): Likewise.
26503         (fmin_test_data): Likewise.
26504         (fmod_test_data): Likewise.
26505         (fpclassify_test_data): Likewise.
26506         (frexp_test_data): Likewise.
26507         (gamma_test_data): Likewise.
26508         (hypot_test_data): Likewise.
26509         (ilogb_test_data): Likewise.
26510         (isfinite_test_data): Likewise.
26511         (isgreater_test_data): Likewise.
26512         (isgreaterequal_test_data): Likewise.
26513         (isinf_test_data): Likewise.
26514         (isless_test_data): Likewise.
26515         (islessequal_test_data): Likewise.
26516         (islessgreater_test_data): Likewise.
26517         (isnan_test_data): Likewise.
26518         (isnormal_test_data): Likewise.
26519         (issignaling_test_data): Likewise.
26520         (isunordered_test_data): Likewise.
26521         (j0_test_data): Likewise.
26522         (j1_test_data): Likewise.
26523         (jn_test_data): Likewise.
26524         (ldexp_test_data): Likewise.
26525         (lgamma_test_data): Likewise.
26526         (lrint_test_data): Likewise.
26527         (lrint_tonearest_test_data): Likewise.
26528         (lrint_towardzero_test_data): Likewise.
26529         (lrint_downward_test_data): Likewise.
26530         (lrint_upward_test_data): Likewise.
26531         (llrint_test_data): Likewise.
26532         (llrint_tonearest_test_data): Likewise.
26533         (llrint_towardzero_test_data): Likewise.
26534         (llrint_downward_test_data): Likewise.
26535         (llrint_upward_test_data): Likewise.
26536         (log_test_data): Likewise.
26537         (log10_test_data): Likewise.
26538         (log1p_test_data): Likewise.
26539         (log2_test_data): Likewise.
26540         (logb_test_data): Likewise.
26541         (logb_downward_test_data): Likewise.
26542         (lround_test_data): Likewise.
26543         (llround_test_data): Likewise.
26544         (modf_test_data): Likewise.
26545         (nearbyint_test_data): Likewise.
26546         (nextafter_test_data): Likewise.
26547         (nexttoward_test_data): Likewise.
26548         (pow_test_data): Likewise.
26549         (pow_tonearest_test_data): Likewise.
26550         (pow_towardzero_test_data): Likewise.
26551         (pow_downward_test_data): Likewise.
26552         (pow_upward_test_data): Likewise.
26553         (remainder_test_data): Likewise.
26554         (remainder_tonearest_test_data): Likewise.
26555         (remainder_towardzero_test_data): Likewise.
26556         (remainder_downward_test_data): Likewise.
26557         (remainder_upward_test_data): Likewise.
26558         (remquo_test_data): Likewise.
26559         (rint_test_data): Likewise.
26560         (rint_tonearest_test_data): Likewise.
26561         (rint_towardzero_test_data): Likewise.
26562         (rint_downward_test_data): Likewise.
26563         (rint_upward_test_data): Likewise.
26564         (round_test_data): Likewise.
26565         (scalb_test_data): Likewise.
26566         (scalbn_test_data): Likewise.
26567         (scalbln_test_data): Likewise.
26568         (signbit_test_data): Likewise.
26569         (sin_test_data): Likewise.
26570         (sin_tonearest_test_data): Likewise.
26571         (sin_towardzero_test_data): Likewise.
26572         (sin_downward_test_data): Likewise.
26573         (sin_upward_test_data): Likewise.
26574         (sincos_test_data): Likewise.
26575         (sinh_test_data): Likewise.
26576         (sinh_tonearest_test_data): Likewise.
26577         (sinh_towardzero_test_data): Likewise.
26578         (sinh_downward_test_data): Likewise.
26579         (sinh_upward_test_data): Likewise.
26580         (sqrt_test_data): Likewise.
26581         (tan_test_data): Likewise.
26582         (tan_tonearest_test_data): Likewise.
26583         (tan_towardzero_test_data): Likewise.
26584         (tan_downward_test_data): Likewise.
26585         (tan_upward_test_data): Likewise.
26586         (tanh_test_data): Likewise.
26587         (tgamma_test_data): Likewise.
26588         (trunc_test_data): Likewise.
26589         (y0_test_data): Likewise.
26590         (y1_test_data): Likewise.
26591         (yn_test_data): Likewise.
26592         (significand_test_data): Likewise.
26594         * math/gen-libm-test.pl (@functions): Remove variable.
26595         (generate_testfile): Don't handle START and END lines.
26596         * math/libm-test.inc (START): New macro.
26597         (END): Likewise.
26598         (END_COMPLEX): Likewise.
26599         (acos_test): Use END macro without arguments.
26600         (acos_test_tonearest): Likewise.
26601         (acos_test_towardzero): Likewise.
26602         (acos_test_downward): Likewise.
26603         (acos_test_upward): Likewise.
26604         (acosh_test): Likewise.
26605         (asin_test): Likewise.
26606         (asin_test_tonearest): Likewise.
26607         (asin_test_towardzero): Likewise.
26608         (asin_test_downward): Likewise.
26609         (asin_test_upward): Likewise.
26610         (asinh_test): Likewise.
26611         (atan_test): Likewise.
26612         (atanh_test): Likewise.
26613         (atan2_test): Likewise.
26614         (cabs_test): Likewise.
26615         (cacos_test): Use END_COMPLEX macro without arguments.
26616         (cacosh_test): Likewise.
26617         (carg_test): Use END macro without arguments.
26618         (casin_test): Use END_COMPLEX macro without arguments.
26619         (casinh_test): Likewise.
26620         (catan_test): Likewise.
26621         (catanh_test): Likewise.
26622         (cbrt_test): Use END macro without arguments.
26623         (ccos_test): Use END_COMPLEX macro without arguments.
26624         (ccosh_test): Likewise.
26625         (ceil_test): Use END macro without arguments.
26626         (cexp_test): Use END_COMPLEX macro without arguments.
26627         (cimag_test): Use END macro without arguments.
26628         (clog_test): Use END_COMPLEX macro without arguments.
26629         (clog10_test): Likewise.
26630         (conj_test): Likewise.
26631         (copysign_test): Use END macro without arguments.
26632         (cos_test): Likewise.
26633         (cos_test_tonearest): Likewise.
26634         (cos_test_towardzero): Likewise.
26635         (cos_test_downward): Likewise.
26636         (cos_test_upward): Likewise.
26637         (cosh_test): Likewise.
26638         (cosh_test_tonearest): Likewise.
26639         (cosh_test_towardzero): Likewise.
26640         (cosh_test_downward): Likewise.
26641         (cosh_test_upward): Likewise.
26642         (cpow_test): Use END_COMPLEX macro without arguments.
26643         (cproj_test): Likewise.
26644         (creal_test): Use END macro without arguments.
26645         (csin_test): Use END_COMPLEX macro without arguments.
26646         (csinh_test): Likewise.
26647         (csqrt_test): Likewise.
26648         (ctan_test): Likewise.
26649         (ctan_test_tonearest): Likewise.
26650         (ctan_test_towardzero): Likewise.
26651         (ctan_test_downward): Likewise.
26652         (ctan_test_upward): Likewise.
26653         (ctanh_test): Likewise.
26654         (ctanh_test_tonearest): Likewise.
26655         (ctanh_test_towardzero): Likewise.
26656         (ctanh_test_downward): Likewise.
26657         (ctanh_test_upward): Likewise.
26658         (erf_test): Use END macro without arguments.
26659         (erfc_test): Likewise.
26660         (exp_test): Likewise.
26661         (exp_test_tonearest): Likewise.
26662         (exp_test_towardzero): Likewise.
26663         (exp_test_downward): Likewise.
26664         (exp_test_upward): Likewise.
26665         (exp10_test): Likewise.
26666         (exp2_test): Likewise.
26667         (expm1_test): Likewise.
26668         (fabs_test): Likewise.
26669         (fdim_test): Likewise.
26670         (finite_test): Likewise.
26671         (floor_test): Likewise.
26672         (fma_test): Likewise.
26673         (fma_test_towardzero): Likewise.
26674         (fma_test_downward): Likewise.
26675         (fma_test_upward): Likewise.
26676         (fmax_test): Likewise.
26677         (fmin_test): Likewise.
26678         (fmod_test): Likewise.
26679         (fpclassify_test): Likewise.
26680         (frexp_test): Likewise.
26681         (gamma_test): Likewise.
26682         (hypot_test): Likewise.
26683         (ilogb_test): Likewise.
26684         (isfinite_test): Likewise.
26685         (isgreater_test): Likewise.
26686         (isgreaterequal_test): Likewise.
26687         (isinf_test): Likewise.
26688         (isless_test): Likewise.
26689         (islessequal_test): Likewise.
26690         (islessgreater_test): Likewise.
26691         (isnan_test): Likewise.
26692         (isnormal_test): Likewise.
26693         (issignaling_test): Likewise.
26694         (isunordered_test): Likewise.
26695         (j0_test): Likewise.
26696         (j1_test): Likewise.
26697         (jn_test): Likewise.
26698         (ldexp_test): Likewise.
26699         (lgamma_test): Likewise.
26700         (lrint_test): Likewise.
26701         (lrint_test_tonearest): Likewise.
26702         (lrint_test_towardzero): Likewise.
26703         (lrint_test_downward): Likewise.
26704         (lrint_test_upward): Likewise.
26705         (llrint_test): Likewise.
26706         (llrint_test_tonearest): Likewise.
26707         (llrint_test_towardzero): Likewise.
26708         (llrint_test_downward): Likewise.
26709         (llrint_test_upward): Likewise.
26710         (log_test): Likewise.
26711         (log10_test): Likewise.
26712         (log1p_test): Likewise.
26713         (log2_test): Likewise.
26714         (logb_test): Likewise.
26715         (logb_test_downward): Likewise.
26716         (lround_test): Likewise.
26717         (llround_test): Likewise.
26718         (modf_test): Likewise.
26719         (nearbyint_test): Likewise.
26720         (nextafter_test): Likewise.
26721         (nexttoward_test): Likewise.
26722         (pow_test): Likewise.
26723         (pow_test_tonearest): Likewise.
26724         (pow_test_towardzero): Likewise.
26725         (pow_test_downward): Likewise.
26726         (pow_test_upward): Likewise.
26727         (remainder_test): Likewise.
26728         (remainder_test_tonearest): Likewise.
26729         (remainder_test_towardzero): Likewise.
26730         (remainder_test_downward): Likewise.
26731         (remainder_test_upward): Likewise.
26732         (remquo_test): Likewise.
26733         (rint_test): Likewise.
26734         (rint_test_tonearest): Likewise.
26735         (rint_test_towardzero): Likewise.
26736         (rint_test_downward): Likewise.
26737         (rint_test_upward): Likewise.
26738         (round_test): Likewise.
26739         (scalb_test): Likewise.
26740         (scalbn_test): Likewise.
26741         (scalbln_test): Likewise.
26742         (signbit_test): Likewise.
26743         (sin_test): Likewise.
26744         (sin_test_tonearest): Likewise.
26745         (sin_test_towardzero): Likewise.
26746         (sin_test_downward): Likewise.
26747         (sin_test_upward): Likewise.
26748         (sincos_test): Likewise.
26749         (sinh_test): Likewise.
26750         (sinh_test_tonearest): Likewise.
26751         (sinh_test_towardzero): Likewise.
26752         (sinh_test_downward): Likewise.
26753         (sinh_test_upward): Likewise.
26754         (sqrt_test): Likewise.
26755         (tan_test): Likewise.
26756         (tan_test_tonearest): Likewise.
26757         (tan_test_towardzero): Likewise.
26758         (tan_test_downward): Likewise.
26759         (tan_test_upward): Likewise.
26760         (tanh_test): Likewise.
26761         (tgamma_test): Likewise.
26762         (trunc_test): Likewise.
26763         (y0_test): Likewise.
26764         (y1_test): Likewise.
26765         (yn_test): Likewise.
26766         (significand_test): Likewise.
26768 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26770         [BZ #15381]
26771         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26773 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26775         [BZ #14894]
26776         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26777         __ppc_mdoio and __ppc_mdoom.
26778         * manual/platform.texi: Document new functions __ppc_yield,
26779         __ppc_mdoio and __ppc_mdoom.
26781 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26783         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26784         (main): Mention "tls" pseudo-hwcap is legacy.
26785         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26787 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26789         * math/gen-libm-test.pl (parse_args): Output only string of
26790         arguments as text for test name, not full call or descriptions of
26791         tests for extra outputs.
26792         (generate_testfile): Do not pass function name to parse_args.
26793         Generate this_func variable from START.
26794         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26795         field to arg_str.
26796         (struct test_ff_f_data): Likewise.
26797         (test_ff_f_data_nexttoward): Likewise.
26798         (struct test_fi_f_data): Likewise.
26799         (struct test_fl_f_data): Likewise.
26800         (struct test_if_f_data): Likewise.
26801         (struct test_fff_f_data): Likewise.
26802         (struct test_c_f_data): Likewise.
26803         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26804         (struct test_fF_f1_data): Likewise.
26805         (struct test_ffI_f1_data): Likewise.
26806         (struct test_c_c_data): Rename test_name field to arg_str.
26807         (struct test_cc_c_data): Likewise.
26808         (struct test_f_i_data): Likewise.
26809         (struct test_ff_i_data): Likewise.
26810         (struct test_f_l_data): Likewise.
26811         (struct test_f_L_data): Likewise.
26812         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26813         and extra2_name.
26814         (COMMON_TEST_SETUP): New macro.
26815         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26816         (COMMON_TEST_CLEANUP): Likewise.
26817         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26818         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26819         macros.
26820         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26821         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26822         macros.
26823         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26824         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26825         cleanup macros.
26826         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26827         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26828         macros.
26829         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26830         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26831         macros.
26832         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26833         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26834         cleanup macros.
26835         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26836         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26837         cleanup macros.
26838         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26839         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26840         cleanup macros.
26841         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26842         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26843         macros.
26844         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26845         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26846         macros.
26847         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26848         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26849         macros.
26850         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26851         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26852         cleanup macros.
26853         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26854         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26855         cleanup macros.
26856         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26857         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26858         macros.
26859         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26860         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26861         cleanup macros.
26862         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26863         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26864         macros.
26865         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26866         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26867         macros.
26868         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26869         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26870         cleanup macros.
26871         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26873 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26875         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26876         to _sifields.sigfault.
26877         (si_addr_lsb): Define new macro.
26878         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26879         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26880         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26882 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26884         [BZ #15441]
26885         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26886         returns -1.
26887         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26888         null return -1.
26889         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26890         loading the domain.
26892 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26894         * math/gen-libm-test.pl (parse_args): Do not include expected
26895         result in test name.
26896         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26897         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26898         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26899         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26900         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26903 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26905         * benchtests/Makefile: Sort function entries.
26907         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26908         tanh, asinh, acosh, atanh.
26909         * benchtests/acos-inputs: New file.
26910         * benchtests/acosh-inputs: New file.
26911         * benchtests/asin-inputs: New file.
26912         * benchtests/asinh-inputs: New file.
26913         * benchtests/atanh-inputs: New file.
26914         * benchtests/cosh-inputs: New file.
26915         * benchtests/log-inputs: New file.
26916         * benchtests/sinh-inputs: New file.
26917         * benchtests/tanh-inputs: New file.
26919 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26921         [BZ #15339]
26922         * posix/tst-getaddrinfo4.c: New test.
26923         * posix/Makefile (tests): Add it.
26925 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26927         [BZ #15339]
26928         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26929         when no services were used.
26930         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26931         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26933 2013-05-21  Andreas Schwab  <schwab@suse.de>
26935         [BZ #15014]
26936         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26937         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26938         successful.
26939         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26940         redundant variable declarations and reallocation of buffer when
26941         parsing as IPv6 address.  Always set NSS status when called from
26942         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26943         buffer too small.  Correct computation of needed size.
26944         * nss/Makefile (tests): Add test-digits-dots.
26945         * nss/test-digits-dots.c: New test.
26947 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26949         * benchtests/Makefile: Remove instructions for adding
26950         benchmark tests.
26951         * benchtests/README: New file to explain how to execute and
26952         enhance the benchmark tests.
26954 2013-05-21  Andreas Schwab  <schwab@suse.de>
26956         [BZ #15493]
26957         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26958         * setjmp/tst-sigsetjmp.c: New test.
26960 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26962         * sysdeps/x86_64/memset.S (memset): New implementation.
26963         (__bzero): Likewise.
26964         (__memset_tail): New function.
26966 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26968         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26969         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26970         __memcpy_sse2_unaligned ifunc selection.
26971         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26972         Add memcpy-sse2-unaligned.S.
26973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26974         Add: __memcpy_sse2_unaligned.
26976 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26978         [BZ #15490]
26979         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26980         math_force_eval before restoring floating-point envrionment.
26981         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26982         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26983         Likewise.
26984         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26985         <math_private.h>.
26986         (__nearbyintl): Use math_force_eval before restoring
26987         floating-point environment.
26988         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26990         * math/gen-libm-test.pl (special_functions): Remove.
26991         (parse_args): Don't handle TEST_extra.  Handle functions with no
26992         return value.
26993         * math/libm-test.inc (struct test_sincos_data): Replace with
26994         struct test_fFF_11_data.
26995         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26996         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26997         (sincos_test_data): Change element type to struct
26998         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26999         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27000         RUN_TEST_LOOP_sincos.
27001         * math/README.libm-test: Don't mention special handling of
27002         individual functions.
27003         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27004         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27005         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27006         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27007         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27010         * math/gen-libm-test.pl (get_variable): Remove function.
27011         (parse_args): Don't show pointer parameters to call in test
27012         names.  Use "extra output N" in test names for extra outputs
27013         rather than naming variables.
27015 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
27017         [BZ #15488]
27018         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27019         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27020         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27021         double tests.
27022         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27023         disable.
27024         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27025         check_long_double.
27027         * math/gen-libm-test.pl (@tests): Remove variable.
27028         ($count): Likewise.
27029         (new_test): Remove function.
27030         (show_exceptions): New function.
27031         (special_functions): Use show_exceptions instead of new_test.
27032         (parse_args): Likewise.
27033         (generate_testfile): Pass only function name in generated call to
27034         print_max_error or print_complex_max_error.
27035         (get_ulps): Do not handle complex tests specially.
27036         (output_test): Rename to ...
27037         (get_all_ulps_for_test): ... this.  Return a string rather than
27038         printing to a file.  Require ulps to be present.
27039         (output_ulps): Generate arrays rather than #defines.
27040         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27041         (struct ulp_data): New type.
27042         (BUILD_COMPLEX_ULP): Remove macro.
27043         (compare_ulp_data): New function.
27044         (find_ulps): Likewise.
27045         (find_test_ulps): Likewise.
27046         (find_function_ulps): Likewise.
27047         (find_complex_function_ulps): Likewise.
27048         (print_max_error): Determine allowed ulps using
27049         find_function_ulps.
27050         (print_complex_max_error): Determine allowed ulps using
27051         find_complex_function_ulps.
27052         (check_float_internal): Determine max ulps using find_test_ulps.
27053         (check_float): Do not take max_ulp parameter.  Update call to
27054         check_float_internal.
27055         (check_complex): Likewise.
27056         (check_int): Do not take max_ulp parameter.
27057         (check_long): Likewise.
27058         (check_bool): Likewise.
27059         (check_longlong): Likewise.
27060         (struct test_f_f_data): Remove max_ulp field.
27061         (struct test_ff_f_data): Likewise.
27062         (struct test_ff_f_data_nexttoward): Likewise.
27063         (struct test_fi_f_data): Likewise.
27064         (struct test_fl_f_data): Likewise.
27065         (struct test_if_f_data): Likewise.
27066         (struct test_fff_f_data): Likewise.
27067         (struct test_c_f_data): Likewise.
27068         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27069         (struct test_fF_f1_data): Likewise.
27070         (struct test_ffI_f1_data): Likewise.
27071         (struct test_c_c_data): Remove max_ulp field.
27072         (struct test_cc_c_data): Likewise.
27073         (struct test_f_i_data): Likewise.
27074         (struct test_ff_i_data): Likewise.
27075         (struct test_f_l_data): Likewise.
27076         (struct test_f_L_data): Likewise.
27077         (struct test_sincos_data): Likewise.
27078         (RUN_TEST_f_f): Do not handle ulps.
27079         (RUN_TEST_LOOP_f_f): Likewise.
27080         (RUN_TEST_2_f): Likewise.
27081         (RUN_TEST_LOOP_2_f): Likewise.
27082         (RUN_TEST_fff_f): Likewise.
27083         (RUN_TEST_LOOP_fff_f): Likewise.
27084         (RUN_TEST_c_f): Likewise.
27085         (RUN_TEST_LOOP_c_f): Likewise.
27086         (RUN_TEST_f_f1): Likewise.
27087         (RUN_TEST_LOOP_f_f1): Likewise.
27088         (RUN_TEST_fF_f1): Likewise.
27089         (RUN_TEST_LOOP_fF_f1): Likewise.
27090         (RUN_TEST_fI_f1): Likewise.
27091         (RUN_TEST_LOOP_fI_f1): Likewise.
27092         (RUN_TEST_ffI_f1): Likewise.
27093         (RUN_TEST_LOOP_ffI_f1): Likewise.
27094         (RUN_TEST_c_c): Likewise.
27095         (RUN_TEST_LOOP_c_c): Likewise.
27096         (RUN_TEST_cc_c): Likewise.
27097         (RUN_TEST_LOOP_cc_c): Likewise.
27098         (RUN_TEST_f_i): Likewise.
27099         (RUN_TEST_LOOP_f_i): Likewise.
27100         (RUN_TEST_f_i_tg): Likewise.
27101         (RUN_TEST_LOOP_f_i_tg): Likewise.
27102         (RUN_TEST_ff_i_tg): Likewise.
27103         (RUN_TEST_LOOP_ff_i_tg): Likewise.
27104         (RUN_TEST_f_b): Likewise.
27105         (RUN_TEST_LOOP_f_b): Likewise.
27106         (RUN_TEST_f_b_tg): Likewise.
27107         (RUN_TEST_LOOP_f_b_tg): Likewise.
27108         (RUN_TEST_f_l): Likewise.
27109         (RUN_TEST_LOOP_f_l): Likewise.
27110         (RUN_TEST_f_L): Likewise.
27111         (RUN_TEST_LOOP_f_L): Likewise.
27112         (RUN_TEST_sincos): Likewise.
27113         (RUN_TEST_LOOP_sincos): Likewise.
27115 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
27117         [BZ #15480]
27118         [BZ #15485]
27119         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27120         main case of finite arguments, set rounding mode to FE_TONEAREST
27121         and discard exceptions.
27122         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27123         exceptions.
27124         (remainder_tonearest_test_data): New variable.
27125         (remainder_test_tonearest): New function.
27126         (remainder_towardzero_test_data): New variable.
27127         (remainder_test_towardzero): New function.
27128         (remainder_downward_test_data): New variable.
27129         (remainder_test_downward): New function.
27130         (remainder_upward_test_data): New variable.
27131         (remainder_test_upward): New function.
27132         (main): Call the new test functions.
27134         * math/libm-test.inc (struct test_f_f1_data): Remove field
27135         extra_init.
27136         (struct test_fF_f1_data): Likewise.
27137         (struct test_ffI_f1_data): Likewise.
27138         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
27139         based on value of EXTRA_EXPECTED.
27140         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27141         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
27142         EXTRA_VAR based on value of EXTRA_EXPECTED.
27143         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27144         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
27145         EXTRA_VAR based on value of EXTRA_EXPECTED.
27146         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27147         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
27148         EXTRA_VAR based on value of EXTRA_EXPECTED.
27149         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27150         * math/gen-libm-test.pl (parse_args): Don't output initializers
27151         for extra output values.
27153         * math/libm-test.inc (check_int): Expect result to be exactly
27154         equal to expected value and do not handle ulps.
27155         (check_long): Likewise.
27156         (check_longlong): Likewise.
27158         * math/libm-test.inc (ceil_test_data): Test for "inexact"
27159         exceptions.
27160         (cimag_test_data): Likewise.
27161         (conj_test_data): Likewise.
27162         (copysign_test_data): Likewise.
27163         (cproj_test_data): Likewise.
27164         (creal_test_data): Likewise.
27165         (fabs_test_data): Likewise.
27166         (fdim_test_data): Likewise.
27167         (finite_test_data): Likewise.
27168         (floor_test_data): Likewise.
27169         (fmax_test_data): Likewise.
27170         (fmin_test_data): Likewise.
27171         (fmod_test_data): Likewise.
27172         (fpclassify_test_data): Likewise.
27173         (frexp_test_data): Likewise.
27174         (ilogb_test_data): Likewise.
27175         (isfinite_test_data): Likewise.
27176         (isgreater_test_data): Likewise.
27177         (isgreaterequal_test_data): Likewise.
27178         (isinf_test_data): Likewise.
27179         (isless_test_data): Likewise.
27180         (islessequal_test_data): Likewise.
27181         (islessgreater_test_data): Likewise.
27182         (isnan_test_data): Likewise.
27183         (isnormal_test_data): Likewise.
27184         (issignaling_test_data): Likewise.
27185         (isunordered_test_data): Likewise.
27186         (ldexp_test_data): Likewise.
27187         (lrint_test_data): Likewise.
27188         (lrint_test_data) [TEST_FLOAT]: Disable one test.
27189         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27190         (lrint_tonearest_test_data): Test for "inexact" exceptions.
27191         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27192         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27193         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27194         test input.
27195         (lrint_towardzero_test_data): Test for "inexact" exceptions.
27196         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27197         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27198         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27199         that test input.
27200         (lrint_downward_test_data): Test for "inexact" exceptions.
27201         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27202         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27203         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27204         test input.
27205         (lrint_upward_test_data): Test for "inexact" exceptions.
27206         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27207         test input.
27208         (llrint_test_data): Test for "inexact" exceptions.
27209         (llrint_test_data) [TEST_FLOAT]: Disable one test.
27210         (llrint_tonearest_test_data): Test for "inexact" exceptions.
27211         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27212         (llrint_towardzero_test_data): Test for "inexact" exceptions.
27213         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27214         (llrint_downward_test_data): Test for "inexact" exceptions.
27215         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27216         (llrint_upward_test_data): Test for "inexact" exceptions.
27217         (logb_test_data): Likewise.
27218         (logb_downward_test_data): Likewise.
27219         (nextafter_test_data): Likewise.
27220         (nexttoward_test_data): Likewise.
27221         (remainder_test_data): Likewise.
27222         (remquo_test_data): Likewise.
27223         (scalbn_test_data): Likewise.
27224         (scalbln_test_data): Likewise.
27225         (signbit_test_data): Likewise.
27226         (sqrt_test_data): Likewise.
27227         (significand_test_data): Likewise.
27229 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27231         [BZ #15424]
27232         * benchtests/bench-modf.c (struct args): Mark arg0 as
27233         volatile.
27234         * scripts/bench.pl: Mark members of struct args as volatile.
27236 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27238         [BZ # 15497]
27239         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27240         negative infinity on POWER6 or lower.
27241         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27243 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27245         [BZ #15442]
27246         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27247         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27248         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27249         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27250         (_FP_SETQNAN): New macro.
27251         (_FP_SETQNAN_SEMIRAW): Likewise.
27252         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27253         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27254         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27255         (FP_EXTEND): Use _FP_FRAC_SNANP.
27256         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27257         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27258         into account.
27259         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27260         New macro.
27261         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27262         Likewise.
27264 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27266         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27267         with DIVIDE_BY_ZERO_EXCEPTION.
27268         (gamma_test_data): Likewise.
27269         (lgamma_test_data): Likewise.
27270         (log_test_data): Likewise.
27271         (log10_test_data): Likewise.
27272         (log2_test_data): Likewise.
27273         (tgamma_test_data): Likewise.
27275         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27276         (acos_test_tonearest): Likewise.
27277         (acos_test_towardzero): Likewise.
27278         (acos_test_downward): Likewise.
27279         (acos_test_upward): Likewise.
27280         (acosh_test): Likewise.
27281         (asin_test): Likewise.
27282         (asin_test_tonearest): Likewise.
27283         (asin_test_towardzero): Likewise.
27284         (asin_test_downward): Likewise.
27285         (asin_test_upward): Likewise.
27286         (asinh_test): Likewise.
27287         (atan_test): Likewise.
27288         (atanh_test): Likewise.
27289         (atan2_test): Likewise.
27290         (cabs_test): Likewise.
27291         (cacos_test): Likewise.
27292         (cacosh_test): Likewise.
27293         (casin_test): Likewise.
27294         (casinh_test): Likewise.
27295         (catan_test): Likewise.
27296         (catanh_test): Likewise.
27297         (cbrt_test): Likewise.
27298         (ccos_test): Likewise.
27299         (ccosh_test): Likewise.
27300         (cexp_test): Likewise.
27301         (clog_test): Likewise.
27302         (clog10_test): Likewise.
27303         (cos_test): Likewise.
27304         (cos_test_tonearest): Likewise.
27305         (cos_test_towardzero): Likewise.
27306         (cos_test_downward): Likewise.
27307         (cos_test_upward): Likewise.
27308         (cosh_test): Likewise.
27309         (cosh_test_tonearest): Likewise.
27310         (cosh_test_towardzero): Likewise.
27311         (cosh_test_downward): Likewise.
27312         (cosh_test_upward): Likewise.
27313         (cpow_test): Likewise.
27314         (csin_test): Likewise.
27315         (csinh_test): Likewise.
27316         (csqrt_test): Likewise.
27317         (ctan_test): Likewise.
27318         (ctan_test_tonearest): Likewise.
27319         (ctan_test_towardzero): Likewise.
27320         (ctan_test_downward): Likewise.
27321         (ctan_test_upward): Likewise.
27322         (ctanh_test): Likewise.
27323         (ctanh_test_tonearest): Likewise.
27324         (ctanh_test_towardzero): Likewise.
27325         (ctanh_test_downward): Likewise.
27326         (ctanh_test_upward): Likewise.
27327         (erf_test): Likewise.
27328         (erfc_test): Likewise.
27329         (exp_test): Likewise.
27330         (exp_test_tonearest): Likewise.
27331         (exp_test_towardzero): Likewise.
27332         (exp_test_downward): Likewise.
27333         (exp_test_upward): Likewise.
27334         (exp10_test): Likewise.
27335         (exp2_test): Likewise.
27336         (expm1_test): Likewise.
27337         (fmod_test): Likewise.
27338         (gamma_test): Likewise.
27339         (hypot_test): Likewise.
27340         (j0_test): Likewise.
27341         (j1_test): Likewise.
27342         (jn_test): Likewise.
27343         (lgamma_test): Likewise.
27344         (log_test): Likewise.
27345         (log10_test): Likewise.
27346         (log1p_test): Likewise.
27347         (log2_test): Likewise.
27348         (logb_test_downward): Likewise.
27349         (pow_test): Likewise.
27350         (pow_test_tonearest): Likewise.
27351         (pow_test_towardzero): Likewise.
27352         (pow_test_downward): Likewise.
27353         (pow_test_upward): Likewise.
27354         (remainder_test): Likewise.
27355         (remquo_test): Likewise.
27356         (sin_test): Likewise.
27357         (sin_test_tonearest): Likewise.
27358         (sin_test_towardzero): Likewise.
27359         (sin_test_downward): Likewise.
27360         (sin_test_upward): Likewise.
27361         (sincos_test): Likewise.
27362         (sinh_test): Likewise.
27363         (sinh_test_tonearest): Likewise.
27364         (sinh_test_towardzero): Likewise.
27365         (sinh_test_downward): Likewise.
27366         (sinh_test_upward): Likewise.
27367         (sqrt_test): Likewise.
27368         (tan_test): Likewise.
27369         (tan_test_tonearest): Likewise.
27370         (tan_test_towardzero): Likewise.
27371         (tan_test_downward): Likewise.
27372         (tan_test_upward): Likewise.
27373         (tanh_test): Likewise.
27374         (tgamma_test): Likewise.
27375         (y0_test): Likewise.
27376         (y1_test): Likewise.
27377         (yn_test): Likewise.
27379         * math/gen-libm-test.pl (adjust_arg): Remove function.
27380         (special_function): Remove argument $in_func.  Only handle
27381         generating output for tables of tests, not inside functions.
27382         (parse_args): Likewise.
27383         (generate_testfile): Remove variable $in_func.  Update call to
27384         parse_args.
27385         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27386         (MINUS_ZERO_INIT): Rename macro to minus_zero.
27387         (PLUS_INFTY_INIT): Rename macro to plus_infty.
27388         (MINUS_INFTY_INIT): Rename macro to minus_infty.
27389         (QNAN_VALUE_INIT): Rename macro to qnan_value.
27390         (MAX_VALUE_INIT): Rename macro to max_value.
27391         (MIN_VALUE_INIT): Rename macro to min_value.
27392         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27393         (plus_zero): Remove variable.
27394         (minus_zero): Likewise.
27395         (plus_infty): Likewise.
27396         (minus_infty): Likewise.
27397         (qnan_value): Likewise.
27398         (max_value): Likewise.
27399         (min_value): Likewise.
27400         (min_subnorm_value): Likewise.
27402 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27404         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27405         uint64_t or uint32_t usage.
27406         * crypt/sha256-block.c: Likewise.
27407         * crypt/sha256-crypt.c: Likewise.
27408         * crypt/sha256.c: Likewise.
27409         * crypt/sha512-block.c: Likewise.
27410         * crypt/sha512-crypt.c: Likewise.
27411         * crypt/sha512.c: Likewise.
27412         * debug/backtrace-tst.c: Likewise.
27413         * debug/pcprofiledump.c: Likewise.
27414         * elf/cache.c: Likewise.
27415         * elf/dl-cache.c: Likewise.
27416         * elf/dl-misc.c: Likewise.
27417         * elf/dl-profile.c: Likewise.
27418         * elf/dl-support.c: Likewise.
27419         * elf/ldconfig.c: Likewise.
27420         * elf/sprof.c: Likewise.
27421         * iconv/dummy-repertoire.c: Likewise.
27422         * iconv/iconv_charmap.c: Likewise.
27423         * iconv/skeleton.c: Likewise.
27424         * iconvdata/8bit-generic.c: Likewise.
27425         * iconvdata/cp737.h: Likewise.
27426         * iconvdata/cp775.h: Likewise.
27427         * iconvdata/ibm1008.h: Likewise.
27428         * iconvdata/ibm1025.h: Likewise.
27429         * iconvdata/ibm1046.h: Likewise.
27430         * iconvdata/ibm1097.h: Likewise.
27431         * iconvdata/ibm1112.h: Likewise.
27432         * iconvdata/ibm1122.h: Likewise.
27433         * iconvdata/ibm1123.h: Likewise.
27434         * iconvdata/ibm1124.h: Likewise.
27435         * iconvdata/ibm1129.h: Likewise.
27436         * iconvdata/ibm1130.h: Likewise.
27437         * iconvdata/ibm1132.h: Likewise.
27438         * iconvdata/ibm1133.h: Likewise.
27439         * iconvdata/ibm1137.h: Likewise.
27440         * iconvdata/ibm1140.h: Likewise.
27441         * iconvdata/ibm1141.h: Likewise.
27442         * iconvdata/ibm1142.h: Likewise.
27443         * iconvdata/ibm1143.h: Likewise.
27444         * iconvdata/ibm1144.h: Likewise.
27445         * iconvdata/ibm1145.h: Likewise.
27446         * iconvdata/ibm1146.h: Likewise.
27447         * iconvdata/ibm1147.h: Likewise.
27448         * iconvdata/ibm1148.h: Likewise.
27449         * iconvdata/ibm1149.h: Likewise.
27450         * iconvdata/ibm1153.h: Likewise.
27451         * iconvdata/ibm1154.h: Likewise.
27452         * iconvdata/ibm1155.h: Likewise.
27453         * iconvdata/ibm1156.h: Likewise.
27454         * iconvdata/ibm1157.h: Likewise.
27455         * iconvdata/ibm1158.h: Likewise.
27456         * iconvdata/ibm1160.h: Likewise.
27457         * iconvdata/ibm1161.h: Likewise.
27458         * iconvdata/ibm1162.h: Likewise.
27459         * iconvdata/ibm1163.h: Likewise.
27460         * iconvdata/ibm1164.h: Likewise.
27461         * iconvdata/ibm1166.h: Likewise.
27462         * iconvdata/ibm1167.h: Likewise.
27463         * iconvdata/ibm12712.h: Likewise.
27464         * iconvdata/ibm1390.h: Likewise.
27465         * iconvdata/ibm1399.h: Likewise.
27466         * iconvdata/ibm16804.h: Likewise.
27467         * iconvdata/ibm4517.h: Likewise.
27468         * iconvdata/ibm4899.h: Likewise.
27469         * iconvdata/ibm4909.h: Likewise.
27470         * iconvdata/ibm4971.h: Likewise.
27471         * iconvdata/ibm5347.h: Likewise.
27472         * iconvdata/ibm803.h: Likewise.
27473         * iconvdata/ibm856.h: Likewise.
27474         * iconvdata/ibm901.h: Likewise.
27475         * iconvdata/ibm902.h: Likewise.
27476         * iconvdata/ibm9030.h: Likewise.
27477         * iconvdata/ibm9066.h: Likewise.
27478         * iconvdata/ibm921.h: Likewise.
27479         * iconvdata/ibm922.h: Likewise.
27480         * iconvdata/ibm9448.h: Likewise.
27481         * iconvdata/isiri-3342.h: Likewise.
27482         * iconvdata/jis0201.h: Likewise.
27483         * include/link.h: Likewise.
27484         * include/netdb.h: Likewise.
27485         * inet/check_native.c: Likewise.
27486         * inet/check_pf.c: Likewise.
27487         * inet/getipv4sourcefilter.c: Likewise.
27488         * inet/getnameinfo.c: Likewise.
27489         * inet/getsourcefilter.c: Likewise.
27490         * inet/htonl.c: Likewise.
27491         * inet/setipv4sourcefilter.c: Likewise.
27492         * inet/setsourcefilter.c: Likewise.
27493         * inet/test-inet6_opt.c: Likewise.
27494         * inet/tst-network.c: Likewise.
27495         * locale/C-collate.c: Likewise.
27496         * locale/C-ctype.c: Likewise.
27497         * locale/C-time.c: Likewise.
27498         * locale/C-translit.h: Likewise.
27499         * locale/loadarchive.c: Likewise.
27500         * locale/programs/3level.h: Likewise.
27501         * locale/programs/charmap.c: Likewise.
27502         * locale/programs/charmap.h: Likewise.
27503         * locale/programs/ld-address.c: Likewise.
27504         * locale/programs/ld-collate.c: Likewise.
27505         * locale/programs/ld-ctype.c: Likewise.
27506         * locale/programs/ld-identification.c: Likewise.
27507         * locale/programs/ld-measurement.c: Likewise.
27508         * locale/programs/ld-messages.c: Likewise.
27509         * locale/programs/ld-monetary.c: Likewise.
27510         * locale/programs/ld-name.c: Likewise.
27511         * locale/programs/ld-numeric.c: Likewise.
27512         * locale/programs/ld-paper.c: Likewise.
27513         * locale/programs/ld-telephone.c: Likewise.
27514         * locale/programs/ld-time.c: Likewise.
27515         * locale/programs/linereader.c: Likewise.
27516         * locale/programs/locale.c: Likewise.
27517         * locale/programs/locarchive.c: Likewise.
27518         * locale/programs/locfile.h: Likewise.
27519         * locale/programs/repertoire.c: Likewise.
27520         * locale/programs/simple-hash.c: Likewise.
27521         * locale/programs/simple-hash.h: Likewise.
27522         * malloc/memusage.c: Likewise.
27523         * malloc/memusagestat.c: Likewise.
27524         * nis/nis_defaults.c: Likewise.
27525         * nis/nis_hash.c: Likewise.
27526         * nis/nis_print.c: Likewise.
27527         * nis/nis_xdr.c: Likewise.
27528         * nscd/connections.c: Likewise.
27529         * nscd/hstcache.c: Likewise.
27530         * nscd/nscd_gethst_r.c: Likewise.
27531         * nscd/nscd_getserv_r.c: Likewise.
27532         * nscd/nscd_helper.c: Likewise.
27533         * nscd/servicescache.c: Likewise.
27534         * nss/makedb.c: Likewise.
27535         * nss/nss_db/db-XXX.c: Likewise.
27536         * nss/nss_db/db-initgroups.c: Likewise.
27537         * nss/nss_db/db-netgrp.c: Likewise.
27538         * nss/nss_files/files-network.c: Likewise.
27539         * nss/nss_files/files-parse.c: Likewise.
27540         * posix/bug-regex5.c: Likewise.
27541         * posix/fnmatch_loop.c: Likewise.
27542         * posix/regcomp.c: Likewise.
27543         * posix/regexec.c: Likewise.
27544         * posix/tst-rfc3484-2.c: Likewise.
27545         * posix/tst-rfc3484-3.c: Likewise.
27546         * posix/tst-rfc3484.c: Likewise.
27547         * resolv/nss_dns/dns-canon.c: Likewise.
27548         * resolv/nss_dns/dns-network.c: Likewise.
27549         * resolv/res_init.c: Likewise.
27550         * resolv/res_mkquery.c: Likewise.
27551         * resolv/tst-aton.c: Likewise.
27552         * stdlib/cxa_atexit.c: Likewise.
27553         * stdlib/cxa_finalize.c: Likewise.
27554         * stdlib/gen-fpioconst.c: Likewise.
27555         * stdlib/strtol_l.c: Likewise.
27556         * string/tst-endian.c: Likewise.
27557         * sunrpc/auth_des.c: Likewise.
27558         * sunrpc/clnt_udp.c: Likewise.
27559         * sunrpc/rtime.c: Likewise.
27560         * sunrpc/svcauth_des.c: Likewise.
27561         * sunrpc/xdr.c: Likewise.
27562         * sunrpc/xdr_intXX_t.c: Likewise.
27563         * sunrpc/xdr_rec.c: Likewise.
27564         * sysdeps/generic/ldconfig.h: Likewise.
27565         * sysdeps/generic/ldsodefs.h: Likewise.
27566         * sysdeps/generic/memusage.h: Likewise.
27567         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27568         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27569         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27570         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27571         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27572         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27573         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27574         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27575         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27576         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27577         * sysdeps/posix/getaddrinfo.c: Likewise.
27578         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27579         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27580         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27581         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27582         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27583         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27584         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27585         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27586         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27587         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27588         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27589         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27590         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27591         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27592         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27593         * sysdeps/x86_64/dl-tls.h: Likewise.
27594         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27595         * time/alt_digit.c: Likewise.
27596         * time/era.c: Likewise.
27597         * wcsmbs/tst-c16c32-1.c: Likewise.
27599 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27601         * math/libm-test.inc (struct test_sincos_data): New type.
27602         (RUN_TEST_LOOP_sincos): New macro.
27603         (sincos_test_data): New variable.
27604         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27606 2013-05-16  Richard Henderson  <rth@redhat.com>
27608         * math/atest-exp2.c (LIMB64): New macro.
27609         (CONSTSZ): New macro.
27610         (mp_exp1, mp_exp_m1, mp_log2): New variables.
27611         (hexdig): Move ...
27612         (print_mpn_fp): ... to function scope.
27613         (read_mpn_hex): Remove.
27614         (get_log2): Remove.
27615         (exp2_mpn): Use mp_log2.
27616         (main): Use mp_exp1.
27618 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27620         * math/libm-test.inc: Remove comment about not testing "inexact"
27621         exceptions.
27622         (INEXACT_EXCEPTION): New macro.
27623         (NO_INEXACT_EXCEPTION): Likewise.
27624         (INVALID_EXCEPTION_OK): Update value.
27625         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27626         (OVERFLOW_EXCEPTION_OK): Likewise.
27627         (UNDERFLOW_EXCEPTION_OK): Likewise.
27628         (IGNORE_ZERO_INF_SIGN): Likewise.
27629         (ERRNO_UNCHANGED): Likewise.
27630         (ERRNO_EDOM): Likewise.
27631         (ERRNO_ERANGE): Likewise.
27632         (test_exceptions): Handle testing "inexact" exceptions.
27633         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27634         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27635         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27636         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27637         INEXACT_EXCEPTION.
27638         (rint_towardzero_test_data): Likewise.
27639         (rint_downward_test_data): Likewise.
27640         (rint_upward_test_data): Likewise.
27642         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27643         with OVERFLOW_EXCEPTION.
27644         (exp10_test_data): Likewise.
27645         (exp2_test_data): Likewise.
27646         (expm1_test_data): Likewise.
27647         (lgamma_test_data): Likewise.
27648         (pow_test_data): Likewise.
27649         (tgamma_test_data): Likewise.
27650         (yn_test_data): Remove duplicate test of overflow.
27652         * math/libm-test.inc (struct test_cc_c_data): New type.
27653         (RUN_TEST_LOOP_cc_c): New macro.
27654         (cpow_test_data): New variable.
27655         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27657         * math/libm-test.inc (struct test_f_L_data): New type.
27658         (RUN_TEST_LOOP_f_L): New macro.
27659         (llrint_test_data): New variable.
27660         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27661         (llrint_tonearest_test_data): New variable.
27662         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27663         (llrint_towardzero_test_data): New variable.
27664         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27665         (llrint_downward_test_data): New variable.
27666         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27667         (llrint_upward_test_data): New variable.
27668         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27669         (llround_test_data): New variable.
27670         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27672 2013-05-13  Peter Collingbourne  <pcc@google.com>
27674         * math/atest-exp2.c (get_log2): Remove const attribute.
27676 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27678         * math/libm-test.inc (struct test_f_l_data): New type.
27679         (RUN_TEST_LOOP_f_l): New macro.
27680         (lrint_test_data): New variable.
27681         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27682         (lrint_tonearest_test_data): New variable.
27683         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27684         (lrint_towardzero_test_data): New variable.
27685         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27686         (lrint_downward_test_data): New variable.
27687         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27688         (lrint_upward_test_data): New variable.
27689         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27690         (lround_test_data): New variable.
27691         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27693 2013-05-15  Peter Collingbourne  <pcc@google.com>
27695         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27696         (EXTRACT_WORDS64) Use where appropriate.
27697         (INSERT_WORDS64) Likewise.
27699         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27700         constraints with x constraints.
27701         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27703         * malloc/obstack.c (_obstack_compat): Add initializer.
27705 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27707         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27708         si_trapno and add si_addr_lsb to _sifields.sigfault.
27709         (si_trapno): Remove macro.
27710         (si_addr_lsb): Define new macro.
27711         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27713 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27715         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27716         instead of TEST_f_l.
27717         (llrint_test_tonearest): Likewise.
27718         (llrint_test_towardzero): Likewise.
27719         (llrint_test_downward): Likewise.
27720         (llrint_test_upward): Likewise.
27721         (llround_test): Likewise.
27723         * math/libm-test.inc (struct test_f_i_data): Add comment.
27724         (RUN_TEST_LOOP_f_b): New macro.
27725         (RUN_TEST_LOOP_f_b_tg): Likewise.
27726         (finite_test_data): New variable.
27727         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27728         (isfinite_test_data): New variable.
27729         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27730         (isinf_test_data): New variable.
27731         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27732         (isnan_test_data): New variable.
27733         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27734         (isnormal_test_data): New variable.
27735         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27736         (issignaling_test_data): New variable.
27737         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27738         (signbit_test_data): New variable.
27739         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27741         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27742         with INVALID_EXCEPTION.
27743         (acosh_test_data): Likewise.
27744         (asin_test_data): Likewise.
27745         (atanh_test_data): Likewise.
27746         (fmod_test_data): Likewise.
27747         (log_test_data): Likewise.
27748         (log10_test_data): Likewise.
27749         (log2_test_data): Likewise.
27750         (pow_test_data): Likewise.
27751         (sqrt_test_data): Likewise.
27752         (y0_test_data): Likewise.
27753         (y1_test_data): Likewise.
27754         (yn_test_data): Likewise.
27756         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27757         function contents.
27759         * math/libm-test.inc (struct test_ff_i_data): New type.
27760         (RUN_TEST_LOOP_ff_i_tg): New macro.
27761         (isgreater_test_data): New variable.
27762         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27763         (isgreaterequal_test_data): New variable.
27764         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27765         (isless_test_data): New variable.
27766         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27767         (islessequal_test_data): New variable.
27768         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27769         (islessgreater_test_data): New variable.
27770         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27771         (isunordered_test_data): New variable.
27772         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27774 2013-05-14  David S. Miller  <davem@davemloft.net>
27776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27778 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27780         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27782         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27783         extra_test to int.
27784         (struct test_f_i_data): Change type of max_ulp to int.
27786         * math/libm-test.inc (test_ffI_f1_data): New type.
27787         (RUN_TEST_LOOP_ffI_f1): New macro.
27788         (remquo_test_data): New variable.
27789         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27791         * setjmp/tst-setjmp-fp.c: New file.
27792         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27793         (link-libm): New variable.
27794         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27796         * math/libm-test.inc (struct test_f_i_data): New type.
27797         (RUN_TEST_LOOP_f_i): New macro.
27798         (RUN_TEST_LOOP_f_i_tg): Likewise.
27799         (fpclassify_test_data): New variable.
27800         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27801         (ilogb_test_data): New variable.
27802         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27804         * math/libm-test.inc (scalbln_test): Correct function name in END
27805         call.
27807         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27808         (RUN_TEST_LOOP_fI_f1): New macro.
27809         (frexp_test_data): New variable.
27810         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27812         * math/libm-test.inc (struct test_fF_f1_data): New type.
27813         (RUN_TEST_LOOP_fF_f1): New macro.
27814         (modf_test_data): New variable.
27815         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27817         * math/libm-test.inc (struct test_f_f1_data): New type.
27818         (RUN_TEST_LOOP_f_f1): New macro.
27819         (gamma_test_data): New variable.
27820         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27821         (lgamma_test_data): New variable.
27822         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27824 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27826         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27827         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27828         (main): Comment "tls" pseudo-hwcap.
27830 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27832         * math/libm-test.inc (struct test_fl_f_data): New type.
27833         (RUN_TEST_LOOP_fl_f): New variable.
27834         (scalbln_test_data): New variable.
27835         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27837         * math/libm-test.inc (struct test_fi_f_data): New type.
27838         (RUN_TEST_LOOP_fi_f): New macro.
27839         (ldexp_test_data): New variable.
27840         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27841         (scalbn_test_data): New variable.
27842         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27844         * math/libm-test.inc (struct test_c_f_data): New type.
27845         (RUN_TEST_LOOP_c_f): New macro.
27846         (cabs_test_data): New variable.
27847         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27848         (carg_test_data): New variable.
27849         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27850         (cimag_test_data): New variable.
27851         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27852         (creal_test_data): New variable.
27853         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27855         * math/libm-test.inc (struct test_if_f_data): New type.
27856         (RUN_TEST_LOOP_if_f): New macro.
27857         (jn_test_data): New variable.
27858         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27859         (yn_test_data): New variable.
27860         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27862         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27864 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27866         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27867         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27869 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27871         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27872         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27873         (bench-deps): Add bench-timing.h.
27874         * benchtests-bench-skeleton.c: Include bench-timing.h.
27875         (main): Use TIMING_* macros instead of clock_gettime.
27876         * benchtests/bench-timing.h: New file.
27878         [BZ #14582]
27879         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27880         Renamed from _LIB_VERSION.
27881         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27883 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27885         * math/libm-test.inc (struct test_fff_f_data): New type.
27886         (RUN_TEST_LOOP_fff_f): New macro.
27887         (fma_test_data): New variable.
27888         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27889         (fma_towardzero_test_data): New variable.
27890         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27891         (fma_downward_test_data): New variable.
27892         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27893         (fma_upward_test_data): New variable.
27894         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27896         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27897         (struct test_c_c_data): New type.
27898         (RUN_TEST_LOOP_c_c): New macro.
27899         (cacos_test_data): New variable.
27900         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27901         (cacosh_test_data): New variable.
27902         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27903         (casin_test_data): New variable.
27904         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27905         (casinh_test_data): New variable.
27906         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27907         (catan_test_data): New variable.
27908         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27909         (catanh_test_data): New variable.
27910         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27911         (ccos_test_data): New variable.
27912         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27913         (ccosh_test_data): New variable.
27914         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27915         (cexp_test_data): New variable.
27916         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27917         (clog_test_data): New variable.
27918         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27919         (clog10_test_data): New variable.
27920         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27921         (conj_test_data): New variable.
27922         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27923         (cproj_test_data): New variable.
27924         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27925         (csin_test_data): New variable.
27926         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27927         (csinh_test_data): New variable.
27928         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27929         (csqrt_test_data): New variable.
27930         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27931         (ctan_test_data): New variable.
27932         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27933         (ctan_tonearest_test_data): New variable.
27934         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27935         (ctan_towardzero_test_data): New variable.
27936         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27937         (ctan_downward_test_data): New variable.
27938         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27939         (ctan_upward_test_data): New variable.
27940         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27941         (ctanh_test_data): New variable.
27942         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27943         (ctanh_tonearest_test_data): New variable.
27944         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27945         (ctanh_towardzero_test_data): New variable.
27946         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27947         (ctanh_downward_test_data): New variable.
27948         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27949         (ctanh_upward_test_data): New variable.
27950         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27951         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27952         of BUILD_COMPLEX.
27954         * math/libm-test.inc (struct test_ff_f_data): New type.
27955         (struct test_ff_f_data_nexttoward): Likewise.
27956         (RUN_TEST_LOOP_2_f): New macro.
27957         (RUN_TEST_LOOP_ff_f): Likewise.
27958         (atan2_test_data): New variable.
27959         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27960         (copysign_test_data): New variable.
27961         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27962         (fdim_test_data): New variable.
27963         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27964         (fmax_test_data): New variable.
27965         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27966         (fmin_test_data): New variable.
27967         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27968         (fmod_test_data): New variable.
27969         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27970         (hypot_test_data): New variable.
27971         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27972         (nextafter_test_data): New variable.
27973         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27974         (nexttoward_test_data): New variable.
27975         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27976         (pow_test_data): New variable.
27977         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27978         (pow_tonearest_test_data): New variable.
27979         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27980         (pow_towardzero_test_data): New variable.
27981         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27982         (pow_downward_test_data): New variable.
27983         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27984         (pow_upward_test_data): New variable.
27985         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27986         (remainder_test_data): New variable.
27987         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27988         (scalb_test_data): New variable.
27989         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27990         * sysdeps/i386/fpu/libm-test-ulps: Update.
27992 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27994         * math/libm-test.inc (fma_test): Use max_value instead of local
27995         variable fltmax.
27996         (nextafter_test): Likewise.
27998         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27999         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28000         (acos_downward_test_data): New variable.
28001         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28002         (acos_upward_test_data): New variable.
28003         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28004         (acosh_test_data): New variable.
28005         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28006         (asin_test_data): New variable.
28007         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28008         (asin_tonearest_test_data): New variable.
28009         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28010         (asin_towardzero_test_data): New variable.
28011         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28012         (asin_downward_test_data): New variable.
28013         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28014         (asin_upward_test_data): New variable.
28015         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28016         (asinh_test_data): New variable.
28017         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28018         (atan_test_data): New variable.
28019         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28020         (atanh_test_data): New variable.
28021         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28022         (cbrt_test_data): New variable.
28023         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28024         (ceil_test_data): New variable.
28025         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28026         (cos_test_data): New variable.
28027         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28028         (cos_tonearest_test_data): New variable.
28029         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28030         (cos_towardzero_test_data): New variable.
28031         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28032         (cos_downward_test_data): New variable.
28033         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28034         (cos_upward_test_data): New variable.
28035         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28036         (cosh_test_data): New variable.
28037         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28038         (cosh_tonearest_test_data): New variable.
28039         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28040         (cosh_towardzero_test_data): New variable.
28041         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28042         (cosh_downward_test_data): New variable.
28043         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28044         (cosh_upward_test_data): New variable.
28045         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28046         (erf_test_data): New variable.
28047         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28048         (erfc_test_data): New variable.
28049         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28050         (exp_test_data): New variable.
28051         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28052         (exp_tonearest_test_data): New variable.
28053         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28054         (exp_towardzero_test_data): New variable.
28055         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28056         (exp_downward_test_data): New variable.
28057         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28058         (exp_upward_test_data): New variable.
28059         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28060         (exp10_test_data): New variable.
28061         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28062         (exp2_test_data): New variable.
28063         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28064         (expm1_test_data): New variable.
28065         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28066         (fabs_test_data): New variable.
28067         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28068         (floor_test_data): New variable.
28069         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28070         (j0_test_data): New variable.
28071         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28072         (j1_test_data): New variable.
28073         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28074         (log_test_data): New variable.
28075         (log_test): Run tests with RUN_TEST_LOOP_f_f.
28076         (log10_test_data): New variable.
28077         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28078         (log1p_test_data): New variable.
28079         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28080         (log2_test_data): New variable.
28081         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28082         (logb_test_data): New variable.
28083         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28084         (logb_downward_test_data): New variable.
28085         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28086         (nearbyint_test_data): New variable.
28087         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28088         (rint_test_data): New variable.
28089         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28090         (rint_tonearest_test_data): New variable.
28091         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28092         (rint_towardzero_test_data): New variable.
28093         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28094         (rint_downward_test_data): New variable.
28095         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28096         (rint_upward_test_data): New variable.
28097         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28098         (round_test_data): New variable.
28099         (round_test): Run tests with RUN_TEST_LOOP_f_f.
28100         (sin_test_data): New variable.
28101         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28102         (sin_tonearest_test_data): New variable.
28103         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28104         (sin_towardzero_test_data): New variable.
28105         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28106         (sin_downward_test_data): New variable.
28107         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28108         (sin_upward_test_data): New variable.
28109         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28110         (sinh_test_data): New variable.
28111         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28112         (sinh_tonearest_test_data): New variable.
28113         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28114         (sinh_towardzero_test_data): New variable.
28115         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28116         (sinh_downward_test_data): New variable.
28117         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28118         (sinh_upward_test_data): New variable.
28119         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28120         (sqrt_test_data): New variable.
28121         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28122         (tan_test_data): New variable.
28123         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28124         (tan_tonearest_test_data): New variable.
28125         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28126         (tan_towardzero_test_data): New variable.
28127         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28128         (tan_downward_test_data): New variable.
28129         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28130         (tan_upward_test_data): New variable.
28131         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28132         (tanh_test_data): New variable.
28133         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28134         (tgamma_test_data): New variable.
28135         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28136         (trunc_test_data): New variable.
28137         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28138         (y0_test_data): New variable.
28139         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28140         (y1_test_data): New variable.
28141         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28142         (significand_test_data): New variable.
28143         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28145 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
28147         [BZ #12387]
28148         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28150 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28152         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28154 2013-05-10  Andreas Jaeger  <aj@suse.de>
28156         [BZ #15448]
28157         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28158         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28160 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28162         * math/gen-libm-test.pl (adjust_arg): New function.
28163         (special_functions): Handle generating output in both functions
28164         and arrays.
28165         (parse_args): Likewise.
28166         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
28167         $in_func argument to parse_args.
28168         * math/libm-test.inc (struct test_f_f_data): New type.
28169         (IF_ROUND_INIT_): New macro.
28170         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28171         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28172         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28173         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28174         (ROUND_RESTORE_): Likewise.
28175         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28176         (ROUND_RESTORE_FE_TONEAREST): Likewise.
28177         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28178         (ROUND_RESTORE_FE_UPWARD): Likewise.
28179         (RUN_TEST_LOOP_f_f): New macro.
28180         (acos_test_data): New variable.
28181         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28182         (acos_tonearest_test_data): New variable.
28183         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28185 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28187         * benchtests/bench-skeleton.c (startup): Fix coding style.
28189 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28191         [BZ #6809]
28192         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28193         negative infinity argument.
28194         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28195         negative infinity argument.
28196         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28197         negative infinity argument.
28198         * math/libm-test.inc (tgamma_test): Expect errno to be set for
28199         domain errors.
28201 2013-05-10  Florian Weimer  <fweimer@redhat.com>
28203         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28204         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28205         * iconv/iconv_prog.c (main): Likewise.
28206         * locale/programs/charmap-dir.c (charmap_readdir)
28207         (fopen_uncompressed): Likewise.
28208         * locale/programs/locfile.c (siblings_uncached)
28209         (write_locale_data): Use lstat64 instead of lstat.
28210         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28211         stat.
28213 2013-05-10  Andreas Jaeger  <aj@suse.de>
28215         [BZ #15395]
28216         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28217         localization.
28218         Include <locale.h>.
28220 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
28222         * elf/dl-close.c (_dl_close_worker): Add comments.
28224 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
28226         [BZ #15359]
28227         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28228         high part of pi/2.
28229         (__ieee754_rem_pio2l): Update comments.
28231         [BZ #15429]
28232         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28233         high part of pi/2.
28234         (__ieee754_rem_pio2l): Update comments.
28236         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28237         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28239         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28240         M_PI_4l.
28242         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28243         (M_PI_34_LOG10El): Likewise.
28244         (M_PI2_LOG10El): Likewise.
28245         (M_PI4_LOG10El): Likewise.
28246         (M_PI_LOG10El): Likewise.
28248 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28252 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
28254         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28255         (MINUS_ZERO_INIT): Likewise.
28256         (PLUS_INFTY_INIT): Likewise.
28257         (MINUS_INFTY_INIT): Likewise.
28258         (QNAN_VALUE_INIT): Likewise.
28259         (MAX_VALUE_INIT): Likewise.
28260         (MIN_VALUE_INIT): Likewise.
28261         (MIN_SUBNORM_VALUE_INIT): Likewise.
28262         (plus_zero): Initialize with PLUS_ZERO_INIT.
28263         (minus_zero): Initialize with MINUS_ZERO_INIT.
28264         (plus_infty): Initialize with PLUS_INFTY_INIT.
28265         (minus_infty): Initialize with MINUS_INFTY_INIT.
28266         (qnan_value): Initialize with QNAN_VALUE_INIT.
28267         (max_value): Initialize with MAX_VALUE_INIT.
28268         (min_value): Initialize with MIN_VALUE_INIT.
28269         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28271         * math/libm-test.inc (RUN_TEST_if_f): New macro.
28272         (jn_test): Use TEST_if_f instead of TEST_ff_f.
28273         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28274         (yn_test): Use TEST_if_f instead of TEST_ff_f.
28276         * math/libm-test.inc (RUN_TEST_f_f): New macro.
28277         (RUN_TEST_2_f): Likewise.
28278         (RUN_TEST_ff_f): Likewise.
28279         (RUN_TEST_fi_f): Likewise.
28280         (RUN_TEST_fl_f): Likewise.
28281         (RUN_TEST_fff_f): Likewise.
28282         (RUN_TEST_c_f): Likewise.
28283         (RUN_TEST_f_f1): Likewise.
28284         (RUN_TEST_fF_f1): Likewise.
28285         (RUN_TEST_fI_f1): Likewise.
28286         (RUN_TEST_ffI_f1): Likewise.
28287         (RUN_TEST_c_c): Likewise.
28288         (RUN_TEST_cc_c): Likewise.
28289         (RUN_TEST_f_i): Likewise.
28290         (RUN_TEST_f_i_tg): Likewise.
28291         (RUN_TEST_ff_i_tg): Likewise.
28292         (RUN_TEST_f_b): Likewise.
28293         (RUN_TEST_f_b_tg): Likewise.
28294         (RUN_TEST_f_l): Likewise.
28295         (RUN_TEST_f_L): Likewise.
28296         (RUN_TEST_sincos): Likewise.
28297         * math/gen-libm-test.pl (new_test): Take new argument to indicate
28298         whether to show exceptions.  Do not include ");\n" in return
28299         value.
28300         (special_functions): Output call to RUN_TEST_sincos instead of
28301         check_float calls.  Update calls to new_test.
28302         (parse_args): Output call to single RUN_TEST_* macro instead of
28303         check_* calls and other assignments.  Update calls to new_test.
28305         [BZ #2546]
28306         [BZ #2560]
28307         [BZ #5159]
28308         [BZ #15426]
28309         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28310         input to result for tgamma overflow.
28311         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28312         (gamma_coeff): New variable.
28313         (NCOEFF): New macro.
28314         (gamma_positive): New function.
28315         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28316         underflow here.  Use gamma_positive instead of exp (lgamma) for
28317         other arguments.
28318         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28319         (gamma_coeff): New variable.
28320         (NCOEFF): New macro.
28321         (gammaf_positive): New function.
28322         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28323         underflow here.  Use gamma_positive instead of exp (lgamma) for
28324         other arguments.
28325         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28326         (gamma_coeff): New variable.
28327         (NCOEFF): New macro.
28328         (gammal_positive): New function.
28329         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28330         underflow here.  Use gamma_positive instead of exp (lgamma) for
28331         other arguments.
28332         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28333         (gamma_coeff): New variable.
28334         (NCOEFF): New macro.
28335         (gammal_positive): New function.
28336         (__ieee754_gammal_r): Handle positive infinity, overflow and
28337         underflow here.  Handle NaN the same as positive infinity.  Remove
28338         check x < 0xffffffff for negative integers.  Use gamma_positive
28339         instead of exp (lgamma) for other arguments.
28340         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28341         (gamma_coeff): New variable.
28342         (NCOEFF): New macro.
28343         (gammal_positive): New function.
28344         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28345         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28346         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28347         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28348         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28349         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28350         * sysdeps/generic/math_private.h (__gamma_productf): New
28351         prototype.
28352         (__gamma_product): Likewise.
28353         (__gamma_productl): Likewise.
28354         * math/Makefile (libm-calls): Add gamma_product.
28355         * math/libm-test.inc (tgamma_test): Add more tests.
28356         * sysdeps/i386/fpu/libm-test-ulps: Update.
28357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28359 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
28361         * benchtests/bench-skeleton.c (main): Preheat CPU.
28363 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
28365         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28367 2013-05-07  Roland McGrath  <roland@hack.frob.com>
28369         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28370         and _dl_skip_args_internal.
28372 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
28374         * manual/message.texi (Message Translation): Talk about users.
28375         Message to key mapping impacts design.
28377 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28379         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28381         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28383         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28384         * sysdeps/wordsize-64/glob64.c: ... here.
28386         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28387         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28388         New macros.
28390         * debug/getlogin_r_chk.c: Moved to ...
28391         * login/getlogin_r_chk.c: ... here.
28392         * debug/Makefile (routines): Move getlogin_r_chk to ...
28393         * login/Makefile (routines): ... here.
28394         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28395         * login/Versions (libc: GLIBC_2.4): ... here.
28397         * io/poll.c (__poll): Renamed from poll.
28398         Add libc_hidden_def.
28399         (poll): Define as weak alias.
28401         * debug/ptsname_r_chk.c: Moved to ...
28402         * login/ptsname_r_chk.c: ... here.
28403         * debug/Makefile (routines): Move ptsname_r_chk to ...
28404         * login/Makefile (routines): ... here.
28405         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28406         * login/Versions (libc: GLIBC_2.4): ... here.
28408         * posix/getlogin.c: Moved to ...
28409         * login/getlogin.c: ... here.
28410         * posix/getlogin_r.c: Moved to ...
28411         * login/getlogin_r.c: ... here.
28412         * posix/getlogin_r.c: Moved to ...
28413         * login/getlogin_r.c: ... here.
28414         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28415         * login/Makefile (routines): ... here.
28416         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28417         * login/Versions (libc: GLIBC_2.0): ... here.
28419         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28420         (setrlimit): Define as weak alias.
28422         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28423         Call __ names for open, ftruncate, and close.
28424         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28425         (truncate): Define as weak alias.
28427 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28429         * math/gen-libm-test.pl (parse_args): Initialize x before each
28430         test of frexp, modf and remquo.
28432         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28433         test signgam value.
28435 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28437         [BZ #15418]
28438         [BZ #15419]
28439         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28440         internal tests.
28441         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28443 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28445         * elf/dl-writev.h: New file.
28446         * elf/dl-misc.c: Include it.
28447         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28448         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28450 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28452         * math/libm-test.inc (noXFails): Remove variable.
28453         (noXPasses): Likewise.
28454         (BUILD_COMPLEX_INT): Remove macro.
28455         (print_screen): Remove xfail argument.
28456         (print_screen_max_error): Likewise.
28457         (update_stats): Likewise.
28458         (print_max_error): Likewise.  Update calls to other affected
28459         functions.
28460         (print_complex_max_error): Likewise.
28461         (test_single_exception): Update calls to print_screen.
28462         (test_single_errno): Likewise.
28463         (check_float_internal): Remove xfail argument.  Update calls to
28464         other affected functions.
28465         (check_float): Likewise.
28466         (check_complex): Likewise.
28467         (check_int): Likewise.
28468         (check_long): Likewise.
28469         (check_bool): Likewise.
28470         (check_longlong): Likewise.
28471         (main): Don't print noXFails and noXPasses.
28472         * math/gen-libm-test.pl (top level): Don't mention expected
28473         failure handling in comment.
28474         (new_test): Don't handle expected failures.
28475         (parse_args): Don't mention expected failure handling in comment.
28476         (generate_testfile): Don't handle expected failures.
28477         (parse_ulps): Likewise.
28478         (print_ulps_file): Likewise.
28479         (get_failure): Remove function.
28480         (output_test): Don't handle expected failures.
28481         * make/README.libm-test: Don't mention expected failure handling.
28483         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28484         (minus_zero): Likewise.
28485         (plus_infty): Likewise.
28486         (minus_infty): Likewise.
28487         (qnan_value): Likewise.
28488         (max_value): Likewise.
28489         (min_value): Likewise.
28490         (min_subnorm_value): Likewise.
28491         (initialize): Do not initialize those variables dynamically.
28493 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28495         * io/open.c (__open_2): Moved to ...
28496         * io/open_2.c: ... this new file.
28497         * io/open64.c (__open64_2): Moved to ...
28498         * io/open64_2.c: ... this new file.
28499         * io/openat.c (__openat_2): Moved to ...
28500         * io/openat_2.c: ... this new file.
28501         * io/openat64.c (__openat64_2): Moved to ...
28502         * io/openat64_2.c: ... this new file.
28503         * io/Makefile (routines): Add them.
28504         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28505         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28506         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28507         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28508         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28509         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28510         (__openat64): Add hidden_ver.
28511         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28512         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28514         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28515         Separately conditionalize setting of GLRO(dl_sysinfo) so
28516         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28517         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28519 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28521         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28522         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28523         definition.
28524         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28525         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28526         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28527         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28528         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28530 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28532         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28533         test signgam value.
28535         * math/libm-test.inc (hypot_test): Do not use
28536         IGNORE_ZERO_INF_SIGN.
28538 2013-05-03  Andreas Jaeger  <aj@suse.de>
28540         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28541         Linux 3.9.
28542         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28543         (PF_MAX): Adjust for VSOCK change.
28545 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28549 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28551         [BZ #15264]
28552         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28553         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28554         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28556 2013-05-02  David S. Miller  <davem@davemloft.net>
28558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28560 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28562         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28564 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28566         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28568 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28570         [BZ #14952]
28571         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28572         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28573         Use __attribute__ ((__gnu_inline__)).
28574         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28575         Don't use __attribute__ ((__gnu_inline__)).
28577 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28579         [BZ #15423]
28580         * math/s_catan.c (__catan): Handle small real or imaginary part of
28581         input specially to avoid spurious underflow.
28582         * math/s_catanf.c (__catanf): Likewise.
28583         * math/s_catanh.c (__catanh): Likewise.
28584         * math/s_catanhf.c (__catanhf): Likewise.
28585         * math/s_catanhl.c (__catanhl): Likewise.
28586         * math/s_catanl.c (__catanl): Likewise.
28587         * math/libm-test.inc (catan_test): Add more tests.
28588         (catanh_test): Likewise.
28589         * sysdeps/i386/fpu/libm-test-ulps: Update.
28590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28592 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28596 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
28598         [BZ #15416]
28599         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28600         accurately for denominator in atan2.
28601         * math/s_catanf.c (__catanf): Likewise.
28602         * math/s_catanh.c (__catanh): Likewise.
28603         * math/s_catanhf.c (__catanhf): Likewise.
28604         * math/s_catanhl.c (__catanhl): Likewise.
28605         * math/s_catanl.c (__catanl): Likewise.
28606         * math/libm-test.inc (catan_test): Add more tests.
28607         (catanh_test): Likewise.
28608         * sysdeps/i386/fpu/libm-test-ulps: Update.
28609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28611 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28613         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28615         * benchtests/Makefile (bench): Remove slow benchmarks.
28616         * benchtests/atan-inputs: Add slow benchmark inputs.
28617         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28618         (BENCH_FUNC): Accept variant offset.
28619         (VARIANT): Define.
28620         * benchtests/bench-skeleton.c (main): Run benchmark for each
28621         variant.
28622         * benchtests/cos-inputs: Add slow benchmark inputs.
28623         * benchtests/exp-inputs: Likewise.
28624         * benchtests/pow-inputs: Likewise.
28625         * benchtests/sin-inputs: Likewise.
28626         * benchtests/slowatan-inputs: Remove.
28627         * benchtests/slowatan.c: Remove.
28628         * benchtests/slowcos-inputs: Remove.
28629         * benchtests/slowcos.c: Remove.
28630         * benchtests/slowexp-inputs: Remove.
28631         * benchtests/slowexp.c: Remove.
28632         * benchtests/slowpow-inputs: Remove.
28633         * benchtests/slowpow.c: Remove.
28634         * benchtests/slowsin-inputs: Remove.
28635         * benchtests/slowsin.c: Remove.
28636         * benchtests/slowtan-inputs: Remove.
28637         * benchtests/slowtan.c: Remove.
28638         * benchtests/tan-inputs: Add slow benchmark inputs.
28639         * scripts/bench.pl: Parse comments and directives.
28641         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
28642         in CPPFLAGS.
28643         ($(objpfx)bench-%.c): Remove *-ITER.
28644         * benchtests/bench-modf.c: Remove definition of ITER.
28645         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28646         (main): Loop for DURATION seconds instead of fixed number of
28647         iterations.
28648         * scripts/bench.pl: Don't expect iterations in parameters.
28650 2013-04-29  Roland McGrath  <roland@hack.frob.com>
28652         * io/fchdir.c (__fchdir): Renamed from fchdir.
28653         (fchdir): Define as weak alias.
28655 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28657         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28658         (ERRNO_EDOM): Likewise.
28659         (ERRNO_ERANGE): Likewise.
28660         (noErrnoTests): New variable.
28661         (init_max_error): Set errno to 0.
28662         (test_single_errno): New function.
28663         (test_errno): Likewise.
28664         (check_float_internal): Call test_errno.  Set errno to 0.
28665         (check_complex): Refer to errno tests in comment.
28666         (check_int): Call test_errno.  Set errno to 0.
28667         (check_long): Likewise.
28668         (check_bool): Likewise.
28669         (check_longlong): Likewise.
28670         (cos_test): Use ERRNO_* flags for errno tests instead of
28671         check_int.
28672         (expm1_test): Likewise.
28673         (fmod_test): Likewise.
28674         (ilogb_test): Likewise.
28675         (lgamma_test): Likewise.
28676         (pow_test): Likewise.
28677         (remainder_test): Likewise.
28678         (sin_test): Likewise.
28679         (tan_test): Likewise.
28680         (yn_test): Likewise.
28681         (initialize): Set errno to 0.
28682         (main): Print number of errno tests.
28683         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28685 2013-04-29  Andreas Jaeger  <aj@suse.de>
28687         [BZ #15084]
28688         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28689         and RES_USEVC.
28691         [BZ #15085]
28692         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28693         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28694         unimplemented.
28696         [BZ #15380]
28697         * stdlib/random.c (__initstate): Return NULL if
28698         __initstate fails.
28700         [BZ #15086]
28701         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28702         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28703         RES_SNGLKUPREOP.
28705 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28709 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28711         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28712         of individual tests.
28713         (casin_test): Likewise.
28714         (casinh_test): Likewise.
28716 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28718         [BZ #15409]
28719         * math/s_catan.c (__catan): Handle arguments with large real or
28720         imaginary part separately without squaring.
28721         * math/s_catanf.c (__catanf): Likewise.
28722         * math/s_catanh.c (__catanh): Likewise.
28723         * math/s_catanhf.c (__catanhf): Likewise.
28724         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28725         and redefine.
28726         (__catanhl): Handle arguments with large real or imaginary part
28727         separately without squaring.
28728         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28729         and redefine.
28730         (__catanl): Handle arguments with large real or imaginary part
28731         separately without squaring.
28732         * math/libm-test.inc (catan_test): Add more tests.
28733         (catanh_test): Likewise.
28734         * sysdeps/i386/fpu/libm-test-ulps: Update.
28735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28737 2013-04-27  Andreas Jaeger  <aj@suse.de>
28739         [BZ #15007]
28740         * stdlib/stdlib.h: Update guards for qecvt.
28741         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28742         <stdlib.h>.
28744 2013-04-27  Allan McRae  <allan@archlinux.org>
28746         * sysdeps/i386/fpu/libm-test-ulps: Update.
28748 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28750         [BZ #15406]
28751         * math/s_catan.c: Include <float.h>.
28752         (__catan): Ensure underflow exception occurs for underflowed
28753         result.
28754         * math/s_catanf.c: Include <float.h>.
28755         (__catanf): Ensure underflow exception occurs for underflowed
28756         result.
28757         * math/s_catanh.c: Include <float.h>.
28758         (__catanh): Ensure underflow exception occurs for underflowed
28759         result.
28760         * math/s_catanhf.c: Include <float.h>.
28761         (__catanhf): Ensure underflow exception occurs for underflowed
28762         result.
28763         * math/s_catanhl.c: Include <float.h>.
28764         (__catanhl): Ensure underflow exception occurs for underflowed
28765         result.
28766         * math/s_catanl.c: Include <float.h>.
28767         (__catanl): Ensure underflow exception occurs for underflowed
28768         result.
28769         * math/libm-test.inc (catan_test): Add more tests.
28770         (catanh_test): Likewise.
28772         [BZ #15405]
28773         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28774         underflowed result.
28775         * math/s_ccoshf.c (__ccoshf): Likewise.
28776         * math/s_ccoshl.c (__ccoshl): Likewise.
28777         * math/s_csin.c (__csin): Likewise.
28778         * math/s_csinf.c (__csinf): Likewise.
28779         * math/s_csinh.c (__csinh): Likewise.
28780         * math/s_csinhf.c (__csinhf): Likewise.
28781         * math/s_csinhl.c (__csinhl): Likewise.
28782         * math/s_csinl.c (__csinl): Likewise.
28783         * math/libm-test.inc (ccos_test): Add more tests.
28784         (ccosh_test): Likewise.
28785         (csin_test): Likewise.
28786         (csinh_test): Likewise.
28788 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28790         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28791         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28792         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28793         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28794         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28795         powerpc/power5+/fpu folders.
28796         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28799 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28803 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28805         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28806         additions to variable.
28807         [$(config-machine) = x86_64] (modules-names): Likewise.
28808         ($(objpfx)tst-audit3): Remove dependency.
28809         ($(objpfx)tst-audit3.out): Likewise.
28810         ($(objpfx)tst-audit4): Likewise.
28811         ($(objpfx)tst-audit4.out): Likewise.
28812         ($(objpfx)tst-audit5): Likewise.
28813         ($(objpfx)tst-audit5.out): Likewise.
28814         ($(objpfx)tst-audit6): Likewise.
28815         ($(objpfx)tst-audit6.out): Likewise.
28816         ($(objpfx)tst-audit7): Likewise.
28817         ($(objpfx)tst-audit7.out): Likewise.
28818         (tst-audit3-ENV): Remove variable.
28819         (tst-audit4-ENV): Likewise.
28820         (tst-audit5-ENV): Likewise.
28821         (tst-audit6-ENV): Likewise.
28822         (tst-audit7-ENV): Likewise.
28823         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28824         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28825         addition to variable.
28826         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28827         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28828         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28829         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28830         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28831         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28832         tst-audit3, tst-audit4 and tst-audit5.
28833         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28834         tst-audit6 and tst-audit7.
28835         [$(subdir) = elf] (modules-names): Add audit modules for those
28836         tests.
28837         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28838         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28839         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28840         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28841         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28842         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28843         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28844         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28845         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28846         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28847         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28848         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28849         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28850         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28851         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28852         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28853         Likewise.
28854         [$(subdir) = elf && $(config-cflags-avx) = yes]
28855         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28856         [$(subdir) = elf && $(config-cflags-avx) = yes]
28857         (CFLAGS-tst-auditmod4a.c): Likewise.
28858         [$(subdir) = elf && $(config-cflags-avx) = yes]
28859         (CFLAGS-tst-auditmod4b.c): Likewise.
28860         [$(subdir) = elf && $(config-cflags-avx) = yes]
28861         (CFLAGS-tst-auditmod6b.c): Likewise.
28862         [$(subdir) = elf && $(config-cflags-avx) = yes]
28863         (CFLAGS-tst-auditmod6c.c): Likewise.
28864         [$(subdir) = elf && $(config-cflags-avx) = yes]
28865         (CFLAGS-tst-auditmod7b.c): Likewise.
28866         * elf/tst-audit3.c: Move to ...
28867         * sysdeps/x86_64/tst-audit3.c: ... here.
28868         * elf/tst-audit4.c: Move to ...
28869         * sysdeps/x86_64/tst-audit4.c: ... here.
28870         * elf/tst-audit5.c: Move to ...
28871         * sysdeps/x86_64/tst-audit5.c: ... here.
28872         * elf/tst-audit6.c: Move to ...
28873         * sysdeps/x86_64/tst-audit6.c: ... here.
28874         * elf/tst-audit7.c: Move to ...
28875         * sysdeps/x86_64/tst-audit7.c: ... here.
28876         * elf/tst-auditmod3a.c: Move to ...
28877         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28878         * elf/tst-auditmod3b.c: Move to ...
28879         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28880         * elf/tst-auditmod4a.c: Move to ...
28881         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28882         * elf/tst-auditmod4b.c: Move to ...
28883         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28884         * elf/tst-auditmod5a.c: Move to ...
28885         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28886         * elf/tst-auditmod5b.c: Move to ...
28887         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28888         * elf/tst-auditmod6a.c: Move to ...
28889         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28890         * elf/tst-auditmod6b.c: Move to ...
28891         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28892         * elf/tst-auditmod6c.c: Move to ...
28893         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28894         * elf/tst-auditmod7a.c: Move to ...
28895         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28896         * elf/tst-auditmod7b.c: Move to ...
28897         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28899 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28901         [BZ #15366]
28902         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28903         define unconditionally.
28904         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28905         define unconditionally.
28906         (INT8_C, INT16_C, etc.): Likewise.
28908 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28910         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28911         __ehdr_start with hidden visibility.
28913         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28915 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28917         * math/libm-test.inc (cos_test): Use accurate hex constants.
28918         (sincost_test): Likewise.
28920 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28922         * math/libm-test.inc (catan_test): Add more tests.
28923         (catanh_test): Likewise.
28925         * math/s_catanf.c (__catanf): Use suffixed floating-point
28926         constants.
28927         * math/s_catanhf.c (__catanhf): Likewise.
28928         * math/s_catanhl.c (__catanhl): Likewise.
28929         * math/s_catanl.c (__catanl): Likewise.
28931         [BZ #15394]
28932         * math/s_catan.c (__catan): Calculate imaginary part of result
28933         with log1p not log unless computing log of number close to 0.
28934         * math/s_catanf.c (__catanf): Likewise.
28935         * math/s_catanl.c (__catanl): Likewise.
28936         * math/s_catanh.c (__catanh): Calculate real part of result with
28937         log1p not log unless computing log of number close to 0.
28938         * math/s_catanhf.c (__catanhf): Likewise.
28939         * math/s_catanhl.c (__catanhl): Likewise.
28940         * math/libm-test.inc (catan_test): Add more tests.
28941         (catanh_test): Likewise.
28942         * sysdeps/i386/fpu/libm-test-ulps: Update.
28943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28945 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28947         * benchtests/Makefile: Mention files in which fast and slow
28948         paths of math functions are implemented.
28950 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28952         * sysdeps/posix/timespec_get.c: New file.
28954 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28956         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28957         POWER.
28958         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28959         for POWER.
28960         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28961         powerpc/power5/fpu folders.
28962         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28963         * benchtests/Makefile: Add modf testcase.
28964         * benchtests/bench-modf.c: New file: Benchmark test for mo
28966 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28968         [BZ #14888]
28969         * time/Makefile (tests): Add tst-strptime-whitespace.
28970         * time/strptime_l.c (get_number): Use ISSPACE.
28971         (__strptime_internal): Likewise.
28972         * time/tst-strptime-whitespace.c: New test case.
28974 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28976         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28977         member.
28978         (_nss_files_init): Set it here.
28980 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28982         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28983         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28984         unsigned.
28986 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28988         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28990 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28992         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28993         size just once.
28995 2013-04-21  David S. Miller  <davem@davemloft.net>
28997         * po/ru.po: Update Russion translation from translation project.
28999 2013-04-17  Adam Conrad  <adconrad@0c3.net>
29001         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29002         and setfsgid.
29004 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
29006         * configure.in: Remove i386 configure warning. Remove i386 case.
29007         * configure: Regenerate.
29008         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29009         Add example to error message.
29010         * sysdeps/i386/configure: Regenerate.
29012 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29014         * benchtests/Makefile (bench): Add cos, tan, slowcos and
29015         slowtan.
29016         * benchtests/cos-inputs: New file.
29017         * benchtests/slowcos-inputs: New file.
29018         * benchtests/slowcos.c: New file.
29019         * benchtests/slowtan-inputs: New file.
29020         * benchtests/slowtan.c: New file.
29021         * benchtests/tan-inputs: New file.
29023 2013-04-16  Roland McGrath  <roland@hack.frob.com>
29025         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29026         considered kosher.
29028 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29030         * benchtests/Makefile: Include cppflags-iterator.mk to add
29031         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29033         * Makefile.in (bench-clean): New target.
29034         * benchtests/Makefile (bench-clean): Likewise.
29036 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
29038         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29040 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
29042         * stdio-common/tstdiomisc.c: Fix coding-style violation.
29044 2013-04-15  Andreas Schwab  <schwab@suse.de>
29046         * nscd/grpcache.c (cache_addgr): Properly check for short write.
29047         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29048         * nscd/pwdcache.c (cache_addpw): Likewise.
29049         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
29050         more than recsize.
29052 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29054         * benchtests/Makefile (bench): Write all output to
29055         bench-out.tmp together.
29057 2013-04-15  Andreas Schwab  <schwab@suse.de>
29059         * nscd/nscd.c (main): Don't fork again after closing files.
29061 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29063         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29065         * benchtests/Rules (bench-deps): Collect dependencies into a
29066         single variable.  Add Makefile to dependencies.
29067         ($(objpfx)bench-%.c): Depend on bench-deps.
29069 2013-04-12  Roland McGrath  <roland@hack.frob.com>
29070             Xavier Roche  <roche+kml2@exalead.com>
29072         [BZ #15361]
29073         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29074         just that it's a file descriptor.
29075         * manual/llio.texi (Synchronizing AIO Operations): Update description
29076         for EBADF error from aio_fsync.
29078 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29080         * Rules (bench): Move target definition...
29081         * benchtests/Makefile: ... here.
29083 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
29085         * math/libm-test.inc (cos_test): Fix PI/2 test.
29086         (sincos_test): Likewise.
29087         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29088         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29090 2013-04-11  Andreas Schwab  <schwab@suse.de>
29092         [BZ #13988]
29093         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29094         accept exponent character only when digits were seen.
29095         * stdio-common/Makefile (tests): Add bug26.
29096         * stdio-common/bug26.c: New file.
29098         [BZ #14293]
29099         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29100         non-freeable.
29102 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29104         * Makeconfig (rtld-prefix): Define built linker prefix.
29105         * Rules (run-bench): Use it.
29106         * math/Makefile (run-regen-ulps): Likewise.
29108         * Rules (bench): Remove eval.
29110 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29111             Roland McGrath  <roland@hack.frob.com>
29112             Ondrej Bilka  <neleai@seznam.cz>
29114         [BZ #15346]
29115         * time/getdate.c: Include ctype.h and alloca.h.
29116         (__getdate_r): Trim leading and trailing spaces of input.
29117         * time/tst-getdate.c (tests): Add tests with leading and
29118         trailing spaces.
29120 2013-04-08  Roland McGrath  <roland@hack.frob.com>
29122         [BZ #14280]
29123         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29124         when computing value.
29126 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29128         * math/README.libm-test (How can I generate "libm-test-ulps"?):
29129         Use testrun.sh to run libm tests.
29131         [BZ #15309]
29132         * elf/dl-open.c (dl_open_worker): memset all of seen array.
29134 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
29136         [BZ #15264]
29137         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29139 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29141         * Makefile.in (regen-ulps): New target.
29142         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29143         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29144         [ifneq (no,$(PERL)] (regen-ulps): New target.
29145         [ifeq (no,$(PERL)] (regen-ulps): New target.
29146         * math/libm-test.inc (ulps_file_name): Define.
29147         (output_dir): New variable.
29148         (options): Add "output-dir" option.
29149         (parse_opt): Handle 'o' case.
29150         (main): If output_dir is non-NULL use it as a prefix
29151         otherwise use "".
29152         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29154 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29156         [BZ #10060, #10062]
29157         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29158         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29159         fail configure if __sync_val_compare_and_swap is not inlined.
29160         * sysdeps/i386/configure: Regenerate.
29161         * configure.in: Build for i686 when configured for i386.
29162         * configure: Regenerate.
29163         * README: Remove i386 reference.
29165 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29167         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29168         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29170 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
29172         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29173         (lmsnanval): New variables.
29174         (F): Add conversion tests.
29175         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29176         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29178         * stdio-common/tstdiomisc.c (F): Properly collect individual
29179         tests' results.
29181         [BZ #14686, #15336]
29182         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29183         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29184         Instead, use input NaN values or generate a qNaN by arithmetic
29185         operation.  Also fix bugs to comply with the standard.
29186         * math/libm-test.inc (remainder_test): Add more tests.
29188         [BZ #15335, #15342]
29189         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29190         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29191         input NaN values or generate a qNaN by arithmetic operation.
29193         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29194         unreachable code.
29196         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29197         definitions.
29199 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
29201         [BZ #14478]
29202         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29203         underflowed result.
29204         * math/s_cexpf.c (__cexpf): Likewise.
29205         * math/s_cexpl.c (__cexpl): Likewise.
29206         * math/libm-test.inc (cexp_test): Add more tests.
29208 2013-04-03  Andreas Schwab  <schwab@suse.de>
29210         [BZ #15330]
29211         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29212         order arrays from heap if bigger than alloca cutoff.
29214 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
29216         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29217         (SNAN_TESTS_double): Refer to GCC PR56831.
29218         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29219         GCC PR56828.
29221 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29223         * Rules (bench): Move bench.out after the run is complete.
29225         * Rules (bench): Echo currently running benchmark.
29227         * benchtests/Makefile (bench): Add atan and slowatan.
29228         * benchtests/atan-inputs: New file.
29229         * benchtests/slowatan-inputs: New file.
29230         * benchtests/slowatan.c: New file.
29232         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29233         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29234         its value.
29236         [BZ #15305]
29237         * sysdeps/unix/sysv/linux/kernel-features.h
29238         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29239         __ASSUME_XFS_RESTRICTED_CHOWN.
29240         * sysdeps/unix/sysv/linux/pathconf.c
29241         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29242         Save and restore errno.
29244 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
29246         [BZ #15327]
29247         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29248         arguments using __kernel_casinh.
29249         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29250         arguments using __kernel_casinhf.
29251         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29252         arguments using __kernel_casinhl.
29253         * math/libm-test.inc (cacosh_test): Add more tests.
29254         * sysdeps/i386/fpu/libm-test-ulps: Update.
29255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29257 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29259         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29260         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29262         * bench/Makefile (bench): Add sin and slowsin.
29263         * benchtests/sin-inputs: New file.
29264         * benchtests/slowsin-inputs: New file.
29265         * benchtests/slowsin.c: New file.
29267         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29268         (bench): Add slowexp and slowpow.
29269         (exp-ITER): Increase iterations.
29270         (pow-ITER): Likewise.
29271         * benchtests/exp-inputs: Change input.
29272         * benchtests/pow-inputs: Likewise.
29273         * benchtests/slowexp-inputs: New file.
29274         * benchtests/slowexp.c: New file.
29275         * benchtests/slowpow-inputs: New file.
29276         * benchtests/slowpow.c: New file.
29278 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29280         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29281         instructions.
29282         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29283         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29284         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29285         * benchtests/Makefile: Add rint benchtest.
29286         * benchtests/rint-inputs: Input for rint benchtest.
29288 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29290         * Versions.def (libm): Add GLIBC_2.18.
29291         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29292         hidden libm prototypes.
29293         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29294         * math/Makefile (libm-calls): Add s_issignaling.
29295         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29296         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
29297         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29298         declaration.
29299         * math/math.h [__USE_GNU] (issignaling): New macro.
29300         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29301         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29302         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29303         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29304         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29305         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29306         * manual/arith.texi (issignaling): New section.
29307         * manual/libm-err-tab.pl (@all_functions): Update comment.
29308         * math/gen-libm-test.pl (parse_args): Apply special handling for
29309         issignaling.
29310         * math/libm-test.inc (print_float, issignaling_test): New
29311         functions.
29312         (check_float_internal): Add issignaling checks.
29313         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29314         default definition.
29315         * sysdeps/powerpc/math-tests.h: New file.
29316         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29317         tests.
29318         * math/test-snan.c (TEST_FUNC): Likewise.
29320 2013-03-30  David S. Miller  <davem@davemloft.net>
29322         * po/de.po: Update from translation team.
29324 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
29326         [BZ #10357]
29327         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29328         imaginary part less than 1.0 and real part less than 0.5
29329         specially.
29330         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29331         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29332         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29333         (cacos_test): Add more tests.
29334         (casin_test): Likewise.
29335         (casinh_test): Likewise.
29336         * sysdeps/i386/fpu/libm-test-ulps: Update.
29337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29339 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29341         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29342         ONE with its value.
29344         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29345         (__pow_mp): Replace ONE and MONE with their values.
29346         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29347         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29348         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29349         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29350         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29351         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29353         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29355         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29356         (__pow_mp): Replace ZERO and MZERO with their values.
29357         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29358         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29359         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29360         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29361         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29362         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29363         (__sqr): Likewise.
29365         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29367         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29369 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29371         * include/stdlib.h [!SHARED] (__call_tls_dtors):
29372         Declare with __attribute__ ((weak)).
29373         * stdlib/exit.c (__libc_atexit) [!SHARED]:
29374         Call __call_tls_dtors only if it's not NULL.
29376 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29378         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29379         didn't do it already, then set _dl_phdr and _dl_phnum based on the
29380         magic __ehdr_start linker symbol if it's defined.
29381         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29382         them up here if it was already done.
29384         * elf/dl-support.c (_dl_phdr): Make pointer to const.
29385         (_dl_aux_init): Use const in cast when setting it.
29386         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29387         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29388         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29390         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29391         Declare them here.
29392         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29393         * csu/libc-tls.c: Nor here.
29394         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29396         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29397         (__libc_message): Never call vsyslog.
29399 2013-03-28  Alan Modra  <amodra@gmail.com>
29401         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29402         Define as empty.
29403         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29404         Likewise.
29406 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29408         [BZ #15214]
29409         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29410         underflow.
29411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29413 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29415         [BZ #15304]
29416         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29417         Don't add gid passed as argument.
29419         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29421 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29423         [BZ #15307]
29424         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29425         imaginary part between 1.0 and 1.5 and real part less than 0.5
29426         specially.
29427         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29428         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29429         * math/libm-test.inc (cacos_test): Add more tests.
29430         (casin_test): Likewise.
29431         (casinh_test): Likewise.
29432         * sysdeps/i386/fpu/libm-test-ulps: Update.
29433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29435 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29437         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29438         constants.
29439         (norm): Likewise.
29440         (denorm): Likewise.
29441         (__dbl_mp): Likewise.
29442         (add_magnitudes): Likewise.
29443         (sub_magnitudes): Likewise.
29444         (__add): Likewise.
29445         (__sub): Likewise.
29446         (__mul): Likewise.
29447         (__sqr): Likewise.
29448         (__inv): Likewise.
29449         (__dvd): Likewise.
29451         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29452         commented code.
29453         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29454         (__dubcos): Likewise.
29455         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29456         (__ieee754_acos): Likewise.
29457         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29458         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29459         (__exp1): Likewise.
29460         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29461         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29462         (log1): Likewise.
29463         (my_log2): Likewise.
29464         (checkint): Likewise.
29465         * sysdeps/ieee754/dbl-64/e_remainder.c
29466         (__ieee754_remainder): Likewise.
29467         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29468         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29469         (bsloww): Likewise.
29470         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29472         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29473         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29474         MANTISSA_STORE_T to store computations on mantissa.  Use
29475         macros for rounding and division.
29476         (denorm): Likewise.
29477         (__dbl_mp): Likewise.
29478         (add_magnitudes): Likewise.
29479         (sub_magnitudes): Likewise.
29480         (__mul): Likewise.
29481         (__sqr): Likewise.
29482         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29483         powers of two in terms of TWOPOW macro.
29484         (mp_no): Make type of mantissa as MANTISSA_T.
29485         [!RADIXI]: Define RADIXI.
29486         [!TWO52]: Define TWO52.
29487         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29489 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29491         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29492         llroundl symbol when building for PPC32.
29494 2013-03-24  Mark H Weaver  <mhw@netris.org>
29496         * manual/arith.texi (Normalization Functions): Fix prototypes for
29497         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29499 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29501         [BZ #13889]
29502         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29503         high value to check if expl overflow.
29504         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29505         to check for underflow and overflow.
29506         * math/libm-test.inc: Add exp test.
29508 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29510         [BZ #11120]
29511         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29512         with NOT_IN_libc.
29514 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29516         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29517         symbol.
29519 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29521         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29522         wrap blocks consisting of several statements.
29524         * sysdeps/generic/math-tests.h: New file.
29525         * sysdeps/i386/fpu/math-tests.h: Likewise.
29526         * math/test-snan.c: Include it.
29527         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29529 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29531         [BZ #15285]
29532         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29533         (__ieee754_j0l): Do not improve calculations using cos of twice
29534         input for inputs above LDBL_MAX / 2.0L.
29535         (__ieee754_y0l): Likewise.
29536         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29537         (__ieee754_j1l): Do not improve calculations using cos of twice
29538         input for inputs above LDBL_MAX / 2.0L.
29539         (__ieee754_y1l): Likewise.
29540         * math/libm-test.inc (j0_test): Add another test.
29541         (j1_test): Likewise.
29542         (y0_test): Likewise.
29543         (y1_test): Likewise.
29544         * sysdeps/i386/fpu/libm-test-ulps: Update.
29546 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29548         * Rules ($(objpfx)bench-%.c): Include code from a C source
29549         file.
29551 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29553         [BZ #15287]
29554         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29555         imaginary part 1.0 and real part less than 0.5 specially.
29556         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29557         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29558         * math/libm-test.inc (cacos_test): Add more tests.
29559         (casin_test): Likewise.
29560         (casinh_test): Likewise.
29561         * sysdeps/i386/fpu/libm-test-ulps: Update.
29562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29564 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29566         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29567         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29569 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29571         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29572         * config.make.in (config-cflags-sse4): Remove variable.
29573         (config-cflags-avx): Likewise.
29574         (config-cflags-sse2avx): Likewise.
29575         (config-cflags-novzeroupper): Likewise.
29576         (config-asflags-i686): Likewise.
29577         (have-mfma4): Likewise.
29578         (have-as-vis3): Likewise.
29579         (MIG): Likewise.
29580         * configure.in (MIG): Do not AC_SUBST.
29581         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29582         (libc_cv_cc_sse4): Do not AC_SUBST.
29583         (libc_cv_cc_avx): Likewise.
29584         (libc_cv_cc_sse2avx): Likewise.
29585         (libc_cv_cc_novzeroupper): Likewise.
29586         (libc_cv_cc_fma4): Likewise.
29587         (libc_cv_as_i686): Likewise.
29588         (libc_cv_sparc_as_vis3): Likewise.
29589         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29590         LIBC_CONFIG_VAR.
29591         (config-asflags-i686): Likewise.
29592         (config-cflags-avx): Likewise.
29593         (config-cflags-sse2avx): Likewise.
29594         (have-mfma4): Likewise.
29595         (config-cflags-novzeroupper): Likewise.
29596         * sysdeps/mach/configure.in (MIG): Likewise.
29597         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29598         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29599         LIBC_CONFIG_VAR.
29600         (config-cflags-avx): Likewise.
29601         (config-cflags-sse2avx): Likewise.
29602         (have-mfma4): Likewise.
29603         (config-cflags-novzeroupper): Likewise.
29604         * configure: Regenerated.
29605         * sysdeps/i386/configure: Likewise.
29606         * sysdeps/mach/configure: Likewise.
29607         * sysdeps/sparc/configure: Likewise.
29608         * sysdeps/x86_64/configure: Likewise.
29610 2013-03-20  Roland McGrath  <roland@hack.frob.com>
29612         [BZ #14812]
29613         * locale/programs/localedef.c (options): Put N_ translation marker
29614         on argument names, not just descriptions.
29616 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29618         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29620 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
29622         [BZ #14176]
29623         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29625 2013-03-19  Roland McGrath  <roland@hack.frob.com>
29627         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29628         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29629         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29630         [!BEFORE_ABORT] (before_abort): New function.
29631         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29632         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29633         (writev_for_fatal): New function.
29634         (WRITEV_FOR_FATAL): New macro; call that.
29635         (backtrace_and_maps): New function.
29636         (BEFORE_ABORT): New macro; call that.
29637         (struct str_list): Type removed.
29638         (__libc_message, __libc_fatal): Functions removed.
29639         Include <sysdeps/posix/libc_fatal.c> instead.
29641 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
29643         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29644         constants.
29645         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29646         double constants.
29648 2013-03-19  Andreas Schwab  <schwab@suse.de>
29650         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29651         * sysdeps/gnu/configure: Regenerate.
29653         * configure.in: Substitute libc_cv_rtlddir.
29654         * configure: Regenerate.
29655         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29656         * Makeconfig (rtlddir, inst_rtlddir): New variables.
29657         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29658         * elf/Makefile (install-others, CFLAGS-interp.c)
29659         (ldso_install, common-ldd-rewrite): Likewise.
29660         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29661         $(inst_slibdir)/$(rtld-installed-name).
29662         * scripts/rellns-sh: Add -p option.
29663         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29664         for source.
29666 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29668         * manual/nptl.texi: Renamed to ...
29669         * manual/threads.texi: ... this.
29670         * manual/Makefile (chapters): Update.
29672 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29674         [BZ #14812]
29675         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29676         on argument names, not just descriptions.
29677         * malloc/memusagestat.c (options): Likewise.
29678         * nss/getent.c (options): Likewise.
29680 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29682         [BZ #14812]
29683         * iconv/iconv_prog.c (options): Put N_ translation marker
29684         on argument names, not just descriptions.
29685         * iconv/iconvconfig.c (options): Likewise.
29687 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29689         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29690         implementation which is faster on all x86_64 architectures.
29691         Tested on AMD, Intel Nehalem, SNB, IVB.
29692         * sysdeps/x86_64/strnlen.S: Likewise.
29694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29695         Remove all multiarch strlen and strnlen versions.
29696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29697         Remove strlen and strnlen related parts.
29699         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29700         Inline strlen part.
29701         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29703         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29704         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29705         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29706         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29707         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29708         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29710 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29712         * manual/memory.texi (Malloc Tunable Parameters):
29713         Sort parameters alphabetically. Add comments for missing entries.
29715 2013-03-17  David S. Miller  <davem@davemloft.net>
29717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29719 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29721         [BZ #15283]
29722         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29723         for arguments at most half maximum finite value.
29724         * math/libm-test.inc (j0_test): Add more tests.
29725         (j1_test): Likewise.
29726         (y0_test): Likewise.
29727         (y1_test): Likewise.
29728         * sysdeps/i386/fpu/libm-test-ulps: Update.
29729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29731         [BZ #14155]
29732         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29733         1 / x and functions P and Q for arguments above 0x1p256L.
29734         (__ieee754_y0l): Likewise.
29735         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29736         (__ieee754_y1l): Likewise.
29737         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29738         (j1_test): Likewise.
29739         (y0_test): Likewise.
29740         (y1_test): Likewise.
29742 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29744         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29745         variable.
29747 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29749         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29750         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29751         zero since it's initialized to EXEC_PAGESIZE.
29753         * sysdeps/unix/sysv/linux/ldsodefs.h
29754         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29755         * sysdeps/generic/ldsodefs.h: ... here.
29757 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29759         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29761         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29762         math/test-snan.c.
29763         * math/test-snan.c: Renamed from
29764         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29765         * math/Makefile (tests): Add test-snan.
29766         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29767         test-powerpc-snan.
29769         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29770         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29771         functions.
29772         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29773         __builtin_nan family of functions.
29774         * math/libm-test.inc (initialize): Initialize qnan_value with
29775         __builtin_nan family of functions.
29776         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29777         Remove variables.
29778         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29779         Remove functions.
29780         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29781         storage class.  Initialize qNaN_var and sNaN_var with
29782         __builtin_nan and __builtin_nans families of functions,
29783         respectively.
29785         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29786         (sqrt_test): Remove duplicate test with qNaN input.
29787         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29788         (round_test, signbit_test, significand_test): Note missing +/-Inf
29789         as well as qNaN tests.
29791         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29792         qNaN_var.  Fix a few strings, too.
29793         * math/libm-test.inc (nan_value): Rename to qnan_value.
29794         * math/gen-libm-test.pl (%beautify): Adjust to that.
29795         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29796         * math/test-misc.c (main): Likewise.
29797         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29798         to __qnan_bytes, and __qnan_union, respectively.
29799         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29800         Likewise.
29801         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29802         and lqnanval, respectively.
29803         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29804         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29805         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29806         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29808         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29809         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29810         doubles.
29812         * math/test-misc.c (main): Fix copy'n'pastos.
29813         * misc/tst-efgcvt.c (special): Likewise.
29815         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29816         Remove declarations.
29818 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29820         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29821         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29822         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29823         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29825 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29827         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29828         macro to return vdso values correctly in IFUNC implementations.
29829         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29830         Optimization by using IFUNC.
29832 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29833             Richard Henderson  <rth@redhat.com>
29834             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29836         * Makefile.in (bench): New target.
29837         * NEWS: Mention the benchmark framework.
29838         * Rules (bench): Likewise.
29839         (binaries-bench): Generate binaries for functions to
29840         benchmark.
29841         * benchtests/Makefile: New makefile for benchmark tests.
29842         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29843         programs.
29844         * benchtests/exp-inputs: New input file for EXP function.
29845         * benchtests/pow-inputs: New input file for POW function.
29846         * scripts/bench.pl: New script to generate source files for
29847         benchmark programs.
29849 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29851         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29852         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29853         computations on mantissa.  Use macros for rounding and
29854         division.
29855         (denorm): Likewise.
29856         (__dbl_mp): Likewise.
29857         (add_magnitudes): Likewise.
29858         (sub_magnitudes): Likewise.
29859         (__mul): Likewise.
29860         (__sqr): Likewise.
29861         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29862         powers of two in terms of TWOPOW macro.
29863         (mp_no): Make type of mantissa as MANTISSA_T.
29864         [!RADIXI]: Define RADIXI.
29865         [!TWO52]: Define TWO52.
29866         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29868         * manual/nptl.texi (cindex): Modify threads to pthreads.
29870 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29872         * sysdeps/x86_64/preconfigure: Regenerated.
29874 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29876         [BZ #14155]
29877         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29878         0x1p28 and above.
29879         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29880         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29881         0x1p28 and above.
29882         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29883         * math/libm-test.inc (j0_test): Do not allow one spurious
29884         underflow exception.
29885         (y1_test): Likewise.
29887 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29889         * manual/Makefile (chapters): Add nptl.
29890         * manual/debug.texi (Debugging Support): Add link to Threads
29891         chapter.
29892         * manual/nptl.texi: New file.
29894         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29896 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29898         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29899         for non-NULL pointer before the memory validity test. Pointed
29900         out by Holger Brunck <holger.brunck@keymile.com>.
29902 2013-03-13  Andreas Schwab  <schwab@suse.de>
29904         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29905         instead of .os.
29907 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29909         * timezone/zic.c: Update from tzcode 2013b.
29911 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29913         * manual/install.texi (Configuring and compiling):
29914         Mention i686 and i586.
29915         * INSTALL: Regenerate.
29917 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29919         * sysdeps/init_array/elf-init.c: New file.
29920         * csu/elf-init.c
29921         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29922         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29924         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29925         __gmon_start__ as global, but as static with a .preinit_array pointer.
29926         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29927         * sysdeps/init_array/crti.S: New file, empty except for comments.
29928         * sysdeps/init_array/crtn.S: Likewise.
29930 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29932         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29933         definining bcopy.
29934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29935         Remove Prefer_SSE_for_memop.
29936         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29937         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29938         HAS_PREFER_SSE_FOR_MEMOP.
29939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29940         memset-x86-64.
29941         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29942         Remove bzero, memset ifunc support.
29943         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29944         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29945         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29946         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29948 2013-03-11  Andreas Schwab  <schwab@suse.de>
29950         [BZ #15234]
29951         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29952         by SHLIB_COMPAT.
29953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29954         (GLIBC_2.16): Remove pthread_atfork.
29956 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29958         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29959         (ptestcases.h): Likewise.
29961 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29963         * Makeconfig ($(common-objpfx)config.status): Depend on
29964         sysdeps/*/preconfigure{,.in} too.
29966 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29968         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29969         (__free_hook): Use void * instead of __malloc_ptr_t.
29970         (__malloc_hook): Likewise.
29971         (__realloc_hook): Likewise.
29972         (__memalign_hook): Likewise.
29973         (__after_morecore_hook): Likewise.
29974         * malloc/arena.c (save_malloc_hook): Likewise.
29975         (save_free_hook): Likewise.
29976         * malloc/hooks.c (malloc_hook_ini): Likewise.
29977         (realloc_hook_ini): Likewise.
29978         (memalign_hook_ini): Likewise.
29979         * malloc/malloc.c (malloc_hook_ini): Likewise.
29980         (realloc_hook_ini): Likewise.
29981         (memalign_hook_ini): Likewise.
29982         (__free_hook): Likewise.
29983         (__malloc_hook): Likewise.
29984         (__realloc_hook): Likewise.
29985         (__memalign_hook): Likewise.
29986         (__libc_malloc): Likewise.
29987         (__libc_free): Likewise.
29988         (__libc_realloc): Likewise.
29989         (__libc_memalign): Likewise.
29990         (__libc_valloc): Likewise.
29991         (__libc_pvalloc): Likewise.
29992         (__libc_calloc): Likewise.
29993         (__posix_memalign): Likewise.
29994         * malloc/morecore.c (__sbrk): Likewise.
29995         (__default_morecore): Likewise.
29997         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29999         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30000         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30001         __malloc_ptrdiff_t.
30003         * malloc/malloc.h (__malloc_size_t): Remove macro.
30004         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30005         __malloc_size_t.
30006         (old_memalign_hook): Likewise.
30007         (old_realloc_hook): Likewise.
30008         (struct hdr): Likewise.
30009         (flood): Likewise.
30010         (mallochook): Likewise.
30011         (memalignhook): Likewise.
30012         (reallochook): Likewise.
30013         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30014         (tr_old_realloc_hook): Likewise.
30015         (tr_old_memalign_hook): Likewise.
30016         (tr_mallochook): Likewise.
30017         (tr_reallochook): Likewise.
30018         (tr_memalignhook): Likewise.
30020 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30022         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30023         default_ldbl_pack and using as default implementation.
30024         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30025         implementation.
30026         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30027         redundant definition.
30028         (ldbl_insert_mantissa): Likewise.
30029         (ldbl_canonicalize): Likewise.
30030         (ldbl_nearbyint): Likewise.
30031         (ldbl_pack): Rename to ldbl_pack_ppc.
30032         (ldbl_unpack): Rename to ldbl_unpack_ppc.
30033         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30034         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30036 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30038         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30039         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30040         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30041         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30043         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30044         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30045         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30047 2013-03-07  Andreas Jaeger  <aj@suse.de>
30049         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30050         bits/mman-linux.h.
30052 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30054         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30055         Include mpa.h and declare __MPEXP.
30056         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30057         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30058         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30059         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30060         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30061         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30062         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30064         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30065         (__slowpow): Use long double EXPL and LOGL functions to
30066         compute POW.
30067         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30068         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30069         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30070         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30071         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30072         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30074         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30075         intermediate variable to calculate exponent.
30076         (__sqr): Likewise.
30077         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30078         Likewise.
30079         (__sqr): Likewise.
30081         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30082         [!NO__SQR]: Define __sqr.
30083         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30084         and NO__SQR.  Remove all code except __mul and __sqr.  Include
30085         sysdeps/ieee754/dbl-64/mpa.c.
30086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30088         [BZ #12723]
30089         * posix/Makefile (tests): Add tst-pathconf.
30090         * posix/tst-pathconf.c: New test case.
30091         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30092         _PC_PIPE_BUF.
30093         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30095 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
30097         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30099 2013-03-06  Andreas Jaeger  <aj@suse.de>
30101         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30102         definition via __MAP_ANONYMOUS.
30104         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30105         it's not part of Linux headers.
30107         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30108         (MAP_HUGE_MASK): Define.
30110         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30111         Define.
30112         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30113         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30114         Define.
30115         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30116         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30117         Define.
30118         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30119         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30120         Define.
30121         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30123         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30124         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30125         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30126         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30127         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30128         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30130         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30131         Handle f2fs.
30133         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30134         Handle f2fs and efivarfs.
30136         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30137         f2fs.
30139         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30140         (EFIVARFS_MAGIC): Add.
30141         (F2FS_LINK_MAX): Add.
30143 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30145         * stdio-common/vfprintf.c: Replace __builtin_expect with
30146         __glibc_unlikely.
30148 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
30150         [BZ #13550]
30151         * sysdeps/generic/bp-sym.h: Remove file.
30152         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30153         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30154         <bp-sym.h> and <bp-asm.h>.
30155         (__longjmp): Don't use BP_SYM.
30156         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30157         and <bp-asm.h>.
30158         (memcpy): Don't use BP_SYM.
30159         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30160         <bp-sym.h> and <bp-asm.h>.
30161         (memcpy): Don't use BP_SYM.
30162         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30163         <bp-asm.h>.
30164         (memcpy): Don't use BP_SYM.
30165         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30166         <bp-asm.h>.
30167         (memset): Don't use BP_SYM.
30168         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30169         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30170         (__bzero): Don't use BP_SYM.
30171         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30172         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30173         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30174         <bp-sym.h> and <bp-asm.h>.
30175         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30176         pointers.
30177         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30178         <bp-sym.h> and <bp-asm.h>.
30179         (memcpy): Don't use BP_SYM.
30180         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30181         <bp-sym.h> and <bp-asm.h>.
30182         (memset): Don't use BP_SYM.
30183         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30184         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30185         (__bzero): Don't use BP_SYM.
30186         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30187         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30188         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30189         <bp-sym.h> and <bp-asm.h>.
30190         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30191         pointers.
30192         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30193         <bp-sym.h> and <bp-asm.h>.
30194         (memcpy): Don't use BP_SYM.
30195         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30196         <bp-sym.h> and <bp-asm.h>.
30197         (memset): Don't use BP_SYM.
30198         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30199         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30200         (__bzero): Don't use BP_SYM.
30201         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30202         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30203         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30204         <bp-sym.h> and <bp-asm.h>.
30205         (__memchr): Don't use BP_SYM.
30206         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30207         <bp-sym.h> and <bp-asm.h>.
30208         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30209         pointers.
30210         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30211         <bp-sym.h> and <bp-asm.h>.
30212         (memcpy): Don't use BP_SYM.
30213         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30214         <bp-sym.h> and <bp-asm.h>.
30215         (__mempcpy): Don't use BP_SYM.
30216         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30217         <bp-sym.h> and <bp-asm.h>.
30218         (__memrchr): Don't use BP_SYM.
30219         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30220         <bp-sym.h> and <bp-asm.h>.
30221         (memset): Don't use BP_SYM.
30222         (__bzero): Likewise.
30223         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30224         <bp-sym.h> and <bp-asm.h>.
30225         (__rawmemchr): Don't use BP_SYM.
30226         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30227         <bp-sym.h> and <bp-asm.h>.
30228         (__STRCMP): Don't use BP_SYM.
30229         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30230         <bp-sym.h> and <bp-asm.h>.
30231         (strchr): Don't use BP_SYM.
30232         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30233         <bp-sym.h> and <bp-asm.h>.
30234         (__strchrnul): Don't use BP_SYM.
30235         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30236         <bp-sym.h> and <bp-asm.h>.
30237         (strlen): Don't use BP_SYM.
30238         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30239         <bp-sym.h> and <bp-asm.h>.
30240         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30241         pointers.
30242         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30243         <bp-sym.h> and <bp-asm.h>.
30244         (__strnlen): Don't use BP_SYM.
30245         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30246         <bp-sym.h> and <bp-asm.h>.
30247         (__GI__setjmp): Don't use BP_SYM.
30248         (_setjmp): Likewise.
30249         (__sigsetjmp): Likewise.
30250         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30251         (L(start_addresses)): Don't use BP_SYM.
30252         (_start): Likewise.
30253         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30254         <bp-asm.h>.
30255         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30256         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30257         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30258         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30259         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30260         <bp-asm.h>.
30261         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30262         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
30263         about bounded pointers.
30264         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30265         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30266         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30267         <bp-asm.h>.
30268         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30269         about bounded pointers.  Remove GKM FIXME comments.
30270         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30271         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30272         <bp-asm.h>.
30273         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30274         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
30275         Remove GKM FIXME comments.
30276         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30277         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30278         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30279         <bp-asm.h>.
30280         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30281         about bounded pointers.  Remove GKM FIXME comment.
30282         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30283         and <bp-asm.h>.
30284         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30285         pointers.
30286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30287         <bp-sym.h> and <bp-asm.h>.
30288         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30290         <bp-sym.h> and <bp-asm.h>.
30291         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30292         comment.
30294 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30296         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30297         call free(NULL).
30299 2013-03-05  David S. Miller  <davem@davemloft.net>
30301         * po/es.po: Update from translation team.
30303 2013-03-05  Andreas Jaeger  <aj@suse.de>
30305         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30306         <bits/mman-linux.h>.
30307         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30308         is fine.
30309         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30310         <bits/mman-linux.h> to end of file.
30311         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30312         is fine.
30313         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30314         <bits/mman-linux.h> to end of file.
30315         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30316         is fine.
30317         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30318         <bits/mman-linux.h> to end of file.
30320         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30321         (MCL_CURRENT, MCL_FUTURE): Define here.
30323 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30325         [BZ #15232]
30326         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30327         attribute_hidden.
30328         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30330 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30332         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30333         fourth parameter needed for rt_sigprocmask syscall.
30334         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30335         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30336         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30337         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30338         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30339         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30341 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
30343         [BZ #13550]
30344         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30345         comment about bounded pointers.
30346         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30347         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30349 2013-03-04  Andreas Jaeger  <aj@suse.de>
30351         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30352         common definitions.
30354         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30355         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30356         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30357         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30358         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30359         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30361 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30363         [BZ #15055]
30364         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30365         __ieee754_sqrl instead of __sqrl.
30367 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
30369         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30370         * sysdeps/powerpc/fpu_control.h: ... here.
30371         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30372         * sysdeps/powerpc/bits/fenvinline.h: ... here.
30373         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30374         * sysdeps/powerpc/bits/mathinline.h: ... here.
30376 2013-03-01  Roland McGrath  <roland@hack.frob.com>
30378         * elf/dl-hwcaps.c (_dl_important_hwcaps):
30379         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30380         to just [NEED_DL_SYSINFO_DSO].
30381         * elf/dl-support.c: Likewise.
30382         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30383         * elf/rtld.c (dl_main): Likewise.
30384         * elf/setup-vdso.h (setup_vdso): Likewise.
30385         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30386         * sysdeps/unix/sysv/linux/dl-sysdep.c
30387         (_dl_discover_osversion): Likewise.
30389 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
30391         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30392         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30394 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30396         * NEWS: Mention libm performance improvements and non-x86 PI
30397         futex support.
30399         * csu/libc-start.c (__pthread_initialize_minimal): Change
30400         function arguments.
30401         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30403 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
30405         [BZ #13550]
30406         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30407         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30408         <bp-sym.h> and <bp-asm.h>.
30409         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30410         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30411         and <bp-asm.h>.
30412         (memcpy): Don't use BP_SYM.
30413         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30414         <bp-asm.h>.
30415         (__mpn_add_n): Don't use BP_SYM.
30416         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30417         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30418         and <bp-asm.h>.
30419         (__mpn_addmul_1): Don't use BP_SYM.
30420         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30421         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30422         <bp-sym.h>.
30423         (_setjmp): Don't use BP_SYM.
30424         (__novmx_setjmp): Likewise.
30425         (__GI__setjmp): Likewise.
30426         (__vmx_setjmp): Likewise.
30427         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30428         <bp-sym.h>.
30429         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30430         (__bzero): Don't use BP_SYM.
30431         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30432         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30433         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30434         <bp-sym.h> and <bp-asm.h>.
30435         (memcpy): Don't use BP_SYM.
30436         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30437         <bp-sym.h> and <bp-asm.h>.
30438         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30439         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30440         <bp-sym.h> and <bp-asm.h>.
30441         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30442         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30443         <bp-asm.h>.
30444         (__mpn_lshift): Don't use BP_SYM.
30445         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30446         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30447         <bp-asm.h>.
30448         (memset): Don't use BP_SYM.
30449         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30450         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30451         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30452         <bp-asm.h>.
30453         (__mpn_mul_1): Don't use BP_SYM.
30454         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30455         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30456         <bp-sym.h> and <bp-asm.h>.
30457         (memcmp): Don't use BP_SYM.
30458         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30459         <bp-sym.h> and <bp-asm.h>.
30460         (memcpy): Don't use BP_SYM.
30461         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30462         <bp-sym.h> and <bp-asm.h>.
30463         (memset): Don't use BP_SYM.
30464         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30465         <bp-sym.h> and <bp-asm.h>.
30466         (strncmp): Don't use BP_SYM.
30467         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30468         <bp-sym.h> and <bp-asm.h>.
30469         (memcpy): Don't use BP_SYM.
30470         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30471         <bp-sym.h> and <bp-asm.h>.
30472         (memset): Don't use BP_SYM.
30473         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30474         <bp-sym.h> and <bp-asm.h>.
30475         (__memchr): Don't use BP_SYM.
30476         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30477         <bp-sym.h> and <bp-asm.h>.
30478         (memcmp): Don't use BP_SYM.
30479         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30480         <bp-sym.h> and <bp-asm.h>.
30481         (memcpy): Don't use BP_SYM.
30482         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30483         <bp-sym.h> and <bp-asm.h>.
30484         (__mempcpy): Don't use BP_SYM.
30485         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30486         <bp-sym.h> and <bp-asm.h>.
30487         (__memrchr): Don't use BP_SYM.
30488         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30489         <bp-sym.h> and <bp-asm.h>.
30490         (memset): Don't use BP_SYM.
30491         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30492         <bp-sym.h> and <bp-asm.h>.
30493         (__rawmemchr): Don't use BP_SYM.
30494         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30495         <bp-sym.h> and <bp-asm.h>.
30496         (__STRCMP): Don't use BP_SYM.
30497         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30498         <bp-sym.h> and <bp-asm.h>.
30499         (strchr): Don't use BP_SYM.
30500         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30501         <bp-sym.h> and <bp-asm.h>.
30502         (__strchrnul): Don't use BP_SYM.
30503         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30504         <bp-sym.h> and <bp-asm.h>.
30505         (strlen): Don't use BP_SYM.
30506         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30507         <bp-sym.h> and <bp-asm.h>.
30508         (strncmp): Don't use BP_SYM.
30509         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30510         <bp-sym.h> and <bp-asm.h>.
30511         (__strnlen): Don't use BP_SYM.
30512         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30513         <bp-asm.h>.
30514         (__mpn_rshift): Don't use BP_SYM.
30515         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30516         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30517         <bp-sym.h> and <bp-asm.h>.
30518         (__sigsetjmp): Don't use BP_SYM.
30519         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30520         (L(start_addresses)): Don't use BP_SYM.
30521         (_start): Likewise.
30522         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30523         <bp-asm.h>.
30524         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30525         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30526         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30527         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30528         <bp-asm.h>.
30529         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30530         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30531         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30532         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30533         <bp-asm.h>.
30534         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30535         comments.
30536         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30537         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30538         <bp-asm.h>.
30539         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30540         FIXME comments.
30541         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30542         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30543         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30544         <bp-asm.h>.
30545         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30546         comment.
30547         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30548         and <bp-asm.h>.
30549         (strncmp): Don't use BP_SYM,
30550         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30551         <bp-asm.h>.
30552         (__mpn_sub_n): Don't use BP_SYM.
30553         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30554         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30555         and <bp-asm.h>.
30556         (__mpn_submul_1): Don't use BP_SYM.
30557         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30559         <bp-sym.h> and <bp-asm.h>.
30560         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30562         <bp-sym.h> and <bp-asm.h>.
30563         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30564         comment.
30566 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30569         Use ZK to minimize writes to Z.
30570         (sub_magnitudes): Simplify code a bit.
30571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30572         Use ZK to minimize writes to Z.
30573         (sub_magnitudes): Simplify code a bit.
30575 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30577         * csu/gmon-start.c: Add special exception to license text.
30579 2013-02-27  Richard Henderson  <rth@redhat.com>
30581         * scripts/config.guess: Update from config.git.
30582         * scripts/config.sub: Likewise.
30584 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30586         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30588         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30590         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30592         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30594         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30596 2013-02-26  Roland McGrath  <roland@hack.frob.com>
30598         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30599         [$(build-shared = yes].
30601 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30603         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30604         (__mul): Reduce iterations for calculating mantissa.
30606         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30607         MPTWO.
30608         (__mpranred): Likewise.
30610         [BZ #15160]
30611         * malloc/memusagestat.c (main): Draw graphs for heap and stack
30612         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30614 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
30616         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30617         Define __attribute__.
30619 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30621         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30622         unused.
30623         * posix/regex_internal.h (__attribute): Remove.
30624         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30625         (re_string_context_at): Likewise.
30626         (bitset_not): Use __attribute__ and mark function as possibly
30627         unused.
30628         (bitset_merge): Likewise.
30629         (bitset_mask): Likewise.
30630         (re_string_char_size_at): Likewise.
30631         (re_string_wchar_at): Likewise.
30632         (re_string_elem_size_at): Likewise.
30634 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30636         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30637         code.
30638         (cc32): Likewise.
30640         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30641         (__acr): Likewise.
30642         (__cpy): Likewise.
30643         (norm): Likewise.
30644         (denorm): Likewise.
30645         (__dbl_mp): Likewise.
30646         (add_magnitudes): Likewise.
30647         (sub_magnitudes): Likewise.
30648         (__mul): Likewise.
30649         (__inv): Likewise.
30651         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30652         style.
30654         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30655         style.
30657         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30658         code.
30660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30661         up changes with default code.
30662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30663         Likewise.
30665 2013-02-24  Allan McRae  <allan@archlinux.org>
30667         * manual/socket.texi (The Internet Namespace): Order menu items
30668         to match that in the file.
30670         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30671         node listing of the info page menu.
30673 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30675         [BZ #13550]
30676         * sysdeps/i386/bp-asm.h: Remove file.
30677         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30678         (PARMS): Do not use macros from bp-asm.h.
30679         (S1): Likewise.
30680         (S2): Likewise.
30681         (SIZE): Likewise.
30682         (__mpn_add_n): Do not use BP_SYM
30683         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30684         "bp-asm.h".
30685         (PARMS): Do not use macros from bp-asm.h.
30686         (S1): Likewise.
30687         (SIZE): Likewise.
30688         (__mpn_addmul_1): Do not use BP_SYM
30689         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30690         "bp-asm.h".
30691         (PARMS): Do not use macros from bp-asm.h.
30692         (SIGMSK): Likewise.
30693         (_setjmp): Likewise.  Do not use BP_SYM.
30694         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30695         "bp-asm.h".
30696         (PARMS): Do not use macros from bp-asm.h.
30697         (SIGMSK): Likewise.
30698         (setjmp): Likewise.  Do not use BP_SYM.
30699         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30700         "bp-asm.h".
30701         (PARMS): Do not use macros from bp-asm.h.
30702         (__frexp): Do not use BP_SYM.
30703         (frexp): Likewise.
30704         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30705         "bp-asm.h".
30706         (PARMS): Do not use macros from bp-asm.h.
30707         (__frexpf): Do not use BP_SYM.
30708         (frexpf): Likewise.
30709         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30710         "bp-asm.h".
30711         (PARMS): Do not use macros from bp-asm.h.
30712         (__frexpl): Do not use BP_SYM.
30713         (frexpl): Likewise.
30714         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30715         "bp-asm.h".
30716         (PARMS): Do not use macros from bp-asm.h.
30717         (__remquo): Do not use BP_SYM.
30718         (remquo): Likewise.
30719         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30720         "bp-asm.h".
30721         (PARMS): Do not use macros from bp-asm.h.
30722         (__remquof): Do not use BP_SYM.
30723         (remquof): Likewise.
30724         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30725         "bp-asm.h".
30726         (PARMS): Do not use macros from bp-asm.h.
30727         (__remquol): Do not use BP_SYM.
30728         (remquol): Likewise.
30729         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30730         "bp-asm.h".
30731         (PARMS): Do not use macros from bp-asm.h.
30732         (DEST): Likewise.
30733         (SRC): Likewise.
30734         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30735         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30736         "bp-asm.h".
30737         (PARMS): Do not use macros from bp-asm.h.
30738         (strlen): Do not use BP_SYM.
30739         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30740         "bp-asm.h".
30741         (PARMS): Do not use macros from bp-asm.h.
30742         (S1): Likewise.
30743         (S2): Likewise.
30744         (SIZE): Likewise.
30745         (__mpn_add_n): Do not use BP_SYM.
30746         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30747         "bp-asm.h".
30748         (PARMS): Do not use macros from bp-asm.h.
30749         (S1): Likewise.
30750         (SIZE): Likewise.
30751         (__mpn_addmul_1): Do not use BP_SYM.
30752         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30753         weak_alias.
30754         (bzero): Likewise.
30755         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30756         "bp-asm.h".
30757         (PARMS): Do not use macros from bp-asm.h.
30758         (S): Likewise.
30759         (SIZE): Likewise.
30760         (__mpn_lshift): Do not use BP_SYM.
30761         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30762         "bp-asm.h".
30763         (PARMS): Do not use macros from bp-asm.h.
30764         (DEST): Likewise.
30765         (SRC): Likewise.
30766         (LEN): Likewise.
30767         (memcpy): Likewise.  Do not use BP_SYM.
30768         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30769         libc_hidden_def and weak_alias.
30770         (mempcpy): Do not use BP_SYM in weak_alias.
30771         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30772         "bp-asm.h".
30773         (PARMS): Do not use macros from bp-asm.h.
30774         (DEST): Likewise.
30775         (LEN): Likewise.
30776         [!BZERO_P] (CHR): Likewise.
30777         (memset): Likewise.  Do not use BP_SYM.
30778         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30779         "bp-asm.h".
30780         (PARMS): Do not use macros from bp-asm.h.
30781         (S1): Likewise.
30782         (SIZE): Likewise.
30783         (__mpn_mul_1): Do not use BP_SYM.
30784         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30785         "bp-asm.h".
30786         (PARMS): Do not use macros from bp-asm.h.
30787         (S): Likewise.
30788         (SIZE): Likewise.
30789         (__mpn_rshift): Do not use BP_SYM.
30790         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30791         "bp-asm.h".
30792         (PARMS): Do not use macros from bp-asm.h.
30793         (STR): Likewise.
30794         (CHR): Likewise.
30795         (strchr): Likewise.  Do not use BP_SYM.
30796         (index): Do not use BP_SYM in weak_alias.
30797         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30798         "bp-asm.h".
30799         (PARMS): Do not use macros from bp-asm.h.
30800         (DEST): Likewise.
30801         (SRC): Likewise.
30802         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30803         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30804         "bp-asm.h".
30805         (PARMS): Do not use macros from bp-asm.h.
30806         (strlen): Do not use BP_SYM.
30807         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30808         "bp-asm.h".
30809         (PARMS): Do not use macros from bp-asm.h.
30810         (S1): Likewise.
30811         (S2): Likewise.
30812         (SIZE): Likewise.
30813         (__mpn_sub_n): Do not use BP_SYM.
30814         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30815         "bp-asm.h".
30816         (PARMS): Do not use macros from bp-asm.h.
30817         (S1): Likewise.
30818         (SIZE): Likewise.
30819         (__mpn_submul_1): Do not use BP_SYM.
30820         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30821         "bp-asm.h".
30822         (PARMS): Do not use macros from bp-asm.h.
30823         (S1): Likewise.
30824         (S2): Likewise.
30825         (SIZE): Likewise.
30826         (__mpn_add_n): Do not use BP_SYM.
30827         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30828         weak_alias.
30829         (bzero): Likewise.
30830         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30831         "bp-asm.h".
30832         (PARMS): Do not use macros from bp-asm.h.
30833         (BLK2): Likewise.
30834         (LEN): Likewise.
30835         (memcmp): Do not use BP_SYM.
30836         (bcmp): Do not use BP_SYM in weak_alias.
30837         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30838         "bp-asm.h".
30839         (PARMS): Do not use macros from bp-asm.h.
30840         (DEST): Likewise.
30841         (SRC): Likewise.
30842         (LEN): Likewise.
30843         (memcpy): Likewise.  Do not use BP_SYM.
30844         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30845         "bp-asm.h".
30846         (PARMS): Do not use macros from bp-asm.h.
30847         (DEST): Likewise.
30848         (SRC): Likewise.
30849         (LEN): Likewise.
30850         (memmove): Likewise.  Do not use BP_SYM.
30851         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30852         "bp-asm.h".
30853         (PARMS): Do not use macros from bp-asm.h.
30854         (DEST): Likewise.
30855         (SRC): Likewise.
30856         (LEN): Likewise.
30857         (__mempcpy): Likewise.  Do not use BP_SYM.
30858         (mempcpy): Do not use BP_SYM in weak_alias.
30859         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30860         "bp-asm.h".
30861         (PARMS): Do not use macros from bp-asm.h.
30862         (DEST): Likewise.
30863         (LEN): Likewise.
30864         [!BZERO_P] (CHR): Likewise.
30865         (memset): Likewise.  Do not use BP_SYM.
30866         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30867         "bp-asm.h".
30868         (PARMS): Do not use macros from bp-asm.h.
30869         (STR2): Likewise.
30870         (strcmp): Do not use BP_SYM.
30871         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30872         "bp-asm.h".
30873         (PARMS): Do not use macros from bp-asm.h.
30874         (STR): Likewise.
30875         (DELIM): Likewise.
30876         [USE_AS_STRTOK_R] (SAVE): Likewise.
30877         (FUNCTION): Likewise.  Do not use BP_SYM.
30878         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30879         aliases.
30880         (strtok_r): Likewise.
30881         (__GI___strtok_r): Likewise.
30882         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30883         (PARMS): Do not use macros from bp-asm.h.
30884         (S): Likewise.
30885         (SIZE): Likewise.
30886         (__mpn_lshift): Do not use BP_SYM.
30887         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30888         (PARMS): Do not use macros from bp-asm.h.
30889         (STR): Likewise.
30890         (CHR): Likewise.
30891         (__memchr): Do not use BP_SYM.
30892         (memchr): Do not use BP_SYM in weak_alias.
30893         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30894         (PARMS): Do not use macros from bp-asm.h.
30895         (BLK2): Likewise.
30896         (LEN): Likewise.
30897         (memcmp): Do not use BP_SYM.
30898         (bcmp): Do not use BP_SYM in weak_alias.
30899         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30900         (PARMS): Do not use macros from bp-asm.h.
30901         (S1): Likewise.
30902         (SIZE): Likewise.
30903         (__mpn_mul_1): Do not use BP_SYM.
30904         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30905         "bp-asm.h".
30906         (PARMS): Do not use macros from bp-asm.h.
30907         (STR): Likewise.
30908         (CHR): Likewise.
30909         (__rawmemchr): Do not use BP_SYM.
30910         (rawmemchr): Do not use BP_SYM in weak_alias.
30911         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30912         (PARMS): Do not use macros from bp-asm.h.
30913         (S): Likewise.
30914         (SIZE): Likewise.
30915         (__mpn_rshift): Do not use BP_SYM.
30916         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30917         (PARMS): Do not use macros from bp-asm.h.
30918         (SIGMSK): Likewise.
30919         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30920         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30921         (_start): Do not use BP_SYM.
30922         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30923         (PARMS): Do not use macros from bp-asm.h.
30924         (DEST): Likewise.
30925         (SRC): Likewise.
30926         (__stpcpy): Likewise.  Do not use BP_SYM.
30927         (stpcpy): Do not use BP_SYM in weak_alias.
30928         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30929         "bp-asm.h".
30930         (PARMS): Do not use macros from bp-asm.h.
30931         (DEST): Likewise.
30932         (SRC): Likewise.
30933         (LEN): Likewise.
30934         (__stpncpy): Likewise.  Do not use BP_SYM.
30935         (stpncpy): Do not use BP_SYM in weak_alias.
30936         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30937         (PARMS): Do not use macros from bp-asm.h.
30938         (STR): Likewise.
30939         (CHR): Likewise.
30940         (strchr): Likewise.  Do not use BP_SYM.
30941         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30942         "bp-asm.h".
30943         (PARMS): Do not use macros from bp-asm.h.
30944         (STR): Likewise.
30945         (CHR): Likewise.
30946         (__strchrnul): Likewise.  Do not use BP_SYM.
30947         (strchrnul): Do not use BP_SYM in weak_alias.
30948         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30949         "bp-asm.h".
30950         (PARMS): Do not use macros from bp-asm.h.
30951         (STOP): Likewise.
30952         (strcspn): Do not use BP_SYM.
30953         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30954         "bp-asm.h".
30955         (PARMS): Do not use macros from bp-asm.h.
30956         (STR): Likewise.
30957         (STOP): Likewise.
30958         (strpbrk): Likewise.  Do not use BP_SYM.
30959         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30960         "bp-asm.h".
30961         (PARMS): Do not use macros from bp-asm.h.
30962         (STR): Likewise.
30963         (CHR): Likewise.
30964         (strrchr): Likewise.  Do not use BP_SYM.
30965         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30966         (PARMS): Do not use macros from bp-asm.h.
30967         (SKIP): Likewise.
30968         (strspn): Do not use BP_SYM.
30969         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30970         (PARMS): Do not use macros from bp-asm.h.
30971         (STR): Likewise.
30972         (DELIM): Likewise.
30973         (SAVE): Likewise.
30974         (FUNCTION): Likewise.  Do not use BP_SYM.
30975         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30976         aliases.
30977         (strtok_r): Likewise.
30978         (__GI___strtok_r): Likewise.
30979         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30980         (PARMS): Do not use macros from bp-asm.h.
30981         (S1): Likewise.
30982         (S2): Likewise.
30983         (SIZE): Likewise.
30984         (__mpn_sub_n): Do not use BP_SYM.
30985         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30986         "bp-asm.h".
30987         (PARMS): Do not use macros from bp-asm.h.
30988         (S1): Likewise.
30989         (SIZE): Likewise.
30990         (__mpn_submul_1): Do not use BP_SYM.
30991         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30992         <bp-sym.h>.
30993         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30994         and <bp-asm.h>.
30995         (PARMS): Do not use macros from bp-asm.h.
30996         (FLAGS): Likewise.
30997         (PTID): Likewise.
30998         (TLS): Likewise.
30999         (CTID): Likewise.
31000         (__clone): Do not use BP_SYM.
31001         (clone): Do not use BP_SYM in weak_alias.
31002         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31003         and <bp-asm.h>.
31004         (PARMS): Do not use macros from bp-asm.h.
31005         (LEN): Likewise.
31006         (__mmap64): Do not use BP_SYM.
31007         (mmap64): Do not use BP_SYM in weak_alias.
31008         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31009         <bp-sym.h> and <bp-asm.h>.
31010         (PARMS): Do not use macros from bp-asm.h.
31011         (__posix_fadvise64_l64): Do not use BP_SYM.
31012         * sysdeps/unix/sysv/linux/i386/semtimedop.S
31013         (PARMS): Do not use macros from bp-asm.h.
31014         (NSOPS): Likewise.
31015         (semtimedop): Do not use BP_SYM.
31016         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31017         and <bp-asm.h>.
31019 2013-02-21  Allan McRae  <allan@archlinux.org>
31021         * manual/message.texi (Charset conversion in gettext):
31022         Move @end statement to beginning of line.
31024 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31026         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31027         static.
31028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31029         Likewise.
31031         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31032         (denorm): Likewise.
31033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31036 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31038         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31039         tail-call to the resolved function if pltexit isn't needed.
31041 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31044         or Y being zero as being unlikely.
31045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31046         Likewise.
31048 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
31050         * manual/nss.texi (System Databases and Name Service Switch):
31051         Remove frobnicate @pxref.
31053 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31055         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31056         __attribute__ ((unused)) to __attribute__ ((__unused__)).
31058 2013-02-20  Petr Machata  <pmachata@redhat.com>
31060         * elf/elf.h (R_ARM_TARGET1): New macro.
31061         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31062         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31063         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31064         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31065         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31066         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31067         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31068         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31069         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31070         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31071         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31072         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31073         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31074         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31075         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31076         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31077         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31078         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31079         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31080         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31081         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31082         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31083         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31084         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31085         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31086         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31087         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31088         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31089         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31090         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31091         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31092         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31093         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31094         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31095         (R_ARM_THM_GOT_BREL12): Likewise.
31096         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31097         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31098         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31099         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31100         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31101         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31102         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31103         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31104         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31106 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31108         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31109         __attribute_used__ to __attribute__ ((unused)).
31111 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31113         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31114         powerpc mpa.c.
31115         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31116         comment formatting.
31117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31119 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
31121         [BZ #13550]
31122         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31123         Remove macro.
31124         (ENTER): Remove both macro definitions.
31125         (LEAVE): Likewise.
31126         (CHECK_BOUNDS_LOW): Likewise.
31127         (CHECK_BOUNDS_HIGH): Likewise.
31128         (CHECK_BOUNDS_BOTH): Likewise.
31129         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31130         (RETURN_BOUNDED_POINTER): Likewise.
31131         (RETURN_NULL_BOUNDED_POINTER): Likewise.
31132         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31133         (POP_ERRNO_LOCATION_RETURN): Likewise.
31134         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31135         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31136         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31137         macros.
31138         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31139         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31140         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31141         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31142         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31143         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31144         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31145         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31146         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31147         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31148         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31149         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31150         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31151         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31152         removed macros.
31153         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31154         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31155         macros.
31156         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31157         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31158         * sysdeps/i386/i586/memset.S (memset): Likewise.
31159         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31160         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31161         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31162         macros.
31163         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31164         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31165         Change uses of L(2) to L(out).
31166         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31167         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31168         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31169         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31170         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31171         removed macros.
31172         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31173         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31174         macros.
31175         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31176         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31177         (RETURN): Do not use macro LEAVE.
31178         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31179         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31180         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31181         * sysdeps/i386/i686/memset.S (memset): Likewise.
31182         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31183         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31184         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31185         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31186         Likewise.
31187         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31188         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
31189         L(1_2) and L(1_3) into L(1).
31190         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31191         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31192         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31193         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31194         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31195         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31196         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31197         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31198         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31199         macros.
31200         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31201         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31202         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31203         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31204         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31205         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31206         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31207         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31208         * sysdeps/i386/strcspn.S (strcspn): Likewise.
31209         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31210         * sysdeps/i386/strrchr.S (strrchr): Likewise.
31211         * sysdeps/i386/strspn.S (strspn): Likewise.
31212         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31213         conditional code.
31214         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31215         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31216         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31217         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
31218         L(1_3) into L(1_1).
31219         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31220         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31221         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31222         macros.
31223         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31225 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
31227         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31228         macro.
31230 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31232         * math/atest-exp.c (exp_mpn): Remove ROUND.
31233         * math/atest-exp2.c (exp_mpn): Likewise.
31234         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31236         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31237         * stdlib/tst-tls-atexit-lib.c: Likewise.
31238         * stdlib/tst-tls-atexit.c: Likewise.
31240 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31242         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31243         and __attribute_alloc_size__.
31245 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31247         * include/programs/xmalloc.h: Change __attribute_alloc_size to
31248         __attribute_alloc_size__.
31249         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31250         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31252 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31254         * include/programs/xmalloc.h: New file.
31255         * catgets/gencat.c: Include it.
31256         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31257         * elf/pldd.c: Likewise.
31258         * iconv/iconv_charmap.c: Likewise.
31259         * iconv/iconvconfig.c: Likewise.
31260         * iconv/strtab.c: Likewise.
31261         * locale/programs/locale.c: Likewise.
31262         * locale/programs/localedef.h: Likewise.
31263         * locale/programs/simple-hash.c: Likewise.
31264         * nscd/nscd.h: Likewise.
31265         * nss/makedb.c: Likewise.
31266         * sysdeps/generic/ldconfig.h: Likewise.
31268 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31270         * Versions.def: Add GLIBC_2.18.
31271         * include/link.h (struct link_map): New member l_tls_dtor_count.
31272         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31273         (__call_tls_dtors): Likewise.
31274         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31275         __cxa_thread_atexit_impl.
31276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31277         Likewise.
31278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31279         Likewise.
31280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31281         Likewise.
31282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31283         Likewise.
31284         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31286         Likewise.
31287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31288         Likewise.
31289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31291         Likewise.
31292         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31293         (tests): Add test case tst-tls-atexit.
31294         (modules-names): Add shared library for tst-tls-atexit.
31295         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31296         (GLIBC_PRIVATE): Add __call_tls_dtors.
31297         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31298         for libstdc++.
31299         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31300         * stdlib/tst-tls-atexit.c: New test case.
31301         * stdlib/tst-tls-atexit-lib.c: New test case.
31303         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31305         * elf/Versions (ld): Add _dl_find_dso_for_object.
31306         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31307         * elf/dl-open.c (_dl_find_dso_for_object): New function.
31308         (dl_open_worker): Use _dl_find_dso_for_object.
31309         * elf/dl-sym.c (do_sym): Likewise.
31310         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31312 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31314         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31315         Syntactic changes only.
31316         (_dl_runtime_profile): Do a tail-call to the resolved function.
31318 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
31320         [BZ #13550]
31321         * sysdeps/x86_64/bp-asm.h: Remove file.
31322         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31323         <bp-sym.h> and <bp-asm.h>.
31324         (__clone): Do not use BP_SYM.
31325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31326         <bp-sym.h> and <bp-asm.h>.
31327         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31328         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31329         "bp-asm.h".
31330         (_setjmp): Do not use BP_SYM.
31331         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31332         "bp-asm.h".
31333         (setjmp): Do not use BP_SYM.
31334         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31335         libc_hidden_def.
31336         (mempcpy): Do not use BP_SYM in weak_alias.
31337         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31338         "bp-asm.h".
31339         (strchr): Do not use BP_SYM.
31340         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31341         "bp-asm.h".
31342         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31343         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31344         (_start): Do not use BP_SYM.
31345         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31346         "bp-asm.h".
31347         (strcat): Do not use BP_SYM.
31348         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31349         "bp-asm.h".
31350         (STRCMP): Do not use BP_SYM.
31351         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31352         "bp-asm.h".
31353         (STRCPY): Do not use BP_SYM.
31354         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31355         "bp-asm.h".
31356         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31357         "bp-asm.h".
31358         (FUNCTION): Do not use BP_SYM.
31359         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31360         weak_alias.
31361         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31363 2013-02-17  Andreas Jaeger  <aj@suse.de>
31365         * time/Versions: Sort entries.
31366         * string/Versions: Likewise.
31367         * resolv/Versions: Likewise.
31368         * posix/Versions: Likewise.
31369         * iconv/Versions: Likewise.
31370         * elf/Versions: Likewise.
31371         * wcsmbs/Versions: Likewise.
31373 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31375         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31376         loop termination condition.
31378         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31379         variable to calculate EZ.
31380         (__sqr): Likewise.
31382         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31383         the lower precision input.
31385 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
31387         [BZ #13550]
31388         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31389         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31390         (run-via-rtld-prefix): Do not handle %-bp tests.
31391         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31392         (all-object-suffixes): Remove .ob.
31393         (bppfx): Remove variable.
31394         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31395         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31396         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31397         [$(build-bounded) = yes] (libtype.ob): Likewise.
31398         * Makerules (elide-routines.ob): Remove variable.
31399         (do-tests-clean): Do not handle *-bp.out.
31400         (common-mostlyclean): Do not handle *-bp and *-bp.out.
31401         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31402         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31403         (tests): Do not include $(tests-bp.out).
31404         (xtests): Do not include $(xtests-bp.out).
31405         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31406         [$(build-bounded) = yes] ($(addprefix
31407         $(objpfx),$(binaries-bounded))): Remove rule.
31408         ($(objpfx)%-bp.out): Remove rule.
31409         * config.make.in (build-bounded): Remove variable.
31410         * crypt/Makefile [$(build-bounded) = yes]
31411         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31412         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31413         append to variable.
31414         [$(build-bounded) = yes] (install-lib): Likewise.
31415         [$(build-bounded) = yes] (generated): Likewise.
31416         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31417         Remove rule.
31418         * intl/Makefile [$(build-bounded) = yes]
31419         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31420         * math/Makefile [$(build-bounded) = yes]
31421         ($(tests:%=$(objpfx)%-bp): Likewise.
31422         * misc/Makefile [$(build-bounded) = yes]
31423         ($(objpfx)tst-tsearch-bp): Likewise.
31424         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31425         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31426         Remove dependency.
31427         * string/Makefile (o-objects.ob): Remove variable.
31428         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31429         (CFLAGS-.ob): Remove variable.
31430         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31431         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31432         both definitions of variable.
31433         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31434         (ASFLAGS-.ob): Remove variable.
31436 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31438         [BZ #13550]
31439         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31440         Remove __BOUNDED_POINTERS__ from condition.
31441         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31442         * string/bits/string2.h [!__NO_STRING_INLINES &&
31443         !__BOUNDED_POINTERS__]: Likewise.
31444         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31445         Likewise.
31446         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31447         Remove conditional code.
31448         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31449         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31450         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31451         condition.
31453         [BZ #13550]
31454         * csu/libc-start.c: Do not include <bp-sym.h>.
31455         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31456         * elf/dl-open.c: Do not include <bp-sym.h>.
31457         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31458         * math/fegetenv.c: Do not include <bp-sym.h>.
31459         (fegetenv): Do not use BP_SYM in versioned symbols.
31460         * nptl/sysdeps/pthread/bits/libc-lockP.h
31461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31462         <bp-sym.h>.
31463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31464         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31466         (__pthread_mutex_destroy): Likewise.
31467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31468         (__pthread_mutex_lock): Likewise.
31469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31470         (__pthread_mutex_trylock): Likewise.
31471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31472         (__pthread_mutex_unlock): Likewise.
31473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31474         (__pthread_mutexattr_init): Likewise.
31475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31476         (__pthread_mutexattr_destroy): Likewise.
31477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31478         (__pthread_mutexattr_settype): Likewise.
31479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31480         (__pthread_rwlock_init): Likewise.
31481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31482         (__pthread_rwlock_destroy): Likewise.
31483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31484         (__pthread_rwlock_rdlock): Likewise.
31485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31486         (__pthread_rwlock_tryrdlock): Likewise.
31487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31488         (__pthread_rwlock_wrlock): Likewise.
31489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31490         (__pthread_rwlock_trywrlock): Likewise.
31491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31492         (__pthread_rwlock_unlock): Likewise.
31493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31494         (__pthread_key_create): Likewise.
31495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31496         (__pthread_setspecific): Likewise.
31497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31498         (__pthread_getspecific): Likewise.
31499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31500         Likewise.
31501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31502         (_pthread_cleanup_push_defer): Likewise.
31503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31504         (_pthread_cleanup_pop_restore): Likewise.
31505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31506         (pthread_setcancelstate): Likewise.
31507         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31508         <bp-sym.h>.
31509         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31510         (memchr): Do not use BP_SYM in weak_alias.
31511         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31512         (fegetenv): Do not use BP_SYM in versioned symbols.
31513         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31514         (fesetenv): Do not use BP_SYM in versioned symbols.
31515         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31516         (feupdateenv): Do not use BP_SYM in versioned symbols.
31517         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31518         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31519         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31520         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31521         (open64): Do not use BP_SYM in weak_alias.
31522         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31523         (fegetenv): Do not use BP_SYM in versioned symbols.
31524         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31525         (fesetenv): Do not use BP_SYM in versioned symbols.
31526         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31527         (feupdateenv): Do not use BP_SYM in versioned symbols.
31528         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31529         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31530         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31531         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31532         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31533         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31534         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31535         <bp-sym.h>.
31536         (__libc_start_main): Do not use BP_SYM.
31538 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31541         redundant return line.
31542         (norm): Likewise.
31543         (denorm): Likewise.
31544         (dbl_mp): Likewise.
31545         (sub_magnitudes): Likewise.
31546         (__add): Likewise.
31547         (__sub): Likewise.
31548         (__mul): Likewise.
31549         (__inv): Likewise.
31550         (__dvd): Likewise.
31551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31552         (norm): Likewise.
31553         (denorm): Likewise.
31554         (dbl_mp): Likewise.
31555         (sub_magnitudes): Likewise.
31556         (__add): Likewise.
31557         (__sub): Likewise.
31558         (__mul): Likewise.
31559         (__inv): Likewise.
31560         (__dvd): Likewise.
31562         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31563         instead of __mul.
31564         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31565         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31566         (cc32): Likewise.
31568         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31569         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31571         of __mul for squares.
31572         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31573         function
31574         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31575         Likewise.
31576         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31577         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31579 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31581         [BZ #13550]
31582         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31583         code.
31584         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31585         prototype or function definition.  Rename ubp_* variables and
31586         parameters.  Remove argv definitions conditional on
31587         [__BOUNDED_POINTERS__].
31588         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31589         * elf/dl-runtime.c (_dl_fixup): Likewise.
31590         * include/set-hooks.h (RUN_HOOK): Likewise.
31591         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31592         definition.
31593         * string/strcpy.c (strcpy): Do not use __unbounded.
31594         * sysdeps/generic/frame.h (struct layout): Likewise.
31595         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31596         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31597         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31598         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31599         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31600         (__backtrace): Likewise.
31601         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31602         use __ptrvalue.
31603         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31604         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31605         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31606         Likewise.
31607         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31608         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31609         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31610         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31611         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31612         Do not use __unbounded.
31613         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31614         Rename __unboundedrlimits parameter to rlimits in prototype.
31615         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31616         Do not use __unbounded.
31617         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31618         not use __ptrvalue.
31619         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31620         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31621         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31622         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31623         __ptrvalue or __unbounded.
31624         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31625         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31626         use __unbounded.
31627         (__new_msgctl): Do not use __ptrvalue.
31628         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31629         __unbounded.
31630         (__libc_msgrcv): Do not use __ptrvalue.
31631         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31632         startup_info): Do not use __unbounded.
31633         (__libc_start_main): Likewise.  Rename ubp_* variables and
31634         parameters.  Remove argv definitions conditional on
31635         [__BOUNDED_POINTERS__].
31636         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31637         __ptrvalue.
31638         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31639         use __unbounded.
31640         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31641         or __ptrvalue.
31642         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31643         use __unbounded.
31644         (__new_shmctl): Do not use __ptrvalue.
31645         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31646         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31647         Likewise.
31648         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31649         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31650         (__libc_sigaction): Likewise.
31651         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31652         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31653         Likewise.
31654         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31656 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
31658         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31660         * string/mempcpy.c: Implement by calling memcpy.
31662 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31666         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31667         evaluation.
31669         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31670         values in the mantissa.
31672         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31673         minimize writes to Z.
31674         (sub_magnitudes): Simplify code a bit.
31676 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31678         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31679         from the message.  The linker prefixes all warnings with that already.
31681 2013-02-12  Andreas Schwab  <schwab@suse.de>
31683         [BZ #15078]
31684         * posix/regexec.c (extend_buffers): Add parameter min_len.
31685         (check_matching): Pass minimum needed length.
31686         (clean_state_log_if_needed): Likewise.
31687         (get_subexp): Likewise.
31688         * posix/Makefile (tests): Add bug-regex34.
31689         (bug-regex34-ENV): Define.
31690         * posix/bug-regex34.c: New file.
31692         [BZ #11561]
31693         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31694         elements compare against the byte sequence of it, not its name.
31695         * posix/Makefile (tests): Add bug-regex35.
31696         (bug-regex35-ENV): Define.
31697         * posix/bug-regex35.c: New file.
31699 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31701         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31702         comment.
31703         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31704         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31705         (CHECK_EOL): Add undef.
31707 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31709         * bits/stdlib-bsearch.h: New file.
31710         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31711         * stdlib/stdlib.h: Likewise.
31713 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31715         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31716         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31717         declaration.
31718         * manual/search.texi (Array Search Function): Add missing const in
31719         lfind prototype.
31720         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31721         declaration to use rlim_t.
31722         (Basic Scheduling Functions): Remove erroneous const from
31723         sched_getparam prototype.  Remove erroneous * from
31724         sched_get_priority_max and sched_get_priority_min prototypes.
31725         (Resource Usage): Fix summary @comment on vtimes to refer to
31726         sys/vtimes.h rather than vtimes.h.
31727         Add missing *s in vtimes prototype.
31728         (Limits on Resources): Fix ulimit prototype to return long int.
31729         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31730         prototypes to use long int rather than double.
31731         (BSD Random): Fix initstate and setstate to use char *, not void *.
31732         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31733         prototype to make second argument 'struct aiocb64 *const[]'.
31734         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31735         (Status of AIO Operations): Remove erroneous const in aio_return and
31736         aio_return64 prototypes.
31737         (Synchronizing I/O): Fix sync prototype to return void.
31738         * manual/startup.texi (Suboptions): Remove an erroneous const in
31739         getsubopt prototype.
31740         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31741         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31742         use size_t rather than int.
31743         (Scanning All Users): Likewise for getpwent_r.
31744         (Setting Groups): Add missing const to setgroups prototype.
31745         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31746         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31747         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31748         'const void *' rather than 'const char *'.
31749         (Host Address Functions): Likewise for inet_ntop.
31750         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31751         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31752         ssize_t for return value.
31753         (Sending Data): Likewise for send, sendto, sendmsg.
31754         (Socket Option Functions): Add a missing const in setsockopt prototype.
31755         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31756         use wchar_t for the argument.
31757         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31758         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31759         take no arguments.
31760         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31761         double/float/long double for second argument.
31762         Fix return types of significand, significandf, significandl.
31763         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31764         argument in fchmod prototype.
31765         (File Owner): Use uid_t and gid_t in fchown prototype.
31766         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31767         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31768         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31769         use 'const struct dirent **' as argument types to CMP function pointer
31770         argument.
31771         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31772         (File Times): Fix summary magic @comment for struct utimbuf and utime
31773         to refer to utime.h, not time.h.
31774         * manual/string.texi (Argz Functions): Add missing const in
31775         argz_extract and argz_next prototypes.
31776         (Finding Tokens in a String): Likewise for basename.
31777         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31778         (Copying and Concatenation): Fix typo in wmemmove prototype.
31779         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31780         (Signal Stack): Remove erroneous const in sigstack prototype.
31781         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31782         prototype.
31783         (Simple Calendar Time): Likewise for stime.
31784         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31785         prototype.
31786         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31787         say sys/sysctl.h instead.
31788         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31789         and vsyslog prototypes.
31791 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31793         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31794         Remove.
31796 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31798         * misc/sys/mman.h: Fix typo in mremap comment.
31800 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31802         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31803         the '\0' terminator.
31805 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31807         [BZ #13550]
31808         * debug/segfault.c: Don't include <bp-checks.h>.
31809         * sysdeps/generic/bp-checks.h: Remove file.
31810         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31811         (__GETDENTS): Don't use CHECK_N.
31812         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31813         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31814         (__getgroups): Don't use CHECK_N.
31815         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31816         (setgroups): Don't use CHECK_N.
31817         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31818         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31819         (__libc_msgrcv): Don't use CHECK_N.
31820         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31821         (__libc_msgsnd): Don't use CHECK_N.
31822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31823         <bp-checks.h>.
31824         (__libc_pread): Don't use CHECK_N.
31825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31826         include <bp-checks.h>.
31827         (__libc_pread64): Don't use CHECK_N.
31828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31829         include <bp-checks.h>.
31830         (__libc_pwrite): Don't use CHECK_N.
31831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31832         include <bp-checks.h>.
31833         (__libc_pwrite64): Don't use CHECK_N.
31834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31835         <bp-checks.h>.
31836         (__libc_pread): Don't use CHECK_N.
31837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31838         include <bp-checks.h>.
31839         (__libc_pread64): Don't use CHECK_N.
31840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31841         include <bp-checks.h>.
31842         (__libc_pwrite): Don't use CHECK_N.
31843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31844         include <bp-checks.h>.
31845         (__libc_pwrite64): Don't use CHECK_N.
31846         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31847         (do_pread): Don't use CHECK_N.
31848         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31849         (do_pread64): Don't use CHECK_N.
31850         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31851         (do_pwrite): Don't use CHECK_N.
31852         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31853         (do_pwrite64): Don't use CHECK_N.
31854         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31855         (__libc_readv): Don't use CHECK_N.
31856         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31857         (semop): Don't use CHECK_N.
31858         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31859         <bp-checks.h>.
31860         (semtimedop): Don't use CHECK_N.
31861         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31862         (__libc_pread): Don't use CHECK_N.
31863         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31864         <bp-checks.h>.
31865         (__libc_pread64): Don't use CHECK_N.
31866         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31867         <bp-checks.h>.
31868         (__libc_pwrite): Don't use CHECK_N.
31869         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31870         <bp-checks.h>.
31871         (__libc_pwrite64): Don't use CHECK_N.
31872         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31873         <bp-checks.h>.
31874         (__libc_msgrcv): Don't use CHECK_N.
31875         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31876         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31877         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31878         (__libc_writev): Don't use CHECK_N.
31880 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31882         * string/strcpy.c: Removed unused variable.
31884         * Makeconfig (+sysdep-includes): Define with := rather than =.
31885         Use an existing include/ subdir of each sysdeps dir before it.
31887 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31889         * nscd/connection.c (register_traced_file): Comment function.
31890         [HAVE_INOTIFY] (union __inev): Define.
31891         [HAVE_INOTIFY] (inotify_check_files): New function.
31892         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31893         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31894         clear_db_cache.
31895         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31897 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31899         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31900         loaded if not already and that a failure is permanent.
31902 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31904         [BZ #15006]
31905         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31906         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31908 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31910         [BZ #13550]
31911         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31912         (CHECK_1_NULL_OK): Likewise.
31913         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31914         (__fxstat): Do not use CHECK_1.
31915         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31916         <bp-checks.h>.
31917         (___fxstat64): Do not use CHECK_1.
31918         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31919         <bp-checks.h>.
31920         (__fxstatat): Do not use CHECK_1.
31921         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31922         <bp-checks.h>.
31923         (__fxstatat64): Do not use CHECK_1.
31924         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31925         <bp-checks.h>.
31926         (__fxstat): Do not use CHECK_1.
31927         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31928         <bp-checks.h>.
31929         (__fxstatat): Do not use CHECK_1.
31930         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31931         <bp-checks.h>.
31932         (__getresgid): Do not use CHECK_1.
31933         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31934         <bp-checks.h>.
31935         (__getresuid): Do not use CHECK_1.
31936         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31937         <bp-checks.h>.
31938         (__lxstat): Do not use CHECK_1.
31939         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31940         <bp-checks.h>.
31941         (__old_msgctl): Do not use CHECK_1.
31942         (__new_msgctl): Likewise.
31943         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31944         <bp-checks.h>.
31945         (__new_setrlimit): Do not use CHECK_1.
31946         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31947         <bp-checks.h>.
31948         (__old_shmctl): Do not use CHECK_1.
31949         (__new_shmctl): Likewise.
31950         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31951         <bp-checks.h>.
31952         (__xstat): Do not use CHECK_1.
31953         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31954         (__lxstat): Do not use CHECK_1.
31955         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31956         <bp-checks.h>.
31957         (___lxstat64): Do not use CHECK_1.
31958         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31959         (__old_msgctl): Do not use CHECK_1.
31960         (__new_msgctl): Likewise.
31961         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31962         <bp-checks.h>.
31963         (__gettimeofday): Do not use CHECK_1.
31964         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31965         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31966         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31967         <bp-checks.h>.
31968         (__gettimeofday): Do not use CHECK_1.
31969         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31970         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31971         (__new_shmctl): Do not use CHECK_1.
31972         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31973         <bp-checks.h>.
31974         (do_sigtimedwait): Do not use CHECK_1.
31975         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31976         <bp-checks.h>.
31977         (do_sigwaitinfo): Do not use CHECK_1.
31978         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31979         <bp-checks.h>.
31980         (msgctl): Do not use CHECK_1.
31981         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31982         <bp-checks.h>.
31983         (shmctl): Do not use CHECK_1.
31984         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31985         (ustat): Do not use CHECK_1.
31986         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31987         <bp-checks.h>.
31988         (__fxstat): Do not use CHECK_1.
31989         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31990         <bp-checks.h>.
31991         (__fxstatat): Do not use CHECK_1.
31992         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31993         <bp-checks.h>.
31994         (__lxstat): Do not use CHECK_1.
31995         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31996         <bp-checks.h>.
31997         (__xstat): Do not use CHECK_1.
31998         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31999         (__xstat): Do not use CHECK_1.
32000         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32001         (___xstat64): Do not use CHECK_1.
32003         [BZ #13550]
32004         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32005         definitions.
32006         (CHECK_BOUNDS_HIGH): Likewise.
32007         * string/strcpy.c: Do not include <bp-checks.h>.
32008         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32010 2013-02-07  Roland McGrath  <roland@hack.frob.com>
32012         * nscd/nscd-client.h (__nscd_drop_map_ref):
32013         Add __attribute__ ((unused)).
32014         * nis/nss-nisplus.h (niserr2nss): Likewise.
32016         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32017         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32019         * csu/libc-tls.c (init_static_tls, init_slotinfo):
32020         Remove inline keyword.
32021         * include/rounding-mode.h (round_away): Likewise.
32022         * libio/wfileops.c (adjust_wide_data): Likewise.
32023         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32024         (__m128i_strloadu_tolower): Likewise.
32025         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32026         (__m128i_strloadu_tolower): Likewise.
32027         * time/mktime.c (ydhms_diff): Likewise.
32028         * locale/elem-hash.h (elem_hash): Likewise.
32029         * locale/setlocale.c (setdata): Likewise.
32030         * posix/regex_internal.h (re_string_char_size_at): Likewise.
32031         (re_string_wchar_at): Likewise.
32032         (bitset_not, bitset_merge, bitset_mask): Likewise.
32033         [!(__GNUC__ > 3)] (inline): Remove macro.
32034         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32035         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32036         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32037         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32038         * string/memcmp.c (memcmp_bytes): Likewise.
32039         * locale/programs/locarchive.c (compute_hashval): Likewise.
32040         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32041         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32042         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32043         * nss/getent.c (print_rpc, print_protocols): Likewise.
32044         (print_passwd, print_group, print_aliases): Likewise.
32045         * nis/nss-nisplus.h (niserr2nss): Likewise.
32046         * nscd/connections.c (restart_p): Likewise.
32047         Change return type to bool.
32049 2013-02-05  Roland McGrath  <roland@hack.frob.com>
32051         * Makeconfig (all-Depend-files): Add existing
32052         $(sorted-subdirs:=/Depend) files.
32053         (all-subdirs): Remove nss.
32054         * sysdeps/unix/inet/Subdirs: Add it here instead.
32055         * hesiod/Depend: New file.
32057         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32058         instead of calling alloca.
32060         * io/lseek.c (__lseek): Rename to __libc_lseek.
32061         Define __lseek as an alias.
32063         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32065 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
32067         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32068         else clause and remove check for non-standard endianness.
32070 2013-02-04  David S. Miller  <davem@davemloft.net>
32072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32074 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
32076         [BZ #13550]
32077         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32078         (__ubp_memchr): Remove prototype.
32079         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32080         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32081         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32082         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32083         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32084         Remove alias.
32085         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32086         (__ubp_memchr): Likewise.
32087         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32088         (__ubp_memchr): Likewise.
32089         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32090         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32091         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32092         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32093         CHECK_STRING.
32094         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32095         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32096         (__getcwd): Do not use CHECK_STRING.
32097         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32098         <bp-checks.h>.
32099         (__real_chown): Do not use CHECK_STRING.
32100         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32101         <bp-checks.h>.
32102         (fchownat): Do not use CHECK_STRING.
32103         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32104         CHECK_STRING.
32105         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32106         <bp-checks.h>.
32107         (__lchown): Do not use CHECK_STRING.
32108         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32109         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32110         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32111         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32113         include <bp-checks.h>.
32114         (truncate64): Do not use CHECK_STRING.
32115         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32116         <bp-checks.h>.
32117         (__real_chown): Do not use CHECK_STRING.
32118         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32119         <bp-checks.h>.
32120         (__lchown): Do not use CHECK_STRING.
32121         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32122         <bp-checks.h>.
32123         (__chown): Do not use CHECK_STRING.
32124         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32125         <bp-checks.h>.
32126         (truncate64): Do not use CHECK_STRING.
32127         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32128         Likewise.
32129         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32130         (__xmknod): Do not use CHECK_STRING.
32131         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32132         <bp-checks.h>.
32133         (__xmknodat): Do not use CHECK_STRING.
32134         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32135         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32137 2013-02-04  Andreas Schwab  <schwab@suse.de>
32139         [BZ #14142]
32140         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32141         * include/netdb.h: Likewise for h_errno.
32142         * elf/tst-stackguard1.c: Include <tls.h>.
32144 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
32146         * elf/link.h (struct link_map): Extend the l_addr comment.
32147         * include/link.h (struct link_map): Likewise.
32149 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
32151         [BZ #13550]
32152         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32153         (BOUNDED_1): Remove macro.
32154         * debug/backtrace.c: Don't include <bp-checks.h>.
32155         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32156         (__backtrace): Likewise.
32157         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32158         <bp-checks.h>.
32159         (__backtrace): Don't use BOUNDED_1.
32160         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32161         <bp-checks.h>.
32162         (__backtrace): Don't use BOUNDED_1.
32163         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32164         (__backtrace): Don't use BOUNDED_1.
32165         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32166         (shmat): Don't use BOUNDED_N.
32168 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
32170         [BZ #13550]
32171         * sysdeps/generic/bp-start.h: Remove file.
32172         * csu/libc-start.c: Don't include <bp-start.h>.
32173         (LIBC_START_MAIN): Set up __environ directly instead of using
32174         INIT_ARGV_and_ENVIRON.
32175         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32176         <bp-start.h>.
32178         [BZ #13550]
32179         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32180         definitions.
32181         (CHECK_FCNTL): Likewise.
32182         (CHECK_N_PAGES): Likewise.
32184         [BZ #13550]
32185         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32186         definitions.
32187         (CHECK_SIGSET_NULL_OK): Likewise.
32188         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32189         <bp-checks.h>.
32190         (sigpending): Don't use CHECK_SIGSET.
32191         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32192         <bp-checks.h>.
32193         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32194         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32195         <bp-checks.h>.
32196         (do_sigsuspend): Don't use CHECK_SIGSET.
32197         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32198         use CHECK_SIGSET.
32199         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32200         (do_sigwait): Don't use CHECK_SIGSET.
32201         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32202         use CHECK_SIGSET.
32203         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32204         include <bp-checks.h>.
32205         (sigpending): Don't use CHECK_SIGSET.
32206         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32207         include <bp-checks.h>.
32208         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32209         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32210         <bp-checks.h>.
32211         (sigpending): Don't use CHECK_SIGSET.
32212         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32213         <bp-checks.h>.
32214         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32216         [BZ #13550]
32217         * sysdeps/generic/bp-semctl.h: Remove file.
32218         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32219         <bp-checks.h> and <bp-semctl.h>.
32220         (__old_semctl): Don't use CHECK_SEMCTL.
32221         (__new_semctl): Likewise.
32222         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32223         and <bp-semctl.h>.
32224         (__old_semctl): Don't use CHECK_SEMCTL.
32225         (__new_semctl): Likewise.
32226         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32227         <bp-checks.h> and <bp-semctl.h>.
32228         (__old_semctl): Don't use CHECK_SEMCTL.
32229         (__new_semctl): Likewise.
32230         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32231         <bp-checks.h> and <bp-semctl.h>.
32232         (semctl): Don't use CHECK_SEMCTL.
32234         [BZ #13550]
32235         * Makerules (elide-bp-thunks): Remove variable.
32236         (elide-routines.oS): Don't use $(elide-bp-thunks).
32237         (elide-routines.os): Likewise.
32238         (elide-routines.o): Likewise.
32239         (elide-routines.op): Likewise.
32240         (elide-routines.og): Likewise.
32241         (objects): Don't use $(bp-thunks).
32242         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32243         include.
32244         (common-generated): Do not add s-proto-bp.d.
32245         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32246         (int): Likewise.
32247         (typ): Likewise.
32248         Do not generate makefile rules for bounded-pointer thunks.
32249         * sysdeps/generic/bp-thunks.h: Remove file.
32250         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32251         * sysdeps/unix/s-proto-bp.S: Likewise.
32253         [BZ #15062]
32254         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32255         parts of result separately when argument is not close to line from
32256         -i to i and one part of argument is small.
32257         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32258         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32259         * math/libm-test.inc (cacos_test): Add more tests.
32260         (casin_test): Likewise.
32261         (casinh_test): Likewise.
32262         * sysdeps/i386/fpu/libm-test-ulps: Update.
32263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32265 2013-01-31  David S. Miller  <davem@davemloft.net>
32267         * po/de.po: Update from translation team.
32269 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
32271         * time/tzfile.c: Include stdint.h for SIZE_MAX.
32273 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
32275         * configure.in (_AC_PROG_CC_C89): New definition.
32276         * configure: Regenerate.
32278         * configure.in (AC_PROG_CPP): New definition.
32279         * configure: Regenerate.
32281 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32283         * debug/tst-backtrace.h: New file.
32284         * debug/tst-backtrace2.c: Include tst-backtrace.h.
32285         (ret): Remove variable.
32286         (x): Likewise.
32287         (FAIL): Remove macro.
32288         (NO_INLINE): Likewise.
32289         (fn1): Use match function instead of strstr.
32290         * debug/tst-backtrace3.c: Include tst-backtrace.h.
32291         (ret): Remove variable.
32292         (x): Likewise.
32293         (FAIL): Remove macro.
32294         (NO_INLINE): Likewise.
32295         (fn): Use match function instead of strstr.
32296         * debug/tst-backtrace4.c: Include tst-backtrace.h.
32297         (ret): Remove variable.
32298         (x): Likewise.
32299         (FAIL): Remove macro.
32300         (NO_INLINE): Likewise.
32301         (handle_signal): Use match function instead of strstr.
32302         * debug/tst-backtrace5.c: Include tst-backtrace.h.
32303         (ret): Remove variable.
32304         (x): Likewise.
32305         (FAIL): Remove macro.
32306         (NO_INLINE): Likewise.
32307         (handle_signal): Use match function instead of strstr.
32309 2013-01-23  Roland McGrath  <roland@hack.frob.com>
32311         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32313 2013-01-23  David S. Miller  <davem@davemloft.net>
32315         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32316         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32317         argument of CAS if possible.
32318         * sysdeps/sparc/sparc64/bits/atomic.h
32319         (__arch_compare_and_exchange_val_32_acq): Likewise.
32320         (__arch_compare_and_exchange_val_64_acq): Likewise.
32322 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
32324         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32325         * sysdeps/posix/ulimit.c: ... this.
32326         Include <limits.h>.
32327         * sysdeps/unix/bsd/ulimit.c: Remove file.
32329 2013-01-23  Adam Conrad  <adconrad@0c3.net>
32331         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32332         (LDFLAGS-tst-array5): Likewise.
32334 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32336         [BZ #15036]
32337         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32338         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32339         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32340         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32342 2013-01-21  David S. Miller  <davem@davemloft.net>
32344         * sysdeps/sparc/backtrace.c: New file.
32345         * sysdeps/sparc/sparc32/backtrace.h: New file.
32346         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32347         * sysdeps/sparc/sparc64/backtrace.h: New file.
32348         * sysdeps/sparc/sparc64/backtrace.c: Delete.
32349         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32350         -funwind-tables.
32352 2013-01-21  Andreas Schwab  <schwab@suse.de>
32354         [BZ #15020]
32355         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32356         closed its stdout.
32358 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
32360         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32361         "mpa2.h".
32362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32364 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
32365             Mark Mitchell  <mark@codesourcery.com>
32366             Tom de Vries  <tom@codesourcery.com>
32367             Paul Pluzhnikov  <ppluzhnikov@google.com>
32369         * debug/tst-backtrace2.c: New file.
32370         * debug/tst-backtrace3.c: Likewise.
32371         * debug/tst-backtrace4.c: Likewise.
32372         * debug/tst-backtrace5.c: Likewise.
32373         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32374         (CFLAGS-tst-backtrace3.c): Likewise.
32375         (CFLAGS-tst-backtrace4.c): Likewise.
32376         (CFLAGS-tst-backtrace5.c): Likewise.
32377         (LDFLAGS-tst-backtrace2): Likewise.
32378         (LDFLAGS-tst-backtrace3): Likewise.
32379         (LDFLAGS-tst-backtrace4): Likewise.
32380         (LDFLAGS-tst-backtrace5): Likewise.
32381         (tests): Add new tests tst-backtrace2, tst-backtrace3,
32382         tst-backtrace4 and tst-backtrace5.
32384 2013-01-18  Anton Blanchard  <anton@samba.org>
32385             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32387         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32388         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32389         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32390         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32392         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32393         "+r" and remove output regs list as redundant.  Add explicit inline
32394         asm to specify register of return val to work around compiler codegen
32395         bug.  Remove (int) cast on return value.  Add return type parameter to
32396         use in macro so that this macro does not truncate return value for
32397         64-bit values.
32398         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32399         pass to INTERNAL_VSYSCALL_NCS.
32400         (INLINE_VSYSCALL): Add 'long int' as return type to
32401         INTERNAL_VSYSCALL_NCS macro invocation.
32402         (INTERNAL_VSYSCALL): Add 'long int' as return type to
32403         INTERNAL_VSYSCALL_NCS macro invocation.
32404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32406 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32408         [BZ #14496]
32409         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32410         Fix application of SIMD FP exception mask.
32412         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32413         mp_no from a power of two.
32414         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32415         __mpexp_twomm1.  Use __pow_mp.
32417         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32418         multiplication.
32420 2013-01-17  David S. Miller  <davem@davemloft.net>
32422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32424 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32426         [BZ #15023]
32427         * include/complex.h: Condition contents on [!_COMPLEX_H].
32428         (__kernel_casinhf): New prototype.
32429         (__kernel_casinh): Likewise.
32430         (__kernel_casinhl): Likewise.
32431         * math/Makefile (libm_calls): Add k_casinh.
32432         * math/k_casinh.c: New file.
32433         * math/k_casinhf.c: Likewise.
32434         * math/k_casinhl.c: Likewise.
32435         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32436         finite nonzero arguments.
32437         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32438         finite nonzero arguments.
32439         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32440         finite nonzero arguments.
32441         * math/s_casinh.c: Do not include <float.h>.
32442         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32443         * math/s_casinhf.c: Do not include <float.h>.
32444         (__casinhf): Move code for finite nonzero arguments to
32445         k_casinhf.c.
32446         * math/s_casinhl.c: Do not include <float.h>.
32447         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32448         redefine.
32449         (__casinhl): Move code for finite nonzero arguments to
32450         k_casinhl.c.
32451         * math/libm-test.inc (cacos_test): Add more tests.
32452         * sysdeps/i386/fpu/libm-test-ulps: Update.
32453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32455 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32457         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32458         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32459         [!HAVE_MREMAP]: Remove [defined linux] case.
32460         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32462 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32464         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32466 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32468         * elf/elf.h (R_386_SIZE32): New relocation.
32469         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32470         R_386_SIZE32.
32471         (elf_machine_rela): Likewise.
32472         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32473         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32475 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32477         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32478         (FP_FAST_FMA): Do not define.
32479         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32480         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32481         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32482         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32483         !_SOFT_FLOAT]: Likewise.
32484         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32485         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32486         value.
32487         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32488         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32489         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32490         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32491         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32492         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32493         file.
32495 2013-01-16  Andreas Schwab  <schwab@suse.de>
32497         [BZ #14327]
32498         * include/stdlib.h (__mktemp): Add declaration.
32499         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32500         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32502 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32504         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32505         definitions.
32506         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32507         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32508         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32509         definitions here.
32510         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32511         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32512         definitions.
32513         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32514         and ONE.
32515         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32516         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32517         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32518         definitions.
32519         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32520         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32521         definitions.
32522         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32524         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32526 2013-01-15  David S. Miller  <davem@davemloft.net>
32528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32529         trunc{,f} to libm-sysdep_routes.
32530         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32532         file.
32533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32535         file.
32536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32537         file.
32538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32540         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32541         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32542         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32543         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32544         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32545         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32548         nearbyint{,f} to libm-sysdep_routes.
32549         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32551         New file.
32552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32553         file.
32554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32555         New file.
32556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32557         file.
32558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32560         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32561         file.
32562         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32563         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32564         file.
32565         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32566         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32567         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32569         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32570         libc_feholdexcept and libc_fesetenv.
32572 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32574         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32576 2013-01-14  David S. Miller  <davem@davemloft.net>
32578         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32579         (SPARC_ASM_VIS2_IFUNC): Likewise.
32580         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32582         use of 'siam' instruction.
32583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32584         Likewise.
32585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32586         Likewise.
32587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32588         Likewise.
32589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32590         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32594         file.
32595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32596         file.
32597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32598         file.
32599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32600         file.
32601         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32603         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32604         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32606         new VIS2 routines.
32607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32610         Likewise.
32611         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32612         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32613         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32614         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32616         routines to libm-sysdep_routines.
32617         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32620         fdim/fdimf to libm-sysdep_routines.
32621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32622         file.
32623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32625         file.
32626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32629         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32630         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32631         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32632         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32634 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32636         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32637         to optimize copies.
32639         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32644         local variable MPTWO.
32645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32646         Likewise.
32648 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32650         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32651         GLOB_NOESCAPE.
32653 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32655         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32657 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32659         * manual/pattern.texi (glob_t): Document gl_flags.
32660         (glob64_t): Likewise.
32662 2013-01-11  David S. Miller  <davem@davemloft.net>
32664         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32665         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32666         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32667         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32668         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32669         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32670         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32671         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32672         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32673         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32674         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32675         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32676         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32678         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32679         sparc V9 rather than using V8 code.
32680         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32681         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32683         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32684         Move to...
32685         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32686         Here.
32688 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32690         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32691         not in the main loop.
32692         * configure: Regenerated.
32694 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32696         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32697         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32698         to just #else.
32699         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32700         [!__GLIBC_HAVE_LONG_LONG] case.
32701         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32702         condition to just #else.
32703         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32704         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32705         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32706         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32707         unconditional.
32708         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32709         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32710         #elif condition to just #else.
32711         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32712         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32713         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32714         #elif condition to just #else.
32716 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32718         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32719         (EF_MIPS_ARCH_64): Fix value.
32720         (EF_MIPS_ARCH_32R2): New.
32721         (EF_MIPS_ARCH_64R2): New.
32723 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32725         * Makeconfig (+link-pie-before-libc): New.
32726         (+link-pie-after-libc): Likewise.
32727         (+link-pie-tests): Likewise.
32728         (+link-pie): Rewritten.
32729         (link-before-libc): Remove $(config-LDFLAGS).
32730         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32731         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32732         (config-LDFLAGS): Renamed to ...
32733         (rtld-LDFLAGS): This.
32734         (rtld-tests-LDFLAGS): New macro.
32735         (link-libc-rpath-link): Likewise.
32736         (link-libc-tests-rpath-link): Likewise.
32737         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32738         (link-libc): Prepand $(link-libc-rpath-link).
32739         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32740         (test-program-prefix): New macro.
32741         (test-via-rtld-prefix): Likewise.
32742         (test-program-cmd): Likewise.
32743         (host-test-program-cmd): Likewise.
32744         * Makefile ($(common-objpfx)testrun.sh): Replace
32745         $(run-program-prefix) with $(test-program-prefix).
32746         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32747         $(rtld-LDFLAGS).
32748         ($(common-objpfx)shlib.lds): Likewise.
32749         (build-module-helper): Likewise.
32750         ($(common-objpfx)format.lds): Likewise.
32751         * Rules (binaries-pie-tests): New.
32752         (binaries-pie-notests): Likewise.
32753         (binaries-pie): Rewritten.
32754         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32755         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32756         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32757         (make-test-out): Replace $(host-built-program-cmd) with
32758         $(host-test-program-cmd).
32759         * config.make.in (build-hardcoded-path-in-tests): New variable.
32760         * configure.in (--enable-hardcoded-path-in-tests): New configure
32761         option.
32762         (hardcoded_path_in_tests): New AC_SUBST.
32763         * configure: Regenerated.
32764         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32765         $(built-program-cmd) with $(test-program-cmd).
32766         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32767         (test_program_cmd): This.
32768         * elf/Makefile ($(objpfx)order.out): Run test with
32769         $(test-program-prefix).
32770         ($(objpfx)order2.out): Likewise.
32771         ($(objpfx)tst-initorder.out): Likewise.
32772         ($(objpfx)tst-initorder2.out): Likewise.
32773         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32774         $(test-program-cmd).
32775         ($(objpfx)tst-array1-static.out): Likewise.
32776         ($(objpfx)tst-array2.out): Likewise.
32777         ($(objpfx)tst-array3.out): Likewise.
32778         ($(objpfx)tst-array4.out): Likewise.
32779         ($(objpfx)tst-array5.out): Likewise.
32780         ($(objpfx)tst-array5-static.out): Likewise.
32781         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32782         $(test-program-cmd).
32783         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32784         $(run-program-prefix) with $(test-program-prefix).
32785         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32786         (test_program_prefix): This.
32787         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32788         $(run-program-prefix) with $(test-program-prefix).
32789         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32790         (test_program_prefix): This.
32791         * iconvdata/tst-tables.sh: Likewise.
32792         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32793         $(run-program-prefix) with $(test-program-prefix).
32794         ($(objpfx)tst-translit.out): Likewise.
32795         ($(objpfx)tst-gettext2.out): Likewise.
32796         ($(objpfx)tst-gettext4.out): Likewise.
32797         ($(objpfx)tst-gettext6.out): Likewise.
32798         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32799         (test_program_prefix): This.
32800         * intl/tst-gettext2.sh: Likewise.
32801         * intl/tst-gettext4.sh  Likewise.
32802         * intl/tst-gettext6.sh: Likewise.
32803         * intl/tst-translit.sh: Likewise.
32804         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32805         with $(test-program-cmd).
32806         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32807         $(run-program-prefix) with $(test-program-prefix).
32808         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32809         (test_program_prefix): This.
32810         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32811         $(run-program-prefix) with $(test-program-prefix).
32812         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32813         (test_program_prefix): This.
32814         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32815         * posix/Makefile ($(objpfx)globtest.out): Replace
32816         $(run-via-rtld-prefix) and $(test-wrapper) with
32817         $(test-program-prefix) and $(test-via-rtld-prefix).
32818         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32819         $(test-program-prefix).
32820         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32821         $(host-test-program-cmd).
32822         (tst-spawn-ARGS): Likewise.
32823         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32824         $(test-program-prefix).
32825         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32826         (test_via_rtld_prefix): This.
32827         (test_wrapper): Renamed to ...
32828         (test_program_prefix): This.
32829         (run_program_prefix): Replaced by test_program_prefix.
32830         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32831         (test_program_prefix): This.
32832         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32833         with $(host-test-program-cmd).
32834         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32835         $(run-program-prefix) with $(test-program-prefix).
32836         ($(objpfx)tst-printf.out): Likewise.
32837         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32838         $(test-program-cmd).
32839         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32840         (test_program_prefix): This.
32841         * stdio-common/tst-unbputc.sh: Likewise.
32842         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32843         $(run-program-prefix) with $(test-program-prefix).
32844         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32845         (test_program_prefix): This.
32846         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32847         $(built-program-cmd) with $(test-program-cmd).
32849 2013-01-11  Andreas Jaeger  <aj@suse.de>
32851         [BZ #15003]
32852         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32853         value. Sync with Linux 3.7.
32855 2013-01-10  David S. Miller  <davem@davemloft.net>
32857         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32858         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32859         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32861 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32863         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32864         never set.
32865         * configure: Regenerated.
32867 2013-01-10  David S. Miller  <davem@davemloft.net>
32869         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32870         sparc V9 rather than using V8 code.
32871         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32872         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32874 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32876         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32877         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32878         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32879         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32880         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32881         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32882         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32883         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32884         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32885         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32886         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32887         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32888         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32889         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32890         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32891         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32892         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32893         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32894         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32895         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32896         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32897         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32898         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32899         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32900         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32901         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32902         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32904 2013-01-10  David S. Miller  <davem@davemloft.net>
32906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32908 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32910         * posix/Makefile (tests-static): New variable.
32911         (tests): Add $(tests-static).
32912         (tst-exec-static-ARGS): New variable.
32913         (tst-spawn-static-ARGS): Likewise.
32914         * posix/tst-exec-static.c: New file.
32915         * posix/tst-spawn-static.c: Likewise.
32916         * posix/tst-exec.c: Support run directly.
32917         * posix/tst-spawn.c: Likewise.
32919 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32921         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32922         long.
32923         * math/bits/mathcalls.h (llrint): Likewise.
32924         (llround): Likewise.
32925         * stdlib/stdlib.h (struct drand48_data): Likewise.
32926         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32927         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32928         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32929         Likewise.
32930         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32931         Likewise.
32932         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32933         (elf_greg_t): Likewise.
32934         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32935         (__jmp_buf): Likewise.
32936         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32937         definitions.
32938         (llrint): Likewise, for all definitions.
32939         (llrintl): Likewise.
32941         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32942         Remove [__GNUC__] condition.
32943         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32944         condition to just [__USE_ISOC99].
32945         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32947 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32949         [BZ #14200]
32950         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32951         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32952         defined.
32953         (_POSIX_V6_ILP32_OFF32): Likewise.
32954         (_XBS5_ILP32_OFF32): Likewise.
32955         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32956         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32958 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32960         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32962         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32963         doubles __mpexp_twomm1.  Adjust usage.
32964         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32965         Remove.
32967 2013-01-10  Andreas Schwab  <schwab@suse.de>
32969         [BZ #14964]
32970         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32971         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32973 2013-01-09  David S. Miller  <davem@davemloft.net>
32975         [BZ #15003]
32976         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32977         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32978         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32979         (TCP_FASTOPEN): Define.
32980         (tcp_repair_opt): New structure.
32981         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32982         enum values.
32983         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32984         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32985         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32986         (tcp_cookie_transactions): New structure.
32988 2013-01-09  Anton Blanchard  <anton@samba.org>
32990         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32991         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32992         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32993         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32995 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32997         * include/features.h (__USE_ANSI): Remove.
32999 2013-01-09  Roland McGrath  <roland@hack.frob.com>
33001         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33003         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33005 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
33007         * sysdeps/s390/fpu/libm-test-ulps: Update.
33009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33011         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33012         (__acr): Likewise.
33013         (__cpy): Likewise.
33014         (norm): Likewise.
33015         (denorm): Likewise.
33016         (__mp_dbl): Likewise.
33017         (__dbl_mp): Likewise.
33018         (add_magnitudes): Likewise.
33019         (sub_magnitudes): Likewise.
33020         (__add): Likewise.
33021         (__sub): Likewise.
33022         (__mul): Likewise.
33023         (__inv): Likewise.
33024         (__dvd): Likewise.
33025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33026         (__acr): Likewise.
33027         (__cpy): Likewise.
33028         (norm): Likewise.
33029         (denorm): Likewise.
33030         (__mp_dbl): Likewise.
33031         (__dbl_mp): Likewise.
33032         (add_magnitudes): Likewise.
33033         (sub_magnitudes): Likewise.
33034         (__add): Likewise.
33035         (__sub): Likewise.
33036         (__mul): Likewise.
33037         (__inv): Likewise.
33038         (__dvd): Likewise.
33039         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33040         (__acr): Likewise.
33041         (__cpy): Likewise.
33042         (norm): Likewise.
33043         (denorm): Likewise.
33044         (__mp_dbl): Likewise.
33045         (__dbl_mp): Likewise.
33046         (add_magnitudes): Likewise.
33047         (sub_magnitudes): Likewise.
33048         (__add): Likewise.
33049         (__sub): Likewise.
33050         (__mul): Likewise.
33051         (__inv): Likewise.
33052         (__dvd): Likewise.
33054 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
33056         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33057         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33058         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33059         2 && __USE_EXTERN_INLINES]: Likewise.
33061 2013-01-08  Andreas Jaeger  <aj@suse.de>
33063         [BZ# 14985]
33064         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33065         Remove.
33066         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33067         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33069 2013-01-07  Anton Blanchard  <anton@samba.org>
33071         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33072         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33073         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33074         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33075         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33076         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33077         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33078         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33080         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33081         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33082         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33083         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33084         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33085         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33086         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33087         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33088         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33089         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33090         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33091         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33092         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33093         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33094         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33095         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33096         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33097         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33098         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33099         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33100         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33101         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33102         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33103         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33104         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33105         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33106         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33107         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33108         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33109         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33110         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33111         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33112         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33113         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33115 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
33117         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33118         (__MALLOC_PMT): Likewise.
33119         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33120         [__GNUC__], only on [_LIBC].
33121         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33122         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33123         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33124         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33125         forward declaration.
33126         (realloc_hook_ini): Likewise.
33127         (memalign_hook_ini): Likewise.
33128         (__libc_memalign): Do not use __MALLOC_PMT in variable
33129         declaration.
33130         (__libc_valloc): Likewise.
33131         (__libc_pvalloc): Likewise.
33132         (__libc_calloc): Likewise.
33133         (__posix_memalign): Likewise.
33135         [BZ #14996]
33136         * math/s_casinh.c: Include <float.h>.
33137         (__casinh): Do not do computation with squaring and square root
33138         for large arguments.
33139         * math/s_casinhf.c: Include <float.h>.
33140         (__casinhf): Do not do computation with squaring and square root
33141         for large arguments.
33142         * math/s_casinhl.c: Include <float.h>.
33143         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33144         (__casinhl): Do not do computation with squaring and square root
33145         for large arguments.
33146         * math/libm-test.inc (casin_test): Add more tests.
33147         (casinh_test): Likewise.
33148         * sysdeps/i386/fpu/libm-test-ulps: Update.
33149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33151 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
33153         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33154         (__x86_64_raw_data_cache_size): Likewise.
33155         (__x86_64_data_cache_size_half): Likewise.
33156         (__x86_64_raw_data_cache_size_half): Likewise.
33157         (__x86_64_shared_cache_size): Likewise.
33158         (__x86_64_raw_shared_cache_size): Likewise.
33159         (__x86_64_shared_cache_size_half): Likewise.
33160         (__x86_64_raw_shared_cache_size_half): Likewise.
33161         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33162         to ...
33163         (__x86_data_cache_size): This.
33164         (__x86_64_raw_data_cache_size): Renamed to ...
33165         (__x86_raw_data_cache_size): This.
33166         (__x86_64_data_cache_size_half): Renamed to ...
33167         (__x86_data_cache_size_half): This.
33168         (__x86_64_raw_data_cache_size_half): Renamed to ...
33169         (__x86_raw_data_cache_size_half): This.
33170         (__x86_64_shared_cache_size): Renamed to ...
33171         (__x86_shared_cache_size): This.
33172         (__x86_64_raw_shared_cache_size): Renamed to ...
33173         (__x86_raw_shared_cache_size): This.
33174         (__x86_64_shared_cache_size_half): Renamed to ...
33175         (__x86_shared_cache_size_half): This.
33176         (__x86_64_raw_shared_cache_size_half): Renamed to ...
33177         (__x86_raw_shared_cache_size_half): This.
33178         * sysdeps/x86_64/memcpy.S: Updated.
33179         * sysdeps/x86_64/memset.S: Likewise.
33180         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33181         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33182         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33184 2013-01-04  David S. Miller  <davem@davemloft.net>
33186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33188 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
33190         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33191         1 to avoid redefinition warning.
33192         (__USE_GNU): Don't define.
33193         (init_signaling_nan): Protoize.
33195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33197 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33199         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33201         (__cpymn): Likewise.
33202         (norm): Remove commented code.
33203         (denorm): Likewise.
33204         (__mp_dbl): Likewise.
33205         (__inv): Likewise.
33206         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33207         (__cpymn): Likewise.
33208         (norm): Remove commented code.
33209         (denorm): Likewise.
33210         (__mp_dbl): Likewise.
33211         (__inv): Likewise.
33213         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33214         mp_no value for 1.0 and 2.0.
33215         (norm): Use RADIXI instead of radixi.d.
33216         (denorm): Likewise.
33217         (__mul): Use 0.0 instead of zero.d.
33218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33219         mp_no value for 1.0 and 2.0.
33220         (norm): Use RADIXI instead of radixi.d.
33221         (denorm): Likewise.
33222         (__mul): Use 0.0 instead of zero.d.
33224 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
33226         [BZ #14994]
33227         * math/s_casinh.c (__casinh): Reduce finite argument to first
33228         quadrant then set signs of results at the end.
33229         * math/s_casinhf.c (__casinhf): Likewise.
33230         * math/s_casinhl.c (__casinhl): Likewise.
33231         * math/libm-test.inc (casin_test): Add more tests.
33232         (casinh_test): Likewise.
33233         * sysdeps/i386/fpu/libm-test-ulps: Update.
33234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33236 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33238         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33240         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33242         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33243         declarations.
33244         (denorm): Likewise.
33245         (__mp_dbl): Likewise.
33246         (__inv): Likewise.
33248         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33249         and adjust the header comment.
33251         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33252         variable name from declaration.
33254 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
33256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33257         Initialize COMMON_CPUID_INDEX_7 element.
33258         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33259         (CPUID_RTM): Likewise.
33260         (HAS_RTM): Likewise.
33261         (COMMON_CPUID_INDEX_7): New enum.
33263 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
33265         [BZ #14981]
33266         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33267         size is zero, record memory as freed.
33269 2013-01-03  Andreas Jaeger  <aj@suse.de>
33271         * po/ia.po: Add new Interlingua translation.
33273 2012-01-03  Allan McRae  <allan@archlinux.org>
33275         * locale/programs/localedef.c: Fix description of '--posix' flag.
33277 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
33279         * NEWS: Update dates in second copyright notice.
33280         * README: Update copyright dates in example.
33281         * manual/libc.texinfo: Update copyright dates.
33282         * scripts/test-installation.pl: Update copyright date in --version
33283         output.
33285         * hurd/ctty-input.c: Fix copyright notice formatting.
33286         * hurd/ctty-output.c: Likewise.
33287         * hurd/dtable.c: Likewise.
33288         * hurd/hurd-raise.c: Likewise.
33289         * hurd/hurdprio.c: Likewise.
33290         * hurd/msgportdemux.c: Likewise.
33291         * misc/sys/file.h: Likewise.
33292         * misc/sys/ioctl.h: Likewise.
33293         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33294         * sysdeps/mach/hurd/chdir.c: Likewise.
33295         * sysdeps/mach/hurd/fchdir.c: Likewise.
33296         * sysdeps/mach/hurd/rename.c: Likewise.
33297         * sysdeps/mach/hurd/rmdir.c: Likewise.
33298         * sysdeps/mach/hurd/seekdir.c: Likewise.
33299         * sysdeps/mach/hurd/setsid.c: Likewise.
33300         * sysdeps/posix/wait3.c: Likewise.
33302         * All files with FSF copyright notices: Update copyright dates
33303         using scripts/update-copyrights.
33304         * intl/plural.c: Regenerated.
33305         * locale/programs/charmap-kw.h: Likewise.
33306         * locale/programs/locfile-kw.h: Likewise.
33308 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33310         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33311         four values.
33313         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33314         calculation loop and add branch prediction.
33316         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33317         check access beyond bounds of m1np.
33319         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33320         MPTWO.
33321         (__inv): Remove local variable MPTWO to use the global
33322         constant.
33323         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33324         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33325         variable MPTWO.
33326         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33327         MP3HALFS static const.
33329 2013-01-01  David S. Miller  <davem@davemloft.net>
33331         * po/ca.po: Update from translation team.
33333 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
33335         * scripts/update-copyrights: New file.
33336         * Makeconfig: Reformat copyright notice.
33337         * ctype/ctype.h: Likewise.
33338         * debug/swprintf_chk.c: Likewise.
33339         * elf/dl-cache.c: Likewise.
33340         * elf/dl-debug.c: Likewise.
33341         * elf/dl-object.c: Likewise.
33342         * grp/initgroups.c: Likewise.
33343         * hurd/Makefile: Likewise.
33344         * hurd/hurd/signal.h: Likewise.
33345         * hurd/hurdfault.c: Likewise.
33346         * hurd/hurdioctl.c: Likewise.
33347         * hurd/hurdlookup.c: Likewise.
33348         * hurd/intr-msg.c: Likewise.
33349         * iconv/gconv_open.c: Likewise.
33350         * libio/swprintf.c: Likewise.
33351         * locale/lc-ctype.c: Likewise.
33352         * locale/nl_langinfo.c: Likewise.
33353         * mach/Machrules: Likewise.
33354         * mach/Makefile: Likewise.
33355         * malloc/obstack.h: Likewise.
33356         * manual/Makefile: Likewise.
33357         * manual/tsort.awk: Likewise.
33358         * misc/bits/stab.def: Likewise.
33359         * nis/nis_print_group_entry.c: Likewise.
33360         * nis/nis_table.c: Likewise.
33361         * nis/nss_compat/compat-pwd.c: Likewise.
33362         * nis/nss_compat/compat-spwd.c: Likewise.
33363         * po/Makefile: Likewise.
33364         * posix/fnmatch.c: Likewise.
33365         * posix/regex.h: Likewise.
33366         * resolv/Makefile: Likewise.
33367         * resolv/nss_dns/dns-network.c: Likewise.
33368         * resolv/res_hconf.c: Likewise.
33369         * scripts/gen-sorted.awk: Likewise.
33370         * soft-fp/soft-fp.h: Likewise.
33371         * stdio-common/printf.h: Likewise.
33372         * stdlib/monetary.h: Likewise.
33373         * stdlib/random.c: Likewise.
33374         * stdlib/random_r.c: Likewise.
33375         * sysdeps/generic/Makefile: Likewise.
33376         * sysdeps/gnu/Makefile: Likewise.
33377         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33378         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33379         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33380         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33381         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33382         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33383         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33384         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33385         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33386         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33387         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33388         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33389         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33390         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33391         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33392         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33393         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33394         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33395         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33396         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33397         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33398         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33399         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33400         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33401         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33402         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33403         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33404         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33405         * sysdeps/mach/hurd/errnos.awk: Likewise.
33406         * sysdeps/mach/hurd/fork.c: Likewise.
33407         * sysdeps/mach/hurd/getcwd.c: Likewise.
33408         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33409         * sysdeps/mach/hurd/mmap.c: Likewise.
33410         * sysdeps/mach/hurd/utimes.c: Likewise.
33411         * sysdeps/mach/hurd/xmknod.c: Likewise.
33412         * sysdeps/posix/profil.c: Likewise.
33413         * sysdeps/posix/readdir_r.c: Likewise.
33414         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33415         * sysdeps/powerpc/bits/setjmp.h: Likewise.
33416         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33417         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33419         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33420         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33421         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33423         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33424         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33425         * sysdeps/pthread/lio_listio.c: Likewise.
33426         * sysdeps/sparc/dl-procinfo.h: Likewise.
33427         * sysdeps/unix/i386/sysdep.S: Likewise.
33428         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33429         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33430         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33431         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33433         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33434         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33435         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33436         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33437         * sysdeps/wordsize-32/divdi3.c: Likewise.
33438         * time/sys/time.h: Likewise.
33439         * wcsmbs/Makefile: Likewise.
33441 2013-01-01  David S. Miller  <davem@davemloft.net>
33443         * po/fr.po: Update from translation team.
33445         * catgets/gencat.c: Update copyright year.
33446         * csu/version.c: Likewise.
33447         * debug/catchsegv.sh: Likewise.
33448         * debug/pcprofiledump.c: Likewise.
33449         * debug/xtrace.sh: Likewise.
33450         * elf/ldconfig.c: Likewise.
33451         * elf/ldd.bash.in: Likewise.
33452         * elf/pldd.c: Likewise.
33453         * elf/sotruss.ksh: Likewise.
33454         * elf/sprof.c: Likewise.
33455         * iconv/iconv_prog.c: Likewise.
33456         * iconv/iconvconfig.c: Likewise.
33457         * locale/programs/locale.c: Likewise.
33458         * locale/programs/localedef.c: Likewise.
33459         * login/programs/pt_chown.c: Likewise.
33460         * malloc/memusage.sh: Likewise.
33461         * malloc/memusagestat.c: Likewise.
33462         * malloc/mtrace.pl: Likewise.
33463         * nscd/nscd.c: Likewise.
33464         * nss/getent.c: Likewise.
33465         * nss/makedb.c: Likewise.
33466         * posix/getconf.c: Likewise.
33468 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33470         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33471         numbers.
33473 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33475         * math/bits/mathcalls.h (modf): Use __nonnull.
33477 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33479         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33480         (split): Use macro CN instead of the bare value.
33481         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33482         could be used.
33483         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33484         instead of the bare value.
33485         (power1): Likewise.
33487 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33489         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33490         __ATAN_TWOM.
33491         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33493         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33494         their values.
33495         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33496         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33497         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33498         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33500 2012-12-28  Andreas Jaeger  <aj@suse.de>
33502         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33503         values are from Linux 3.7.
33505         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33506         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33508 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33510         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33511         TRUE case.
33513         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33514         (norm): Likewise.
33515         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33516         variables with preprocessor constants.
33517         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33518         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33519         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33521 2012-12-27  Bruno Haible  <bruno@clisp.org>
33523         [BZ #14317]
33524         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33525         only if needed.
33527 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33529         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33530         and use variable directly.
33531         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33533         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33534         MPONE.
33535         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33536         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33537         variable MPONE.
33538         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33539         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33540         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33541         include directive.  Remove local variable MPONE.
33542         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33543         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33544         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33546 2012-12-25  David S. Miller  <davem@davemloft.net>
33548         * version.h (RELEASE): Set to "development".
33549         (VERSION): Set to "2.17.90".
33550         * NEWS: Add 2.18 section.
33552 2012-12-21  David S. Miller  <davem@davemloft.net>
33554         * po/hr.po: Update from translation team.
33556 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33558         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33560 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33562         * NEWS:  Mention new memcpy for MIPS.
33564 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33566         * manual/contrib.texi (Contributors): Spelling correction.
33568 2012-12-15  David S. Miller  <davem@davemloft.net>
33570         * po/ru.po: Update from translation team.
33572 2012-12-13  David S. Miller  <davem@davemloft.net>
33574         * NEWS: Mention IFUNC testsuite enhancements.
33576         * po/pl.po: Update from translation team.
33577         * po/bg.po: Likewise.
33579         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33580         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33582 2012-12-11  David S. Miller  <davem@davemloft.net>
33584         * po/sv.po: Update from translation team.
33586         * po/vi.po: Update from translation team.
33588         * po/cs.po: Update from translation team.
33590         * po/de.po: Update from translation team.
33591         * po/eo.po: Likewise.
33592         * po/nl.po: Likewise.
33594 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33596         [BZ #14246]
33597         * manual/argp.texi (Argp Helper Functions): Move node to follow
33598         Argp Parsing State.
33600         [BZ #14872]
33601         * manual/conf.texi (Limits on File System Capacity): Mention if
33602         terminating null is included in the max size.
33604 2012-12-10  Andreas Jaeger  <aj@suse.de>
33606         * po/cs.po: Update from translation team.
33608 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33610         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33611         void pointer and cast to uintptr_t.
33612         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33613         path.
33614         * sysdeps/s390/s390-64/memcpy.S: Likewise.
33615         * sysdeps/s390/s390-64/memset.S: Likewise.
33617 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
33619         [BZ #14833]
33620         * menual/message.texi (Message Translation): Fix typos.
33621         (Helper programs for gettext): Likewise.
33623 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
33625         [BZ #14898]
33626         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33627         Change to -1.
33629 2012-12-07  David S. Miller  <davem@davemloft.net>
33631         * po/libc.pot: Update.
33633 2012-12-07  Richard Henderson  <rth@redhat.com>
33635         [BZ #10114]
33636         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33637         normal/normal case to before the switch.
33638         (_FP_DIV): Likewise.
33640 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
33641             Mike Frysinger  <vapier@gentoo.org>
33643         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33644         check for __NR_fadvise64_64.
33646 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
33648         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33649         0, not just to plain "0" as a statement.
33650         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33651         with cw.
33653 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
33655         * NEWS: Use sourceware.org in Bugzilla URL.
33657 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33660         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33662         * stdio-common/tst-put-error.c (do_test): Add newline to the
33663         padded test to ensure flush.
33665 2012-12-05  Jeff Law  <law@redhat.com>
33667         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33669 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33671         * README: Don't refer to ports add-on as distributed separately.
33672         Mention AArch64 in list of systems supported in the ports add-on.
33674         * LICENSES: Add more non-FSF copyright and license notices.
33676         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33677         ((unused)).
33679         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33681         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33682         10000 as width of padded output.
33684 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33686         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33688         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33689         variable LX with __attribute__ ((unused)).
33690         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33691         Likewise.
33692         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33693         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33694         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33695         with __attribute__ ((unused)).
33697 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33699         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33701 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33703         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33704         (CFLAGS-nldbl-acos.c): New variable.
33705         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33706         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33707         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33708         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33709         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33710         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33711         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33712         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33713         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33714         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33715         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33716         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33717         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33718         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33719         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33720         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33721         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33722         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33723         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33724         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33725         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33726         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33727         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33728         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33729         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33730         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33731         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33732         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33733         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33734         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33735         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33736         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33737         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33738         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33739         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33740         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33741         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33742         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33743         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33744         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33745         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33746         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33747         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33748         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33749         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33750         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33751         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33752         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33753         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33754         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33755         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33756         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33757         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33758         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33759         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33760         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33761         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33762         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33763         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33764         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33765         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33766         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33767         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33768         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33769         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33770         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33771         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33772         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33773         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33774         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33775         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33776         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33777         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33778         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33779         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33780         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33781         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33782         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33783         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33784         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33785         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33786         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33787         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33788         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33789         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33790         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33791         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33792         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33793         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33794         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33795         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33796         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33797         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33798         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33799         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33800         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33801         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33804         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33806         [BZ #14914]
33807         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33808         whole low double instead of just low 47 bits when splitting values
33809         into two parts.
33811 2012-12-03  Allan McRae  <allan@archlinux.org>
33813         * manual/stdio.texi (Predefined Printf Handlers): Remove
33814         @hsep and @vsep usage.
33816 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33818         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33819         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33821 2012-12-03  Jeff Law  <law@redhat.com>
33823         * time/sys/time.h (settimeofday): Do not mark TV argument
33824         as __nonnull.
33826 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33828         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33829         when currently writing and seek to current position when not.
33830         * libio/Makefile (tests): Remove bug-fclose1.
33831         * libio/bug-fclose1.c: Delete.
33833 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33835         * manual/arith.texi (feenableexcept): Fix typo.
33836         (fedisableexcept): Likewise.
33838 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33840         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33841         second, differently-typed declaration, rather than a cast.
33843 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33845         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33846         * include/rpc/svc.h: ... here.
33848 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33850         [BZ #13013]
33851         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33852         depending n and resplen2 to catch cases where answer
33853         equals answerp2.
33855 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33857         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33858         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33860 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33862         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33864 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33866         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33868 2012-11-28  Jeff Law  <law@redhat.com>
33870         [BZ #13761]
33871         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33872         dataset_temporary.  Track alloca usage into alloca_used.
33873         If dataset is large allocate and release it via malloc/free.
33875 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33877         [BZ #14197]
33878         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33880 2012-11-28  David S. Miller  <davem@davemloft.net>
33882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33884 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33886         [BZ #14803]
33887         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33888         of pi/2 rounded to nearest to 64 bits.
33889         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33890         nearest to 64 bits.
33891         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33892         bits.
33894 2012-11-28  Jeff Law <law@redhat.com>
33895             Martin Osvald <mosvald@redhat.com>
33897         [BZ #14889]
33898         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33899         * sunrpc/svc.c: Include time.h.
33900         (__svc_accept_failed): New function.
33901         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33902         any reason other than EINTR, call __svc_accept_failed.
33903         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33904         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33906 2012-11-28  Andreas Schwab  <schwab@suse.de>
33908         * scripts/abilist.awk: Also handle indirect functions in .opd
33909         section.
33911 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33913         [BZ #13881]
33914         * sysdeps/x86/fpu/powl_helper.c: New file.
33915         * sysdeps/x86/fpu/Makefile: Likewise.
33916         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33917         (p3): New object.
33918         (__ieee754_powl): Use __powl_helper for finite arguments except
33919         integer exponents below 8.
33920         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33921         (p3): New object.
33922         (__ieee754_powl): Use __powl_helper for finite arguments except
33923         integer exponents below 8.
33924         * math/libm-test.inc (pow_test): Add more tests and enable some
33925         previously disabled tests.
33926         * sysdeps/i386/fpu/libm-test-ulps: Update.
33927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33929 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33930             Carlos O'Donell  <carlos_odonell@mentor.com>
33932         * nss/makedb.c (is_prime): Assert that input is odd and greater
33933         than 4.  Note that fact in a comment too.
33934         (next_prime): Add 4 to input.
33936 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33938         [BZ #11741]
33939         * libio/Makefile (tests): Add test case tst-fwrite-error.
33940         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33941         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33942         * libio/tst-fwrite-error.c: New test case.
33944 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33946         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33947         before casting to void *.
33948         * include/libc-internal.h (__pointer_type): New macro.
33949         (__integer_if_pointer_type_sub): Likewise.
33950         (__integer_if_pointer_type): Likewise.
33951         (cast_to_integer): Likewise.
33952         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33953         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33954         before casting to atomic64_t.
33955         (atomic_exchange_acq): Likewise.
33956         (__arch_exchange_and_add_body): Likewise.
33957         (__arch_add_body): Likewise.
33958         (atomic_add_negative): Likewise.
33959         (atomic_add_zero): Likewise.
33961 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33963         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33964         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33965         (add_fdes): Likewise.
33966         (linear_search_fdes): Likewise.
33967         (binary_search_unencoded_fdes): Likewise.
33969 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33971         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33973 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33975         * configure.in: Autodetect C++ header directories.
33976         * configure: Regenerated.
33978 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33980         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33982 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33986 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33988         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33989         LDBL_MANT_DIG == 106]: Disable some tests.
33990         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33991         Likewise.
33992         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33993         Likewise.
33995         [BZ #14871]
33996         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33997         input for small inputs.  Return +/- pi/2 for large inputs.
33998         * math/libm-test.inc (atan_test): Add more tests.
34000         * sysdeps/generic/unwind-dw2-fde-glibc.c
34001         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34002         __attribute__ ((unused)).
34004         [BZ #14645]
34005         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34006         x * y if x and y are nonzero and z is zero.
34008         [BZ #14811]
34009         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34010         nonzero exponents with absolute value below 0x1p-117 to +/-
34011         0x1p-117.
34013         [BZ #14869]
34014         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34015         up arguments below 2**-450, not just those below 2**-500.
34016         * math/libm-test.inc (hypot_test): Add another test.
34018         [BZ #14868]
34019         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34020         Return a+b for ratio over 2**120, not 2**60.
34021         * math/libm-test.inc (hypot_test): Add another test.
34023         * math/libm-test.inc (clog_test): Use
34024         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34025         (clog10_test): Likewise.
34027         [BZ #6778]
34028         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34030 2012-11-22  Andreas Schwab  <schwab@suse.de>
34032         * sysdeps/i386/fpu/libm-test-ulps: Update.
34034 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
34036         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34037         printf output with newline.
34039 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
34041         [BZ #14865]
34042         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34043         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34044         -z nodlopen, -z initfirst and -z execstack support.
34045         * configure: Regenerated.
34047         * elf/elf.h (DF_1_NODIRECT): New macro.
34048         (DF_1_IGNMULDEF): Likewise.
34049         (DF_1_NOKSYMS): Likewise.
34050         (DF_1_NOHDR): Likewise.
34051         (DF_1_EDITED): Likewise.
34052         (DF_1_NORELOC): Likewise.
34053         (DF_1_SYMINTPOSE): Likewise.
34054         (DF_1_GLOBAUDIT): Likewise.
34055         (DF_1_SINGLETON): Likewise.
34056         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34057         DT_1_SUPPORTED_MASK bits.
34058         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34060 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
34062         * sysdeps/unix/make-syscalls.sh: Document prefixes.
34064 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
34066         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34067         macro.
34069         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34070         (sendmmsg): Move declarations...
34071         * socket/sys/socket.h: ... here.
34072         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34073         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34074         include it from...
34075         * socket/recvmmsg.c: ... this new file.
34076         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34077         (sendmmsg): Rename to __sendmmsg, create weak alias and make
34078         definition of __sendmmsg hidden.
34079         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34080         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34081         Move ENOSYS stub into and include it from...
34082         * socket/sendmmsg.c: ... this new file.
34083         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34084         (sysdep_routines): Move recvmmsg and sendmmsg...
34085         * socket/Makefile (routines): ... here.
34086         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34087         (GLIBC_PRIVATE): Add __sendmmsg.
34088         * include/sys/socket.h (__sendmmsg): Add declarations.
34089         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34090         sendmmsg.
34092 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
34094         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34095         variable I1 with __attribute__ ((unused)).
34096         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34098 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34100         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34101         DUMMY variables with __attribute__ ((unused)).
34103         * bits/byteswap.h: Include <bits/types.h>.
34104         (__bswap_64): Use __uint64_t instead of unsigned long long int.
34106 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34108         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34109         string_t.  Do not manually set errno.
34110         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34111         length with __strnlen.  Make sure to both set errno and return it on
34112         failure.
34114 2012-11-19  David S. Miller  <davem@davemloft.net>
34116         With help from Joseph Myers.
34117         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34118         very large arguments properly.
34119         * math/libm-test.inc (atan_test): New tests.
34120         (atan2_test): New tests.
34121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34124 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34126         [BZ #14856]
34127         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34128         Define to 3.
34130         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34131         [POSIX] (EADDRNOTAVAIL): Likewise.
34132         [POSIX] (EAFNOSUPPORT): Likewise.
34133         [POSIX] (EALREADY): Likewise.
34134         [POSIX] (ECONNABORTED): Likewise.
34135         [POSIX] (ECONNREFUSED): Likewise.
34136         [POSIX] (ECONNRESET): Likewise.
34137         [POSIX] (EDESTADDRREQ): Likewise.
34138         [POSIX] (EDQUOT): Likewise.
34139         [POSIX] (EHOSTUNREACH): Likewise.
34140         [POSIX] (EIDRM): Likewise.
34141         [POSIX] (EISCONN): Likewise.
34142         [POSIX] (ELOOP): Likewise.
34143         [POSIX] (EMULTIHOP): Likewise.
34144         [POSIX] (ENETDOWN): Likewise.
34145         [POSIX] (ENETUNREACH): Likewise.
34146         [POSIX] (ENOBUFS): Likewise.
34147         [POSIX] (ENODATA): Likewise.
34148         [POSIX] (ENOLINK): Likewise.
34149         [POSIX] (ENOMSG): Likewise.
34150         [POSIX] (ENOPROTOOPT): Likewise.
34151         [POSIX] (ENOSR): Likewise.
34152         [POSIX] (ENOSTR): Likewise.
34153         [POSIX] (ENOTCONN): Likewise.
34154         [POSIX] (ENOTSOCK): Likewise.
34155         [POSIX] (EOPNOTSUPP): Likewise.
34156         [POSIX] (EOVERFLOW): Likewise.
34157         [POSIX] (EPROTO): Likewise.
34158         [POSIX] (EPROTONOSUPPORT): Likewise.
34159         [POSIX] (EPROTOTYPE): Likewise.
34160         [POSIX] (ESTALE): Likewise.
34161         [POSIX] (ETIME): Likewise.
34162         [POSIX] (ETXTBSY): Likewise.
34163         [POSIX] (EWOULDBLOCK): Likewise.
34164         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34165         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34166         [POSIX] (SEEK_CUR): Likewise.
34167         [POSIX] (SEEK_END): Likewise.
34168         [POSIX || UNIX98] (mode_t): Do not require.
34169         [POSIX] (off_t): Likewise.
34170         [POSIX] (pid_t): Likewise.
34171         [POSIX] (sys/stat.h): Do not allow header.
34172         [POSIX] (unistd.h): Likewise.
34173         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34174         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34175         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34176         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34177         require.
34178         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34179         sigevent): Specify elements.
34180         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34181         entry.
34182         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34183         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34185         * conform/data/cpio.h-data [POSIX]: Disable whole file.
34186         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34187         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34188         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34189         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34190         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34191         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34192         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34193         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34194         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34195         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34196         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34197         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34198         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34199         Likewise.
34200         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34201         Likewise.
34202         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34203         Likewise.
34204         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34205         Likewise.
34206         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34207         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34208         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34209         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34210         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34211         Specify lower bound on value.
34212         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34213         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34214         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34215         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34216         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34217         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34218         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34219         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34220         value.
34221         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34222         as optional.
34223         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34224         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34225         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34226         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34227         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34228         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34229         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34230         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34231         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34232         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34233         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34234         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34235         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34236         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34237         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34238         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34239         entry.
34240         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34241         optional.
34242         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34243         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34244         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34245         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34246         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34247         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34248         Likewise.
34249         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34250         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34251         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34252         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34253         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
34254         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34255         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34256         as optional.
34257         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34258         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34259         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34260         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34261         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34262         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34263         specify as optional.
34264         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34265         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34266         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34267         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34268         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34269         [XPG3] (NL_LANGMAX): Likewise.
34270         [POSIX || XPG3] (NL_MSGMAX): Likewise.
34271         [POSIX || XPG3] (NL_NMAX): Likewise.
34272         [POSIX || XPG3] (NL_SETMAX): Likewise.
34273         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34274         [XPG3] (NZERO): Likewise.
34275         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34276         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34277         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34278         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34279         (REG_ERANGE): Expect.
34280         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34281         optional-constant.
34282         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34283         Use (void) in prototype.
34284         [POSIX] (*_t): Allow.
34285         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34286         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34287         (WRDE_BADVAL): Expect.
34289         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34290         expect.
34291         [XPG3 || XPG4] (O_RSYNC): Likewise.
34292         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34293         Likewise.
34294         [XPG3 || XPG4] (pthread_sigmask): Likewise.
34295         [XPG3 || XPG4] (sigqueue): Likewise.
34296         [XPG3 || XPG4] (sigtimedwait): Likewise.
34297         [XPG3 || XPG4] (sigwaitinfo): Likewise.
34298         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34299         [XPG3 || XPG4] (vsnprintf): Likewise.
34300         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34301         Likewise.
34302         [XPG3 || XPG4] (blksize_t): Likewise.
34303         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34304         Likewise.
34305         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34306         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34307         [XPG3 || XPG4] (struct itimerspec): Likewise.
34308         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34309         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34310         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34311         [XPG3 || XPG4] (clockid_t): Likewise.
34312         [XPG3 || XPG4] (timer_t): Likewise.
34313         [XPG3 || XPG4] (clock_getres): Likewise.
34314         [XPG3 || XPG4] (clock_gettime): Likewise.
34315         [XPG3 || XPG4] (clock_settime): Likewise.
34316         [XPG3 || XPG4] (nanosleep): Likewise.
34317         [XPG3 || XPG4] (timer_create): Likewise.
34318         [XPG3 || XPG4] (timer_delete): Likewise.
34319         [XPG3 || XPG4] (timer_gettime): Likewise.
34320         [XPG3 || XPG4] (timer_getoverrun): Likewise.
34321         [XPG3 || XPG4] (timer_settime): Likewise.
34322         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34323         [XPG3 || XPG4] (getlogin_r): Likewise.
34324         [XPG3 || XPG4] (pread): Likewise.
34325         [XPG3 || XPG4] (pthread_atfork): Likewise.
34326         [XPG3 || XPG4] (pwrite): Likewise.
34328         [BZ #14835]
34329         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34330         <bits/siginfo.h>.
34332 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34334         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34335         finalizing MALLSTREAM.
34337         * sysdeps/mach/hurd/syncfs.c: New file.
34339 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34341         [BZ #14719]
34342         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34343         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34344         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34345         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34346         (_nss_dns_gethostbyname4_r): Likewise.
34347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34348         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34350 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
34352         [BZ #13763]
34353         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34355 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
34357         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34358         * elf/cache.c (print_entry): Print ",AArch64" for
34359         FLAG_AARCH64_LIB64
34361         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34362         * elf/cache.c (print_entry): Print ",hard-float" for
34363         FLAG_ARM_LIBHF.
34365 2012-11-18  David S. Miller  <davem@davemloft.net>
34367         With help from Joseph Myers.
34368         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34369         cutoff to 2**-13.
34370         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34371         cutoff to 2**-25.
34372         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34373         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34374         small.
34375         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34376         * math/libm-test.inc (y0_test): New tests.
34377         (y1_test): New tests.
34378         * sysdeps/i386/fpu/libm-test-ulps: Update.
34379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34382 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
34384         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34385         64-bit targets.
34386         * configure: Regenerated.
34388 2012-11-17  David S. Miller  <davem@davemloft.net>
34390         [BZ #14811]
34391         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34392         nonzero exponents with absolute value below 0x1p-128 to +/-
34393         0x1p-128.
34395 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
34397         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34399         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34401         * posix/getconf-speclist.c: New file.
34402         * posix/posix-envs.def: Likewise.
34403         * posix/confstr.c (START_ENV_GROUP): New macro.
34404         (END_ENV_GROUP): Likewise.
34405         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34406         (KNOWN_PRESENT_ENV_STRING): Likewise.
34407         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34408         (UNKNOWN_ENVIRONMENT): Likewise.
34409         (confstr): Include posix-envs.def instead of handling
34410         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34411         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34412         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34413         (END_ENV_GROUP): Likewise.
34414         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34415         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34416         (UNKNOWN_ENVIRONMENT): Likewise.
34417         (__sysconf): Include posix-envs.def instead of handling associated
34418         cases directly here.
34419         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34420         preprocessing getconf-speclist.c rather than running getconf or
34421         generating empty file.
34423 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34425         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34427 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34429         [BZ #14672]
34430         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34432 2012-11-16  David S. Miller  <davem@davemloft.net>
34434         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34435         smaller than LDBL_EPSILON/2.0L, just return xm1.
34437 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34439         * elf/tst-array1.c (init): Set constructor priority to 1000.
34440         (fini): Set destructor priority to 1000.
34441         * elf/tst-array2dep.c: Likewise.
34443 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34445         [BZ #11741]
34446         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34447         (_IO_new_file_xsputn): Also return EOF if none of the input
34448         data was written when overflow failed.
34449         * libio/iopadn.c (_IO_padn): Likewise.
34450         * libio/iowpadn.c (_IO_wpadn): Likewise.
34451         * stdio-common/tst-put-error.c: Add copyright notice.
34452         (do_test): Add case for printing padded string.
34453         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34454         _IO_padn returned error.
34455         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34456         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34457         return EOF.
34459 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34461         * libio/libioP.h: Add comment note that the references to C++
34462         bits are now obsolete.
34464 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34466         * math/libm-test.inc (check_complex): Use asprintf.
34468 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34470         * debug/pcprofiledump.c (print_version): Update copyright year.
34471         * malloc/memusagestat.c (print_version): Likewise.
34473 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34475         [BZ #14831]
34476         * elf/Makefile (tests): Add tst-audit8.
34477         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34478         ($(objpfx)tst-audit8.out): New target.
34479         (tst-audit8-ENV): New variable.
34480         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34481         audit if l_reloc_result is NULL.
34482         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34483         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34484         * elf/tst-audit8.c: New file.
34486 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34488         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34489         * misc/Makefile (CFLAGS-select.c): Define.
34490         * posix/Makefile (CFLAGS-pause.c): Define.
34492 2012-11-13  David S. Miller  <davem@davemloft.net>
34494         * crypt/Makefile: Move test targets after toplevel Rules
34495         inclusion.  Grab any necessary sysdep routines when linking.
34496         * crypt/md5.c (md5_process_block): Remove define, we will always
34497         name it __md5_process_block.
34498         (md5_finish_ctx): Update md5_process_block call.
34499         (md5_stream): Likewise.
34500         (md5_process_bytes): Likewise.
34501         (md5_process_block): Rename to __md5_process_block and move to ...
34502         * crypt/md5-block.c: ... here.
34503         * crypt/sha256.c (sha256_process_block): Move to ...
34504         * crypt/sha256-block.c: ... here.
34505         * crypt/sha512.c (sha512_process_block): Move to ...
34506         * crypt/sha512-block.c: ... here.
34507         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34508         path.
34509         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34510         * sysdeps/sparc/sparc64/multiarch/Makefile
34511         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34512         crypt subdir.
34513         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34514         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34515         multiarch changes.
34516         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34517         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34518         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34519         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34520         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34521         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34522         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34523         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34524         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34525         file.
34526         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34527         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34528         file.
34529         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34531 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34533         * timezone/tzselect.ksh: Update from tzcode git revision
34534         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34535         * timezone/zdump.c: Likewise.
34536         * timezone/zic.c: Likewise.
34537         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34538         in TZVERSION setting, not $(PKGVERSION).
34539         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34540         REPORT_BUGS_TO settings.
34542         [BZ #14838]
34543         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34544         macro.
34546 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34548         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34549         detection to immediately after _FP_ROUND().
34550         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34551         bits are 0.
34553 2012-11-11  David S. Miller  <davem@davemloft.net>
34555         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34556         inttypes.h
34557         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34558         __close rather than their public counterparts.
34560 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34562         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34563         file.
34564         [UNIX98] (sem_timedwait): Do not expect.
34565         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34566         [XPG4 || UNIX98] (sockatmark): Do not expect.
34567         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34568         (clock_getcpuclockid): Do not expect.
34569         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34570         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34571         Do not expect.
34572         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34573         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34574         [UNIX98] (vwscanf): Likewise.
34575         [UNIX98] (vswscanf): Likewise.
34577 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34579         * timezone/version.h: Remove file.
34580         * timezone/README: Do not refer to version.h.
34581         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34582         $(objpfx)version.h.
34583         ($(objpfx)zdump.o): Likewise.
34584         ($(objpfx)version.h): New target.
34586         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34587         2012i.
34588         * timezone/README: Don't mention modification to tzselect.ksh.
34589         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34590         work on unmodified tzselect.ksh.  Substitute version numbers in
34591         tzselect.ksh.
34593         * Makefile (format-me): Remove.
34594         (INSTALL): Adjust indentation.  Use commands directly instead of
34595         using $(format-me).
34597         * aclocal.m4 (ACX_PKGVERSION): New macro.
34598         (ACX_BUGURL): Likewise.
34599         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34600         (PKGVERSION): New AC_DEFINE_UNQUOTED.
34601         (REPORT_BUGS_TO): Likewise.
34602         * configure: Regenerated.
34603         * config.h.in (PKGVERSION): New macro.
34604         (REPORT_BUGS_TO): Likewise.
34605         * config.make.in (PKGVERSION): New variable.
34606         (PKGVERSION_TEXI): Likewise.
34607         (REPORT_BUGS_TO): Likewise.
34608         (REPORT_BUGS_TEXI): Likewise.
34609         * Makefile (format-me): Use -I$(common-objpfx)manual.
34610         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34611         ($(common-objpfx)manual/%): New target.
34612         (manual/%): Remove target.
34613         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34614         (print_version): Use PKGVERSION.
34615         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34616         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34617         and REPORT_BUGS_TO.
34618         ($(objpfx)xtrace): Likewise.
34619         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34620         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34621         (print_version): Use PKGVERSION.
34622         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34623         (do_version): Use PKGVERSION.
34624         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34625         REPORT_BUGS_TO.
34626         (common-ldd-rewrite): Likewise.
34627         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34628         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34629         (print_version): Use PKGVERSION.
34630         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34631         * elf/pldd.c (argp_program_bug_address): Remove variable.
34632         (more_help): New function.
34633         (argp): Use more_help.
34634         (print_version): Use PKGVERSION.
34635         * elf/sln.c (main): Use PKGVERSION.
34636         (usage): Use REPORT_BUGS_TO.
34637         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34638         (top level): Use PKGVERSION.
34639         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34640         (print_version): Use PKGVERSION.
34641         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34642         (print_version): Use PKGVERSION.
34643         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34644         (print_version): Use PKGVERSION.
34645         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34646         (print_version): Use PKGVERSION.
34647         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34648         (print_version): Use PKGVERSION.
34649         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34650         (print_version): Use PKGVERSION.
34651         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34652         and BUGURL.
34653         ($(objpfx)memusage): Likewise.
34654         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34655         (do_version): Use PKGVERSION.
34656         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34657         (print_version): Use PKGVERSION.
34658         * malloc/mtrace.pl ($PACKAGE): Remove variable.
34659         ($PKGVERSION): New variable.
34660         ($REPORT_BUGS_TO): Likewise.
34661         (usage): Use $REPORT_BUGS_TO.
34662         (top level): Use $PKGVERSION.
34663         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34664         ($(objpfx)pkgvers.texi): New rule.
34665         ($(objpfx)stamp-pkgvers): Likewise.
34666         * manual/install.texi: Include pkgvers.texi.
34667         (--with-pkgversion): Document new configure option.
34668         (--with-bugurl): Likewise.
34669         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34670         than necessarily for this particular distribution.  Use
34671         REPORT_BUGS_TO for where to report bugs.
34672         * INSTALL: Regenerated.
34673         * manual/libc.texinfo: Include pkgvers.texi.
34674         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34675         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34676         (print_version): Use PKGVERSION.
34677         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34678         (print_version): Use PKGVERSION.
34679         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34680         (print_version): Use PKGVERSION.
34681         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34682         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34683         macro.
34684         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34685         (print_version): Use PKGVERSION.
34686         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34687         (print_version): Use PKGVERSION.
34688         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34689         and PKGVERSION.
34691         * timezone/checktab.awk: Update from tzcode 2012i.
34692         * timezone/ialloc.c: Likewise.
34693         * timezone/private.h: Likewise.
34694         * timezone/scheck.c: Likewise.
34695         * timezone/tzfile.h: Likewise.
34696         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34697         (TZVERSION): Hardcode tzcode version number.
34698         * timezone/zdump.c: Update from tzcode 2012i.
34699         * timezone/zic.c: Likewise.
34700         * timezone/version.h: New file.
34701         * timezone/README: Describe version.h.  Update upstream location.
34703         [BZ #14824]
34704         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34705         (mktemp): Enable declaration.
34706         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34707         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34708         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34709         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34710         Likewise.
34711         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34712         Likewise.
34713         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34714         Likewise.
34715         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34716         Likewise.
34717         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34718         Likewise.
34719         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34720         Likewise.
34722         [BZ #14821]
34723         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34724         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34725         for copies of such integer values.
34726         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34727         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34729 2012-11-09  Andreas Jaeger  <aj@suse.de>
34731         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34732         definitions and declarations that are provided by
34733         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34735 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34737         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34738         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34739         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34740         definition.
34742 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34744         * elf/elf.h: Update comment before AArch64 relocations.
34746 2012-11-07  David S. Miller  <davem@davemloft.net>
34748         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34749         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34750         (__start_context): Declare.
34751         (__makecontext_ret): Delete.
34752         (__makecontext): Hook up __start_context instead of
34753         __makecontext_ret.
34754         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34755         (sysdep_routines): Add __start_context when in stdlib.
34757 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34759         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34760         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34761         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34762         hardcoded "nm".
34763         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34764         (READELF): New variable.  Use it instead of hardcoded "readelf".
34766 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34768         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34769         * sysdeps/x86/Makefile: Here.
34770         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34771         * sysdeps/x86/tst-xmmymm.sh: This.
34773 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34775         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34776         expectations.
34777         [UNIX98] (pthread_barrier_t): Do not expect.
34778         [UNIX98] (pthread_barrierattr_t): Likewise.
34779         [UNIX98] (pthread_spinlock_t): Likewise.
34780         [UNIX98] (pthread_barrier_destroy): Likewise.
34781         [UNIX98] (pthread_barrier_init): Likewise.
34782         [UNIX98] (pthread_barrier_wait): Likewise.
34783         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34784         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34785         [UNIX98] (pthread_barrierattr_init): Likewise.
34786         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34787         [UNIX98] (pthread_getcpuclockid): Likewise.
34788         [UNIX98] (pthread_mutex_timedlock): Likewise.
34789         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34790         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34791         [UNIX98] (pthread_sigmask): Likewise.
34792         [UNIX98] (pthread_spin_destroy): Likewise.
34793         [UNIX98] (pthread_spin_init): Likewise.
34794         [UNIX98] (pthread_spin_lock): Likewise.
34795         [UNIX98] (pthread_spin_trylock): Likewise.
34796         [UNIX98] (pthread_spin_unlock): Likewise.
34797         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34798         Do not expect.
34799         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34800         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34801         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34802         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34803         [XPG3 || XPG4] (pthread_key_t): Likewise.
34804         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34805         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34806         [XPG3 || XPG4] (pthread_once_t): Likewise.
34807         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34808         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34809         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34810         [XPG3 || XPG4] (pthread_t): Likewise.
34812         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34813         not expect.
34814         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34816         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34817         Change function return type to int.
34819         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34820         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34821         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34822         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34823         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34824         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34825         [!POSIX] (posix_madvise): Likewise.
34826         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34827         && !UNIX98].
34828         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34829         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34830         (mode_t): Likewise.
34831         (posix_mem_offset): Likewise.
34832         (posix_typed_mem_get_info): Likewise.
34833         (posix_typed_mem_open): Likewise.
34835         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34836         Change condition to [XOPEN2K8].
34838         * conform/conformtest.pl: Preprocess allow-header data with -x c
34839         instead of from stdin.
34840         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34841         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34842         [C99-based standards] (cerfc): Likewise.
34843         [C99-based standards] (cexp2): Likewise.
34844         [C99-based standards] (cexpm1): Likewise.
34845         [C99-based standards] (clog10): Likewise.
34846         [C99-based standards] (clog1p): Likewise.
34847         [C99-based standards] (clog2): Likewise.
34848         [C99-based standards] (clgamma): Likewise.
34849         [C99-based standards] (ctgamma): Likewise.
34850         [C99-based standards] (cerff): Likewise.
34851         [C99-based standards] (cerfcf): Likewise.
34852         [C99-based standards] (cexp2f): Likewise.
34853         [C99-based standards] (cexpm1f): Likewise.
34854         [C99-based standards] (clog10f): Likewise.
34855         [C99-based standards] (clog1pf): Likewise.
34856         [C99-based standards] (clog2f): Likewise.
34857         [C99-based standards] (clgammaf): Likewise.
34858         [C99-based standards] (ctgammaf): Likewise.
34859         [C99-based standards] (cerfl): Likewise.
34860         [C99-based standards] (cerfcl): Likewise.
34861         [C99-based standards] (cexp2l): Likewise.
34862         [C99-based standards] (cexpm1l): Likewise.
34863         [C99-based standards] (clog10l): Likewise.
34864         [C99-based standards] (clog1pl): Likewise.
34865         [C99-based standards] (clog2l): Likewise.
34866         [C99-based standards] (clgammal): Likewise.
34867         [C99-based standards] (ctgammal): Likewise.
34868         * conform/data/inttypes.h-data [C99-based standards]: Include
34869         stdint.h-data.  Remove all expectations for stdint.h contents.
34870         [C99-based standards] (PRI*): Do not allow.
34871         [C99-based standards] (SCN*): Likewise.
34872         [C99-based standards] (*_t): Likewise.
34873         [C99-based-standards] (PRId8): Expect macro.
34874         [C99-based-standards] (PRIi8): Likewise.
34875         [C99-based-standards] (PRIo8): Likewise.
34876         [C99-based-standards] (PRIu8): Likewise.
34877         [C99-based-standards] (PRIx8): Likewise.
34878         [C99-based-standards] (PRIX8): Likewise.
34879         [C99-based-standards] (SCNd8): Likewise.
34880         [C99-based-standards] (SCNi8): Likewise.
34881         [C99-based-standards] (SCNo8): Likewise.
34882         [C99-based-standards] (SCNu8): Likewise.
34883         [C99-based-standards] (SCNx8): Likewise.
34884         [C99-based-standards] (PRIdLEAST8): Likewise.
34885         [C99-based-standards] (PRIiLEAST8): Likewise.
34886         [C99-based-standards] (PRIoLEAST8): Likewise.
34887         [C99-based-standards] (PRIuLEAST8): Likewise.
34888         [C99-based-standards] (PRIxLEAST8): Likewise.
34889         [C99-based-standards] (PRIXLEAST8): Likewise.
34890         [C99-based-standards] (SCNdLEAST8): Likewise.
34891         [C99-based-standards] (SCNiLEAST8): Likewise.
34892         [C99-based-standards] (SCNoLEAST8): Likewise.
34893         [C99-based-standards] (SCNuLEAST8): Likewise.
34894         [C99-based-standards] (SCNxLEAST8): Likewise.
34895         [C99-based-standards] (PRIdFAST8): Likewise.
34896         [C99-based-standards] (PRIiFAST8): Likewise.
34897         [C99-based-standards] (PRIoFAST8): Likewise.
34898         [C99-based-standards] (PRIuFAST8): Likewise.
34899         [C99-based-standards] (PRIxFAST8): Likewise.
34900         [C99-based-standards] (PRIXFAST8): Likewise.
34901         [C99-based-standards] (SCNdFAST8): Likewise.
34902         [C99-based-standards] (SCNiFAST8): Likewise.
34903         [C99-based-standards] (SCNoFAST8): Likewise.
34904         [C99-based-standards] (SCNuFAST8): Likewise.
34905         [C99-based-standards] (SCNxFAST8): Likewise.
34906         [C99-based-standards] (PRId16): Likewise.
34907         [C99-based-standards] (PRIi16): Likewise.
34908         [C99-based-standards] (PRIo16): Likewise.
34909         [C99-based-standards] (PRIu16): Likewise.
34910         [C99-based-standards] (PRIx16): Likewise.
34911         [C99-based-standards] (PRIX16): Likewise.
34912         [C99-based-standards] (SCNd16): Likewise.
34913         [C99-based-standards] (SCNi16): Likewise.
34914         [C99-based-standards] (SCNo16): Likewise.
34915         [C99-based-standards] (SCNu16): Likewise.
34916         [C99-based-standards] (SCNx16): Likewise.
34917         [C99-based-standards] (PRIdLEAST16): Likewise.
34918         [C99-based-standards] (PRIiLEAST16): Likewise.
34919         [C99-based-standards] (PRIoLEAST16): Likewise.
34920         [C99-based-standards] (PRIuLEAST16): Likewise.
34921         [C99-based-standards] (PRIxLEAST16): Likewise.
34922         [C99-based-standards] (PRIXLEAST16): Likewise.
34923         [C99-based-standards] (SCNdLEAST16): Likewise.
34924         [C99-based-standards] (SCNiLEAST16): Likewise.
34925         [C99-based-standards] (SCNoLEAST16): Likewise.
34926         [C99-based-standards] (SCNuLEAST16): Likewise.
34927         [C99-based-standards] (SCNxLEAST16): Likewise.
34928         [C99-based-standards] (PRIdFAST16): Likewise.
34929         [C99-based-standards] (PRIiFAST16): Likewise.
34930         [C99-based-standards] (PRIoFAST16): Likewise.
34931         [C99-based-standards] (PRIuFAST16): Likewise.
34932         [C99-based-standards] (PRIxFAST16): Likewise.
34933         [C99-based-standards] (PRIXFAST16): Likewise.
34934         [C99-based-standards] (SCNdFAST16): Likewise.
34935         [C99-based-standards] (SCNiFAST16): Likewise.
34936         [C99-based-standards] (SCNoFAST16): Likewise.
34937         [C99-based-standards] (SCNuFAST16): Likewise.
34938         [C99-based-standards] (SCNxFAST16): Likewise.
34939         [C99-based-standards] (PRId32): Likewise.
34940         [C99-based-standards] (PRIi32): Likewise.
34941         [C99-based-standards] (PRIo32): Likewise.
34942         [C99-based-standards] (PRIu32): Likewise.
34943         [C99-based-standards] (PRIx32): Likewise.
34944         [C99-based-standards] (PRIX32): Likewise.
34945         [C99-based-standards] (SCNd32): Likewise.
34946         [C99-based-standards] (SCNi32): Likewise.
34947         [C99-based-standards] (SCNo32): Likewise.
34948         [C99-based-standards] (SCNu32): Likewise.
34949         [C99-based-standards] (SCNx32): Likewise.
34950         [C99-based-standards] (PRIdLEAST32): Likewise.
34951         [C99-based-standards] (PRIiLEAST32): Likewise.
34952         [C99-based-standards] (PRIoLEAST32): Likewise.
34953         [C99-based-standards] (PRIuLEAST32): Likewise.
34954         [C99-based-standards] (PRIxLEAST32): Likewise.
34955         [C99-based-standards] (PRIXLEAST32): Likewise.
34956         [C99-based-standards] (SCNdLEAST32): Likewise.
34957         [C99-based-standards] (SCNiLEAST32): Likewise.
34958         [C99-based-standards] (SCNoLEAST32): Likewise.
34959         [C99-based-standards] (SCNuLEAST32): Likewise.
34960         [C99-based-standards] (SCNxLEAST32): Likewise.
34961         [C99-based-standards] (PRIdFAST32): Likewise.
34962         [C99-based-standards] (PRIiFAST32): Likewise.
34963         [C99-based-standards] (PRIoFAST32): Likewise.
34964         [C99-based-standards] (PRIuFAST32): Likewise.
34965         [C99-based-standards] (PRIxFAST32): Likewise.
34966         [C99-based-standards] (PRIXFAST32): Likewise.
34967         [C99-based-standards] (SCNdFAST32): Likewise.
34968         [C99-based-standards] (SCNiFAST32): Likewise.
34969         [C99-based-standards] (SCNoFAST32): Likewise.
34970         [C99-based-standards] (SCNuFAST32): Likewise.
34971         [C99-based-standards] (SCNxFAST32): Likewise.
34972         [C99-based-standards] (PRId64): Likewise.
34973         [C99-based-standards] (PRIi64): Likewise.
34974         [C99-based-standards] (PRIo64): Likewise.
34975         [C99-based-standards] (PRIu64): Likewise.
34976         [C99-based-standards] (PRIx64): Likewise.
34977         [C99-based-standards] (PRIX64): Likewise.
34978         [C99-based-standards] (SCNd64): Likewise.
34979         [C99-based-standards] (SCNi64): Likewise.
34980         [C99-based-standards] (SCNo64): Likewise.
34981         [C99-based-standards] (SCNu64): Likewise.
34982         [C99-based-standards] (SCNx64): Likewise.
34983         [C99-based-standards] (PRIdLEAST64): Likewise.
34984         [C99-based-standards] (PRIiLEAST64): Likewise.
34985         [C99-based-standards] (PRIoLEAST64): Likewise.
34986         [C99-based-standards] (PRIuLEAST64): Likewise.
34987         [C99-based-standards] (PRIxLEAST64): Likewise.
34988         [C99-based-standards] (PRIXLEAST64): Likewise.
34989         [C99-based-standards] (SCNdLEAST64): Likewise.
34990         [C99-based-standards] (SCNiLEAST64): Likewise.
34991         [C99-based-standards] (SCNoLEAST64): Likewise.
34992         [C99-based-standards] (SCNuLEAST64): Likewise.
34993         [C99-based-standards] (SCNxLEAST64): Likewise.
34994         [C99-based-standards] (PRIdFAST64): Likewise.
34995         [C99-based-standards] (PRIiFAST64): Likewise.
34996         [C99-based-standards] (PRIoFAST64): Likewise.
34997         [C99-based-standards] (PRIuFAST64): Likewise.
34998         [C99-based-standards] (PRIxFAST64): Likewise.
34999         [C99-based-standards] (PRIXFAST64): Likewise.
35000         [C99-based-standards] (SCNdFAST64): Likewise.
35001         [C99-based-standards] (SCNiFAST64): Likewise.
35002         [C99-based-standards] (SCNoFAST64): Likewise.
35003         [C99-based-standards] (SCNuFAST64): Likewise.
35004         [C99-based-standards] (SCNxFAST64): Likewise.
35005         [C99-based-standards] (PRIdMAX): Likewise.
35006         [C99-based-standards] (PRIiMAX): Likewise.
35007         [C99-based-standards] (PRIoMAX): Likewise.
35008         [C99-based-standards] (PRIuMAX): Likewise.
35009         [C99-based-standards] (PRIxMAX): Likewise.
35010         [C99-based-standards] (PRIXMAX): Likewise.
35011         [C99-based-standards] (SCNdMAX): Likewise.
35012         [C99-based-standards] (SCNiMAX): Likewise.
35013         [C99-based-standards] (SCNoMAX): Likewise.
35014         [C99-based-standards] (SCNuMAX): Likewise.
35015         [C99-based-standards] (SCNxMAX): Likewise.
35016         [C99-based-standards] (PRIdPTR): Likewise.
35017         [C99-based-standards] (PRIiPTR): Likewise.
35018         [C99-based-standards] (PRIoPTR): Likewise.
35019         [C99-based-standards] (PRIuPTR): Likewise.
35020         [C99-based-standards] (PRIxPTR): Likewise.
35021         [C99-based-standards] (PRIXPTR): Likewise.
35022         [C99-based-standards] (SCNdPTR): Likewise.
35023         [C99-based-standards] (SCNiPTR): Likewise.
35024         [C99-based-standards] (SCNoPTR): Likewise.
35025         [C99-based-standards] (SCNuPTR): Likewise.
35026         [C99-based-standards] (SCNxPTR): Likewise.
35027         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35028         allow.
35029         * conform/data/stdint.h-data: Update comments to clarify
35030         requirements.
35031         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
35032         type.
35033         [C99-based standards] (INT8_MAX): Likewise.
35034         [C99-based standards] (INT16_MIN): Likewise.
35035         [C99-based standards] (INT16_MAX): Likewise.
35036         [C99-based standards] (INT32_MIN): Likewise.
35037         [C99-based standards] (INT32_MAX): Likewise.
35038         [C99-based standards] (INT64_MIN): Likewise.
35039         [C99-based standards] (INT64_MAX): Likewise.
35040         [C99-based standards] (UINT8_MAX): Likewise.
35041         [C99-based standards] (UINT16_MAX): Likewise.
35042         [C99-based standards] (UINT32_MAX): Likewise.
35043         [C99-based standards] (UINT64_MAX): Likewise.
35044         [C99-based standards] (INT_LEAST8_MIN): Likewise.
35045         [C99-based standards] (INT_LEAST8_MAX): Likewise.
35046         [C99-based standards] (INT_LEAST16_MIN): Likewise.
35047         [C99-based standards] (INT_LEAST16_MAX): Likewise.
35048         [C99-based standards] (INT_LEAST32_MIN): Likewise.
35049         [C99-based standards] (INT_LEAST32_MAX): Likewise.
35050         [C99-based standards] (INT_LEAST64_MIN): Likewise.
35051         [C99-based standards] (INT_LEAST64_MAX): Likewise.
35052         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35053         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35054         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35055         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35056         [C99-based standards] (INT_FAST8_MIN): Likewise.
35057         [C99-based standards] (INT_FAST8_MAX): Likewise.
35058         [C99-based standards] (INT_FAST16_MIN): Likewise.
35059         [C99-based standards] (INT_FAST16_MAX): Likewise.
35060         [C99-based standards] (INT_FAST32_MIN): Likewise.
35061         [C99-based standards] (INT_FAST32_MAX): Likewise.
35062         [C99-based standards] (INT_FAST64_MIN): Likewise.
35063         [C99-based standards] (INT_FAST64_MAX): Likewise.
35064         [C99-based standards] (UINT_FAST8_MAX): Likewise.
35065         [C99-based standards] (UINT_FAST16_MAX): Likewise.
35066         [C99-based standards] (UINT_FAST32_MAX): Likewise.
35067         [C99-based standards] (UINT_FAST64_MAX): Likewise.
35068         [C99-based standards] (INTPTR_MIN): Likewise.
35069         [C99-based standards] (INTPTR_MAX): Likewise.
35070         [C99-based standards] (UINTPTR_MAX): Likewise.
35071         [C99-based standards] (INTMAX_MIN): Likewise.
35072         [C99-based standards] (INTMAX_MAX): Likewise.
35073         [C99-based standards] (UINTMAX_MAX): Likewise.
35074         [C99-based standards] (PTRDIFF_MIN): Likewise.
35075         [C99-based standards] (PTRDIFF_MAX): Likewise.
35076         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35077         [C99-based standards] (SIZE_MAX): Likewise.
35078         [C99-based standards] (WCHAR_MAX): Likewise.
35079         [C99-based standards] (WINT_MAX): Likewise.
35080         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
35081         constraint on value.
35082         [C99-based standards] (WCHAR_MIN): Likewise.
35083         [C99-based standards] (WINT_MIN): Likewise.
35084         [C99-based standards] (*_t): Allow.
35085         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35086         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35087         Include math.h-data and complex.h-data.  Remove all expectations
35088         of math.h and complex.h contents.
35089         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35090         at end of line.
35091         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35092         (struct tm): Expect tag.
35093         [C99-based-standards] (wcstof): Expect function.
35094         [C99-based-standards] (wcstold): Likewise.
35095         [C99-based-standards] (wcstoll): Likewise.
35096         [C99-based-standards] (wcstoull): Likewise.
35097         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35098         macro-int-constant.  Specify type.
35099         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
35100         constraint on value.
35101         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35102         Specify type.
35103         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35104         Specify value.
35105         [ISO C standards]: Do not allow headers.
35106         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35107         wcs[abcdefghijklmnopqrstuvwxyz]*.
35108         [ISO C standards] (*_t): Do not allow.
35109         * conform/data/wctype.h-data [C99-based standards] (iswblank):
35110         Expect function.
35111         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35112         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35113         Specify type.
35114         [ISO C standards]: Do not allow headers.
35115         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35116         is[abcdefghijklmnopqrstuvwxyz]*.
35117         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35118         to[abcdefghijklmnopqrstuvwxyz]*.
35119         [ISO C standards] (*_t): Do not allow.
35120         * conform/data/stdalign.h-data: New file.
35121         * conform/data/stdbool.h-data: Likewise.
35122         * conform/data/stdnoreturn.h-data: Likewise.
35124 2012-11-07  Roland McGrath  <roland@hack.frob.com>
35126         [BZ #14815]
35127         * manual/filesys.texi (Directory Entries): Typo fix.
35128         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35130 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35132         * elf/elf.h (EM_AARCH64): New macro.
35133         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35134         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35135         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35136         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35137         (R_AARCH64_TLSDESC): Likewise.
35138         (NT_ARM_TLS): Likewise.
35139         (NT_ARM_HW_BREAK): Likewise.
35140         (NT_ARM_HW_WATCH): Likewise.
35142 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35144         [BZ #14811]
35145         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35146         (__ieee754_powl): Saturate nonzero exponents with absolute value
35147         below 0x1p-79 to +/- 0x1p-79.
35148         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35149         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35150         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35151         nonzero exponents with absolute value below 0x1p-32 to +/-
35152         0x1p-32.
35153         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35154         (__ieee754_powl): Saturate nonzero exponents with absolute value
35155         below 0x1p-79 to +/- 0x1p-79.
35156         * math/libm-test.inc (pow_test): Add more tests.
35158 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35160         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35161         _dl_s390_cap_flags with kernel. Increase string length.
35162         (_dl_s390_platforms): Add z196 and zEC12.
35164 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35166         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35167         Change XOPEN21K to XOPEN2K.
35169 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
35171         * string/memmove.c: Use memcpy when possible.
35173 2012-11-06  Andreas Jaeger  <aj@suse.de>
35175         * po/eo.po: Update from translation team.
35177 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
35179         [BZ #14793]
35180         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35181         exponent and small x and y exponents, scale x or y up.  Increase
35182         by 2 the exponent used in scaling up.
35183         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35184         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35185         * math/libm-test.inc (fma_test): Add more tests.
35186         (fma_test_towardzero): Likewise.
35187         (fma_test_downward): Likewise.
35188         (fma_test_upward): Likewise.
35190 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
35192         [BZ #14805]
35193         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35194         fenv_t *.
35196         [BZ #14801]
35197         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35198         namespace for names of struct fields.
35199         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35200         fenv_t fields.
35201         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35202         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35204 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35206         [BZ #3665]
35207         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35209 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35211         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35212         PTR_DEMANGLE.
35214         [BZ #5246]
35215         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35216         PTR_DEMANGLE.
35218 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
35220         [BZ #14797]
35221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35222         definitely overflow as x * y not x * y + z.
35223         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35224         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35225         * math/libm-test.inc (fma_test): Add more tests.
35226         (fma_test_towardzero): Likewise.
35227         (fma_test_downward): Likewise.
35228         (fma_test_upward): Likewise.
35230 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35232         [BZ #157]
35234         * include/stub-tag.h: Remove file.
35235         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35236         '#include' of it.
35237         * manual/maint.texi (Porting): Don't reference it.
35238         * Makerules ($(objpfx)stubs): Likewise.
35239         * dirent/closedir.c: Don't include <stub-tag.h>.
35240         * dirent/dirfd.c: Likewise.
35241         * dirent/fdopendir.c: Likewise.
35242         * dirent/getdents.c: Likewise.
35243         * dirent/getdents64.c: Likewise.
35244         * dirent/opendir.c: Likewise.
35245         * dirent/readdir.c: Likewise.
35246         * dirent/readdir64.c: Likewise.
35247         * dirent/readdir64_r.c: Likewise.
35248         * dirent/readdir_r.c: Likewise.
35249         * dirent/rewinddir.c: Likewise.
35250         * dirent/seekdir.c: Likewise.
35251         * dirent/telldir.c: Likewise.
35252         * gmon/profil.c: Likewise.
35253         * grp/setgroups.c: Likewise.
35254         * inet/if_index.c: Likewise.
35255         * io/access.c: Likewise.
35256         * io/chdir.c: Likewise.
35257         * io/chmod.c: Likewise.
35258         * io/chown.c: Likewise.
35259         * io/close.c: Likewise.
35260         * io/dup.c: Likewise.
35261         * io/dup2.c: Likewise.
35262         * io/dup3.c: Likewise.
35263         * io/euidaccess.c: Likewise.
35264         * io/faccessat.c: Likewise.
35265         * io/fchdir.c: Likewise.
35266         * io/fchmod.c: Likewise.
35267         * io/fchmodat.c: Likewise.
35268         * io/fchown.c: Likewise.
35269         * io/fchownat.c: Likewise.
35270         * io/fcntl.c: Likewise.
35271         * io/flock.c: Likewise.
35272         * io/fstatfs.c: Likewise.
35273         * io/fstatfs64.c: Likewise.
35274         * io/fstatvfs.c: Likewise.
35275         * io/fstatvfs64.c: Likewise.
35276         * io/futimens.c: Likewise.
35277         * io/fxstat.c: Likewise.
35278         * io/fxstat64.c: Likewise.
35279         * io/fxstatat.c: Likewise.
35280         * io/fxstatat64.c: Likewise.
35281         * io/getcwd.c: Likewise.
35282         * io/isatty.c: Likewise.
35283         * io/lchmod.c: Likewise.
35284         * io/lchown.c: Likewise.
35285         * io/link.c: Likewise.
35286         * io/linkat.c: Likewise.
35287         * io/lseek.c: Likewise.
35288         * io/lseek64.c: Likewise.
35289         * io/lxstat64.c: Likewise.
35290         * io/mkdir.c: Likewise.
35291         * io/mkdirat.c: Likewise.
35292         * io/mkfifo.c: Likewise.
35293         * io/mkfifoat.c: Likewise.
35294         * io/open.c: Likewise.
35295         * io/open64.c: Likewise.
35296         * io/openat.c: Likewise.
35297         * io/openat64.c: Likewise.
35298         * io/pipe.c: Likewise.
35299         * io/pipe2.c: Likewise.
35300         * io/poll.c: Likewise.
35301         * io/posix_fadvise.c: Likewise.
35302         * io/posix_fadvise64.c: Likewise.
35303         * io/posix_fallocate.c: Likewise.
35304         * io/posix_fallocate64.c: Likewise.
35305         * io/read.c: Likewise.
35306         * io/readlink.c: Likewise.
35307         * io/readlinkat.c: Likewise.
35308         * io/rmdir.c: Likewise.
35309         * io/sendfile.c: Likewise.
35310         * io/sendfile64.c: Likewise.
35311         * io/statfs.c: Likewise.
35312         * io/statfs64.c: Likewise.
35313         * io/statvfs.c: Likewise.
35314         * io/statvfs64.c: Likewise.
35315         * io/symlink.c: Likewise.
35316         * io/symlinkat.c: Likewise.
35317         * io/ttyname.c: Likewise.
35318         * io/ttyname_r.c: Likewise.
35319         * io/umask.c: Likewise.
35320         * io/unlink.c: Likewise.
35321         * io/unlinkat.c: Likewise.
35322         * io/utime.c: Likewise.
35323         * io/utimensat.c: Likewise.
35324         * io/write.c: Likewise.
35325         * io/xmknod.c: Likewise.
35326         * io/xmknodat.c: Likewise.
35327         * io/xstat.c: Likewise.
35328         * io/xstat64.c: Likewise.
35329         * login/getpt.c: Likewise.
35330         * login/grantpt.c: Likewise.
35331         * login/unlockpt.c: Likewise.
35332         * math/e_acoshl.c: Likewise.
35333         * math/e_acosl.c: Likewise.
35334         * math/e_asinl.c: Likewise.
35335         * math/e_atan2l.c: Likewise.
35336         * math/e_atanhl.c: Likewise.
35337         * math/e_coshl.c: Likewise.
35338         * math/e_expl.c: Likewise.
35339         * math/e_fmodl.c: Likewise.
35340         * math/e_gammal_r.c: Likewise.
35341         * math/e_hypotl.c: Likewise.
35342         * math/e_j0l.c: Likewise.
35343         * math/e_j1l.c: Likewise.
35344         * math/e_jnl.c: Likewise.
35345         * math/e_lgammal_r.c: Likewise.
35346         * math/e_log10l.c: Likewise.
35347         * math/e_log2l.c: Likewise.
35348         * math/e_logl.c: Likewise.
35349         * math/e_powl.c: Likewise.
35350         * math/e_rem_pio2l.c: Likewise.
35351         * math/e_sinhl.c: Likewise.
35352         * math/e_sqrtl.c: Likewise.
35353         * math/fclrexcpt.c: Likewise.
35354         * math/fedisblxcpt.c: Likewise.
35355         * math/feenablxcpt.c: Likewise.
35356         * math/fegetenv.c: Likewise.
35357         * math/fegetexcept.c: Likewise.
35358         * math/fegetround.c: Likewise.
35359         * math/feholdexcpt.c: Likewise.
35360         * math/fesetenv.c: Likewise.
35361         * math/fesetround.c: Likewise.
35362         * math/feupdateenv.c: Likewise.
35363         * math/fgetexcptflg.c: Likewise.
35364         * math/fraiseexcpt.c: Likewise.
35365         * math/fsetexcptflg.c: Likewise.
35366         * math/ftestexcept.c: Likewise.
35367         * math/k_cosl.c: Likewise.
35368         * math/k_rem_pio2l.c: Likewise.
35369         * math/k_sinl.c: Likewise.
35370         * math/k_tanl.c: Likewise.
35371         * math/s_asinhl.c: Likewise.
35372         * math/s_atanl.c: Likewise.
35373         * math/s_cbrtl.c: Likewise.
35374         * math/s_erfl.c: Likewise.
35375         * math/s_expm1l.c: Likewise.
35376         * math/s_log1pl.c: Likewise.
35377         * math/s_tanhl.c: Likewise.
35378         * misc/acct.c: Likewise.
35379         * misc/brk.c: Likewise.
35380         * misc/chflags.c: Likewise.
35381         * misc/chroot.c: Likewise.
35382         * misc/fchflags.c: Likewise.
35383         * misc/fgetxattr.c: Likewise.
35384         * misc/flistxattr.c: Likewise.
35385         * misc/fremovexattr.c: Likewise.
35386         * misc/fsetxattr.c: Likewise.
35387         * misc/fsync.c: Likewise.
35388         * misc/ftruncate.c: Likewise.
35389         * misc/futimes.c: Likewise.
35390         * misc/futimesat.c: Likewise.
35391         * misc/getdomain.c: Likewise.
35392         * misc/getdtsz.c: Likewise.
35393         * misc/gethostid.c: Likewise.
35394         * misc/gethostname.c: Likewise.
35395         * misc/getloadavg.c: Likewise.
35396         * misc/getpagesize.c: Likewise.
35397         * misc/getsysstats.c: Likewise.
35398         * misc/getxattr.c: Likewise.
35399         * misc/gtty.c: Likewise.
35400         * misc/ioctl.c: Likewise.
35401         * misc/lgetxattr.c: Likewise.
35402         * misc/listxattr.c: Likewise.
35403         * misc/llistxattr.c: Likewise.
35404         * misc/lremovexattr.c: Likewise.
35405         * misc/lsetxattr.c: Likewise.
35406         * misc/lutimes.c: Likewise.
35407         * misc/madvise.c: Likewise.
35408         * misc/mincore.c: Likewise.
35409         * misc/mlock.c: Likewise.
35410         * misc/mlockall.c: Likewise.
35411         * misc/mmap.c: Likewise.
35412         * misc/mprotect.c: Likewise.
35413         * misc/msync.c: Likewise.
35414         * misc/munlock.c: Likewise.
35415         * misc/munlockall.c: Likewise.
35416         * misc/munmap.c: Likewise.
35417         * misc/preadv.c: Likewise.
35418         * misc/preadv64.c: Likewise.
35419         * misc/ptrace.c: Likewise.
35420         * misc/pwritev.c: Likewise.
35421         * misc/pwritev64.c: Likewise.
35422         * misc/readv.c: Likewise.
35423         * misc/reboot.c: Likewise.
35424         * misc/remap_file_pages.c: Likewise.
35425         * misc/removexattr.c: Likewise.
35426         * misc/revoke.c: Likewise.
35427         * misc/select.c: Likewise.
35428         * misc/setdomain.c: Likewise.
35429         * misc/setegid.c: Likewise.
35430         * misc/seteuid.c: Likewise.
35431         * misc/sethostid.c: Likewise.
35432         * misc/sethostname.c: Likewise.
35433         * misc/setregid.c: Likewise.
35434         * misc/setreuid.c: Likewise.
35435         * misc/setxattr.c: Likewise.
35436         * misc/sstk.c: Likewise.
35437         * misc/stty.c: Likewise.
35438         * misc/swapoff.c: Likewise.
35439         * misc/swapon.c: Likewise.
35440         * misc/sync.c: Likewise.
35441         * misc/syncfs.c: Likewise.
35442         * misc/syscall.c: Likewise.
35443         * misc/truncate.c: Likewise.
35444         * misc/ualarm.c: Likewise.
35445         * misc/usleep.c: Likewise.
35446         * misc/ustat.c: Likewise.
35447         * misc/utimes.c: Likewise.
35448         * misc/vhangup.c: Likewise.
35449         * misc/writev.c: Likewise.
35450         * posix/_exit.c: Likewise.
35451         * posix/alarm.c: Likewise.
35452         * posix/execve.c: Likewise.
35453         * posix/fexecve.c: Likewise.
35454         * posix/fork.c: Likewise.
35455         * posix/fpathconf.c: Likewise.
35456         * posix/getaddrinfo.c: Likewise.
35457         * posix/getegid.c: Likewise.
35458         * posix/geteuid.c: Likewise.
35459         * posix/getgid.c: Likewise.
35460         * posix/getgroups.c: Likewise.
35461         * posix/getlogin.c: Likewise.
35462         * posix/getlogin_r.c: Likewise.
35463         * posix/getpgid.c: Likewise.
35464         * posix/getpid.c: Likewise.
35465         * posix/getppid.c: Likewise.
35466         * posix/getresgid.c: Likewise.
35467         * posix/getresuid.c: Likewise.
35468         * posix/getsid.c: Likewise.
35469         * posix/getuid.c: Likewise.
35470         * posix/glob64.c: Likewise.
35471         * posix/nanosleep.c: Likewise.
35472         * posix/pathconf.c: Likewise.
35473         * posix/pause.c: Likewise.
35474         * posix/posix_madvise.c: Likewise.
35475         * posix/pread.c: Likewise.
35476         * posix/pread64.c: Likewise.
35477         * posix/pwrite.c: Likewise.
35478         * posix/pwrite64.c: Likewise.
35479         * posix/sched_getaffinity.c: Likewise.
35480         * posix/sched_getp.c: Likewise.
35481         * posix/sched_gets.c: Likewise.
35482         * posix/sched_primax.c: Likewise.
35483         * posix/sched_primin.c: Likewise.
35484         * posix/sched_rr_gi.c: Likewise.
35485         * posix/sched_setaffinity.c: Likewise.
35486         * posix/sched_setp.c: Likewise.
35487         * posix/sched_sets.c: Likewise.
35488         * posix/sched_yield.c: Likewise.
35489         * posix/setgid.c: Likewise.
35490         * posix/setlogin.c: Likewise.
35491         * posix/setpgid.c: Likewise.
35492         * posix/setresgid.c: Likewise.
35493         * posix/setresuid.c: Likewise.
35494         * posix/setsid.c: Likewise.
35495         * posix/setuid.c: Likewise.
35496         * posix/sleep.c: Likewise.
35497         * posix/spawni.c: Likewise.
35498         * posix/sysconf.c: Likewise.
35499         * posix/times.c: Likewise.
35500         * posix/wait.c: Likewise.
35501         * posix/wait3.c: Likewise.
35502         * posix/wait4.c: Likewise.
35503         * posix/waitpid.c: Likewise.
35504         * resolv/gai_sigqueue.c: Likewise.
35505         * resource/getpriority.c: Likewise.
35506         * resource/getrlimit.c: Likewise.
35507         * resource/getrusage.c: Likewise.
35508         * resource/nice.c: Likewise.
35509         * resource/setpriority.c: Likewise.
35510         * resource/setrlimit.c: Likewise.
35511         * resource/ulimit.c: Likewise.
35512         * rt/aio_cancel.c: Likewise.
35513         * rt/aio_fsync.c: Likewise.
35514         * rt/aio_read.c: Likewise.
35515         * rt/aio_sigqueue.c: Likewise.
35516         * rt/aio_suspend.c: Likewise.
35517         * rt/aio_write.c: Likewise.
35518         * rt/clock_getres.c: Likewise.
35519         * rt/clock_gettime.c: Likewise.
35520         * rt/clock_nanosleep.c: Likewise.
35521         * rt/clock_settime.c: Likewise.
35522         * rt/lio_listio.c: Likewise.
35523         * rt/mq_close.c: Likewise.
35524         * rt/mq_getattr.c: Likewise.
35525         * rt/mq_notify.c: Likewise.
35526         * rt/mq_open.c: Likewise.
35527         * rt/mq_receive.c: Likewise.
35528         * rt/mq_send.c: Likewise.
35529         * rt/mq_setattr.c: Likewise.
35530         * rt/mq_timedreceive.c: Likewise.
35531         * rt/mq_timedsend.c: Likewise.
35532         * rt/mq_unlink.c: Likewise.
35533         * rt/shm_open.c: Likewise.
35534         * rt/shm_unlink.c: Likewise.
35535         * rt/timer_create.c: Likewise.
35536         * rt/timer_delete.c: Likewise.
35537         * rt/timer_getoverr.c: Likewise.
35538         * rt/timer_gettime.c: Likewise.
35539         * rt/timer_settime.c: Likewise.
35540         * setjmp/__longjmp.c: Likewise.
35541         * setjmp/setjmp.c: Likewise.
35542         * signal/kill.c: Likewise.
35543         * signal/killpg.c: Likewise.
35544         * signal/raise.c: Likewise.
35545         * signal/sigaction.c: Likewise.
35546         * signal/sigaltstack.c: Likewise.
35547         * signal/sigblock.c: Likewise.
35548         * signal/sigignore.c: Likewise.
35549         * signal/sigintr.c: Likewise.
35550         * signal/signal.c: Likewise.
35551         * signal/sigpause.c: Likewise.
35552         * signal/sigpending.c: Likewise.
35553         * signal/sigqueue.c: Likewise.
35554         * signal/sigreturn.c: Likewise.
35555         * signal/sigset.c: Likewise.
35556         * signal/sigsetmask.c: Likewise.
35557         * signal/sigstack.c: Likewise.
35558         * signal/sigsuspend.c: Likewise.
35559         * signal/sigtimedwait.c: Likewise.
35560         * signal/sigvec.c: Likewise.
35561         * signal/sigwait.c: Likewise.
35562         * signal/sigwaitinfo.c: Likewise.
35563         * signal/sysv_signal.c: Likewise.
35564         * socket/accept.c: Likewise.
35565         * socket/accept4.c: Likewise.
35566         * socket/bind.c: Likewise.
35567         * socket/connect.c: Likewise.
35568         * socket/getpeername.c: Likewise.
35569         * socket/getsockname.c: Likewise.
35570         * socket/getsockopt.c: Likewise.
35571         * socket/isfdtype.c: Likewise.
35572         * socket/listen.c: Likewise.
35573         * socket/recv.c: Likewise.
35574         * socket/recvfrom.c: Likewise.
35575         * socket/recvmsg.c: Likewise.
35576         * socket/send.c: Likewise.
35577         * socket/sendmsg.c: Likewise.
35578         * socket/sendto.c: Likewise.
35579         * socket/setsockopt.c: Likewise.
35580         * socket/shutdown.c: Likewise.
35581         * socket/sockatmark.c: Likewise.
35582         * socket/socket.c: Likewise.
35583         * socket/socketpair.c: Likewise.
35584         * stdio-common/ctermid.c: Likewise.
35585         * stdio-common/cuserid.c: Likewise.
35586         * stdio-common/remove.c: Likewise.
35587         * stdio-common/rename.c: Likewise.
35588         * stdio-common/renameat.c: Likewise.
35589         * stdio-common/tempname.c: Likewise.
35590         * stdlib/getcontext.c: Likewise.
35591         * stdlib/makecontext.c: Likewise.
35592         * stdlib/setcontext.c: Likewise.
35593         * stdlib/swapcontext.c: Likewise.
35594         * stdlib/system.c: Likewise.
35595         * streams/fattach.c: Likewise.
35596         * streams/fdetach.c: Likewise.
35597         * streams/getmsg.c: Likewise.
35598         * streams/getpmsg.c: Likewise.
35599         * streams/putmsg.c: Likewise.
35600         * streams/putpmsg.c: Likewise.
35601         * sysdeps/unix/bsd/getpt.c: Likewise.
35602         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35603         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35604         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35606         Likewise.
35607         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35608         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35609         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35610         * sysvipc/msgctl.c: Likewise.
35611         * sysvipc/msgget.c: Likewise.
35612         * sysvipc/msgrcv.c: Likewise.
35613         * sysvipc/msgsnd.c: Likewise.
35614         * sysvipc/semctl.c: Likewise.
35615         * sysvipc/semget.c: Likewise.
35616         * sysvipc/semop.c: Likewise.
35617         * sysvipc/semtimedop.c: Likewise.
35618         * sysvipc/shmat.c: Likewise.
35619         * sysvipc/shmctl.c: Likewise.
35620         * sysvipc/shmdt.c: Likewise.
35621         * sysvipc/shmget.c: Likewise.
35622         * termios/tcdrain.c: Likewise.
35623         * termios/tcflow.c: Likewise.
35624         * termios/tcflush.c: Likewise.
35625         * termios/tcgetattr.c: Likewise.
35626         * termios/tcgetpgrp.c: Likewise.
35627         * termios/tcsendbrk.c: Likewise.
35628         * termios/tcsetattr.c: Likewise.
35629         * termios/tcsetpgrp.c: Likewise.
35630         * time/adjtime.c: Likewise.
35631         * time/clock.c: Likewise.
35632         * time/getitimer.c: Likewise.
35633         * time/gettimeofday.c: Likewise.
35634         * time/setitimer.c: Likewise.
35635         * time/settimeofday.c: Likewise.
35636         * time/stime.c: Likewise.
35637         * time/time.c: Likewise.
35639 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
35641         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35642         /usr/old/bin.
35644         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35645         instead of spaces.
35646         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35648 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
35650         [BZ #14796]
35651         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35652         FE_TONEAREST before applying Dekker multiplication and Knuth
35653         addition.  Clear inexact exceptions and check for exact zero
35654         results afterwards.
35655         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35656         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35657         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35658         * math/libm-test.inc (fma_test): Add more tests.
35659         (fma_test_towardzero): Likewise.
35660         (fma_test_downward): Likewise.
35661         (fma_test_upward): Likewise.
35662         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35663         function.
35664         (libc_fesetround): New macro.
35665         (libc_fesetroundf): Likewise.
35666         (libc_fesetroundl): Likewise.
35667         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35668         function.
35669         (libc_fesetround_387): Likewise.
35670         (libc_fesetroundf): New macro.
35671         (libc_fesetround): Likewise.
35672         (libc_fesetroundl): Likewise.
35673         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35674         function.
35675         (libc_fesetroundf): New macro.
35676         (libc_fesetround): Likewise.
35677         (libc_fesetroundl): Likewise.
35678         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35679         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35680         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35681         libm_hidden_ver.
35682         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35683         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35684         libm_hidden_def.
35685         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35686         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35687         libm_hidden_ver.
35688         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35689         libm_hidden_def.
35691         [BZ #3439]
35692         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35693         integer constant usable in #if and use that to give value to enum
35694         constant.
35695         (FE_DIVBYZERO): Likewise.
35696         (FE_UNDERFLOW): Likewise.
35697         (FE_OVERFLOW): Likewise.
35698         (FE_INVALID): Likewise.
35699         (FE_INVALID_SNAN): Likewise.
35700         (FE_INVALID_ISI): Likewise.
35701         (FE_INVALID_IDI): Likewise.
35702         (FE_INVALID_ZDZ): Likewise.
35703         (FE_INVALID_IMZ): Likewise.
35704         (FE_INVALID_COMPARE): Likewise.
35705         (FE_INVALID_SOFTWARE): Likewise.
35706         (FE_INVALID_SQRT): Likewise.
35707         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35708         (FE_TONEAREST): Likewise.
35709         (FE_TOWARDZERO): Likewise.
35710         (FE_UPWARD): Likewise.
35711         (FE_DOWNWARD): Likewise.
35712         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35713         (FE_DIVBYZERO): Likewise.
35714         (FE_OVERFLOW): Likewise.
35715         (FE_UNDERFLOW): Likewise.
35716         (FE_INEXACT): Likewise.
35717         (FE_TONEAREST): Likewise.
35718         (FE_DOWNWARD): Likewise.
35719         (FE_UPWARD): Likewise.
35720         (FE_TOWARDZERO): Likewise.
35721         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35722         (FE_UNDERFLOW): Likewise.
35723         (FE_OVERFLOW): Likewise.
35724         (FE_DIVBYZERO): Likewise.
35725         (FE_INVALID): Likewise.
35726         (FE_TONEAREST): Likewise.
35727         (FE_TOWARDZERO): Likewise.
35728         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35729         (FE_OVERFLOW): Likewise.
35730         (FE_UNDERFLOW): Likewise.
35731         (FE_DIVBYZERO): Likewise.
35732         (FE_INEXACT): Likewise.
35733         (FE_TONEAREST): Likewise.
35734         (FE_TOWARDZERO): Likewise.
35735         (FE_UPWARD): Likewise.
35736         (FE_DOWNWARD): Likewise.
35737         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35738         (FE_DIVBYZERO): Likewise.
35739         (FE_OVERFLOW): Likewise.
35740         (FE_UNDERFLOW): Likewise.
35741         (FE_INEXACT): Likewise.
35742         (FE_TONEAREST): Likewise.
35743         (FE_DOWNWARD): Likewise.
35744         (FE_UPWARD): Likewise.
35745         (FE_TOWARDZERO): Likewise.
35747 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35749         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35751 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35753         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35754         commands.  Quote $PWD.
35755         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35756         -x" by "export".
35757         (remove_newlines): Remove.
35759 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35761         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35762         * stdlib/stdlib.h (atof): Moved to ...
35763         * include/bits/stdlib-float.h: Here.  New file.
35764         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35765         * stdlib/bits/stdlib-float.h: New file.
35766         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35767         -mno-sse -mno-mmx.
35768         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35769         <xmmintrin.h>.
35771 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35773         * conform/conformtest.pl (@headers): Add fenv.h.
35774         * conform/data/fenv.h-data: New file.
35775         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35776         include of <math/fenv.h>.
35778         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35779         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35780         && !UNIX98].  Enables tests for XOPEN2K8.
35781         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35782         POSIX2008]: Likewise.
35784         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35785         (struct rusage): Do not expect type or its members.
35787         [BZ #3439]
35788         * math/math.h (FP_NAN): Define macro to integer constant usable in
35789         #if and use that to give value to enum constant.
35790         (FP_INFINITE): Likewise.
35791         (FP_ZERO): Likewise.
35792         (FP_SUBNORMAL): Likewise.
35793         (FP_NORMAL): Likewise.
35795 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35797         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35798         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35799         arguments.
35801 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35803         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35804         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35805         autoconf-time if not.
35806         * configure.in: Remove AC_PREREQ.
35808 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35810         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35811         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35812         of the internal implementation.
35814 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35816         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35817         except include of <misc/sys/syslog.h>.
35819 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35822         function returns with a NULL context exit with zero.
35824 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35826         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35828 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35830         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35831         (run_program_cmd): This.
35832         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35833         (tst_langinfo): New variable.  Use it.
35835 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35837         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35838         floating point opcodes.
35840 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35842         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35843         variable.
35845         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35847         * sysdeps/mach/hurd/powerpc: Remove directory.
35848         * sysdeps/mach/powerpc: Likewise.
35850 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35852         * scripts/check-local-headers.sh: Ignore c++ headers.
35854 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35856         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35857         __libc_cleanup_region_start argument.
35859 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35861         [BZ #14784]
35862         [BZ #14785]
35863         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35864         x * y using scaling, not as x * y + z.
35865         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35866         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35867         * math/libm-test.inc (fma_test): Add more tests.
35868         (fma_test_towardzero): Likewise.
35869         (fma_test_downward): Likewise.
35870         (fma_test_upward): Likewise.
35872 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35874         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35876 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35878         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35879         New variable.
35881 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35883         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35885 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35888         Fix sort order.
35889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35890         Likewise.
35892 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35895         Fix the order of the list for glibc 2.17.
35896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35897         Likewise.
35899 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35903 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35905         [BZ #14610]
35906         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35907         for low part of x being zero before using __atanl (y).
35908         * math/libm-test.inc (atan2_test): Add another test.
35910         * manual/install.texi (Configuring and compiling): Document
35911         general use of test-wrapper and test-wrapper-env.
35912         * INSTALL: Regenerated.
35914         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35915         (__fma): Do not extract and scale down low bits on after-rounding
35916         systems when result rounded to normal precision would have normal
35917         exponent.
35918         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35919         (__fmal): Do not extract and scale down low bits on after-rounding
35920         systems when result rounded to normal precision would have normal
35921         exponent.
35922         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35923         (__fmal): Do not extract and scale down low bits on after-rounding
35924         systems when result rounded to normal precision would have normal
35925         exponent.
35926         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35927         macro.
35928         (fma_test): Add more tests.
35929         (fma_test_towardzero): Likewise.
35930         (fma_test_downward): Likewise.
35931         (fma_test_upward): Likewise.
35933 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35935         * sysdeps/i386/tininess.h: Renamed to ...
35936         * sysdeps/x86/tininess.h: This.
35937         * sysdeps/x86_64/tininess.h: Removed.
35939 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35941         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35942         input.  Use $(build-program-cmd).
35943         ($(objpfx)tst-array1-static.out): Likewise.
35944         ($(objpfx)tst-array2.out): Likewise.
35945         ($(objpfx)tst-array3.out): Likewise.
35946         ($(objpfx)tst-array4.out): Likewise.
35947         ($(objpfx)tst-array5.out): Likewise.
35948         ($(objpfx)tst-array5-static.out): Likewise.
35950 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35952         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35953         if defined.
35955         * nss/nsswitch.h (nss_interface_function): Provide new
35956         macro for use with NSS functions.
35957         * grp/initgroups.c: Use new macro.
35958         * nss/getXXbyYY.c: Likewise.
35959         * nss/getXXbyYY_r.c: Likewise.
35960         * nss/getXXent.c: Likewise.
35961         * nss/getXXent_r.c: Likewise.
35962         * sysdeps/posix/getaddrinfo.c: Likewise.
35964 2012-10-30  Andreas Jaeger  <aj@suse.de>
35966         * po/ru.po: Update Russion translation from translation project.
35968 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35970         [BZ #14152]
35971         [BZ #14783]
35972         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35973         result and shift together with sticky bit instead of replicating
35974         round-to-nearest rounding.
35975         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35976         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35977         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35978         missing underflow exceptions.
35979         (fma_test_towardzero): Add more tests.
35980         (fma_test_downward): Likewise.
35981         (fma_test_upward): Likewise.
35983         [BZ #14047]
35984         * sysdeps/generic/tininess.h: New file.
35985         * sysdeps/i386/tininess.h: Likewise.
35986         * sysdeps/sh/tininess.h: Likewise.
35987         * sysdeps/x86_64/tininess.h: Likewise.
35988         * stdlib/tst-strtod-underflow.c: Likewise.
35989         * stdlib/tst-tininess.c: Likewise.
35990         * stdlib/strtod_l.c: Include <tininess.h>.
35991         (round_and_return): Do not set errno for exact underflow cases.
35992         Force an underflow exception when setting errno for underflow.
35993         Determine underflow based on rounding to normal precision if
35994         TININESS_AFTER_ROUNDING.
35995         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35996         ERANGE for exact underflow cases.
35997         * stdlib/Makefile (tests): Add tst-tininess and
35998         tst-strtod-underflow.
35999         ($(objpfx)tst-tininess): Use $(link-libm).
36000         ($(objpfx)tst-strtod-underflow): Likewise.
36002 2012-10-30  Andreas Jaeger  <aj@suse.de>
36004         [BZ#14767]
36005         * elf/Makefile (tests): Remove conditional for have-initfini-array
36006         since this is now always required and the variable does not exist
36007         anymore.
36008         (tests-static): Likewise.
36009         (modules-names): Likewise.
36011         * po/eo.po: Add Esperanto translation from translation project.
36013         * elf/tst-array1.c (fini_array): Make writeable so that it can be
36014         merged with constructor/destructor.
36015         (init_array): Likewise.
36016         * elf/tst-array2dep.c (fini_array): Likewise.
36017         (init_array): Likewise.
36019 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
36021         * manual/message.texi: Delete @cartouche tags.
36023 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
36025         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36026         EOPNOTSUPP.
36027         * sysdeps/mach/hurd/fsync.c: Likewise.
36029         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36030         [_POSIX_REALTIME_SIGNALS]: Change condition to
36031         [_POSIX_REALTIME_SIGNALS > 0].
36033 2012-10-27  Andreas Jaeger  <aj@suse.de>
36035         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36036         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36037         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36038         [__WORDSIZE != 64]: Likewise.
36040 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
36042         *  iconvdata/tst-table.sh: Remove ${SHELL}.
36043         *  iconvdata/tst-tables.sh: Likewise.
36045 2012-10-25  David S. Miller  <davem@davemloft.net>
36047         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36048         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36049         of strtoull.
36051         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36052         ifunc-impl-list.c
36053         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36054         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36055         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36056         file.
36058 2012-10-25  Roland McGrath  <roland@hack.frob.com>
36060         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36061         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36062         __getdirentries.
36064 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36065             Jim Blandy  <jimb@codesourcery.com>
36067         * scripts/cross-test-ssh.sh: New file.
36068         * manual/install.texi (Configuring and compiling): Document use of
36069         cross-test-ssh.sh.
36070         * INSTALL: Regenerated.
36072 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
36074         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36075         EOPNOTSUPP.
36077 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36079         * Makeconfig (run-program-prefix): Fix comment.
36081 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36082             Jim Blandy  <jimb@codesourcery.com>
36084         * Makeconfig (test-wrapper): New variable,
36085         (test-wrapper-env): Likewise.
36086         [$(cross-compiling) = yes && $(test-wrapper) != ""]
36087         (run-built-tests): Define to yes.
36088         (run-program-prefix): Use $(test-wrapper).
36089         (built-program-cmd): Likewise.
36090         * Rules (make-test-out): Use $(test-wrapper-env) and
36091         $(host-built-program-cmd).
36092         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36093         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36094         tst-pathopt.sh.
36095         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36096         $(test-wrapper-env) to tst-rtld-load-self.sh.
36097         ($(objpfx)order2.out): Use $(test-wrapper).
36098         ($(objpfx)tst-initorder.out): Likewise.
36099         ($(objpfx)tst-initorder2.out): Likewise.
36100         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36101         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36102         (test_wrapper_env): New variable.  Use it to run ld.so.
36103         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36104         Use it to run ld.so.
36105         (test_wrapper_env): Likewise.
36106         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36107         $(test-wrapper) to run-iconv-test.sh.
36108         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36109         (ICONV): Use $test_wrapper.
36110         * posix/Makefile ($(objpfx)globtest.out): Pass
36111         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36112         globtest.sh, not $(run-program-prefix).
36113         * posix/globtest.sh (run_via_rtld_prefix): New variable.
36114         (test_wrapper): Likewise.
36115         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
36116         set together with run_via_rtld_prefix.
36117         (run_program_prefix): Define in terms of test_wrapper and
36118         run_via_rtld_prefix.
36120 2012-10-24  Roland McGrath  <roland@hack.frob.com>
36122         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36123         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36124         Targets removed.
36126         [BZ #14743]
36127         * include/time.h: Remove librt_hidden_proto (clock_gettime).
36128         Declare __clock_getres, __clock_gettime, __clock_settime,
36129         __clock_nanosleep, and __clock_getcpuclockid.
36130         * rt/clock_gettime.c: Define __clock_gettime as an alias.
36131         Remove librt_hidden_def (clock_gettime).
36132         * sysdeps/unix/clock_gettime.c: Likewise.
36133         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36134         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36135         * rt/clock_getres.c: Define __clock_getres as an alias.
36136         * sysdeps/posix/clock_getres.c: Likewise.
36137         * rt/clock_settime.c: Define __clock_settime as an alias.
36138         * sysdeps/unix/clock_settime.c: Likewise.
36139         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36140         * sysdeps/unix/clock_nanosleep.c: Likewise.
36141         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36142         * rt/clock-compat.c: New file.
36143         * rt/Makefile (librt-routines): Add clock-compat and move
36144         $(clock-routines) to ...
36145         (routines): ... here, new variable.
36146         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36147         Don't add get_clockfreq here.
36148         * rt/Versions (libc: GLIBC_2.17): New version set.
36149         Add clock_* symbols here.
36150         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
36151         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36152         (GLIBC_2.17): Add clock_* symbols.
36153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36155         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36157         Likewise.
36158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36159         Likewise.
36160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36164         * NEWS: Mention the move.
36166         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36167         Use __open, __read, __close rather than their public counterparts.
36168         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36169         (__get_clockfreq_via_cpuinfo): Likewise.
36170         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36171         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36173         * config.h.in (HAVE_IFUNC): New #undef.
36174         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36175         was successful.
36176         * configure: Regenerated.
36178 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36180         * configure.in: Move READELF check to start of file.
36181         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36182         libc_cv_asm_gnu_indirect_function in the process.
36183         * configure: Regenerated.
36185 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36187         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36188         send the output to /dev/null.
36189         (libc_cv_cc_with_libunwind): Likewise.
36190         (libc_cv_as_noexecstack): Likewise.
36191         * configure: Regenerate.
36193 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36195         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36197         * posix/globtest.sh (TMPDIR): Do not set.
36198         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36199         (testout): Likewise.
36201 2012-10-24  Andreas Jaeger  <aj@suse.de>
36203         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36204         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36205         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36206         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36207         posix_fadvise64, posix_fallocate64.
36209         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36210         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36211         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36212         Likewise.
36213         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36214         Likewise.
36215         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36217         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36218         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36219         <bits/fcntl-linux.h>.
36220         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36222         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36223         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36224         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36225         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36226         [__WORDSIZE != 64]: Likewise.
36228 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36230         * Makeconfig (run-built-tests): New variable.
36231         * Rules [$(cross-compiling) = yes]: Change condition to
36232         [$(run-built-tests) = no].
36233         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36234         to [$(run-built-tests) = yes].
36235         * elf/Makefile [$(cross-compiling) = no]: Likewise
36236         * grp/Makefile [$(cross-compiling) = no]: Likewise.
36237         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36238         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36239         * intl/Makefile [$(cross-compiling) = no]: Likewise.
36240         * io/Makefile [$(cross-compiling) = no]: Likewise.
36241         * libio/Makefile [$(cross-compiling) = no]: Likewise.
36242         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36243         * misc/Makefile [$(cross-compiling) = no]: Likewise.
36244         * posix/Makefile [$(cross-compiling) = no]: Likewise.
36245         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36246         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36247         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36248         * string/Makefile [$(cross-compiling) = no]: Likewise.
36250         * posix/Makefile ($(objpfx)globtest.out): Pass
36251         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36252         $(rtld-installed-name).
36253         * posix/globtest.sh (elf_objpfx): Remove variable.
36254         (rtld_installed_name): Likewise.
36255         (library_path): Likewise.
36256         (run_program_prefix): New variable.  Use for running globtest
36257         binary.
36259 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
36260             Joseph Myers  <joseph@codesourcery.com>
36262         * Makeconfig (host-built-program-cmd): New variable.
36263         * elf/Makefile (tst-stackguard1-ARGS): Use
36264         $(host-built-program-cmd).
36265         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36266         (tst-spawn-ARGS): Likewise.
36267         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36269 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36270             Jim Blandy  <jimb@codesourcery.com>
36272         * Makeconfig (run-via-rtld-prefix): New variable.
36273         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36274         (built-program-cmd): Likewise.
36276 2012-10-22  Andreas Jaeger  <aj@suse.de>
36278         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36279         __O_RSYNC if it exists, otherwise to O_SYNC.
36281 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
36282             Joseph Myers  <joseph@codesourcery.com>
36284         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36285         /dev/null.
36286         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36287         from /dev/null
36288         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36289         /dev/null.
36291 2012-10-22  Andreas Jaeger  <aj@suse.de>
36293         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36294         Define always.
36295         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36298         bits/fcntl-linux.h.
36300         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36301         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36303         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36304         to __O_LARGEFILE.
36305         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36306         to __O_LARGEFILE.
36308 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
36309             Joseph Myers  <joseph@codesourcery.com>
36311         * config.make.in (NM): New variable.
36313 2012-10-21  Andreas Jaeger  <aj@suse.de>
36315         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36316         definitions and declarations that are provided by
36317         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36319 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36321         [BZ #14683]
36322         * elf/Makefile (tests-static): Add tst-leaks1-static.
36323         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36324         ($(objpfx)tst-leaks1-static): New rule.
36325         ($(objpfx)tst-leaks1-static-mem): Likewise.
36326         (tst-leaks1-static-ENV): New macro.
36327         * elf/dl-open.c (dl_open_worker): Check the main application
36328         only if SHARED is defined.
36329         * elf/tst-leaks1-static.c: New file.
36331 2012-10-20  Andreas Jaeger  <aj@suse.de>
36333         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36334         generic values for Linux.
36335         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36336         and declarations that are provided by <bits/fcntl-linux.h> and
36337         include <bits/fcntl-linux.h>.
36338         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36339         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36341 2012-10-20  Roland McGrath  <roland@hack.frob.com>
36343         * io/fcntl.h: Move include of <bits/types.h> to the top and
36344         include it unconditionally.
36346 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36348         * wcsmbs/Makefile (tests-ifunc): New variable.
36349         (tests): Add $(tests-ifunc).
36350         * wcsmbs/test-wcschr-ifunc.c: New file.
36351         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36352         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36353         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36354         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36355         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36357         * string/Makefile (tests-ifunc): New variable.
36358         (tests): Add $(tests-ifunc).
36359         * string/test-memccpy.c (TEST_NAME): New macro.
36360         * string/test-memchr.c (TEST_NAME): Likewise.
36361         * string/test-memcmp.c (TEST_NAME): Likewise.
36362         * string/test-memcpy.c (TEST_NAME): Likewise.
36363         * string/test-memmem.c (TEST_NAME): Likewise.
36364         * string/test-memmove.c (TEST_NAME): Likewise.
36365         * string/test-memset.c (TEST_NAME): Likewise.
36366         * string/test-rawmemchr.c (TEST_NAME): Likewise.
36367         * string/test-stpcpy.c (TEST_NAME): Likewise.
36368         * string/test-stpncpy.c (TEST_NAME): Likewise.
36369         * string/test-strcasecmp.c (TEST_NAME): Likewise.
36370         * string/test-strcasestr.c (TEST_NAME): Likewise.
36371         * string/test-strcat.c (TEST_NAME): Likewise.
36372         * string/test-strchr.c (TEST_NAME): Likewise.
36373         * string/test-strcmp.c(TEST_NAME): Likewise.
36374         * string/test-strcpy.c (TEST_NAME): Likewise.
36375         * string/test-strcspn.c (TEST_NAME): Likewise.
36376         * string/test-strlen.c (TEST_NAME): Likewise.
36377         * string/test-strncasecmp.c (TEST_NAME): Likewise.
36378         * string/test-strncmp.c (TEST_NAME): Likewise.
36379         * string/test-strncpy.c (TEST_NAME): Likewise.
36380         * string/test-strnlen.c (TEST_NAME): Likewise.
36381         * string/test-strpbrk.c (TEST_NAME): Likewise.
36382         * string/test-strrchr.c (TEST_NAME): Likewise.
36383         * string/test-strspn.c (TEST_NAME): Likewise.
36384         * string/test-strstr.c (TEST_NAME): Likewise.
36385         * string/test-bcopy-ifunc.c: New file.
36386         * string/test-bzero-ifunc.c: Likewise.
36387         * string/test-memccpy-ifunc.c: Likewise.
36388         * string/test-memchr-ifunc.c: Likewise.
36389         * string/test-memcmp-ifunc.c: Likewise.
36390         * string/test-memcpy-ifunc.c: Likewise.
36391         * string/test-memmem-ifunc.c: Likewise.
36392         * string/test-memmove-ifunc.c: Likewise.
36393         * string/test-mempcpy-ifunc.c: Likewise.
36394         * string/test-memset-ifunc.c: Likewise.
36395         * string/test-rawmemchr-ifunc.c: Likewise.
36396         * string/test-stpcpy-ifunc.c: Likewise.
36397         * string/test-stpncpy-ifunc.c: Likewise.
36398         * string/test-strcasecmp-ifunc.c: Likewise.
36399         * string/test-strcasestr-ifunc.c: Likewise.
36400         * string/test-strcat-ifunc.c: Likewise.
36401         * string/test-strchr-ifunc.c: Likewise.
36402         * string/test-strchrnul-ifunc.c: Likewise.
36403         * string/test-strcmp-ifunc.c: Likewise.
36404         * string/test-strcpy-ifunc.c: Likewise.
36405         * string/test-strcspn-ifunc.c: Likewise.
36406         * string/test-strlen-ifunc.c: Likewise.
36407         * string/test-strncasecmp-ifunc.c: Likewise.
36408         * string/test-strncat-ifunc.c: Likewise.
36409         * string/test-strncmp-ifunc.c: Likewise.
36410         * string/test-strncpy-ifunc.c: Likewise.
36411         * string/test-strnlen-ifunc.c: Likewise.
36412         * string/test-strpbrk-ifunc.c: Likewise.
36413         * string/test-strrchr-ifunc.c: Likewise.
36414         * string/test-strspn-ifunc.c: Likewise.
36415         * string/test-strstr-ifunc.c: Likewise.
36417         * debug/Makefile (tests-ifunc): New variable.
36418         (tests): Add $(tests-ifunc).
36419         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36420         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36421         * debug/test-stpcpy_chk-ifunc.c: New file.
36422         * debug/test-strcpy_chk-ifunc.c: Likewise.
36424 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36426         [BZ #13601]
36427         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36428         header is not read in.
36430 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36432         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36433         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36434         directly.  Pass built executable to script as
36435         $(built-program-cmd).
36436         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36437         $testprogram without using LD_LIBRARY_PATH and $ldso.
36439         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36440         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36441         $(rtld-installed-name).
36442         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36443         (rtld_installed_name): Likewise.
36444         (library_path): Likewise.
36445         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36446         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36447         $(run-program-prefix) to tst-tables.sh.
36448         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36449         it to run tst-table-from and tst-table-to.
36450         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36451         Pass it to tst-table.sh.
36452         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36453         $(run-program-prefix) to tst-gettext.sh.
36454         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36455         tst-translit.sh.
36456         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36457         tst-gettext2.sh.
36458         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36459         to run tst-gettext.
36460         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36461         to run tst-gettext2.
36462         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36463         to run tst-translit.
36464         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36465         $(run-program-prefix) to tst-mtrace.sh.
36466         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36467         to run tst-mtrace.
36468         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36469         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36470         $(rtld-installed-name).
36471         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36472         (rtld_installed_name): Likewise.
36473         (run_program_prefix): New variable.  Use it to run wordexp-test.
36475         * Makeconfig (ARCH): Remove all definitions.
36476         (machine): Likewise.
36477         [ARCH]: Remove conditional code.
36478         [!objdir]: Give error.
36479         [!objdir] (objpfx): Remove.
36480         [!objdir] (common-objpfx): Likewise.
36481         [!objdir] (common-objdir): Likewise.
36482         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36483         AC_CONFIG_FILES call.
36484         * configure: Regenerated.
36486         [BZ #13888]
36487         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36488         or TMPDIR.
36489         (testout): Likewise.
36491         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36492         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36493         $(rtld-installed-name).
36494         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36495         (rtld_installed_name): Likwise.
36496         (runit): Remove function.
36497         (run_getconf): New variable,  Use it for running getconf binary.
36499 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36501         [BZ #14716]
36502         * string/test-memmem.c (check_result): New function.
36503         (do_one_test): Use it.
36504         (check1): New function.
36505         (test_main): Use it.
36507 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36509         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36511 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36513         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36514         (_G_LSEEK64): Likewise.
36515         (_G_MMAP64): Likewise.
36516         (_G_FSTAT64): Likewise.
36517         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36518         (_G_LSEEK64): Likewise.
36519         (_G_MMAP64): Likewise.
36520         (_G_FSTAT64): Likewise.
36521         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36522         unconditional.  Call __mmap64 directly.
36523         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36524         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36525         __lseek64 directly.
36526         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36527         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36528         __mmap64 directly.
36529         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36530         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36531         __lseek64 directly.
36532         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36533         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36534         __lseek64 directly.
36535         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36536         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36537         __lseek64 directly.
36538         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36539         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36540         __fxstat64 directly.
36541         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36542         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36543         unconditional.
36544         (freopen64) [!_G_OPEN64]: Remove conditional code.
36545         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36546         unconditional.
36547         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36548         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36549         unconditional.
36550         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36551         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36552         unconditional.
36553         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36554         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36555         unconditional.
36556         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36557         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36558         unconditional.
36559         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36560         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36561         unconditional.
36562         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36563         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36564         unconditional.
36565         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36567 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36569         [BZ #12140]
36570         * manual/memory.texi (Malloc Tunable Parameters): Add note
36571         about free list pointers overwriting some perturb bytes.
36572         Wording suggested by Roland McGrath.
36574 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36576         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36577         (lgamma_test): Likewise.
36578         (tgamma_test): Likewise.
36580 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36582         [BZ #14700]
36583         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36584         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36586 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36588         * NEWS: Mention BZ #14716.
36589         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36590         when removing AVAILABLE1_USES_J macro.
36592 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
36594         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36595         (__bswap_64): __uint64_t for unsigned 64-bit int.
36597 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
36599         * include/string.h (memmem): Declare libc hidden alias.
36600         * string/memmem.c (memmem): Define libc hidden alias.
36601         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36602         __read, __close instead of open, read, close.
36604 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
36606         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36607         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36608         global and hidden.
36609         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36610         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36611         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36612         Likewise.
36613         (__rawmemchr_sse2): Likewise.
36614         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36615         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36616         (__strchr_sse2): Likewise.
36617         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36618         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36619         (__strcasecmp_sse2): Likewise.
36620         (__strncasecmp_sse2): Likewise.
36621         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36622         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36623         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36624         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36625         (__strrchr_sse2): Likewise.
36626         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36627         ifunc-impl-list.c.
36628         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36629         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36630         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36631         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36632         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36633         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36634         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36635         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36636         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36637         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36638         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36639         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36640         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36641         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36642         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36643         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36644         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36645         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36646         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36647         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36648         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36649         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36650         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36651         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36652         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36653         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36654         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36655         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36656         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36657         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36659         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36660         global and hidden.
36661         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36662         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36663         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36664         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36665         Likewise.
36666         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36667         Likewise.
36668         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36669         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36670         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36671         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36672         ifunc-impl-list.c.
36673         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36674         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36675         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36676         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36677         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36678         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36679         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36680         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36681         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36682         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36683         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36684         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36685         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36686         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36687         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36688         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36689         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36690         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36691         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36692         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36693         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36694         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36695         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36696         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36697         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36698         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36699         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36700         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36701         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36702         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36703         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36704         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36705         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36706         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36707         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36708         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36709         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36710         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36711         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36712         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36713         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36715         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36716         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36717         * include/ifunc-impl-list.h: New file.
36718         * misc/ifunc-impl-list.c: Likewise.
36719         * misc/Makefile (routines): Add ifunc-impl-list.
36720         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36721         * string/test-string.h: Include <ifunc-impl-list.h>.
36722         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36723         TEST_NAME]: New variables.
36724         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36725         are defined.
36726         (test_init): Call __libc_ifunc_impl_list to initialize
36727         func_list if TEST_IFUNC and TEST_NAME are defined.
36729         * string/Makefile (strop-tests): Add bcopy and bzero.
36730         * string/test-bcopy.c: New file.
36731         * string/test-bzero.c: Likewise.
36732         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36733         defined.
36734         * string/test-memset.c: Support bzero test if TEST_BZERO is
36735         defined.
36736         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36737         __libc_memmove.
36738         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36739         __libc_memset.
36740         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36741         of memset.
36743 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36745         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36746         * configure: Regenerated.
36748         * Makeconfig (+link-static-before-libc): Don't include
36749         $(link-static-libc).
36751         * libio/libio.h (_IO_pos_t): Remove.
36753 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36755         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36756         McGrath.
36758 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36760         * crypt/crypt-entry.c: Include fips-private.h.
36761         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36762         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36763         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36764         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36766 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36768         * crypt/crypt-private.h: Include stdbool.h.
36769         (_ufc_setup_salt_r): Return bool.
36770         * crypt/crypt-entry.c: Include errno.h.
36771         (__crypt_r): Return NULL with EINVAL for bad salt.
36772         * crypt/crypt_util.c (bad_for_salt): New.
36773         (_ufc_setup_salt_r): Check that salt is long enough and within
36774         the specified alphabet.
36775         * crypt/badsalttest.c: New file.
36776         * crypt/Makefile (tests): Add it.
36777         ($(objpfx)badsalttest): New.
36779 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36781         * NEWS: Add entry for BZ #14602.
36783 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36785         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36786         type-generic.
36787         * math/libm-test.inc: Update comment listing what functions and
36788         macros are tested.
36789         (isgreater_test): New function.
36790         (isgreaterequal_test): Likewise.
36791         (isless_test): Likewise.
36792         (islessequal_test): Likewise.
36793         (islessgreater_test): Likewise.
36794         (isunordered_test): Likewise.
36795         (main): Call the new functions.
36797 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36799         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36800         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36801         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36802         * sysdeps/i386/configure: Regenerated.
36803         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36804         * sysdeps/mach/configure: Regenerated.
36805         * sysdeps/mach/hurd/configure: Regenerated.
36806         * sysdeps/powerpc/configure: Regenerated.
36807         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36808         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36809         * sysdeps/s390/s390-32/configure: Regenerated.
36810         * sysdeps/s390/s390-64/configure: Regenerated.
36811         * sysdeps/sh/configure: Regenerated.
36812         * sysdeps/sparc/configure: Regenerated.
36813         * sysdeps/unix/sysv/linux/configure: Regenerated.
36814         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36815         * sysdeps/x86_64/configure: Regenerated.
36817         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36818         defined.  Don't check if MAP is NULL.
36820 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36822         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36823         (_G_stat64): Likewise.
36824         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36825         (_G_stat64): Likewise.
36826         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36827         instead of struct _G_stat64.
36828         * libio/fileops.c (mmap_remap_check): Likewise.
36829         (decide_maybe_mmap): Likewise.
36830         (_IO_new_file_seekoff): Likewise.
36831         (_IO_file_stat): Likewise.
36832         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36833         _G_off64_t.
36834         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36835         instead of struct _G_stat64.
36836         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36838 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36840         [BZ #14602]
36841         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36842         Replace with ...
36843         (CHECK_EOL): New macro.
36844         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36845         CHECK_EOL.
36846         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36847         Replace with CHECK_EOL.
36848         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36849         Replace with CHECK_EOL.
36851 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36853         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36854         type-generic.
36855         * math/libm-test.inc: Update comment listing what functions and
36856         macros are tested.
36857         (finite_test): New function.
36858         (isinf_test): Likewise.
36859         (isnan_test): Likewise.
36860         (fpclassify_test): Test subnormal input.
36861         (isfinite_test): Likewise.
36862         (isnormal_test): Likewise.
36863         (main): Call the new functions.
36865 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36867         [BZ #14660]
36868         * Makerules (%.dynsym): Force C locale when running
36869         $(OBJDUMP) --dynamic-syms.
36871 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36873         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36874         <stdint.h>.
36876 2012-10-06  David S. Miller  <davem@davemloft.net>
36878         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36879         upper 32-bits of the length value in %o2 since we use branch-on-register
36880         tests which consider the entire 64-bit register.
36882 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36884         * string/test-strstr.c (check2): Add a test for page boundary.
36886 2012-10-05  David S. Miller  <davem@davemloft.net>
36888         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36889         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36890         file.
36891         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36892         sysdep_routines.
36893         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36894         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36895         and bzero when HWCAP_SPARC_CRYPTO is present.
36897 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36899         [BZ #14602]
36900         * string/test-strstr.c (check2): New function.
36901         (test_main): Call check2.
36903         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36904         and bug-strchr1.
36905         * string/bug-strcasestr1.c (do_test): Moved to ...
36906         * string/test-strcasestr.c (check1): Here.  New function.
36907         (do_one_test): Break out result checking code into ...
36908         (check_result): This.  New function.
36909         (do_one_test): Call check_result.
36910         (test_main): Call check1.
36911         * string/bug-strchr1.c (do_test): Moved to ...
36912         * string/test-strchr.c (check1): Here.  New function.
36913         (do_one_test): Break out result checking code into ...
36914         (check_result): This.  New function.
36915         (do_one_test): Call check_result.
36916         (test_main): Call check1.
36917         * string/bug-strstr1.c (main): Moved to ...
36918         * string/test-strstr.c (check1): Here.  New function.
36919         (do_one_test): Break out result checking code into ...
36920         (check_result): This.  New function.
36921         (do_one_test): Call check_result.
36922         (test_main): Call check1.
36923         * string/bug-strcasestr1.c: Removed.
36924         * string/bug-strchr1.c: Likewise.
36925         * string/bug-strstr1.c: Likewise.
36927         * elf/Makefile (dl-routines): Add hwcaps.
36928         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36929         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36930         (_dl_important_hwcaps): Moved to ...
36931         * elf/dl-hwcaps.c: Here.  New file.
36932         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36934         [BZ #14557]
36935         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36936         if IS_IN_rtld isn't defined.
36938         * elf/dl-support.c (_dl_sysinfo_map): New.
36939         Include "get-dynamic-info.h" and "setup-vdso.h".
36940         (_dl_non_dynamic_init): Call setup_vdso.
36941         * elf/dynamic-link.h: Don't include <assert.h>.
36942         (elf_get_dynamic_info): Moved to ...
36943         * elf/get-dynamic-info.h: Here.  New file.
36944         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36945         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36946         * elf/setup-vdso.h: Here.  New file.
36947         * elf/rtld.c: Include "setup-vdso.h".
36948         (dl_main): Call setup_vdso.
36950 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36952         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36953         creal in comment listing functions tested.  List finite, isinf,
36954         isnan, isless, islessequal, isgreater, isgreaterequal,
36955         islessgreater, isunordered, lgamma_r and pow10 as functions and
36956         macros not tested.  Mention which functions not tested are aliases
36957         for other functions.  Fix typo.  Note that signs of NaNs are not
36958         tested.
36960         * scripts/config.guess: Update from config.git.
36961         * scripts/config.sub: Likewise.
36963 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36965         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36966         * misc/madvise.c (madvise): Renamed to __madvise.
36967         Make madvise a weak alias.
36968         * include/sys/mman.h: Declare __madvise.
36969         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36970         * sysdeps/unix/syscalls.list
36971         (madvise): Make __madvise the strong name, and madvise a weak alias.
36972         * sysdeps/unix/sysv/linux/syscalls.list
36973         (madvise, mmap): Remove redundant entries.
36974         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36975         * malloc/malloc.c (mtrim): Likewise.
36976         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36978 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36980         * sysdeps/mach/hurd/dl-cache.c: File removed.
36981         * config.h.in (USE_LDCONFIG): New #undef.
36982         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36983         * configure: Regenerated.
36984         * elf/Makefile (dl-routines): Add dl-cache only under
36985         [$(use-ldconfig) = yes].
36986         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36987         cache on [USE_LDCONFIG].
36988         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36989         [USE_LDCONFIG].
36990         * elf/rtld.c (dl_main): Likewise.
36992 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36994         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36995         _SC_LEVEL4_CACHE_LINESIZE.
36997 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36999         * sysdeps/unix/bsd/confstr.h: File removed.
37001 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
37003         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37004         sys/sdt-config.h.
37006 2012-10-02  Roland McGrath  <roland@hack.frob.com>
37008         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37009         Make 'mapoff' field ElfW(Off) rather than off_t.
37011 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
37013         * nscd/Makefile: Remove nscd-cflags and all its users.
37014         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37015         (CFLAGS-nonlib): Add compiler flags for nscd modules.
37017         [BZ #10631]
37018         * malloc.c (malloc_printerr): Clarify error message.
37020 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
37022         [BZ #14648]
37023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37024         Set bit_FMA_Usable if FMA is supported.
37025         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37026         macro.
37027         (bit_FMA4_Usable): Updated.
37028         (index_FMA_Usable): New macro.
37029         (CPUID_FMA): Likewise
37030         (HAS_FMA): Defined with bit_FMA_Usable.
37032 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37034         * bits/types.h (__swblk_t): Type removed.
37035         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37036         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37037         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37038         (__SWBLK_T_TYPE): Likewise.
37039         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37040         (__SWBLK_T_TYPE): Likewise.
37041         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37042         (__SWBLK_T_TYPE): Likewise.
37043         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37044         (__SWBLK_T_TYPE): Likewise.
37046 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
37047             Honza Horak <hhorak@redhat.com>
37049         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37050         (xdr_mapname): Use YPMAXMAP as maxsize.
37051         (xdr_peername): Use YPMAXPEER as maxsize.
37052         (xdr_keydat): Use YPAXRECORD as maxsize.
37053         (xdr_valdat): Use YPMAXRECORD as maxsize.
37055 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37057         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37059         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37060         * csu/init-first.c: ... here.
37061         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37062         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37063         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37064         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37065         * sysdeps/i386/init-first.c: File removed.
37066         * sysdeps/sh/init-first.c: File removed.
37068 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
37070         [BZ #14645]
37071         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37072         if x * y might underflow to zero and z is zero.
37073         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37074         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37075         * math/libm-test.inc (min_subnorm_value): New variable.
37076         (fma_test): Add more tests.
37077         (fma_test_towardzero): Likewise.
37078         (fma_test_downward): Likewise
37079         (fma_test_upward): Likewise.
37080         (initialize): Set min_subnorm_value.
37082 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
37084         [BZ #14638]
37085         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37086         0 + 0.
37087         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37088         mode for addition resulting in exact zero.
37089         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37090         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37091         exact 0 + 0.
37092         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37093         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37094         * math/libm-test.inc (fma_test): Add more tests.
37095         (fma_test_towardzero): New function.
37096         (fma_test_downward): Likewise.
37097         (fma_test_upward): Likewise.
37098         (main): Call the new functions.
37100 2012-09-28  David S. Miller  <davem@davemloft.net>
37102         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37104 2012-09-28  Roland McGrath  <roland@hack.frob.com>
37106         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37107         instead of SIGALRM.
37109         * sysdeps/gnu/_G_config.h: Moved to ...
37110         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37111         * sysdeps/mach/hurd/_G_config.h: Moved to ...
37112         * sysdeps/generic/_G_config.h: ... here.
37114         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
37116         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37118         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37119         Conditionalize target on [libnss_test1.so-version].
37121         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37123         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37124         (elfobjdir): Move out of conditionals.
37126         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37127         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37128         (__nss_lookup_function): Conditionalize label remove_from_tree on
37129         [!DO_STATIC_NSS || SHARED], matching its only use.
37131 2012-09-28  David S. Miller  <davem@davemloft.net>
37133         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37134         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37135         file.
37136         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37137         sysdep_routines.
37138         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37139         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37140         when HWCAP_SPARC_CRYPTO is present.
37142 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37144         * io/tst-mknodat.c: Create a FIFO instead of a socket.
37146 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
37148         [BZ #6530]
37149         * stdio-common/vfprintf.c (process_string_arg): Revert
37150         2000-07-22 change.
37152 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
37154         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37155         for testcase.
37156         * stdio-common/tst-sprintf.c: Include <locale.h>
37157         (main): Test sprintf's handling of incomplete multibyte
37158         characters.
37160 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
37162         * elf/dl-runtime.c (VERSYMIDX): Removed.
37163         * elf/dl-version.c (VERSYMIDX): Likewise.
37164         * elf/do-rel.h (VERSYMIDX): Likewise.
37165         (VALIDX): Likewise.
37166         * elf/dynamic-link.h (VERSYMIDX): Likewise.
37167         * elf/rtld.c (VALIDX): Likewise.
37168         (ADDRIDX): Likewise.
37169         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37170         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37171         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37172         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37173         (VALIDX): Likewise.
37174         (ADDRIDX): Likewise.
37176 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37178         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37180 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
37182         [BZ #11438]
37183         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37184         to global scope.
37185         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37186         addresses are in the same scope as 192.0.2/24.
37187         * posix/gai.conf: Document new scope table defaults.
37189 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37191         [BZ #5298]
37192         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37193         for ftell.  Compute offsets from write pointers instead.
37194         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37196 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37198         [BZ #14543]
37199         * libio/Makefile (tests): New test case tst-fseek.
37200         * libio/tst-fseek.c: New test case to verify that fseek/ftell
37201         combination works in wide mode.
37202         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37203         state when the external buffer state changes.
37205 2012-09-27  David S. Miller  <davem@davemloft.net>
37207         [BZ #14376]
37208         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37209         pass reloc->r_addend in as the 'high' argument to
37210         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37214 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37216         * rt/tst-aio2.c: Include <pthread.h>.
37217         * rt/tst-aio3.c: Likewise.
37219 2012-09-27  Steve Ellcey  <sellcey@mips.com>
37221         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37223 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
37225         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37226         contents on [SHARED].
37228 2012-09-26  Marek Polacek  <polacek@redhat.com>
37230         [BZ #14530]
37231         [BZ #13741]
37232         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37233         for C++ and GCC <4.3 as well as for non GCC compilers.
37235 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37237         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37239 2012-09-25  Roland McGrath  <roland@hack.frob.com>
37241         * Makefile.in (all, install): Declare with .PHONY.
37242         Reported by Michael Hope <michael.hope@linaro.org>.
37244 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37246         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37247         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37248         system header.
37249         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37250         Likewise.
37251         (sydep_routines): Add the new and the internal functions.
37252         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37253         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37255         (GLIBC_2.17): Add the new function.
37256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37257         (GLIBC_2.17): Likewise.
37258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37259         (GLIBC_2.17): Likewise.
37260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37261         (GLIBC_2.17): Likewise.
37262         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37264 2012-09-25  Alan Modra  <amodra@gmail.com>
37266         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37267         Add release barrier before setting once_control to say
37268         initialisation is done.  Add hints on lwarx.  Use macro in
37269         place of isync.
37270         (clear_once_control): Add release barrier.
37272 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37274         [BZ #13629]
37275         * math/s_clog.c (__clog): Handle more values close to |z| = 1
37276         specially.
37277         * math/s_clog10.c (__clog10): Likewise.
37278         * math/s_clog10f.c (__clog10f): Likewise.
37279         * math/s_clog10l.c (__clog10l): Likewise.
37280         * math/s_clogf.c (__clogf): Likewise.
37281         * math/s_clogl.c (__clogl): Likewise.
37282         * math/Makefile (libm-calls): Add x2y2m1.
37283         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37284         (__x2y2m1): Likewise.
37285         (__x2y2m1l): Likewise.
37286         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37287         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37288         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37289         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37290         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37291         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37292         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37293         * sysdeps/i386/fpu/libm-test-ulps: Update.
37294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37296         [BZ #14621]
37297         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37298         int as type of variable DEPTH.
37299         (glob): Use size_t instead of int as type of variables NEWCOUNT
37300         and OLD_PATHC.
37302 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37304         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37305         Add s_sincosf-sse2.
37306         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37307         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37308         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37309         macros for using routine as __sincosf_ia32.
37310         Use macro for function declaration and weak_alias.
37311         * sysdeps/i386/fpu/libm-test-ulps: Update.
37313         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37316         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37317         subnormal argument.
37318         * math/s_cexpf.c (__cexpf): Likewise.
37319         * math/s_csinf.c (__csinf): Likewise.
37320         * math/s_csinhf.c (__csinhf): Likewise.
37321         * math/s_ctanf.c (__ctanf): Likewise.
37322         * math/s_ctanhf.c (__ctanhf): Likewise.
37323         * math/s_ccosh.c (__ccoshf): Likewise.
37324         * math/s_cexp.c (__cexpl): Likewise.
37325         * math/s_csin.c (__csin): Likewise.
37326         * math/s_csinh.c (__csinh): Likewise.
37327         * math/s_ctan.c (__ctan): Likewise.
37328         * math/s_ctanh.c (ctanh): Likewise.
37329         * math/s_ccoshl.c (__ccoshl): Likewise.
37330         * math/s_cexpl.c (__cexpl): Likewise.
37331         * math/s_csinl.c (__csinl): Likewise.
37332         * math/s_csinhl.c (__csinhl): Likewise.
37333         * math/s_ctanl.c (__ctanl): Likewise.
37334         * math/s_ctanhl.c (__ctanhl): Likewise.
37336 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37338         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37339         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37340         (_IO_off_t): Define to __off_t, not _G_off_t.
37341         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37342         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37343         (_IO_wint_t): Define to wint_t, not _G_wint_t.
37344         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37345         type of __dummy and __dummy2 fields.
37346         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37347         (_G_ssize_t): Likewise.
37348         (_G_off_t): Likewise.
37349         (_G_pid_t): Likewise.
37350         (_G_uid_t): Likewise.
37351         (_G_wchar_t): Likewise.
37352         (_G_wint_t): Likewise.
37353         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37354         (_G_ssize_t): Likewise.
37355         (_G_off_t): Likewise.
37356         (_G_pid_t): Likewise.
37357         (_G_uid_t): Likewise.
37358         (_G_wchar_t): Likewise.
37359         (_G_wint_t): Likewise.
37360         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37361         (_G_ssize_t): Likewise.
37362         (_G_off_t): Likewise.
37363         (_G_pid_t): Likewise.
37364         (_G_uid_t): Likewise.
37365         (_G_wchar_t): Likewise.
37366         (_G_wint_t): Likewise.
37368 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37370         * malloc/arena.c: Include malloc-sysdep.h.
37371         (shrink_heap): Use check_may_shrink_heap to decide if madvise
37372         is sufficient to shrink the heap or an unmap is needed.
37373         * sysdeps/generic/malloc-sysdep.h: New file.  Define
37374         new function check_may_shrink_heap.
37375         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
37376         new function check_may_shrink_heap.
37378 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37380         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37381         comments.
37383 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
37385         * catgets/test-gencat.sh: Add "set -e".
37386         * elf/tst-pathopt.sh: Likewise.
37387         * grp/tst_fgetgrent.sh: Likewise.
37388         * iconvdata/run-iconv-test.sh: Likewise.
37389         * intl/tst-gettext.sh: Likewise.
37390         * intl/tst-gettext2.sh: Likewise.
37391         * intl/tst-gettext4.sh: Likewise.
37392         * intl/tst-gettext6.sh: Likewise.
37393         * intl/tst-translit.sh: Likewise.
37394         * io/ftwtest-sh: Likewise.
37395         * libio/test-freopen.sh: Likewise.
37396         * malloc/tst-mtrace.sh: Likewise.
37397         * posix/globtest.sh: Likewise.
37398         * posix/tst-getconf.sh: Likewise.
37399         * posix/wordexp-tst.sh: Likewise.
37400         * stdio-common/tst-printf.sh: Likewise.
37401         * stdio-common/tst-unbputc.sh: Likewise.
37402         * stdlib/tst-fmtmsg.sh: Likewise.
37403         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37404         * catgets/Makefile: Do not specify -e option when running
37405         testsuite shell scripts.
37406         * elf/Makefile: Likewise.
37407         * grp/Makefile: Likewise.
37408         * iconvdata/Makefile: Likewise.
37409         * intl/Makefile: Likewise.
37410         * io/Makefile: Likewise.
37411         * libio/Makefile: Likewise.
37412         * malloc/Makefile: Likewise.
37413         * posix/Makefile: Likewise.
37414         * stdio-common/Makefile: Likewise.
37415         * stdlib/Makefile: Likewise.
37416         * sysdeps/x86_64/Makefile: Likewise.
37418         * io/ftwtest-sh: Add copyright header.
37419         * posix/globtest.sh: Likewise.
37420         * posix/tst-getconf.sh: Likewise.
37421         * posix/wordexp-tst.sh: Likewise.
37422         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37424 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37426         [BZ #13679]
37427         * Makeconfig (+link): Defined as $(+link-static) if
37428         $(build-shared) isn't yes.
37429         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37430         isn't yes.
37431         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37433         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37435         [BZ #14562]
37436         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37437         new chunk size with MALLOC_ALIGN_MASK.
37439 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37441         [BZ #5044]
37442         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37443         <rounding-mode.h>.
37444         (__printf_fphex): Determine rounding using get_rounding_mode and
37445         round_away.
37446         * stdio-common/tst-printf-round.c (struct hex_test): New
37447         structure.
37448         (hex_tests): New variable.
37449         (test_hex_in_one_mode): New function.
37450         (do_test): Also run tests for hex float output.
37452 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37454         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37455         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37456         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37457         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37458         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37459         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37460         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37461         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37463 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37465         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37466         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37467         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37468         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37470 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37472         [BZ #14579]
37473         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37474         mode only.
37475         * elf/tst-rtld-load-self.sh: New test.
37476         * elf/Makefile: Run it.
37478 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37480         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37481         (tst-writev-ENV): Remove.
37482         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37484 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37486         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37488 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37490         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37491         unconditional.
37492         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37493         Likewise.
37494         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37495         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37496         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37497         Likewise.
37499 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37501         [BZ #14587]
37502         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37503         * config.make.in (have-cpp-asm-debuginfo): Removed.
37504         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37505         * configure: Regenerated.
37507 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37509         [BZ #5044]
37510         * stdio-common/printf_fp.c: Include <stdbool.h> and
37511         <rounding-mode.h>.
37512         (___printf_fp): Determine rounding using get_rounding_mode and
37513         round_away.
37514         * stdio-common/tst-printf-round.c: New file.
37515         * stdio-common/Makefile (tests): Add tst-printf-round.
37516         (link-libm): New variable.
37517         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37519 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37521         [BZ #14576]
37522         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37523         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37524         Likewise.
37525         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37526         Likewise.
37528 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37530         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37531         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37532         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37533         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37535 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37537         [BZ #14518]
37538         * include/rounding-mode.h: New file.
37539         * sysdeps/generic/get-rounding-mode.h: Likewise.
37540         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37541         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37542         (MAX_VALUE): New macro.
37543         (MIN_VALUE): Likewise.
37544         (overflow_value): New function.
37545         (underflow_value): Likewise.
37546         (round_and_return): Use overflow_value and underflow_value to
37547         determine return values in overflow and underflow cases.  Use
37548         round_away to determine rounding depending on rounding mode.
37549         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37550         determine return values in overflow and underflow cases.
37551         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37552         (struct test_results): New structure.
37553         (struct test): Use struct test_results to store expected results
37554         for all rounding modes.
37555         (TEST): Include expected results for all rounding modes.
37556         (test_in_one_mode): New function.
37557         (do_test): Use test_in_one_mode to compute and check results.
37558         Check results for all rounding modes.
37559         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37560         $(link-libm).
37562 2012-12-09  Allan McRae  <allan@archlinux.org>
37564         * sysdeps/i386/fpu/libm-test-ulps: Update
37566 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37568         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37569         (_G_int32_t): Likewise.
37570         (_G_uint16_t): Likewise.
37571         (_G_uint32_t): Likewise.
37572         (_G_HAVE_BOOL): Likewise.
37573         (_G_HAVE_ATEXIT): Likewise.
37574         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37575         (_G_HAVE_IO_FILE_OPEN): Likewise.
37576         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37577         (_G_int32_t): Likewise.
37578         (_G_uint16_t): Likewise.
37579         (_G_uint32_t): Likewise.
37580         (_G_HAVE_BOOL): Likewise.
37581         (_G_HAVE_ATEXIT): Likewise.
37582         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37583         (_G_HAVE_IO_FILE_OPEN): Likewise.
37584         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37585         (_G_int32_t): Likewise.
37586         (_G_uint16_t): Likewise.
37587         (_G_uint32_t): Likewise.
37588         (_G_HAVE_BOOL): Likewise.
37589         (_G_HAVE_ATEXIT): Likewise.
37590         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37591         (_G_HAVE_IO_FILE_OPEN): Likewise.
37593 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
37595         * csu/libc-tls.c: Update copyright years.
37597 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
37599         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37600         [!_G_USING_THUNKS]: Remove conditional code.
37601         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37602         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37604         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37605         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37606         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37607         (_G_VTABLE_LABEL_PREFIX): Likewise.
37608         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37609         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37610         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37611         (_G_VTABLE_LABEL_PREFIX): Likewise.
37612         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37613         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37614         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37615         (_G_VTABLE_LABEL_PREFIX): Likewise.
37616         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37618 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
37620         * libio/Makefile: Include ../Makeconfig before tests.
37621         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37622         only if $(build-shared) is yes.
37624         * iconv/gconv_db.c: Update copyright years.
37626 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37628         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37629         unwind info if defined PIC. Fix special cases description.
37630         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37632         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37633         DP_HI_MASK entry.
37634         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37636 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
37638         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37640         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37641         is NULL.
37643         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37644         (LDLIBS-tst-chk4): This.
37645         (LDFLAGS-tst-chk5): Renamed to ...
37646         (LDLIBS-tst-chk5): This.
37647         (LDFLAGS-tst-chk6): Renamed to ...
37648         (LDLIBS-tst-chk6): This.
37649         (LDFLAGS-tst-lfschk4): Renamed to ...
37650         (LDLIBS-tst-lfschk4): This.
37651         (LDFLAGS-tst-lfschk5): Renamed to ...
37652         (LDLIBS-tst-lfschk5): This.
37653         (LDFLAGS-tst-lfschk6): Renamed to ...
37654         (LDLIBS-tst-lfschk6): This.
37656         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37657         on $(common-objpfx)soversions.mk.
37659 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
37661         [BZ #10014]
37662         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37663         example host name.
37665 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37667         * malloc/arena.c (arena_get_retry): New function that gets
37668         another arena for the caller to try its request on.
37669         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37670         current arena cannot fulfill the request.
37671         (__libc_memalign): Likewise.
37672         (__libc_memalign): Likewise.
37673         (__libc_pvalloc): Likewise.
37674         (__libc_calloc): Likewise.
37676 2012-09-05  John Tobey  <john.tobey@gmail.com>
37678         [BZ #13542]
37679         * manual/arith.texi (Operations on Complex): Fix description
37680         of carg branch cut.
37682 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37684         [BZ #10014]
37685         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37686         host name.
37688         [BZ #10038]
37689         * manual/memory.texi (Memory): Make order of menu items match
37690         order of sections.
37692 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37694         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37695         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37696         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37698 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37700         * csu/libc-tls.c (static_dtv): Renamed to ...
37701         (_dl_static_dtv): This.  Make it global.
37702         (_dl_initial_dtv): Removed.
37703         (__libc_setup_tls): Updated.
37704         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37705         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37706         DL_INITIAL_DTV.
37708 2012-09-06  Petr Machata  <pmachata@redhat.com>
37710         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37711         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37712         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37713         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37715 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37717         [BZ #14545]
37718         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37719         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37720         freeing dtv[-1].
37722 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37724         [BZ #14544]
37725         * Makeconfig (link-static-before-libc): Replace $(+prector)
37726         with $(+prectorT).
37727         (link-static-after-libc): Replace $(+postctor) with
37728         $(+postctorT).
37729         (link-bounded): Replace $(+prector)/$(+postctor) with
37730         $(+prectorT)/$(+postctorT).
37731         (+prectorT): New macro.
37732         (+postctorT): Likewise.
37734 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37736         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37737         (round_str): Handle values above the maximum for IBM long double
37738         as inexact.
37739         * stdlib/tst-strtod-round.c (tests): Regenerated.
37741 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37743         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37744         assembler flag.
37745         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37746         zarch_nohighgprs around the zarch optimized routines.
37747         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37748         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37749         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37750         for zarch.
37752 2012-09-05  David S. Miller  <davem@davemloft.net>
37754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37756         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37757         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37758         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37759         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37760         entries.
37762 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37764         * malloc/arena.c: Fold copyright years.
37765         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37767 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37769         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37771 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37773         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37775 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37777         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37778         change internal state upon failure.
37780 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37782         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37783         * malloc/memusage.c (mmap): Likewise.
37784         (mmap64, mremap): Likewise.  Adjust name in comment.
37786 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37788         * libio/fileops.c: Fix typos in comments.
37789         * libio/oldfileops.c: Likewise.
37790         * libio/wfileops.c: Likewise.
37792 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37794         [BZ #1349]
37795         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37796         (tst-malloc-usable-ENV): Set environment for test case.
37797         * malloc/hooks.c (malloc_check_get_size): New function to get
37798         requested size.
37799         * malloc/malloc.c (musable): Use malloc_check_get_size.
37800         * malloc/tst-malloc-usable.c: New test case.
37802 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37804         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37806 2012-09-05  Allan McRae  <allan@archlinux.org>
37808         [BZ #13966]
37809         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37810         determine header location.
37811         * configure: Regenerated.
37813 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37815         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37816         float format.
37817         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37818         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37819         format.
37820         (test): Regenerate.
37822 2012-09-04  David S. Miller  <davem@davemloft.net>
37824         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37825         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37826         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37828 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37830         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37831         failures.
37833         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37835 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37837         [BZ #9914]
37838         * libio/iogetdelim.c: Include <limits.h>.
37839         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37840         + len + 1 would overflow.
37842 2012-09-03  Andreas Jaeger  <aj@suse.de>
37844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37845         * sysdeps/i386/fpu/libm-test-ulps: Update.
37847 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37849         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37850         Add s_sinf-sse2, s_conf-sse2.
37852         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37853         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37854         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37855         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37857         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37858         for using routine as __sinf_ia32.
37859         Use macro for function declaration and weak_alias.
37860         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37861         for using routine as __cosf_ia32.
37862         Use macro for function declaration and weak_alias.
37864         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37865         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37867         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37868         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37871         * math/libm-test.inc (cos_test): Add more test cases.
37872         (sin_test): Likewise.
37873         (sincos_test): Likewise.
37875 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37877         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37878         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37879         hidden.
37880         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37882 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37884         [BZ #14538]
37885         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37886         first element of the GOT.
37887         (elf_machine_load_address): Return the difference between
37888         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37890 2012-09-01  Allan McRae  <allan@archlinux.org>
37892         [BZ #13412]
37893         * configure.in (AWK): Require gawk version 3.0 or later.
37894         * configure: Regenerated.
37896 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37898         * sysdeps/unix/sysv/linux/kernel-features.h
37899         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37900         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37901         [__NR_clock_getres]: Make code unconditional.
37902         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37903         (clock_getcpuclockid): Remove code left unreachable by removal of
37904         conditionals.
37905         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37906         code unconditional.
37907         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37908         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37909         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37910         Make code unconditional.
37911         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37912         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37913         * sysdeps/unix/sysv/linux/clock_settime.c
37914         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37915         conditional code.
37916         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37917         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37919 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37921         [BZ #14476]
37922         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37923         scripts/test-installation.pl.
37925         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37926         and $ld_so_version if it is set.
37928 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37930         [BZ #14516]
37931         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37932         failure if reading from procfs failed.
37933         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37935 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37937         * sysdeps/unix/sysv/linux/kernel-features.h
37938         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37939         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37940         Remove conditional code.
37941         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37942         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37943         Remove conditional code.
37944         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37945         * sysdeps/unix/sysv/linux/i386/fxstat.c
37946         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37947         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37948         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37949         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37950         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37951         * sysdeps/unix/sysv/linux/i386/lxstat.c
37952         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37953         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37954         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37955         Remove conditional code.
37956         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37957         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37958         Remove conditional code.
37959         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37960         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37961         <kernel-features.h>.
37962         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37963         Remove.
37964         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37965         Remove conditional code.
37966         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37967         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37968         Remove conditional.
37970 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37972         [BZ #5400]
37973         * NEWS: Add fixed bug number.
37975 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37977         [BZ #14519]
37978         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37979         underflowing exponent in case of negative sign.
37980         * stdlib/tst-strtod-round-data: Add more tests.
37981         * stdlib/tst-strtod-round.c (tests): Regenerated.
37983         [BZ #3479]
37984         * stdlib/strtod_l.c (NDIG): Remove.
37985         (HEXNDIG): Likewise.
37986         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37987         smallest representable value.
37988         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37989         lie within an exact representation of 1/2 ulp of the result.
37990         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37991         unconditionally.
37992         (TENS_P9_IDX): Define unconditionally.
37993         (TENS_P9_SIZE): Likewise.
37994         (TENS_P10_IDX): Likewise.
37995         (TENS_P10_SIZE): Likewise.
37996         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37997         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37998         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37999         entries for 10^2^13 and 10^2^14.
38000         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38001         (TENS_P13_IDX): Define.
38002         (TENS_P13_SIZE): Likewise.
38003         (TENS_P14_IDX): Likewise.
38004         (TENS_P14_SIZE): Likewise.
38005         (_fpioconst_pow10): Change array size to
38006         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
38007         unconditional.
38008         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38009         1024]: Add entries for 10^2^13 and 10^2^14.
38010         [LAST_POW10 > _LAST_POW10]: Remove #error.
38011         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38012         (_fpioconst_pow10): Change array size to
38013         FPIOCONST_POW10_ARRAY_SIZE.
38014         * stdlib/gen-fpioconst.c: New file.
38015         * stdlib/gen-tst-strtod-round.c: Likewise.
38016         * stdlib/tst-strtod-round-data: Likewise.
38017         * stdlib/tst-strtod-round.c: Likewise.
38018         * stdlib/Makefile (tests): Add tst-strtod-round.
38020         [BZ #14459]
38021         * stdlib/strtod_l.c: Include <stdint.h>.
38022         (NDEBUG): Do not define.
38023         (round_and_return): Change EXPONENT parameter to type intmax_t.
38024         Rearrange calculations to avoid internal overflow possibilities.
38025         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38026         Rearrange calculations to avoid internal overflow possibilities.
38027         Assert that number fits inside MPNSIZE limbs.
38028         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38029         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
38030         calculations and add assertions to avoid internal overflow
38031         possibilities.  Add casts to avoid signed/unsigned operations.
38032         * stdlib/tst-strtod-overflow.c: New file.
38033         * stdlib/Makefile (tests): Add tst-strtod-overflow.
38035 2012-08-25  Marek Polacek  <polacek@redhat.com>
38037         * time/time.h: Fix some typos in comments.
38039 2012-08-23  Roland McGrath  <roland@hack.frob.com>
38041         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38042         * posix/tst-rfc3484-2.c: Likewise.
38043         * posix/tst-rfc3484-3.c: Likewise.
38045 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
38047         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38048         (EF_ARM_ABI_FLOAT_HARD): Likewise.
38050 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
38052         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38053         #include of fxstatat64.c.
38055 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38057         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38058         * shadow/getspent_r.c: Likewise.
38059         * shadow/getspnam.c: Likewise.
38060         * shadow/getspnam_r.c: Likewise.
38061         * gshadow/getsgent.c: Likewise.
38062         * gshadow/getsgent_r.c: Likewise.
38063         * gshadow/getsgnam.c: Likewise.
38064         * gshadow/getsgnam_r.c: Likewise.
38065         * inet/getnetbyad.c: Likewise.
38066         * inet/getnetbyad_r.c: Likewise.
38067         * inet/getnetbynm.c: Likewise.
38068         * inet/getnetbynm_r.c: Likewise.
38069         * inet/getnetent.c: Likewise.
38070         * inet/getnetent_r.c: Likewise.
38071         * inet/getproto.c: Likewise.
38072         * inet/getproto_r.c: Likewise.
38073         * inet/getprtent.c: Likewise.
38074         * inet/getprtent_r.c: Likewise.
38075         * inet/getprtname.c: Likewise.
38076         * inet/getprtname_r.c: Likewise.
38077         * inet/getrpcbyname.c: Likewise.
38078         * inet/getrpcbyname_r.c: Likewise.
38079         * inet/getrpcbynumber.c: Likewise.
38080         * inet/getrpcbynumber_r.c: Likewise.
38081         * inet/getrpcent.c: Likewise.
38082         * inet/getrpcent_r.c: Likewise.
38083         * inet/getaliasent.c: Likewise.
38084         * inet/getaliasent_r.c: Likewise.
38085         * inet/getaliasname.c: Likewise.
38086         * inet/getaliasname_r.c: Likewise.
38087         * nscd/getgrgid_r.c: Likewise.
38088         * nscd/getgrnam_r.c: Likewise.
38089         * nscd/gethstbyad_r.c: Likewise.
38090         * nscd/gethstbynm3_r.c: Likewise.
38091         * nscd/getpwnam_r.c: Likewise.
38092         * nscd/getpwuid_r.c: Likewise.
38093         * nscd/getsrvbynm_r.c: Likewise.
38094         * nscd/getsrvbypt_r.c: Likewise.
38095         * nscd/gai.c: Likewise.
38097         * configure.in (build_nscd): New substituted variable, set
38098         by --disable-build-nscd and defaults to $use_nscd.
38099         * configure: Regenerated.
38100         * config.make.in (build-nscd): New substituted variable.
38101         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38102         Change conditional to require [$(build-nscd) = yes] as well.
38103         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38105         [BZ# 13696]
38106         * configure.in (use_nscd): New substituted variable, set by
38107         --disable-nscd.  If enabled, define USE_NSCD.
38108         * configure: Regenerated.
38109         * config.h.in: Add USE_NSCD.
38110         * config.make.in (use-nscd): New substituted variable.
38111         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38112         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38113         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38114         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38115         (CFLAGS-getgrnam_r.c): Likewise.
38116         (CFLAGS-initgroups.c): Likewise.
38117         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38118         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38119         Variables removed.
38120         * inet/getnetgrent_r.c
38121         (nscd_setnetgrent): New function, broken out of ...
38122         (setnetgrent): ... here.  Call it.
38123         (innetgr): Conditionalize nscd bits on [USE_NSCD].
38124         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38125         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38126         * nscd/Makefile (routines, aux): Move definitions after include of
38127         Makeconfig.  Conditionalize on [$(use-nscd) != no].
38128         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38129         Conditionalize on [USE_NSCD].
38130         (is_nscd, nscd_init_cb): Likewise.
38131         (nss_load_library): Conditionalize init callback on [USE_NSCD].
38132         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38133         * nss/nss_db/db-init.c: Likewise.
38134         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38135         [USE_NSCD].
38136         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38137         (make_request): Use it.
38138         (cache_valid_p): New function.
38139         (__check_pf): Use it.
38140         * NEWS: Add item for --disable-nscd.
38142 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
38144         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38145         to support sed >= 4.2.1-20-ga9bf076.
38146         * configure: Regenerated.
38148 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38150         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38151         Conditionalize whole body on [IREL].
38153 2012-08-22  Jeff Law <law@redhat.com>
38155         [BZ #14505]
38156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38157         if the family is PF_UNSPEC.
38159 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
38161         * Makerules (lib-version): Rename from V.
38162         (install-lib-nosubdir): Change V to lib-version.
38164 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
38166         [BZ #14252]
38167         * powerpc32/power6/wcschr.c: New file.
38168         * powerpc32/power6/wcscpy.c: New file.
38169         * powerpc32/power6/wcsrchr.c: New file.
38170         * powerpc64/power6/wcschr.c: New file.
38171         * powerpc64/power6/wcscpy.c: New file.
38172         * powerpc64/power6/wcsrchr.c: New file.
38174 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38176         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38177         (two_way_short_needle): Use it.
38178         * string/strstr.c (AVAILABLE1_USES_J): Define.
38179         * string/strcasestr.c: Likewise.
38181         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38182         array references.
38183         * string/strcasestr.c (TOLOWER): Make side-effect safe.
38185         [BZ #11607]
38186         * NEWS: Add an entry.
38187         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38188         define their defaults.
38189         (two_way_short_needle): Detect end-of-string on-the-fly.
38190         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38191         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38192         * string/bug-strcasestr1.c: New test.
38193         * string/Makefile: Run it.
38195 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38197         [BZ #11607]
38198         * string/str-two-way.h (two_way_short_needle): Optimize matching of
38199         the first character.
38201 2012-08-21  Roland McGrath  <roland@hack.frob.com>
38203         * csu/elf-init.c (__libc_csu_irel): Function removed.
38204         * csu/libc-start.c (apply_irel): New function.
38205         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38207 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
38209         * sysdeps/unix/sysv/linux/kernel-features.h
38210         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38211         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38212         <kernel-features.h>.
38213         [__NR_fadvise64_64]: Make code unconditional.
38214         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38215         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38216         !__NR_fadvise64_64)]: Likewise.
38217         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38218         !__NR_fadvise64_64))]: Likewise.
38219         [__NR_fadvise64]: Make code unconditional.
38220         [!__NR_fadvise64]: Remove conditional code.
38221         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38222         <kernel-features.h>.
38223         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38224         unconditional.
38225         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38226         conditional code.
38227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38228         not include <kernel-features.h>.
38229         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38230         unconditional.
38231         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38232         conditional code.
38233         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38234         include <kernel-features.h>.
38235         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38236         unconditional.
38237         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38238         conditional code.
38240 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38242         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38243         slight instruction rearrangements per scrollpipe analysis.
38244         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38246 2012-08-20  Roland McGrath  <roland@hack.frob.com>
38248         * manual/syslog.texi (syslog; vsyslog, closelog):
38249         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38250         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38252         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38253         DSOCAPS to match condition on defining it.
38255 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
38257         * sysdeps/unix/sysv/linux/kernel-features.h
38258         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38260         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38261         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38263         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38264         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38266         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38267         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38269         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38270         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38272         * sysdeps/unix/sysv/linux/kernel-features.h
38273         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38274         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38275         unconditional.
38276         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38277         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38278         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38279         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38280         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38281         Make code unconditional.
38282         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38283         (__mmap64) [!__NR_mmap2]: Likewise.
38284         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38285         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38286         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38287         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38288         [__NR_mmap2]: Make code unconditional.
38289         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38290         (__mmap64) [!__NR_mmap2]: Likewise.
38292 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38294         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38296 2012-08-18  Andreas Jaeger  <aj@suse.de>
38298         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38300 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38302         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38303         * include/unistd.h (__have_sock_cloexec): Likewise.
38304         (__have_pipe2): Likewise.
38305         (__have_dup3): Likewise.
38307 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38309         [BZ #9685]
38310         * include/unistd.h (__have_pipe2): Change define into an extern int.
38311         (__have_dup3): Likewise.
38312         * socket/have_sock_cloexec.c: Include fcntl.h.
38313         (__have_pipe2): New variable.
38314         (__have_dup3): Likewise.
38316 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
38318         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38320 2012-08-17  Marek Polacek  <polacek@redhat.com>
38322         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38323         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38325 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38327         * configure.in: Add AC_SUBST for sysheaders.
38328         * configure: Regenerated.
38329         * config.make.in (sysheaders): New substituted variable.
38331         * sysdeps/unix/mkfifo.c: Moved ...
38332         * sysdeps/posix/mkfifo.c: ... here.
38333         * sysdeps/unix/mkfifoat.c: Moved ...
38334         * sysdeps/posix/mkfifoat.c: ... here.
38336         * sysdeps/unix/utime.c: Moved ...
38337         * sysdeps/posix/utime.c: ... here.
38339         * sysdeps/unix/time.c: Moved ...
38340         * sysdeps/posix/time.c: ... here.
38341         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38342         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38344         * sysdeps/unix/nice.c: Moved ...
38345         * sysdeps/posix/nice.c: ... here.
38347         * sysdeps/unix/alarm.c: Moved ...
38348         * sysdeps/posix/alarm.c: ... here.
38350         * intl/Makefile ($(codeset_mo)): Depend on the input file.
38352 2012-08-17  Jeff Law <law@redhat.com>
38354         * intl/Makefile (codeset_mo): New variable.
38355         ($(codeset_mo)): New target.
38356         (tst-codeset.out): Depend on that.  Remove explicit rule.
38357         (tst-gettext3.out, tst-gettext5.out): Likewise.
38358         (LOCPATH-ENV, tst-codeset-ENV): New variables.
38359         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38360         * intl/tst-codeset.sh: Remove.
38361         * intl/tst-gettext3.sh: Likewise.
38362         * intl/tst-gettext5.sh: Likewise.
38364 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38366         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
38367         * sysdeps/unix/syscalls.list: ... here.
38369         * sysdeps/posix/getaddrinfo.c
38370         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38371         (gaiconf_init, gaiconf_reload): Use them.
38372         [!_STATBUF_ST_NSEC]
38373         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38374         Define using time_t rather than struct timespec.
38376         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38377         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38378         Macros removed.
38379         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38380         [!NO_THREADS].
38381         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38382         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38383         Likewise.
38385         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38386         __libc_cleanup_push argument.
38388         * bits/param.h: New file.
38389         * misc/sys/param.h: New file.
38390         * include/sys/param.h: New file.
38391         * misc/Makefile (headers): Add bits/param.h.
38392         * sysdeps/generic/sys/param.h: File removed.
38393         * sysdeps/unix/sysv/linux/bits/param.h: New file.
38394         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38395         * sysdeps/mach/hurd/bits/param.h: New file.
38396         * sysdeps/mach/hurd/sys/param.h: File removed.
38398         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38399         last change.
38401         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38402         [_IO_MTSAFE_IO].
38403         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38404         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38405         New macros.
38407         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38408         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38409         rather than -D_IO_MTSAFE_IO conditionally.
38410         * stdio-common/Makefile (CPPFLAGS): Likewise.
38411         * wcsmbs/Makefile (CPPFLAGS): Likewise.
38412         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38413         Use $(libio-mtsafe).
38414         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38415         of -D_IO_MTSAFE_IO.
38416         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38417         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38418         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38419         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38420         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38421         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38422         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38423         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38424         (CFLAGS-fread_u_chk.c): Likewise.
38425         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38426         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38427         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38428         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38429         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38430         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38431         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38432         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38433         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38435         * libio/Makefile: Test [$(libc-reentrant) = yes]
38436         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38438         * Makeconfig
38439         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38440         * sysdeps/pthread/configure: File removed.
38441         * sysdeps/pthread/Makeconfig: New file.
38442         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38443         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38445 2012-08-16  Gary Benson  <gbenson@redhat.com>
38447         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38448         unmapping the first object in a namespace.
38450 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38452         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38453         (__internal_setnetgrent): ... this.  Add internal_function to
38454         definition.  Add libc_hidden_def.
38455         (setnetgrent): Update caller.
38456         (internal_endnetgrent): Renamed to ...
38457         (__internal_endnetgrent): ... this.  Add internal_function to
38458         definition.  Add libc_hidden_def.
38459         (endnetgrent): Update caller.
38460         (internal_getnetgrent_r): Renamed to ...
38461         (__internal_getnetgrent_r): ... this.  Add internal_function to
38462         definition.  Add libc_hidden_def.
38463         (__getnetgrent_r): Update caller.
38464         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38466 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38468         * stdlib/longlong.h: Update from GCC.
38470 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38472         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38473         on _QL, which is set by umul_ppmm but never used.
38474         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38475         variables, which are set by GMP macros but never used.
38476         * stdio-common/_itowa.c (_itowa): Likewise.
38477         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38478         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38480 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38482         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38483         struct La_sh_regs is not constant.
38484         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38485         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38486         and struct La_sparc64_regs are not constant.
38488 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38490         * sysdeps/unix/sysv/linux/kernel-features.h
38491         (__ASSUME_POSIX_TIMERS): Remove.
38492         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38493         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38494         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38495         Make code unconditional.
38496         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38497         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38498         Make code unconditional.
38499         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38500         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38501         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38502         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38503         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38504         Make code unconditional.
38505         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38506         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38507         (__libc_missing_posix_timers): Remove.
38509 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38511         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38512         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38514         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38516         * elf/dl-sym.c: Include <stdlib.h>.
38518         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38519         constants, which avoids warnings in 32-bit builds.
38521         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38522         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38524         * misc/lseek.c: File moved to ...
38525         * io/lseek.c: ... here.
38527         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38529         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38530         shifting LEN more than 31 bits at once.
38532 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38534         [BZ #14195]
38535         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38536         segmentation fault for a case of two empty input strings.
38537         * string/test-strncasecmp.c (check1): Renamed to...
38538         (bz12205): ...this.
38539         (bz14195): Add new testcase for two empty input strings and N > 0.
38540         (test_main): Call new testcase, adapt for renamed function.
38542 2012-08-15  Andreas Jaeger  <aj@suse.de>
38544         [BZ #14090]
38545         * crypt/md5test2.c: New test, based on test supplied by Serge
38546         Belyshev <belyshev@depni.sinp.msu.ru>.
38547         * crypt/Makefile (xtests): Add md5test-giant..
38548         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38550 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38552         [BZ #14090]
38553         * crypt/md5.c (md5_process_block): Don't assume the buffer
38554         length is less than 2**32.
38555         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38556         length is less than 2**64.
38558 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38560         * string/str-two-way.h: Include <sys/param.h>.
38561         (MAX): Macro removed.
38563         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38564         Move #define and #undef of memmove to just before and after
38565         including <string.h>.
38567         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38568         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38569         and after including <string.h>.  Move declarations of
38570         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38571         to before #include "string/memmove.c".
38573         * include/dirent.h: Declare __getdirentries.
38575         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38576         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38578 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38580         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38581         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38582         * sysdeps/i386/configure: Regenerated.
38583         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38584         STABS_CURRENT_FILE, and STABS_FUN.
38585         (END): Remove call to STABS_FUN_END.
38586         (STABS_CURRENT_FILE1): Delete.
38587         (STABS_CURRENT_FILE): Likewise.
38588         (STABS_FUN): Likewise.
38589         (STABS_FUN_END): Likewise.
38590         (STABS_FUN2): Likewise.
38591         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38592         * sysdeps/x86_64/configure: Regenerated.
38594 2012-08-14  Roland McGrath  <roland@hack.frob.com>
38596         * elf/dl-open.c: Include <atomic.h>.
38597         * elf/dl-lookup.c: Likewise.
38599 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
38601         * sysdeps/unix/sysv/linux/kernel-features.h
38602         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38603         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38604         unconditionally.
38605         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38606         unconditionally.
38607         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38608         condition on __ASSUME_CLONE_THREAD_FLAGS.
38610 2012-08-14  Andreas Jaeger  <aj@suse.de>
38612         * sysdeps/i386/fpu/libm-test-ulps: Update.
38614 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
38616         * include/atomic.h (atomic_exchange_and_add): Split into ...
38617         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38618         New atomic macros.
38620 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
38622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38624 2012-08-13  Jeff Law <law@redhat.com>
38626         * manual/stdio.texi (snprintf): Clarify handling of the trailing
38627         null byte in the output string.
38629 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
38631         * sysdeps/unix/sysv/linux/kernel-features.h
38632         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38633         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38634         (__ASSUME_ARG_MAX_STACK_BASED): Define.
38635         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38636         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38637         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
38638         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38640 2012-08-09  Jeff Law <law@redhat.com>
38642         [BZ #13939]
38643         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38644         When avoid_arena is set, don't retry in the that arena.  Pick the
38645         next one, whatever it might be.
38646         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38647         (arena_lock): Pass in new parameter to arena_get2.
38648         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38649         arena_get2.
38650         (__libc_malloc): Unify retrying after main arena failure with
38651         __libc_memalign version.
38652         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38654 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
38656         [BZ #14166]
38657         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38658         to __redirect_strstr.
38659         (__strstr_sse42): Use typeof __redirect_strstr.
38660         (__strstr_ia32): Likewise.
38661         (__libc_strstr): New prototype.
38662         (strstr): Renamed to ...
38663         (__libc_strstr): This.
38664         (strstr): New strong alias of __libc_strstr.
38665         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38666         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38667         __redirect_time.
38668         Include <time.h>.
38669         (__libc_time): New prototype.
38670         (time_ifunc): Replace time with __libc_time.
38671         (time): New strong alias and hidden definition of __libc_time.
38672         (__GI_time): Remove strong alias.
38673         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38674         Include <stddef.h>.
38675         (memmove): Redefined to __redirect_memmove.
38676         (__memmove_sse2): Use typeof __redirect_memmove.
38677         (__memmove_ssse3): Likewise.
38678         (__memmove_ssse3_back): Likewise.
38679         (__libc_memmove): New prototype.
38680         (memmove): Renamed to ...
38681         (__libc_memmove): This.
38682         (memmove): New strong alias of __libc_memmove.
38684 2012-08-08  Mark Salter  <msalter@redhat.com>
38686         * elf/elf.h
38687         (R_MN10300_TLS_GD): Define.
38688         (R_MN10300_TLS_LD): Likewise.
38689         (R_MN10300_TLS_LDO): Likewise.
38690         (R_MN10300_TLS_GOTIE): Likewise.
38691         (R_MN10300_TLS_IE): Likewise.
38692         (R_MN10300_TLS_LE): Likewise.
38693         (R_MN10300_TLS_DTPMOD): Likewise.
38694         (R_MN10300_TLS_DTPOFF): Likewise.
38695         (R_MN10300_TLS_TPOFF): Likewise.
38696         (R_MN10300_SYM_DIFF): Likewise.
38697         (R_MN10300_ALIGN): Likewise.
38698         (R_MN10300_NUM): Update.
38700 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38702         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38703         Remove.
38705 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38707         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38709         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38710         sysdeps/unix -> sysdeps/posix move.
38711         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38713 2012-08-07      Allan McRae     <allan@archlinux.org>
38715         [BZ #14303]
38716         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38717         (SUNOS_CPP): Likewise.
38718         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38719         not found.
38720         (open_input): Call CPP using execvp.
38722 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38724         * sysdeps/unix/sysv/linux/kernel-features.h
38725         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38726         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38727         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38728         (__ASSUME_WAITID_SYSCALL): Likewise.
38729         * sysdeps/unix/sysv/linux/dl-execstack.c
38730         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38731         code unconditional.
38732         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38733         conditional code.
38734         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38735         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38736         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38737         code.
38738         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38739         unconditional.
38740         [__ASSUME_WAITID_SYSCALL]: Likewise.
38741         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38743 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38745         * sysdeps/unix/closedir.c: Renamed to ...
38746         * sysdeps/posix/closedir.c: ... here.
38747         * sysdeps/unix/dirfd.c: Renamed to ...
38748         * sysdeps/posix/dirfd.c: ... here.
38749         * sysdeps/unix/dirstream.h: Renamed to ...
38750         * sysdeps/posix/dirstream.h: ... here.
38751         * sysdeps/unix/fdopendir.c: Renamed to ...
38752         * sysdeps/posix/fdopendir.c: ... here.
38753         * sysdeps/unix/opendir.c: Renamed to ...
38754         * sysdeps/posix/opendir.c: ... here.
38755         * sysdeps/unix/readdir.c: Renamed to ...
38756         * sysdeps/posix/readdir.c: ... here.
38757         * sysdeps/unix/readdir_r.c: Renamed to ...
38758         * sysdeps/posix/readdir_r.c: ... here.
38759         * sysdeps/unix/rewinddir.c: Renamed to ...
38760         * sysdeps/posix/rewinddir.c: ... here.
38761         * sysdeps/unix/seekdir.c: Renamed to ...
38762         * sysdeps/posix/seekdir.c: ... here.
38763         * sysdeps/unix/telldir.c: Renamed to ...
38764         * sysdeps/posix/telldir.c: ... here.
38765         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38766         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38767         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38768         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38770         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38771         * bits/fcntl.h: ... here.
38773         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38774         not 0.
38775         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38776         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38777         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38778         (struct flock): Move l_start, l_len to the beginning.
38779         Use __pid_t for l_pid.
38780         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38781         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38782         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38783         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38784         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38785         [__USE_LARGEFILE64] (struct flock64): New type.
38786         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38788         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38789         * bits/dirent.h: ... here.
38791         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38792         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38794 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38796         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38797         Change from 2.6.0 to 2.6.16.
38798         * sysdeps/unix/sysv/linux/configure: Regenerated.
38799         * sysdeps/unix/sysv/linux/kernel-features.h
38800         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38801         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38802         version.
38803         (__ASSUME_UTIMES): Likewise.
38804         (__ASSUME_CLONE_STOPPED): Remove.
38805         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38806         architectures, not kernel version.
38807         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38808         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38809         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38810         (__ASSUME_WAITID_SYSCALL): Likewise.
38811         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38812         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38813         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38814         refer to older versions.
38816 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38818         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38819         Define alphasort64 as an alias.
38820         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38821         Define versionsort64 as an alias.
38822         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38823         Define scandir64 as an alias.
38824         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38825         Define scandirat64 as an alias.
38826         * dirent/alphasort64.c (alphasort64):
38827         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38828         * dirent/versionsort64.c: Likewise.
38829         * dirent/scandir64.c: Likewise.
38830         * dirent/scandirat64.c: Likewise.
38831         * sysdeps/wordsize-64/alphasort.c: File removed.
38832         * sysdeps/wordsize-64/alphasort64.c: File removed.
38833         * sysdeps/wordsize-64/scandir.c: File removed.
38834         * sysdeps/wordsize-64/scandir64.c: File removed.
38835         * sysdeps/wordsize-64/scandirat.c: File removed.
38836         * sysdeps/wordsize-64/scandirat64.c: File removed.
38837         * sysdeps/wordsize-64/versionsort.c: File removed.
38838         * sysdeps/wordsize-64/versionsort64.c: File removed.
38839         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38840         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38841         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38842         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38843         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38844         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38845         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38846         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38848         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38849         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38850         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38851         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38852         [defined __arch64__ || defined __sparcv9]
38853         (__INO_T_MATCHES_INO64_T): New macro.
38854         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38855         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38856         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38857         * sysdeps/unix/sysv/linux/bits/dirent.h
38858         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38859         (_DIRENT_MATCHES_DIRENT64): New macro.
38861         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38862         Define lockf64 as an alias.
38863         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38864         Define fseeko64 as an alias.
38865         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38866         Define ftello64 as an alias.
38867         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38868         Define _IO_fgetpos64 and fgetpos64 as aliases.
38869         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38870         Define _IO_fsetpos64 and fsetpos64 as aliases.
38871         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38872         Conditionalize body on this.
38873         * libio/fseeko64.c: Likewise.
38874         * libio/ftello64.c: Likewise.
38875         * libio/iofgetpos64.c: Likewise.
38876         * libio/iofsetpos64.c: Likewise.
38877         * sysdeps/wordsize-64/lockf.c: File removed.
38878         * sysdeps/wordsize-64/lockf64.c: File removed.
38879         * sysdeps/wordsize-64/fseeko.c: File removed.
38880         * sysdeps/wordsize-64/fseeko64.c: File removed.
38881         * sysdeps/wordsize-64/ftello.c: File removed.
38882         * sysdeps/wordsize-64/ftello64.c: File removed.
38883         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38884         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38885         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38886         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38887         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38888         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38889         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38890         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38891         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38892         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38893         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38894         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38895         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38896         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38898         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38899         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38900         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38901         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38902         [defined __arch64__ || defined __sparcv9]
38903         (__OFF_T_MATCHES_OFF64_T): New macro.
38904         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38905         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38906         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38907         (__OFF_T_MATCHES_OFF64_T): New macro.
38909 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38911         * stdlib/secure-getenv.c (__secure_getenv): Replace
38912         GLIBC_2_16 with GLIBC_2_17.
38914 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38916         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38917         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38919 2012-08-03  David S. Miller  <davem@davemloft.net>
38921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38923 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38925         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38926         Remove.
38927         (__ASSUME_CORRECT_SI_PID): Likewise.
38928         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38929         (__ASSUME_TMPFS_NAME): Likewise.
38930         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38931         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38932         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38933         (HAVE_AUX_SECURE): Make definition unconditional.
38934         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38935         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38937 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38939         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38940         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38941         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38942         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38943         __eloop_threshold instead of SYMLOOP_MAX.
38945         * sysdeps/generic/eloop-threshold.h: New file.
38946         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38947         of MAXSYMLINKS.
38948         * elf/chroot_canon.c (chroot_canon): Likewise.
38950 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38952         [BZ #13717]
38953         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38954         Change to 2.6.0 everywhere.
38955         * sysdeps/unix/sysv/linux/configure: Regenerated.
38956         * sysdeps/unix/sysv/linux/kernel-features.h
38957         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38958         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38959         kernel versions.
38960         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38961         (__ASSUME_FUTEX_REQUEUE): Remove.
38962         (__ASSUME_STATFS64): Define unconditionally.
38963         (__ASSUME_AT_SECURE): Likewise.
38964         (__ASSUME_CORRECT_SI_PID): Likewise.
38965         (__ASSUME_TGKILL): Define without depending on kernel version for
38966         i386.
38967         (__ASSUME_UTIMES): Likewise.
38968         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38969         kernel version.
38970         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38971         (__ASSUME_TMPFS_NAME): Likewise.
38972         * README: Update reference to Linux kernel versions.
38974 2012-08-02  Marek Polacek  <polacek@redhat.com>
38976         [BZ# 14150]
38977         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38978         libc_cv_asm_type_prefix with %.
38979         * configure: Regenerated.
38980         * include/libc-symbols.h: Remove comment about
38981         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38982         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38983         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38984         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38985         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38986         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38987         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38988         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38989         * elf/tst-unique2mod1.c: Likewise.
38990         * elf/tst-unique1mod2.c: Likewise.
38991         * elf/tst-unique1mod1.c: Likewise.
38992         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38993         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38994         Replace ASM_TYPE_DIRECTIVE with .type.
38995         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38996         * sysdeps/i386/sysdep.h: Likewise.
38997         * sysdeps/x86_64/sysdep.h: Likewise.
38998         * sysdeps/sh/sysdep.h: Likewise.
38999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39000         Do not define ASM_TYPE_DIRECTIVE.
39001         * sysdeps/powerpc/sysdep.h: Likewise.
39002         * sysdeps/powerpc/powerpc32/sysdep.h:
39003         Replace ASM_TYPE_DIRECTIVE with .type.
39004         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39005         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39006         * sysdeps/i386/fpu/e_powf.S: Likewise.
39007         * sysdeps/i386/fpu/e_expl.S: Likewise.
39008         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39009         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39010         * sysdeps/i386/fpu/e_pow.S: Likewise.
39011         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39012         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39013         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39014         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39015         * sysdeps/i386/fpu/e_log2.S: Likewise.
39016         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39017         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39018         * sysdeps/i386/fpu/e_powl.S: Likewise.
39019         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39020         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39021         * sysdeps/i386/fpu/e_logl.S: Likewise.
39022         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39023         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39024         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39025         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39026         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39027         * sysdeps/i386/fpu/e_log.S: Likewise.
39028         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39029         * sysdeps/i386/fpu/e_logf.S: Likewise.
39030         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39031         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39032         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39033         * sysdeps/i386/fpu/e_log10.S: Likewise.
39034         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39035         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39036         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39037         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39038         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39039         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39040         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39041         * sysdeps/i386/i686/strtok.S: Likewise.
39042         * sysdeps/i386/i386-mcount.S: Likewise.
39043         * sysdeps/i386/strtok.S: Likewise.
39044         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39045         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39046         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39047         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39048         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39049         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39050         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39051         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39052         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39053         * sysdeps/x86_64/_mcount.S: Likewise.
39054         * sysdeps/x86_64/strtok.S: Likewise.
39055         * sysdeps/sh/_mcount.S: Likewise.
39057 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39059         * libio/iofopen.c: Include <fcntl.h>.
39060         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39061         (_IO_fopen64, fopen64): Define as aliases.
39062         * libio/iofopen64.c: Include <fcntl.h>.
39063         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39064         Conditionalize body on this.
39065         * sysdeps/wordsize-64/iofopen.c: File removed.
39066         * sysdeps/wordsize-64/iofopen64.c: File removed.
39068 2012-08-01  Marek Polacek  <polacek@redhat.com>
39070         * libc/Makeconfig: Use elf in place of binfmt-subdir.
39071         Use dlfcn directly instead of a variable.
39072         (binfmt-subdir): Do not define.
39073         (dlfcn): Likewise.
39075 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
39077         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39078         Remove all definitions.
39079         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39080         <kernel-features.h>.
39081         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39082         (miss_F_GETOWN_EX): Remove all definitions.
39083         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39084         macro definition.
39085         [!__ASSUME_FCNTL64]: Remove conditional code.
39086         [__ASSUME_FCNTL64]: Make code unconditional.
39087         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39088         <kernel-features.h>.
39089         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39090         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39091         (lockf64) [__NR_fcntl64]: Make code unconditional.
39092         (lockf64) [__ASSUME_FCNTL64]: Likewise.
39094         * sysdeps/unix/sysv/linux/kernel-features.h
39095         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39096         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39097         Make code unconditional.
39098         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39099         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39101         [__NR_vfork]: Make code unconditional.
39102         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39103         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39105         [__NR_vfork]: Make code unconditional.
39106         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39107         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39109 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39111         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39112         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39114         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39115         Define mkstemp64 as an alias.
39116         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39117         Define mkstemps64 as an alias.
39118         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39119         Define mkostemp64 as an alias.
39120         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39121         Define mkostemps64 as an alias.
39122         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39123         Conditionalize body on this.
39124         * misc/mkostemp64.c: Likewise.
39125         * misc/mkostemps64.c: Likewise.
39126         * misc/mkstemps64.c: Likewise.
39127         * sysdeps/wordsize-64/mkstemp64.c: File removed.
39128         * sysdeps/wordsize-64/mkostemp64.c: File removed.
39129         * sysdeps/wordsize-64/mkostemp.c: File removed.
39130         * sysdeps/wordsize-64/mkstemp.c: File removed.
39131         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39132         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39133         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39134         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39136         [BZ #14138]
39137         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39138         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39139         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39140         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39142         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39143         compat_symbol macros from <shlib-compat.h> rather than the underlying
39144         default_symbol_version and symbol_version macros, so that DEFAULT
39145         lines in shlib-versions are respected.
39146         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39148 2012-08-01  Florian Weimer  <fweimer@redhat.com>
39150         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39151         Declare with warn_unused_result.
39152         (setgid, setregid, setegid, setresgid): Likewise.
39153         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39154         Likewise.
39155         * WUR-REPORT: Remove set*id functions.
39157 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
39159         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39161 2012-07-31  Roland McGrath  <roland@hack.frob.com>
39163         [BZ #10191]
39164         * include/sys/socket.h (__libc_accept, __libc_accept4):
39165         Add attribute_hidden.
39166         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39168         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39169         use of PTR_MANGLE.
39170         * inet/getnetgrent_r.c (setup): Likewise.
39172         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39174 2012-07-31  David S. Miller  <davem@davemloft.net>
39176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39178 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
39180         [BZ #13629]
39181         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39182         value between 1.0 and 2.0 and smaller part has absolute value less
39183         than 1.0.
39184         * math/s_clog10.c (__clog10): Likewise.
39185         * math/s_clog10f.c (__clog10f): Likewise.
39186         * math/s_clog10l.c (__clog10l): Likewise.
39187         * math/s_clogf.c (__clogf): Likewise.
39188         * math/s_clogl.c (__clogl): Likewise.
39189         * math/libm-test.inc (clog_test): Add more tests.
39190         (clog10_test): Likewise.
39191         * sysdeps/i386/fpu/libm-test-ulps: Update.
39192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39194 2012-07-31  Florian Weimer  <fweimer@redhat.com>
39196         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39197         Exit with zero in case no suitable GID is found, and write a
39198         message to standard error.
39200 2012-07-30  Roland McGrath  <roland@hack.frob.com>
39202         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39203         rather than to 1.
39204         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39205         (MAXPATHLEN): Removed.
39206         (NOGROUP, NODEV): New macros.
39207         (setbit, clrbit, isset, isclr): New macros.
39208         (howmany, roundup, powerof2): New macros.
39209         (DEV_BSIZE): New macro.
39211         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39212         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39214         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39215         definition on [!__NO_LONG_DOUBLE_MATH].
39217         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39218         PTR_MANGLE and PTR_DEMANGLE.
39220         * socket/accept4.c (accept4): Rename to __libc_accept4.
39221         Define accept4 as a weak alias.
39223         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39224         on [_DIRENT_HAVE_D_TYPE].
39225         * io/ftw.c (ftw_dir): Likewise.
39227         * io/xmknod.c (__xmknod): Don't check PATH for being null.
39229         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39231         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39232         Use the BSD numbers rather than the arbitrary ones we had.
39233         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39234         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39235         (SIGXCPU, SIGXFSZ): New macros.
39236         (_NSIG): Now 32.
39238         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39239         initializer on [_LIBC_REENTRANT].
39241         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39242         definitions inside [_POSIX_MAPPED_FILES].
39244         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39246         * dirent/opendir.c: Include <fcntl.h>.
39248         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39249         (__libc_getspecific): Likewise.
39250         (__libc_key_create): Likewise.
39252         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39253         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39254         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39255         (tmpfile64): Define as alias.
39256         * sysdeps/wordsize-64/tmpfile.c: File removed.
39257         * sysdeps/wordsize-64/tmpfile64.c: File removed.
39258         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39259         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39261         * stdio-common/vfscanf.c: Include <stdbool.h>.
39262         * nss/makedb.c: Likewise.
39263         * stdio-common/_i18n_number.h: Likewise.
39264         * argp/argp-help.c: Likewise.
39265         * posix/wordexp.c: Likewise.
39266         * sysdeps/posix/spawni.c: Likewise.
39267         * nss/nss_files/files-initgroups.c: Likewise.
39268         * stdio-common/reg-modifier.c: Include <stdlib.h>.
39269         * nss/nss_files/files-initgroups.c: Likewise.
39270         * nss/nss_db/db-netgrp.c: Likewise.
39271         * nss/nss_db/db-initgroups.c: Likewise.
39272         * io/fchmodat.c: Include <sys/stat.h>.
39274         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39275         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39277         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39278         [HAVE_MMAP].
39280         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39281         Add multiple inclusion protection.
39283 2012-07-27  David S. Miller  <davem@davemloft.net>
39285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39287 2012-07-27  Gary Benson  <gbenson@redhat.com>
39289         [BZ #14298]
39290         * elf/rtld.c: Include <stap-probe.h>.
39291         (dl_main): Added static probes "init_start" and "init_complete".
39292         * elf/dl-load.c: Include <stap-probe.h>.
39293         (lose): Take new parameter "nsid".
39294         Added static probe "map_failed".
39295         (_dl_map_object_from_fd): Pass namespace id to lose.
39296         Added static probe "map_start".
39297         (open_verify): Pass namespace id to lose.
39298         * elf/dl-open.c: Include <stap-probe.h>.
39299         (dl_open_worker) Added static probes "map_complete", "reloc_start"
39300         and "reloc_complete".
39301         * elf/dl-close.c: Include <stap-probe.h>.
39302         (_dl_close_worker): Added static probes "unmap_start" and
39303         "unmap_complete".
39304         * elf/rtld-debugger-interface.txt: New file documenting the above.
39306 2012-07-26  Roland McGrath  <roland@hack.frob.com>
39308         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39309         rather than a string variable.
39310         * sunrpc/rpc_main.c (h_output): Likewise.
39311         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39313 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
39315         * inet/check_native.c: New file.
39317 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
39319         [BZ #13629]
39320         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39321         if larger part has absolute value 1.0.
39322         * math/s_clog10.c (__clog10): Likewise.
39323         * math/s_clog10f.c (__clog10f): Likewise.
39324         * math/s_clog10l.c (__clog10l): Likewise.
39325         * math/s_clogf.c (__clogf): Likewise.
39326         * math/s_clogl.c (__clogl): Likewise.
39327         * math/libm-test.inc (clog_test): Add more tests.
39328         (clog10_test): Likewise.
39329         * sysdeps/i386/fpu/libm-test-ulps: Update.
39330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39332         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39333         (pltexit): Likewise.
39334         (La_regs): Likewise.
39335         (La_retval): Likewise.
39336         (int_retval): Likewise.
39337         Update #error for removed macros to refer only to definitions in
39338         tst-audit.h.
39339         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39340         macro.
39341         (pltexit): Likewise.
39342         (La_regs): Likewise.
39343         (La_retval): Likewise.
39344         (int_retval): Likewise.
39345         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39346         macro.
39347         (pltexit): Likewise.
39348         (La_regs): Likewise.
39349         (La_retval): Likewise.
39350         (int_retval): Likewise.
39351         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39352         macro.
39353         (pltexit): Likewise.
39354         (La_regs): Likewise.
39355         (La_retval): Likewise.
39356         (int_retval): Likewise.
39357         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39358         macro.
39359         (pltexit): Likewise.
39360         (La_regs): Likewise.
39361         (La_retval): Likewise.
39362         (int_retval): Likewise.
39363         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39364         macro.
39365         (pltexit): Likewise.
39366         (La_regs): Likewise.
39367         (La_retval): Likewise.
39368         (int_retval): Likewise.
39369         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39370         macro.
39371         (pltexit): Likewise.
39372         (La_regs): Likewise.
39373         (La_retval): Likewise.
39374         (int_retval): Likewise.
39375         * sysdeps/generic/tst-audit.h: Update comment to refer only to
39376         macro definitions in tst-audit.h.
39377         * sysdeps/i386/tst-audit.h: New file.
39378         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39379         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39380         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39381         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39382         * sysdeps/sh/tst-audit.h: Likewise.
39383         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39384         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39385         * sysdeps/x86_64/tst-audit.h: Likewise.
39387 2012-07-26  Andreas Jaeger  <aj@suse.de>
39389         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39390         ptrace.
39392         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39393         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39394         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39395         PTRACE_O_MASK.
39396         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39397         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39398         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39400         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39401         value.
39403         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39404         _sigsys.
39405         (si_call_addr, si_syscall, si_arch): Define new macro.
39406         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39407         _sigsys.
39408         (si_call_addr, si_syscall, si_arch): Define new marcro.
39409         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39410         _sigsys.
39411         (si_call_addr, si_syscall, si_arch): Define new macro.
39412         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39413         _sigsys.
39414         (si_call_addr, si_syscall, si_arch): Define new macro.
39416 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39418         [BZ #13717]
39419         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39420         Change to 2.4.21 where previously 2.4.1.
39421         * sysdeps/unix/sysv/linux/configure: Regenerated.
39422         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39423         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39424         Linux kernel version.
39425         (__ASSUME_STD_AUXV): Remove.
39426         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39427         kernel version.
39428         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39429         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39430         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39431         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39432         (__ASSUME_NETLINK_SUPPORT): Likewise.
39433         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39434         (__no_netlink_support): Remove conditional definition.
39435         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39436         Remove.
39437         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39438         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39439         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39440         (if_nameindex_ioctl): Remove.
39441         (if_nameindex_netlink): Do not handle __no_netlink_support.
39442         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39443         code.
39444         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39445         Remove conditional code.
39446         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39447         code.
39448         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39449         unconditional.
39450         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39451         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39452         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39453         Remove.
39454         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39455         [!__ASSUME_STD_AUXV]: Remove conditional code.
39456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39457         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39458         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39460         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39461         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39462         code.
39463         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39465         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39466         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39467         conditional code.
39468         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39470         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39471         code.
39472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39473         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39474         conditional code.
39475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39476         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39477         code unconditional.
39478         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39479         conditional code.
39480         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39481         unconditional.
39482         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39483         conditional code.
39484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39485         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39486         unconditional.
39487         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39488         conditional code.
39489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39490         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39491         code unconditional.
39492         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39493         conditional code.
39494         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39495         unconditional.
39496         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39497         conditional code.
39498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39499         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39500         code unconditional.
39501         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39502         conditional code.
39503         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39504         unconditional.
39505         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39506         conditional code.
39508 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39510         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39511         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39512         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39513         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39514         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39515         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39516         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39517         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39518         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39519         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39520         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39521         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39522         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39523         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39524         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39525         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39526         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39527         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39528         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39530         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39531         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39532         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39534 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39536         * Versions.def: Add GLIBC_2.17.
39537         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39538         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39539         Introduce __libc_secure_getenv.
39540         * stdlib/Versions (2.17): Add secure_getenv
39541         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39542         * stdlib/secure-getenv.c: Rename __secure_getenv to
39543         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39544         symbol __secure_getenv for GLIBC_2.0.
39545         * stdlib/tst-secure-getenv.c: New.
39546         * stdlib/Makefile (tests): Add testcase.
39547         * manual/startup.texi (Environment Access): Document
39548         secure_getenv.
39549         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39550         __libc_secure_getenv.
39551         * inet/ruserpass.c (ruserpass): Likewise.
39552         * malloc/mtrace.c (mtrace): Likewise.
39553         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39554         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39555         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39556         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39557         HAVE_SECURE_GETENV.
39558         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39559         __secure_getenv to __libc_secure_getenv.
39560         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39562         Likewise.
39563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39564         Likewise.
39565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39567         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39573 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39575         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39576         (struct La_i86_retval): Likewise.
39577         (struct La_x86_64_regs): Likewise.
39578         (struct La_x86_64_retval): Likewise.
39579         (struct La_x32_regs): Likewise.
39580         (struct La_x32_retval): Likewise.
39581         (struct La_ppc32_regs): Likewise.
39582         (struct La_ppc32_retval): Likewise.
39583         (struct La_ppc64_regs): Likewise.
39584         (struct La_ppc64_retval): Likewise.
39585         (struct La_sh_regs): Likewise.
39586         (struct La_sh_retval): Likewise.
39587         (struct La_s390_32_regs): Likewise.
39588         (struct La_s390_32_retval): Likewise.
39589         (struct La_s390_64_regs): Likewise.
39590         (struct La_s390_64_retval): Likewise.
39591         (struct La_sparc32_regs): Likewise.
39592         (struct La_sparc32_retval): Likewise.
39593         (struct La_sparc64_regs): Likewise.
39594         (struct La_sparc64_retval): Likewise.
39595         (struct audit_ifaces): Remove architecture-specific pltenter and
39596         pltexit members.
39597         * sysdeps/i386/ldsodefs.h: New file.
39598         * sysdeps/powerpc/ldsodefs.h: Likewise.
39599         * sysdeps/s390/ldsodefs.h: Likewise.
39600         * sysdeps/sh/ldsodefs.h: Likewise.
39601         * sysdeps/sparc/ldsodefs.h: Likewise.
39602         * sysdeps/x86_64/ldsodefs.h: Likewise.
39604 2012-07-25  Marek Polacek  <polacek@redhat.com>
39606         [BZ #6808]
39607         * math/libm-test.inc (yn_test): Add another test.
39608         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39609         to ERANGE when the result is +-Inf.
39610         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39611         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39612         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39613         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39615 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
39617         * conform/data/time.h-data (NULL): Use macro-constant.  Require
39618         equal to 0.
39619         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
39620         clock_t.
39621         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
39623 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
39625         * configure.in <sysdeps resolving>: Correct printing
39626         Implies_before.
39627         * configure: Regenerate.
39629 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
39631         * math/w_ilogb.c: Include <limits.h>.
39632         * math/w_ilogbl.c: Likewise.
39634 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39636         * manual/lang.texi (__va_copy): Document primarily as ISO C99
39637         va_copy.  Document allowing for unavailable va_copy only as
39638         pre-C99 compatibility.
39639         * manual/string.texi (Copying and Concatenation): Use va_copy
39640         instead of __va_copy in concat example.
39642 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
39644         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39645         (__sendto): Use create_address_port.  Initialize APORT and deallocate
39646         it if not null.
39648         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39649         with O_NOLINK passed to __file_name_lookup.
39651         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39652         with O_NOLINK passed to __file_name_lookup.
39654         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39655         negative N or less than NGIDS.
39657         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39658         type to string_t.  Set ERANGE as errno and return it if NAME is not big
39659         enough.  Use memcpy instead of strncpy.
39661 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39663         * elf/Makefile (check-data): Remove.
39664         (localplt.data): New vpath directive.
39665         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39666         instead of $(check-data).
39667         * scripts/data/localplt-generic.data: Move to ...
39668         * sysdeps/generic/localplt.data: ... here.
39669         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39670         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39671         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39673         ... here.
39674         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39676         ... here.
39677         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39679         ... here.
39680         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39682         ... here.
39683         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39685         ... here.
39686         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39688         ... here.
39690 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39692         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39693         PPC32 and PPC64 files.
39694         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39695         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39697 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39699         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39700         __makecontext_ret to ...
39701         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39702         ... here and call exit if uc_link is NULL.  New file.
39703         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39704         __makecontext_ret.S.
39705         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39706         __makecontext_ret to ...
39707         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39708         ... here and call exit if uc_link is NULL.  New file.
39709         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39710         __makecontext_ret.S.
39712 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39714         * elf/elf.h (R_390_IRELATIVE): New definition.
39715         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39716         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39717         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39718         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39719         (elf_machine_lazy_rel): Likewise.
39720         * sysdeps/s390/dl-irel.h: New file.
39721         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39722         * sysdeps/s390/s390-64/memset.S: New asm code.
39723         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39724         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39725         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39726         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39727         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39728         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39729         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39730         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39731         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39732         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39733         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39734         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39735         * sysdeps/s390/s390-32/memset.S: New asm code.
39736         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39738 2012-07-17  Marek Polacek  <polacek@redhat.com>
39740         [BZ #14349]
39741         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39742         * sysdeps/s390/s390-64/configure.in: Likewise.
39743         * sysdeps/sparc/configure.in: Likewise.
39744         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39745         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39746         * sysdeps/i386/configure.in: Likewise.
39747         * sysdeps/x86_64/configure.in: Likewise.
39748         * sysdeps/sh/configure.in: Likewise.
39749         * sysdeps/s390/s390-32/configure: Regenerated.
39750         * sysdeps/s390/s390-64/configure: Likewise.
39751         * sysdeps/x86_64/configure: Likewise.
39752         * sysdeps/sh/configure: Likewise.
39753         * sysdeps/powerpc/powerpc64/configure: Likewise.
39754         * sysdeps/powerpc/powerpc32/configure: Likewise.
39755         * sysdeps/sparc/configure: Likwise.
39756         * sysdeps/i386/configure: Likewise.
39758         * elf/dl-open.c: Comment fixes.
39760 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39762         * Makefile [CXX] (check-data): Remove.
39763         [CXX] (c++-types.data): New vpath directive.
39764         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39765         vpath.  Do not allow for C++ type data being missing.
39766         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39767         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39768         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39769         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39770         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39771         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39772         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39774         ... here.
39775         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39777         ... here.
39778         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39780         ... here.
39781         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39783         ... here.
39784         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39786         ... here.
39787         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39789         ... here.
39790         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39792         ... here.
39793         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39796         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39797         definitions to architecture-specific files.
39798         (TLS_IE): Likewise.
39799         (TLS_LD): Likewise.
39800         (TLS_GD): Likewise.
39801         * sysdeps/i386/tls-macros.h: New file.
39802         * sysdeps/powerpc/tls-macros.h: Likewise.
39803         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39804         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39805         * sysdeps/sh/tls-macros.h: Likewise.
39806         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39807         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39808         * sysdeps/x86_64/tls-macros.h: Likewise.
39810 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39812         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39813         zero value for regular exit case.
39815         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39816         (__start_context): Preserve zero value for regular exit case.
39818 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39819             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39821         * manual/setjmp.texi (setcontext): Clarify normal process
39822         termination when uc_link is the null pointer.
39823         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39824         exit call.
39826 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39828         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39829         preprocessor.  Test for each exception mask separately.
39831 2012-07-16  Andreas Jaeger  <aj@suse.de>
39833         * po/ru.po: Update from translation team.
39835 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39837         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39838         equal to 0.
39839         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39840         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39841         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39842         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39843         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39845 2012-07-13  Andreas Jaeger  <aj@suse.de>
39847         * po/fr.po: Update from translation team.
39849 2012-07-12  Marek Polacek  <polacek@redhat.com>
39851         [BZ #14173]
39852         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39853         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39854         loop condition.
39856 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39858         [BZ #13717]
39859         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39860         Change to 2.4.1 where previously 2.4.0.
39861         * sysdeps/unix/sysv/linux/configure: Regenerated.
39862         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39863         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39864         version.
39865         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39866         (__ASSUME_AT_CLKTCK): Remove.
39867         (__ASSUME_AT_PAGESIZE): Likewise.
39868         (__ASSUME_AT_XID): Likewise.
39869         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39870         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39871         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39872         unconditionally.
39873         (HAVE_AUX_PAGESIZE): Likewise.
39874         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39875         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39876         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39878 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39880         [BZ #14307]
39881         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39882         the temporary buffer used to invoke __gethostbyname2_r,
39883         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39884         host_data / struct gaih_addrtuple.
39885         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39886         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39887         header file nss/nsswitch.h.
39888         * nss/nsswitch.h (global scope): Add definition of implementation
39889         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39890         resolv/nss_dns/dns-host.c).
39892 2012-07-11  Andreas Jaeger  <aj@suse.de>
39894         * po/fr.po: Update from translation team.
39896         * po/sv.po: Update from translation team
39897         * po/fr.po: Another update from translation team.
39899 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39901         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39902         for subnormals or multiply small sinh result by itself.
39903         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39906 2012-07-11  David S. Miller  <davem@davemloft.net>
39908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39910 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39912         [BZ #14347]
39913         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39914         (INTERNAL_MARK): Shift it here.
39916 2012-07-10  Marek Polacek  <polacek@redhat.com>
39918         [BZ #14151]
39919         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39920         libc_cv_asm_global_directive with .globl.
39921         * configure: Regenerated.
39922         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39923         with .globl.
39924         * sysdeps/i386/configure: Regenerated.
39925         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39926         with .globl.
39927         * sysdeps/x86_64/configure: Regenerated.
39928         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39929         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39930         * elf/tst-unique2mod2.c: Likewise.
39931         * elf/tst-unique2mod1.c: Likewise.
39932         * elf/tst-unique1mod2.c: Likewise.
39933         * elf/tst-unique1mod1.c: Likewise.
39934         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39935         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39936         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39937         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39938         * sysdeps/mach/sysdep.h: Likewise.
39939         * sysdeps/i386/sysdep.h: Likewise.
39940         * sysdeps/i386/i386-mcount.S: Likewise.
39941         * sysdeps/x86_64/_mcount.S: Likewise.
39942         * sysdeps/x86_64/sysdep.h: Likewise.
39943         * sysdeps/sh/_mcount.S: Likewise.
39944         * sysdeps/sh/sysdep.h: Likewise.
39945         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39946         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39947         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39948         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39949         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39950         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39951         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39952         * locale/localeinfo.h: Likewise.
39953         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39954         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39956 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39958         [BZ #14336]
39959         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39960         system".
39961         * manual/message.texi (The Uniforum approach): Likewise.
39962         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39963         (glibc iconv Implementation): Likewise.
39965 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39967         [BZ #14337]
39968         * math/s_clog.c (__clog): Avoid scaling a value down where that
39969         could result in underflow.
39970         * math/s_clog10.c (__clog10): Likewise.
39971         * math/s_clog10f.c (__clog10f): Likewise.
39972         * math/s_clog10l.c (__clog10l): Likewise.
39973         * math/s_clogf.c (__clogf): Likewise.
39974         * math/s_clogl.c (__clogl): Likewise.
39975         * math/libm-test.inc (clog_test): Add more tests.
39976         (clog10_test): Likewise.
39977         * sysdeps/i386/fpu/libm-test-ulps: Update.
39978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39980 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39982         [BZ #14283]
39983         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39984         by 7 not 8 to examine high bit of fractional part.
39986         [BZ #14042]
39987         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39988         for call to __mcount_internal.
39989         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39990         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39991         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39993 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39995         [BZ #14154]
39996         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39997         approximation for values within 0x1p-13f of an odd multiple of
39998         pi/4.
39999         * math/libm-test.inc (tan_test): Do not allow spurious underflow
40000         exception.  Add more tests.
40001         * sysdeps/i386/fpu/libm-test-ulps: Update.
40003         [BZ #6778]
40004         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40005         inputs and return -1 for them.  Do not check for +Inf in case not
40006         reachable for +Inf.
40007         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40008         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40009         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40010         and return -1 for them.  Do not check for +Inf in case not
40011         reachable for +Inf.
40012         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40013         define.
40014         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40015         and return -1 for them.  Do not check for +Inf in case not
40016         reachable for +Inf.
40017         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
40018         spurious underflow.
40019         * sysdeps/i386/fpu/libm-test-ulps: Update.
40020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40022 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
40024         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40026 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
40028         [BZ #14157]
40029         [BZ #14331]
40030         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40031         could result in spurious underflow.  Scale down values above
40032         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40033         * math/s_csqrtf.c (__csqrtf): Likewise.
40034         * math/s_csqrtl.c (__csqrtl): Likewise.
40035         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
40036         spurious underflow.
40037         * sysdeps/i386/fpu/libm-test-ulps: Update.
40038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40040 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
40042         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40043         xopen-msg.sed.
40044         * catgets/xopen-msg.awk: New file.
40045         * catgets/xopen-msg.sed: Removed.
40047         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40048         po2text.sed.
40049         * intl/po2test.awk: New file.
40050         * intl/po2test.sed: Removed.
40052 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
40054         [BZ #14328]
40055         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40056         or multiply small sinh result by itself.
40057         * math/s_ctanf.c (__ctanf): Likewise.
40058         * math/s_ctanh.c (__ctanh): Likewise.
40059         * math/s_ctanhf.c (__ctanhf): Likewise.
40060         * math/s_ctanhl.c (__ctanhl): Likewise.
40061         * math/s_ctanl.c (__ctanl): Likewise.
40062         * math/libm-test.inc (ctan_test_tonearest): New function.
40063         (ctan_test_towardzero): Likewise.
40064         (ctan_test_downward): Likewise.
40065         (ctan_test_upward): Likewise.
40066         (ctanh_test_tonearest): Likewise.
40067         (ctanh_test_towardzero): Likewise.
40068         (ctanh_test_downward): Likewise.
40069         (ctanh_test_upward): Likewise.
40070         (main): Call these new functions.
40071         * sysdeps/i386/fpu/libm-test-ulps: Update.
40072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40074 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
40076         * .gitignore: Delete /ports entry.
40078 2012-07-03  Andreas Jaeger  <aj@suse.de>
40080         * po/bg.po: Update from translation team.
40081         * po/cs.po: Likewise.
40082         * po/de.po: Likewise.
40083         * po/hr.po: Likewise.
40084         * po/nl.pl: Likewise.
40085         * po/pl.po: Likewise.
40086         * po/vi.po: Likewise.
40088 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
40090         * Makeconfig [!+link] (+link-before-libc): New variable.
40091         [!+link] (+link-after-libc): Likewise.
40092         [!+link] (+link-tests): Likewise.
40093         [!+link] (+link): Define in terms of $(+link-before-libc) and
40094         $(+link-after-libc).
40095         [!+link-static] (+link-static-before-libc): New variable.
40096         [!+link-static] (+link-static-after-libc): Likewise.
40097         [!+link-static] (+link-static-tests): Likewise.
40098         [!+link-static] (+link-static): Define in terms of
40099         $(+link-static-before-libc) and $(+link-static-after-libc).
40100         [build-shared] (link-libc-before-gnulib): New variable.
40101         [build-shared] (link-libc-tests): Likewise.
40102         [build-shared] (link-libc): Define in terms of
40103         $(link-libc-before-gnulib).
40104         [!build-shared] (link-libc-tests): New variable.
40105         (link-libc-static-tests): New variable.
40106         [!gnulib] (gnulib-arch): New variable.
40107         [!gnulib] (gnulib-tests): Likewise.
40108         [!gnulib] (static-gnulib-arch): Likewise.
40109         [!gnulib] (static-gnulib-tests): Likewise.
40110         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
40111         Define with "=" instead of ":=".
40112         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
40113         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
40114         * Rules (binaries-all-notests): New variable.
40115         (binaries-all-tests): Likewise.
40116         (binaries-static-notests): Likewise.
40117         (binaries-static-tests): Likewise.
40118         (binaries-all): Define using $(binaries-all-notests) and
40119         $(binaries-all-tests).
40120         (binaries-static): Define using $(binaries-static-notests) and
40121         $(binaries-static-tests).
40122         (binaries-shared-tests): New variable.
40123         (binaries-shared-notests): Likewise.
40124         (binaries-shared): Remove variable.
40125         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40126         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40127         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40128         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40129         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40130         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40131         * elf/Makefile (sln-modules): New variable.
40132         (extra-objs): Add $(sln-modules:=.o).
40133         (ldconfig-modules): Add static-stubs.
40134         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40135         * elf/static-stubs.c: New file.
40137         [BZ #14283]
40138         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40139         by 7 not 8 to examine high bit of fractional part.  Use volatile
40140         variables when splitting into final array of floats if
40141         __FLT_EVAL_METHOD__ != 0.
40142         * math/libm-test.inc (cos_test): Add another test.
40143         (sin_test): Likewise.
40144         * sysdeps/i386/fpu/libm-test-ulps: Update.
40146         [BZ #14273]
40147         * math/libm-test.inc (cosh_test): Add more tests.
40149         * version.h (RELEASE): Set to "development".
40150         (VERSION): Set to "2.16.90".
40152 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
40154         * NEWS: Update copyright. Remove last-updated date.
40155         Mention math library bug fixes and timezone data changes.
40156         * README: Mention GNU/Hurd, x32, and HPPA support status.
40158 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
40160         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40162 2012-06-27  Andreas Jaeger  <aj@suse.de>
40164         * manual/contrib.texi (Contributors): Add Samuel Thibault.
40166 2012-06-25  Andreas Jaeger  <aj@suse.de>
40168         * sysdeps/s390/fpu/libm-test-ulps: Update.
40170 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
40171             Thomas Schwinge  <thomas@codesourcery.com>
40173         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40174         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40175         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40176         fanotify_mark.
40178 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
40180         * sysdeps/mach/start.c: Remove file.
40181         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40182         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40183         * sysdeps/sh/init-first.c: Likewise.
40185         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40186         registers for frame unwinding purposes, add CFI directives.
40187         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40188         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40189         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40190         Likewise.
40192         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40193         __fortify_fail returning.
40194         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40196         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40197         sysdeps/sh/____longjmp_chk.S.
40198         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40199         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40200         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40201         (gen-as-const-headers): Append sigaltstack-offsets.sym.
40203         * sysdeps/sh/abort-instr.h: New file.
40204         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40205         process in case exit returns.
40207         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40208         initialize the GOT register before use.
40210         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40211         calculation of ARGC > 4.
40213         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40214         meaningful names to some local labels.
40216 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40217             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40219         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40220         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40221         (__arch_compare_and_exchange_val_16_acq): Likewise.
40222         (__arch_compare_and_exchange_val_32_acq): Likewise.
40223         (atomic_exchange_and_add): Fix gUSA sequence.
40224         (atomic_add): Likewise.
40225         (atomic_add_negative): Likewise.
40226         (atomic_add_zero): Likewise.
40227         (atomic_bit_test_set): Likewise.
40229 2012-06-22  Andreas Schwab  <schwab@redhat.com>
40231         [BZ #13579]
40232         * include/link.h (struct link_map): Add l_free_initfini.
40233         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40234         l_initfini.
40235         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40236         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40237         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40238         set.
40240 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
40242         * configure.in: Use AC_LANG_SOURCE.
40243         * configure: Regenerate.
40245 2012-06-22  Roland McGrath  <roland@hack.frob.com>
40247         * configure.in (libc_cv_localstatedir): New substituted variable.
40248         * configure: Regenerated.
40249         * config.make.in (localstatedir): New variable, substituted from
40250         libc_cv_localstatedir.
40251         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40252         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40253         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40254         * sysdeps/gnu/configure: Regenerated.
40256 2012-06-21  Jeff Law  <law@redhat.com>
40258         [BZ #14277]
40259         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40260         free.  Simplify list management for _LIBC case.
40262 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
40264         [BZ #14273]
40265         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40266         Clear sign bit of 64-bit integer value before comparing against
40267         overflow value.
40269         * sysdeps/mach/configure: Regenerated.
40271 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
40273         [BZ #14278]
40274         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40276 2012-06-21  Jeff Law  <law@redhat.com>
40278         [BZ #13882]
40279         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
40280         uint16_t for elements in the "seen" array to avoid char overflows.
40281         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40282         * elf/dl-open.c (dl_open_worker): Likewise.
40284 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
40286         * scripts/list-sources.sh: Scan PORTS for translations.
40287         * po/libc.pot: Regenerated.
40289 2012-06-21  Andreas Jaeger  <aj@suse.de>
40291         [BZ #12194]
40292         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40293         warning.
40294         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40295         * bits/byteswap-16.h (__bswap_16): Likewise.
40296         * bits/byteswap.h (__bswap_constant_16): Likewise.
40298 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
40300         [BZ #14117]
40301         * sysdeps/i386/fpu_control.h: Removed.
40302         * sysdeps/x86_64/fpu_control.h: Moved to ...
40303         * sysdeps/x86/fpu_control.h: Here.
40305         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40306         (_FPU_SETCW): Likewise.
40308 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
40310         [BZ #14117]
40311         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40312         * sysdeps/x86/fpu/bits/mathinline.h: This.
40313         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40315         [BZ #14050]
40316         [BZ #14117]
40317         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40318         functions if __x86_64__ is defined.
40320 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
40322         * string/endian.h: Add !__ASSEMBLER__ condition for including
40323         conversion interfaces.
40325 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
40327         [BZ #14241]
40328         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40329         of ABS(x) in calculating zero to negative powers other than odd
40330         integers.
40331         * math/libm-test.inc (pow_test): Add more tests.
40333 2012-06-15  Andreas Jaeger  <aj@suse.de>
40335         * manual/contrib.texi (Contributors): Update entry of Liubov
40336         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40337         Machado Filho.
40339 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
40341         * string/string.h: Add __wur to GNU version of strerror_r.
40343 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
40345         [BZ #14229]
40346         * string/Makefile (tests): Add tst-strtok_r.
40347         * string/tst-strtok_r.c: New file.
40348         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40349         RAX_LP/RDX_LP on SAVE_PTR.
40351 2012-06-14  Roland McGrath  <roland@hack.frob.com>
40353         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40355 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
40357         * libm_test.inc (csqrt_test): Allow more spurious underflow
40358         exceptions.
40359         (j0_test): Likewise.
40360         (j1_test): Likewise.
40361         (y0_test): Likewise.
40362         (y1_test): Likewise.
40364 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
40366         * po/Makefile (libc.pot): Use UTF-8 charset.
40368 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
40370         [BZ #14210]
40371         Suppress sign-conversion warning from FD_SET.
40372         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40373         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40374         not unsigned long int.
40375         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40377 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
40379         [BZ #14050]
40380         [BZ #14117]
40381         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40382         __extern_always_inline instead of __extern_inline.
40383         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40384         (__signbit): Likewise.
40385         (__signbitl): Support C++ namespace.
40386         (lrintf): New inline function.
40387         (lrint): Likewise.
40388         (llrintf): Likewise.
40389         (llrint): Likewise.
40390         (fmaxf): Likewise.
40391         (fmax): Likewise.
40392         (fminf): Likewise.
40393         (fmin): Likewise.
40394         (rint): Likewise.
40395         (rintf): Likewise.
40396         (ceil): Likewise.
40397         (ceilf): Likewise.
40398         (floor): Likewise.
40399         (floorf): Likewise.
40400         (nearbyint): Likewise.
40401         (nearbyintf): Likewise.
40403 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
40405         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40406         non-default versions.
40408 2012-06-11  Roland McGrath  <roland@hack.frob.com>
40410         [BZ #14218]
40411         * manual/argp.texi (Argp): Reword argp_parse description slightly.
40413 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
40415         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40416         (FE_UPWARD, FE_DOWNWARD): Don't define.
40417         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40418         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40420         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40421         reading it.
40422         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40423         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40425 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40427         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40428         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40429         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40430         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40432 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40434         [BZ #14117]
40435         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40436         * sysdeps/i386/fpu/Implies: New file.
40437         * sysdeps/x86_64/fpu/Implies: Likewise.
40438         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40439         * sysdeps/x86/fpu/bits/fenv.h: This.
40441         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40442         __SSE_MATH__.
40444 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40446         [BZ #14134]
40447         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40448         character 0xffff that matches the last element of the
40449         conversion table.
40451 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40453         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40454         fmodl commit.
40456 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40458         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40459         values higher than 25.6283.
40461 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40463         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40464         subnormal exponent extraction and add some __builtin_expect.
40465         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40466         Fix for subnormal mantissa calculation.
40468 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40470         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40471         cpu2 is -1 and errno is not ENOSYS.
40473 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40475         [BZ #14117]
40476         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40477         * sysdeps/x86/bits/string.h: This.
40478         * sysdeps/x86_64/bits/string.h: Removed.
40480         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40481         if not compiling for x86-64, but compiling for >= i486.
40483         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40484         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40486         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40487         New macro from Linux kernel 3.4.0.
40488         (FP_XSTATE_MAGIC2): Likewise.
40489         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40490         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40491         (struct _fpx_sw_bytes): New struct.
40492         (struct _xsave_hdr): Likewise.
40493         (struct _ymmh_state): Likewise.
40494         (struct _xstate): Likewise.
40496         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40497         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40498         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40499         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40500         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40501         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40503         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40504         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40505         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40506         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40507         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40508         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40510 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40512         [BZ #13743]
40513         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40514         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40515         (sysdep_headers): Include sys/platform/ppc.h.
40516         * sysdeps/powerpc/test-gettimebase.c: Test for
40517         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40518         * manual/Makefile (appendices): Include platform.texi.
40519         * manual/contrib.texi (Contributors): Update @node pointers.
40520         * manual/maint.texi (Maintenance): Likewise.
40521         (Platform): New node.
40522         * manual/platform.texi: New file.  Document the new features.
40524 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40525             Jakub Jelinek  <jakub@redhat.com>
40527         [BZ #14188]
40528         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40529         where __builtin_expect is unavailable.
40531 2012-06-03  David S. Miller  <davem@davemloft.net>
40533         * stdlib/longlong.h: Updated from GCC.
40535 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40537         [BZ #14042]
40538         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40539         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40540         __mcount_internal.
40541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40542         (GLIBC_2.16): Likewise.
40544 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40546         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40548 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40551         (default-abi): New variable.
40552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40553         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40554         variable.
40555         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40556         Likewise.
40557         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40558         Likewise.
40559         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40560         Likewise.
40562         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40563         definition.  Document in comment.
40565 2012-06-01  David S. Miller  <davem@davemloft.net>
40567         * stdlib/longlong.h: Updated from GCC.
40569 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40571         [BZ #14117]
40572         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40573         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40574         sys/debugreg.h sys/io.h here.
40575         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40576         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40577         sys/io.h.
40578         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40579         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40580         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40581         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40582         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40583         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40585         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40586         Define only if __x86_64__ is defined.
40588 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40590         [BZ #14048]
40591         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40592         Use int64_t for variable i.
40593         * math/libm-test.inc (fmod_test): Add more tests.
40595         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40596         z computation is not scheduled after fetestexcept.
40597         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40598         Use math_force_eval instead of asm to ensure calculation scheduled
40599         before exception test.
40600         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40601         Ensure a1 + u.d computation is not scheduled after fetestexcept.
40603 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
40605         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40606         computation is not scheduled after fetestexcept.
40608 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40610         [BZ #14117]
40611         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40612         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40614 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40616         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40617         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40619 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40621         [BZ #14117]
40622         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40623         <bits/wordsize.h>.
40624         (__WCHAR_MIN): Support __WORDSIZE == 64.
40625         (__WCHAR_MAX): Likewise.
40627         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40628         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40630         [BZ #14183]
40631         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40632         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40634         [BZ #14117]
40635         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40636         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40638         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40639         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40641         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40642         Defined to 1 if __x86_64__ isn't defined.
40643         (_STAT_VER_LINUX_OLD): New.
40644         (st_atime): Remove duplicate.
40645         (st_mtime): Likewise.
40646         (st_ctime): Likewise.
40648 2012-05-31  David S. Miller  <davem@davemloft.net>
40650         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40651         entries.
40653 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
40655         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40656         gen-libm-test.pl.
40658         [BZ #14132]
40659         * elf/dl-reloc.c: Include <_itoa.h>.
40660         (_dl_reloc_bad_type): Remove use of INTUSE.
40661         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40662         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40663         * stdio-common/psiginfo.c (psiginfo): Likewise.
40664         * stdio-common/psignal.c (psignal): Likewise.
40665         * string/strsignal.c (strsignal): Likewise.
40666         * include/signal.h (_sys_siglist): Declare hidden proto.
40667         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40668         INTVARDEF with libc_hidden_data_def.
40669         * stdio-common/itoa-udigits.c: Likewise.
40670         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40671         (_itoa_lower_digits_internal): Remove declaration.
40672         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40673         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40674         (_sys_sigabbrev_internal): Remove aliases.
40675         (_sys_siglist): Define hidden alias.
40677 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40679         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40680         bits/sysctl.h.
40682 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40684         [BZ #14117]
40685         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40686         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40688         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40689         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40690         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40691         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40692         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40693         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40695         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40696         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40697         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40699         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40700         with __addr.
40701         (insw): Likewise.
40702         (insl): Likewise.
40703         (outsb): Likewise.
40704         (outsw): Likewise.
40705         (outsl): Likewise.
40707         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40708         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40709         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40711         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40712         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40713         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40714         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40715         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40716         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40718         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40719         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40721         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40722         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40724         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40725         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40726         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40728         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40729         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40730         to ...
40731         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40733         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40734         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40735         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40737         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40738         for x86-64.
40739         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40741 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40743         * math/math.h (M_El): Use two more decimal places.
40744         (M_LOG2El): Likewise.
40745         (M_LOG10El): Likewise.
40746         (M_LN2l): Likewise.
40747         (M_LN10l): Likewise.
40748         (M_PIl): Likewise.
40749         (M_PI_2l): Likewise.
40750         (M_PI_4l): Likewise.
40751         (M_1_PIl): Likewise.
40752         (M_2_PIl): Likewise.
40753         (M_2_SQRTPIl): Likewise.
40754         (M_SQRT2l): Likewise.
40755         (M_SQRT1_2l): Likewise.
40757 2012-05-31  David S. Miller  <davem@davemloft.net>
40759         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40760         values between float registers.
40761         * sysdeps/sparc/sparc64/memset.S: Likewise.
40762         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40764 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40766         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40767         -D_FORTIFY_SOURCE=1.
40768         (CPPFLAGS-tst-longjmp_chk.c): Define.
40769         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40770         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40771         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40772         CFLAGS-tst-wchar-h.c.
40774 2012-05-31  Marek Polacek  <polacek@redhat.com>
40776         [BZ #14132]
40777         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40778         __endmntent_internal): Remove declaration.
40779         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40780         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40781         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40783 2012-05-30  David S. Miller  <davem@davemloft.net>
40785         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40786         (___Q_simulate_exceptions): Use real FP ops rather than writing
40787         into the %fsr.
40788         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40789         Likewise.
40791 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40793         [BZ #14117]
40794         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40795         * sysdeps/x86/bits/xtitypes.h: This.
40797         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40798         * sysdeps/x86/bits/wordsize.h: This.
40800         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40801         * sysdeps/x86/bits/huge_vall.h: This.
40803         * sysdeps/i386/bits/select.h: Removed.
40804         * sysdeps/x86_64/bits/select.h: Renamed to ...
40805         * sysdeps/x86/bits/select.h: This.
40807         * sysdeps/i386/bits/setjmp.h: Removed.
40808         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40809         * sysdeps/x86/bits/setjmp.h: This.
40811         * sysdeps/i386/bits/mathdef.h: Removed.
40812         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40813         * sysdeps/x86/bits/mathdef.h: This.
40815 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40817         [BZ #14132]
40818         * include/sys/socket.h (__connect_internal)
40819         (__libc_sa_len_internal): Remove declaration.
40820         (__connect, __libc_sa_len): Declare hidden_proto.
40821         (SA_LEN): Remove use of INTUSE.
40822         * socket/connect.c: Add libc_hidden_def.
40823         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40824         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40825         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40826         alias.
40827         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40828         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40829         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40830         of adding _internal alias.
40832 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40834         [BZ #14117]
40835         * sysdeps/i386/bits/link.h: Removed.
40836         * sysdeps/i386/bits/linkmap.h: Likewise.
40837         * sysdeps/x86_64/bits/link.h: Renamed to ...
40838         * sysdeps/x86/bits/link.h: This.
40839         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40840         * sysdeps/x86/bits/linkmap.h: This.
40842         * sysdeps/i386/bits/endian.h: Removed.
40843         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40844         * sysdeps/x86/bits/endian.h: This.
40846         * sysdeps/i386/bits/byteswap.h: Removed.
40847         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40848         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40849         * sysdeps/x86/bits/byteswap.h: This.
40850         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40851         * sysdeps/x86/bits/byteswap-16.h: This.
40852         * sysdeps/i386/Implies: Add x86.
40853         * sysdeps/x86_64/Implies: Likewise.
40855 2012-05-30  David S. Miller  <davem@davemloft.net>
40857         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40858         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40859         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40860         (FP_TRAPPING_EXCEPTIONS): Define.
40861         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40862         (FP_TRAPPING_EXCEPTIONS): Define.
40863         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40864         subnormals only when inexact has been signalled or underflow
40865         exceptions are enabled.
40866         (_FP_PACK_CANONICAL): Likewise.
40868 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40870         [BZ #14183]
40871         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40872         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40874 2012-05-30  Richard Henderson  <rth@twiddle.net>
40876         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40877         with #ifndef NOT_IN_libc.
40879         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40880         marked to avoid plt entry.
40882 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40884         [BZ #14112]
40885         * Makeconfig (default-abi): New macro.
40886         (abi-includes): Likewise.
40887         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40888         $(abi-$(default-abi)-lib-soname) for soname if defined.
40889         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40890         abi-variants.
40891         * Makefile (installed-stubs): Likewise.
40892         * include/stubs-biarch.h: Removed.
40893         * scripts/lib-names.awk: Only handle one library at a time.
40894         * scripts/soversions.awk: Remove WORDSIZE support.
40895         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40896         entries.
40897         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40898         Removed.
40899         (syscall-list-default-condition): Likewise.
40900         (syscall-list-default-condition): Likewise.
40901         (syscall-list-includes): Likewise.
40902         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40903         syscall-list-* with abi-*.  Handle undefined abi-variants.
40904         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40905         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40906         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40907         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40908         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40909         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40910         Removed.
40911         (syscall-list-32-options): Likewise.
40912         (syscall-list-32-condition): Likewise.
40913         (syscall-list-64-options): Likewise.
40914         (syscall-list-64-condition): Likewise.
40915         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40916         macro.
40917         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40918         Renamed to ...
40919         (abi-*): This.
40920         (abi-64-ld-soname): New macro.
40921         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40922         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40923         Renamed to ...
40924         (abi-*): This.
40925         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40926         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40928 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40930         * sysdeps/unix/sysv/linux/kernel-features.h
40931         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40932         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40933         include <kernel-features.h>.
40934         [!__NR_ftruncate64]: Remove conditional code.
40935         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40936         [__NR_ftruncate64]: Make code unconditional.
40937         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40938         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40939         include <kernel-features.h>.
40940         [!__NR_ftruncate64]: Remove conditional code.
40941         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40942         [__NR_ftruncate64]: Make code unconditional.
40943         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40945         include <kernel-features.h>.
40946         [!__NR_ftruncate64]: Remove conditional code.
40947         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40948         [__NR_ftruncate64]: Make code unconditional.
40949         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40951         include <kernel-features.h>.
40952         [!__NR_ftruncate64]: Remove conditional code.
40953         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40954         [__NR_ftruncate64]: Make code unconditional.
40955         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40957         * configure.in (libc_cv_fpie): Weaken to a compile test using
40958         LIBC_TRY_CC_OPTION.
40959         * configure: Regenerated.
40961 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40967         Refreshed.
40968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40974         Refreshed.
40976 2012-05-27  David S. Miller  <davem@davemloft.net>
40978         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40979         (___Q_zero): New.
40980         (__Q_simulate_exceptions): Return void.  Change to simulate
40981         exceptions by writing into the %fsr.
40982         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40983         (__Qp_handle_exceptions): Likewise.
40984         (numbers): Delete.
40985         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40986         __Qp_handle_exceptions.
40987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40988         __Qp_handle_exceptions.
40989         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40990         as unused and give dummy FP_RND_NEAREST initializer.
40991         (FP_INHIBIT_RESULTS): Define.
40992         (___Q_simulate_exceptions): Update declaration.
40993         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40994         formatting.
40995         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40996         as unused and give dummy FP_RND_NEAREST initializer.
40997         (__Qp_handle_exceptions): Update declaration.
40998         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40999         formatting.
41001 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
41003         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41004         the temporary FPU control word.
41005         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41006         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41007         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41008         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41009         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41010         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41011         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41012         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41013         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41014         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41015         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41017 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41019         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41020         fields.
41022 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
41024         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41025         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41026         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41027         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41028         Likewise.
41029         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41030         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41031         Likewise.
41033 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
41035         * po/h.po: Update from translation team.
41037 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
41039         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41041         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41042         handling of denormals.
41043         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41044         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41045         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41046         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41047         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41048         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41049         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41050         Likewise.
41052 2012-05-26  Marek Polacek  <polacek@redhat.com>
41054         [BZ #14152]
41055         * math/libm-test.inc (fma_test): Don't always expect underflow
41056         exception.
41058 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41060         [BZ #12416]
41061         * elf/tst-execstack.c: Include stackinfo.h.
41062         (do_test): Adjust test case to ensure that pthread_getattr_np
41063         behaviour remains the same after marking stack executable.
41065 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41067         * sysdeps/unix/sysv/linux/kernel-features.h
41068         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41069         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41070         kernel-features.h.
41071         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41072         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41073         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41074         kernel-features.h.
41075         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41076         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41078 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
41080         * configure.in: Define the default includes to being none.
41081         * configure: Regenerated.
41083 2012-05-25  Roland McGrath  <roland@hack.frob.com>
41085         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41086         * sysdeps/x86_64/setjmp.S: Likewise.
41087         * sysdeps/i386/bsd-setjmp.S: Likewise.
41088         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41089         * sysdeps/i386/setjmp.S: Likewise.
41090         * sysdeps/i386/__longjmp.S: Likewise.
41091         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41092         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41094         * include/stap-probe.h: New file.
41095         * configure.in: Handle --enable-systemtap.
41096         * configure: Regenerated.
41097         * config.h.in (USE_STAP_PROBE): New #undef.
41098         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41099         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41100         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41102 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41104         [BZ #13717]
41105         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41106         to 2.4.0 where earlier.
41107         * sysdeps/unix/sysv/linux/configure: Regenerated.
41108         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41109         <kernel-features.h>.
41110         [__ASSUME_32BITUIDS]: Make code unconditional.
41111         [!__ASSUME_32BITUIDS]: Remove conditional code.
41112         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41113         <kernel-features.h>.
41114         [__ASSUME_32BITUIDS]: Make code unconditional.
41115         [!__ASSUME_32BITUIDS]: Remove conditional code.
41116         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41117         [__ASSUME_32BITUIDS]: Make code unconditional.
41118         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41119         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41120         <kernel-features.h>.
41121         [__ASSUME_32BITUIDS]: Make code unconditional.
41122         [!__ASSUME_32BITUIDS]: Remove conditional code.
41123         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41124         <kernel-features.h>.
41125         [__ASSUME_32BITUIDS]: Make code unconditional.
41126         [!__ASSUME_32BITUIDS]: Remove conditional code.
41127         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41128         <kernel-features.h>.
41129         [__ASSUME_32BITUIDS]: Make code unconditional.
41130         [!__ASSUME_32BITUIDS]: Remove conditional code.
41131         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41132         <kernel-features.h>.
41133         [__ASSUME_32BITUIDS]: Make code unconditional.
41134         [!__ASSUME_32BITUIDS]: Remove conditional code.
41135         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41136         <kernel-features.h>.
41137         [__ASSUME_32BITUIDS]: Make code unconditional.
41138         [!__ASSUME_32BITUIDS]: Remove conditional code.
41139         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41140         <kernel-features.h>.
41141         [__ASSUME_32BITUIDS]: Make code unconditional.
41142         [!__ASSUME_32BITUIDS]: Remove conditional code.
41143         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41144         <kernel-features.h>.
41145         [__ASSUME_32BITUIDS]: Make code unconditional.
41146         [!__ASSUME_32BITUIDS]: Remove conditional code.
41147         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41148         <kernel-features.h>.
41149         [__ASSUME_32BITUIDS]: Make code unconditional.
41150         [!__ASSUME_32BITUIDS]: Remove conditional code.
41151         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41152         <kernel-features.h>.
41153         [__ASSUME_32BITUIDS]: Make code unconditional.
41154         [!__ASSUME_32BITUIDS]: Remove conditional code.
41155         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41156         <kernel-features.h>.
41157         [__ASSUME_32BITUIDS]: Make code unconditional.
41158         [!__ASSUME_32BITUIDS]: Remove conditional code.
41159         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41160         <kernel-features.h>.
41161         [__NR_setresgid] (__setresgid): Do not declare.
41162         [__ASSUME_32BITUIDS]: Make code unconditional.
41163         [!__ASSUME_32BITUIDS]: Remove conditional code.
41164         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41165         <kernel-features.h>.
41166         [__NR_setresuid] (__setresuid): Do not declare.
41167         [__ASSUME_32BITUIDS]: Make code unconditional.
41168         [!__ASSUME_32BITUIDS]: Remove conditional code.
41169         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41170         <kernel-features.h>.
41171         [__ASSUME_32BITUIDS]: Make code unconditional.
41172         [!__ASSUME_32BITUIDS]: Remove conditional code.
41173         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41174         <kernel-features.h>.
41175         [__ASSUME_32BITUIDS]: Make code unconditional.
41176         [!__ASSUME_32BITUIDS]: Remove conditional code.
41177         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41178         <kernel-features.h>.
41179         [__ASSUME_32BITUIDS]: Make code unconditional.
41180         [!__ASSUME_32BITUIDS]: Remove conditional code.
41181         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41182         <kernel-features.h>.
41183         [__ASSUME_32BITUIDS]: Make code unconditional.
41184         [!__ASSUME_32BITUIDS]: Remove conditional code.
41185         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41186         <kernel-features.h>.
41187         [__ASSUME_32BITUIDS]: Make code unconditional.
41188         [!__ASSUME_32BITUIDS]: Remove conditional code.
41189         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41190         <kernel-features.h>.
41191         [__ASSUME_32BITUIDS]: Make code unconditional.
41192         [!__ASSUME_32BITUIDS]: Remove conditional code.
41193         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41194         <kernel-features.h>.
41195         [__ASSUME_32BITUIDS]: Make code unconditional.
41196         [!__ASSUME_32BITUIDS]: Remove conditional code.
41197         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41198         <kernel-features.h>.
41199         [__ASSUME_32BITUIDS]: Make code unconditional.
41200         [!__ASSUME_32BITUIDS]: Remove conditional code.
41201         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41202         <kernel-features.h>.
41203         [__ASSUME_32BITUIDS]: Make code unconditional.
41204         [!__ASSUME_32BITUIDS]: Remove conditional code.
41205         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41206         <kernel-features.h>.
41207         [__ASSUME_32BITUIDS]: Make code unconditional.
41208         [!__ASSUME_32BITUIDS]: Remove conditional code.
41209         * sysdeps/unix/sysv/linux/kernel-features.h
41210         (__ASSUME_SETRESUID_SYSCALL): Remove.
41211         (__ASSUME_SETRESGID_SYSCALL): Likewise.
41212         (__ASSUME_32BITUIDS): Likewise.
41213         (__ASSUME_LDT_WORKS): Likewise.
41214         (__ASSUME_O_DIRECTORY): Likewise.
41215         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41216         architecture but not kernel version.
41217         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41218         (__ASSUME_MMAP2_SYSCALL): Likewise.
41219         (__ASSUME_STAT64_SYSCALL): Likewise.
41220         (__ASSUME_IPC64): Likewise.
41221         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41222         <kernel-features.h>.
41223         [__ASSUME_32BITUIDS]: Make code unconditional.
41224         [!__ASSUME_32BITUIDS]: Remove conditional code.
41225         * sysdeps/unix/sysv/linux/opendir.c: Do not include
41226         <kernel-features.h>.
41227         [__ASSUME_O_DIRECTORY]: Make code unconditional.
41228         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41229         132096]: Remove conditional code.
41230         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41231         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41232         <kernel-features.h>.
41233         [__ASSUME_32BITUIDS]: Make code unconditional.
41234         [!__ASSUME_32BITUIDS]: Remove conditional code.
41235         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41236         <kernel-features.h>.
41237         [__ASSUME_32BITUIDS]: Make code unconditional.
41238         [!__ASSUME_32BITUIDS]: Remove conditional code.
41239         * sysdeps/unix/sysv/linux/setegid.c: Do not include
41240         <kernel-features.h>.
41241         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41242         unconditional.
41243         (__setresgid): Do not declare.
41244         [__ASSUME_32BITUIDS]: Make code unconditional.
41245         [!__ASSUME_32BITUIDS]: Remove conditional code.
41246         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41247         <kernel-features.h>.
41248         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41249         unconditional.
41250         (__setresuid): Do not declare.
41251         [__ASSUME_32BITUIDS]: Make code unconditional.
41252         [!__ASSUME_32BITUIDS]: Remove conditional code.
41253         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41254         <kernel-features.h>.
41255         [__ASSUME_32BITUIDS]: Make code unconditional.
41256         [!__ASSUME_32BITUIDS]: Remove conditional code.
41257         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41258         <kernel-features.h>.
41259         [__ASSUME_32BITUIDS]: Make code unconditional.
41260         [!__ASSUME_32BITUIDS]: Remove conditional code.
41262 2012-05-25  Richard Henderson  <rth@twiddle.net>
41264         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41265         dl_hwcap to ifunc resolver.
41266         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41267         elf_ifunc_invoke.
41268         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41269         dl_hwcap to ifunc resolver.
41270         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41272 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41274         [BZ #14153]
41275         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41276         for |x| <= 2**-26, not 2**-57.
41277         * math/libm-test.inc (acos_test): Do not allow spurious underflow
41278         exception.
41280 2012-05-24  Jeff Law  <law@redhat.com>
41282         * stdio-common/Makefile (tests): Add bug25.
41283         * stdio-common/bug25.c: New test.
41285 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41287         [BZ #13576]
41288         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41289         multiple of MALLOC_ALIGNMENT in size.
41290         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41292 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41294         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41295         Require >= 256.
41296         (FILENAME_MAX): Use macro-int-constant.
41297         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
41298         (_IOFBF): Use macro-int-constant.
41299         (_IOLBF): Likewise.
41300         (_IONBF): Likewise.
41301         (SEEK_CUR): Likewise.
41302         (SEEK_END): Likewise.
41303         (SEEK_SET): Likewise.
41304         (TMP_MAX): Likewise.
41305         (EOF): Use macro-int-constant.  Require < 0.
41306         (NULL): Use macro-constant.  Require == 0.
41307         (stdin): Require type to be FILE *.
41308         (stdout): Likewise.
41309         (stderr): Likewise.
41310         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41311         macro-int-constant.
41312         (EXIT_SUCCESS): Likewise.
41313         (NULL): Use macro-constant.  Require == 0.
41314         (RAND_MAX): Use macro-int-constant.
41315         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41316         [C99-based standards] (strtof): Require function.
41317         [C99-based standards] (strtold): Likewise.
41318         [C99-based standards] (strtoll): Likewise.
41319         [C99-based standards] (strtoull): Likewise.
41320         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41321         [ISO || ISO99 || ISO11] (limits.h): Likewise.
41322         [ISO || ISO99 || ISO11] (math.h): Likewise.
41323         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41324         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41325         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41327 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
41329         [BZ #14132]
41330         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41331         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41332         * intl/dgettext.c (DCGETTEXT): Likewise.
41333         * intl/gettext.c (DCGETTEXT): Likewise.
41334         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41335         * posix/regex_internal.h (gettext): Likewise.
41336         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41337         Remove declaration.
41338         * include/argz.h (__argz_count_internal)
41339         (__argz_stringify_internal): Remove declaration.
41340         (__argz_count, __argz_stringify): Declare hidden proto.
41341         * intl/dcgettext.c: Remove use of INTDEF.
41342         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41343         * string/argz-stringify.c: Likewise.
41344         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41345         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41346         Declare hidden proto.
41347         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41348         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41349         Declare hidden proto.
41350         * include/stdio.h (__asprintf_internal): Don't declare.
41351         (__asprintf): Don't define as macro.  Declare hidden proto.
41352         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41353         (__fsetlocking): Declare hidden proto.
41354         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41355         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41356         hidden proto.
41357         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41358         (_IO_setlinebuf): Remove use of INTUSE.
41359         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41360         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41361         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41362         Remove declaration.
41363         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41364         (_IO_do_flush): Remove use of INTUSE.
41365         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41366         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41367         (_IO_adjust_column, _IO_least_wmarker)
41368         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41369         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41370         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41371         (_IO_default_doallocate, _IO_wdefault_doallocate)
41372         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41373         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41374         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41375         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41376         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41377         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41378         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41379         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41380         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41381         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41382         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41383         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41384         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41385         proto.
41386         (_IO_flush_all_internal, _IO_adjust_column_internal)
41387         (_IO_default_uflow_internal, _IO_default_finish_internal)
41388         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41389         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41390         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41391         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41392         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41393         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41394         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41395         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41396         (_IO_file_close_internal, _IO_file_close_it_internal)
41397         (_IO_file_underflow_internal, _IO_file_overflow_internal)
41398         (_IO_file_init_internal, _IO_file_attach_internal)
41399         (_IO_file_fopen_internal, _IO_file_read_internal)
41400         (_IO_file_sync_internal, _IO_file_seek_internal)
41401         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41402         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41403         (_IO_str_underflow_internal, _IO_str_overflow_internal)
41404         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41405         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41406         (_IO_list_all_internal, _IO_link_in_internal)
41407         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41408         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41409         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41410         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41411         (_IO_do_write_internal, _IO_padn_internal)
41412         (_IO_getline_info_internal, _IO_getline_internal)
41413         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41414         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41415         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41416         (_IO_vfscanf_internal, _IO_vfprintf_internal)
41417         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41418         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41419         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41420         with libc_hidden_ver, remove use of INTUSE.
41421         * libio/genops.c: Likewise.
41422         * libio/freopen.c: Likewise.
41423         * libio/freopen64.c: Likewise.
41424         * libio/iofclose.c: Likewise.
41425         * libio/iofdopen.c: Likewise.
41426         * libio/iofflush.c: Likewise.
41427         * libio/iofflush_u.c: Likewise.
41428         * libio/iofgets.c: Likewise.
41429         * libio/iofgets_u.c: Likewise.
41430         * libio/iofopen.c: Likewise.
41431         * libio/iofopncook.c: Likewise.
41432         * libio/iofread.c: Likewise.
41433         * libio/iofread_u.c: Likewise.
41434         * libio/ioftell.c: Likewise.
41435         * libio/iofwrite.c: Likewise.
41436         * libio/iogetline.c: Likewise.
41437         * libio/iogets.c: Likewise.
41438         * libio/iogetwline.c: Likewise.
41439         * libio/iopadn.c: Likewise.
41440         * libio/iopopen.c: Likewise.
41441         * libio/ioseekoff.c: Likewise.
41442         * libio/ioseekpos.c: Likewise.
41443         * libio/iosetbuffer.c: Likewise.
41444         * libio/iosetvbuf.c: Likewise.
41445         * libio/ioungetc.c: Likewise.
41446         * libio/ioungetwc.c: Likewise.
41447         * libio/iovdprintf.c: Likewise.
41448         * libio/iovsprintf.c: Likewise.
41449         * libio/iovsscanf.c: Likewise.
41450         * libio/memstream.c: Likewise.
41451         * libio/obprintf.c: Likewise.
41452         * libio/oldfileops.c: Likewise.
41453         * libio/oldiofclose.c: Likewise.
41454         * libio/oldiofdopen.c: Likewise.
41455         * libio/oldiofopen.c: Likewise.
41456         * libio/oldiopopen.c: Likewise.
41457         * libio/oldstdfiles.c: Likewise.
41458         * libio/putc.c: Likewise.
41459         * libio/setbuf.c: Likewise.
41460         * libio/setlinebuf.c: Likewise.
41461         * libio/stdfiles.c: Likewise.
41462         * libio/strops.c: Likewise.
41463         * libio/vasprintf.c: Likewise.
41464         * libio/vscanf.c: Likewise.
41465         * libio/vsnprintf.c: Likewise.
41466         * libio/vswprintf.c: Likewise.
41467         * libio/wfiledoalloc.c: Likewise.
41468         * libio/wfileops.c: Likewise.
41469         * libio/wgenops.c: Likewise.
41470         * libio/wmemstream.c: Likewise.
41471         * libio/wstrops.c: Likewise.
41472         * libio/__fpurge.c: Likewise.
41473         * libio/__fsetlocking.c: Likewise.
41474         * assert/assert.c: Likewise.
41475         * debug/fgets_chk.c: Likewise.
41476         * debug/fgets_u_chk.c: Likewise.
41477         * debug/fread_chk.c: Likewise.
41478         * debug/fread_u_chk.c: Likewise.
41479         * debug/gets_chk.c: Likewise.
41480         * debug/obprintf_chk.c: Likewise.
41481         * debug/vasprintf_chk.c: Likewise.
41482         * debug/vdprintf_chk.c: Likewise.
41483         * debug/vsnprintf_chk.c: Likewise.
41484         * debug/vsprintf_chk.c: Likewise.
41485         * malloc/mtrace.c: Likewise.
41486         * misc/error.c: Likewise.
41487         * misc/syslog.c: Likewise.
41488         * stdio-common/asprintf.c: Likewise.
41489         * stdio-common/fxprintf.c: Likewise.
41490         * stdio-common/getw.c: Likewise.
41491         * stdio-common/isoc99_fscanf.c: Likewise.
41492         * stdio-common/isoc99_scanf.c: Likewise.
41493         * stdio-common/isoc99_vfscanf.c: Likewise.
41494         * stdio-common/isoc99_vscanf.c: Likewise.
41495         * stdio-common/isoc99_vsscanf.c: Likewise.
41496         * stdio-common/printf-prs.c: Likewise.
41497         * stdio-common/printf_fp.c: Likewise.
41498         * stdio-common/printf_fphex.c: Likewise.
41499         * stdio-common/printf_size.c: Likewise.
41500         * stdio-common/putw.c: Likewise.
41501         * stdio-common/scanf.c: Likewise.
41502         * stdio-common/sprintf.c: Likewise.
41503         * stdio-common/tmpfile.c: Likewise.
41504         * stdio-common/vfprintf.c: Likewise.
41505         * stdio-common/vfscanf.c: Likewise.
41506         * stdlib/strfmon_l.c: Likewise.
41507         * sunrpc/openchild.c: Likewise.
41508         * sunrpc/xdr_stdio.c: Likewise.
41509         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41510         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41512 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41514         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41516         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41517         in the third column, to generate for the shared library an IFUNC
41518         that uses _dl_vdso_vsym.
41519         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41520         * Makeconfig (object-suffixes-noshared): New variable.
41522         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41523         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41524         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41525         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41527         [BZ #14132]
41528         * include/sys/time.h (__gettimeofday): Remove macro.
41529         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41530         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41531         Remove INTDEF.
41532         (__gettimeofday): Add libc_hidden_def.
41533         (gettimeofday): Add libc_hidden_weak.
41534         * sysdeps/mach/gettimeofday.c: Likewise.
41535         * sysdeps/posix/gettimeofday.c: Likewise.
41536         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41537         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41538         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41539         (__gettimeofday_internal): Remove strong_alias.
41540         (__gettimeofday): Add libc_hidden_def.
41541         (gettimeofday): Add libc_hidden_weak.
41542         * sysdeps/unix/syscalls.list (gettimeofday):
41543         Remove __gettimeofday_internal alias.
41545 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41546             H.J. Lu  <hongjiu.lu@intel.com>
41548         [BZ #12495]
41549         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41550         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41551         (largebin_index_32_big): New.
41552         (largebin_index): Use it for 16-byte alignment.
41553         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41554         correction with front_misalign.
41556 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41560         Likewise.
41561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41562         Likewise.
41563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41564         Likewise.
41565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41566         Likewise.
41567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41568         Likewise.
41569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41570         Likewise.
41571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41572         Likewise.
41573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41574         Likewise.
41575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41576         Likewise.
41577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41578         Likewise.
41579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41580         Likewise.
41581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41582         Likewise.
41584         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41585         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41587 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41589         [BZ #10846]
41590         [BZ #14036]
41591         * math/libm-test.inc (exp_test): Add test from bug 14036.
41592         (pow_test): Add test from bug 10846.
41594         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41595         and other flags.
41596         (special_function): Do not include flags in test name.
41597         (parse_args): Likewise.
41598         * sysdeps/i386/fpu/libm-test-ulps: Update.
41599         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41600         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41601         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41604         * math/gen-libm-test.pl (%beautify): Add entries for underflow
41605         exceptions.
41606         * math/libm-test.inc ("Philosophy"): Update comment about
41607         exception testing.
41608         (UNDERFLOW_EXCEPTION): New macro.
41609         (UNDERFLOW_EXCEPTION_OK): Likewise.
41610         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41611         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41612         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41613         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41614         (INVALID_EXCEPTION_OK): Update value.
41615         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41616         (OVERFLOW_EXCEPTION_OK): Likewise.
41617         (IGNORE_ZERO_INF_SIGN): Likewise.
41618         (test_exceptions): Handle underflow exceptions.
41619         (acos_test): Update for underflow exception expectations.
41620         (cexp_test): Likewise.
41621         (clog_test): Likewise.
41622         (clog10_test): Likewise.
41623         (csqrt_test): Likewise.
41624         (ctan_test): Likewise.
41625         (ctanh_test): Likewise.
41626         (exp_test): Likewise.
41627         (exp10_test): Likewise.
41628         (exp2_test): Likewise.
41629         (expm1_test): Likewise.
41630         (fma_test): Likewise.
41631         (j0_test): Likewise.
41632         (jn_test): Likewise.
41633         (nexttoward_test): Likewise.
41634         (pow_test): Likewise.
41635         (scalbn_test): Likewise.
41636         (scalbln_test): Likewise.
41637         (tan_test): Likewise.
41638         (y1_test): Likewise.
41639         * sysdeps/i386/fpu/libm-test-ulps: Update.
41640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41642 2012-05-23  David S. Miller  <davem@davemloft.net>
41644         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41645         (__libc_sigaction): Remove unused local variables.
41647 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41649         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41651 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
41653         mktime: avoid signed integer overflow
41654         * time/mktime.c (__mktime_internal): Do not mishandle the case
41655         where diff == INT_MIN.
41657         mktime: simplify computation of average
41658         * time/mktime.c (ranged_convert): Use new time_t_avg function
41659         instead of rolling our own (probably-slower) code.
41661         mktime: do not assume signed right shift propagates sign bit
41662         * time/mktime.c (isdst_differ): New static function.
41663         (__mktime_internal): No need to normalize tm_isdst now.
41664         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41665         tm_isdst values.
41667         mktime: merge another wrapv change from gnulib
41668         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41669         from some compilers.
41671         mktime: remove incorrect attempt at unusual arithmetics
41672         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41673         The code didn't really work on such machines anyway.
41674         (TYPE_MINIMUM): Assume two's complement.
41675         (twos_complement_arithmetic): Verify that long_int and time_t
41676         are two's complement (or unsigned, in the latter case).
41678         mktime: check signed shifts on long_int and time_t, too
41679         * time/mktime.c (SHR): Check that shifts work as desired
41680         on the types long_int and time_t too, as SHR is used on
41681         such types.
41683         mktime: do not assume 'long' is wide enough
41684         * time/mktime.c (verify): Move decl up.
41685         (long_int): New type.
41686         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41687         to remove assumption in the code that 'long' is wide enough to
41688         store year values.  This assumption is not true on x32 and on
41689         some non-glibc platforms.
41691         mktime: merge wrapv change from gnulib
41692         * time/mktime.c (WRAPV): New macro.
41693         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41694         (guess_time_tm, __mktime_internal): Do not assume that signed
41695         integer overflow wraps around; modern compilers generate code
41696         where this assumption is no longer valid.
41698 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41700         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41701         Replace "jmp L(pseudo_end)" with "ret".
41702         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41703         Likewise.
41705 2012-05-23  Andreas Jaeger  <aj@suse.de>
41707         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41708         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41710 2012-05-23  Andreas Jaeger  <aj@suse.de>
41711             Maximilian Attems  <max@stro.at>
41713         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41714         New macros.
41716 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41718         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41719         code so that pseudo_end is just ret and the stack pointer is
41720         correct also for static library in error case.
41722 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41724         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41725         move to syscalls.list.
41726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41731         * manual/install.texi (Running make install): Do not mention Linux
41732         kernel version for which pt_chown is not needed.
41733         (Linux): Do not mention problems with nscd with 2.0 kernels.
41734         * INSTALL: Regenerated.
41736 2012-05-23  Andreas Jaeger  <aj@suse.de>
41738         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41739         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41740         macro.
41741         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41742         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41743         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41744         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41745         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41746         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41747         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41748         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41749         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41750         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41751         * sysdeps/unix/sysv/linux/bits/in.h
41752         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41754 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41756         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41757         (PREPARE_VERSION): Just use assert instead, it will be elided
41758         under [NDEBUG] anyway.
41760 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41762         * sysdeps/unix/sysv/linux/Makefile: Include
41763         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41764         (sysdep_routines): Remove sysctl.
41765         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41766         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41767         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41768         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41769         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41771 2012-05-22  Andreas Jaeger  <aj@suse.de>
41773         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41774         that pseudo_end is just ret and the stack pointer is correct also
41775         for static library in error case.
41777 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41779         [BZ #14122]
41780         * nss/nsswitch.c (defconfig_entries): New variable.
41781         (__nss_database_lookup): Don't leak defconfig entries.
41782         (nss_parse_service_list): Don't leak on error paths.
41783         (free_database_entries): New function.
41784         (free_defconfig): New function.
41785         (free_mem): Move common code to free_database_entries.
41787 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41789         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41790         Add arch_prctl.
41791         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41793         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41794         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41795         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41796         New macro.
41797         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41798         (INTERNAL_SYSCALL_TYPES): Likewise.
41799         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41800         (LOAD_REGS_TYPES_[1-6]): Likewise.
41801         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41802         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41804 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41806         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41807         copysignl for GLIBC_2_0.
41808         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41809         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41810         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41811         logbl for GLIBC_2_0.
41812         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41813         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41815 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41817         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41818         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41820         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41821         Use "neg %eax".
41823         * time/mktime.c: Update copyright years.
41825 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41827         mktime: merge comment-quoting-style change from gnulib
41828         * time/mktime.c: Quote 'like this' in comments.
41829         The GNU coding standards suggest that we no longer quote `like this',
41830         as "`" and "'" are typically rendered asymmetrically nowadays.
41831         The typical gnulib style is to quote 'like this' when quoting
41832         code, and "like this" when quoting English.
41834         * time/mktime.c (compile-command): Add "-I.".
41836         mktime: merge mktime-internal.h change from gnulib
41837         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41839         mktime: merge time_r change from gnulib
41840         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41842         mktime: merge DEBUG change from gnulib
41843         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41844         case system <time.h> has a #define.
41846         mktime: merge <sys/types.h> change from gnulib
41847         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41848         since <time.t> is now guaranteed to define time_t.
41850         mktime: merge HAVE_CONFIG_H change from gnulib
41851         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41853 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41855         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41856         Use "neg %eax".
41858         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41859         __rlim_t cast.
41860         (struct rusage): Use anonymous union to pad each field to
41861         __syscall_slong_t.
41863 2012-05-21  David S. Miller  <davem@davemloft.net>
41865         * Makefules (o-iterator): Remove .s cases.
41866         (compile-command.s): Delete.
41867         (COMPILE.s): Delete.
41868         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41870 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41872         * configure.in (libc_cv_predef_stack_protector): Only consider
41873         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41874         * configure: Regenerated.
41876 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41878         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41879         New macro.  Use R*LP on int and pointer.
41880         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41881         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41882         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41883         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41885         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41886         [__WORDSIZE_TIME64_COMPAT32] instead of
41887         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41888         (struct utmp): Likewise.
41889         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41890         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41891         Renamed to ...
41892         (__WORDSIZE_TIME64_COMPAT32): This.
41893         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41894         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41895         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41896         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41897         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41898         (__WORDSIZE_TIME64_COMPAT32): New macro.
41900 2012-05-21  Andreas Jaeger  <aj@suse.de>
41902         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41903         only if [SHARED]. Add prototype for __wcschr_ia32.
41905 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41907         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41908         of %rbp unmolested in the jmp_buf while mangling the low bits.
41909         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41910         unmolested high bits of %rbp while demangling the low bits.
41911         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41913 2012-05-21  Andreas Jaeger  <aj@suse.de>
41915         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41916         * sunrpc/svc_simple.c: Use it for registerrpc.
41917         * sunrpc/xcrypt.c: Use it for passwd2des.
41919         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41921 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41923         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41924         Don't define if [__SYSCALL_WORDSIZE != 32].
41925         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41926         New macro.
41928 2012-05-21  Bruno Haible  <bruno@clisp.org>
41929             Andreas Jaeger  <aj@suse.de>
41931         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41932         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41933         inptr and inend for must_buffer_ch.
41934         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41935         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41936         * stdio-common/Makefile (tests): Remove bug15.
41937         (bug15-ENV): Remove macro.
41938         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41939         anymore.
41941 2012-05-19  Andreas Jaeger  <aj@suse.de>
41942             Roland McGrath  <roland@hack.frob.com>
41944         * manual/contrib.texi: Completely rewritten. It contains now an
41945         alphabetical list of contributors and their contributions.
41947 2012-05-21  Richard Henderson  <rth@twiddle.net>
41949         * misc/getauxval.c (__getauxval): Use unsigned long int.
41950         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41951         (getauxval): Use unsigned long int.
41953 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41955         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41957 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41959         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41960         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41961         __alignof__ (long double).
41963 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41967 2012-05-20  Richard Henderson  <rth@twiddle.net>
41969         * misc/getauxval.c: New file.
41970         * misc/sys/auxv.h: New file.
41971         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41972         (routines): Add getauxval.
41973         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41974         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41975         * elf/dl-sysdep.c (_dl_auxv): Remove.
41976         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41977         * elf/dl-support.c (_dl_auxv): New variable.
41978         (_dl_aux_init): Initialize it.
41979         * manual/startup.texi (Auxiliary Vector): New node.
41980         * sysdeps/generic/bits/hwcap.h: New file.
41981         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41982         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41983         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41984         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41985         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41986         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41988         Update.
41989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41992         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41998 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42002 2012-05-19  David S. Miller  <davem@davemloft.net>
42004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42006 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
42008         [BZ #14123]
42009         * math/s_ccosh.c: Include <float.h>
42010         (__ccosh): Avoid internal overflow calculating sinh and cosh
42011         values before multiplying by sin and cos values.
42012         * math/s_ccoshf.c: Likewise.
42013         * math/s_ccoshl.c: Likewise.
42014         * math/s_csin.c: Likewise.
42015         * math/s_csinf.c: Likewise.
42016         * math/s_csinl.c: Likewise.
42017         * math/s_csinh.c: Likewise.
42018         * math/s_csinhf.c: Likewise.
42019         * math/s_csinhl.c: Likewise.
42020         * math/libm-test.inc (ccos_test): Add more tests.
42021         (ccosh_test): Likewise.
42022         (csin_test): Likewise.
42023         (csinh_test): Likewise.
42024         * sysdeps/i386/fpu/libm-test-ulps: Update.
42025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42027 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
42029         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42030         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42032         * sysdeps/x86_64/x32/_itoa.h: Add comment.
42034 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
42036         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42037         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42038         * sysdeps/powerpc/soft-fp/Versions: Likewise.
42039         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42040         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42041         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42042         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42043         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42044         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42045         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42046         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42047         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42048         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42049         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42050         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42051         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42052         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42053         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42054         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42055         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42056         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42057         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42058         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42059         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42060         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42061         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42062         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42063         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42064         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42065         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42066         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42068 2012-05-18  Andreas Jaeger  <aj@suse.de>
42070         * csu/.gitignore: Delete.
42072 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42074         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42075         (timex): Use __syscall_slong_t.
42077 2012-05-18  Andreas Jaeger  <aj@suse.de>
42078             Carlos O'Donell  <carlos_odonell@mentor.com>
42080         * manual/install.texi (Configuring and compiling): Update
42081         description about files modified in the source directory.
42082         * INSTALL: Regenerated.
42084 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42086         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42087         value.  Use "or" to set return value to -1.
42088         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42089         negate return value.
42091 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42093         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42094         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42095         failure if the compiler has Graphite support disabled.
42096         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42097         Likewise.
42098         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42099         (CFLAGS-memmove.c): Likewise.
42100         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42101         Likewise.
42103 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42105         * sysdeps/x86_64/x32/_itoa.h: New file.
42107         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42108         getdents system call only if kernel and user dirents have the
42109         same d_ino and d_off.
42111         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42112         LLONG_MAX != LONG_MAX.
42113         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42114         (_fitoa_word): Likewise.
42116         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42117         years.
42118         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42119         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42120         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42122         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42123         include <bits/wordsize.h>.  Check __x86_64__ instead of
42124         __WORDSIZE.
42125         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42126         if __x86_64__ is defined.  Use anonymous union on fpstate.
42128         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42129         anonymous union.
42131 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
42133         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42134         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42135         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42136         Refer to _rtld_local_ro instead of _rtld_global_ro.
42137         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42138         Likewise.
42139         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42140         Likewise.
42141         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42142         Likewise.
42143         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42144         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42145         of _rtld_global, and rtld_progname instead of _dl_argv[0].
42147         * sysdeps/powerpc/powerpc32/dl-machine.c
42148         (__elf_machine_runtime_setup) [PROF]: Don't reference
42149         _dl_prof_resolve.
42151 2012-05-18  Andreas Jaeger  <aj@suse.de>
42153         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42154         function only available for GCCs before 3.4 since GCC 3.4
42155         introduced a builtin.
42156         (lrint): Likewise.
42157         (llrintf): Likewise.
42158         (llrint): Likewise.
42159         (fmaxf): Likewise.
42160         (fmax): Likewise.
42161         (fminf): Likewise.
42162         (fmin): Likewise.
42163         (rint): Likewise.
42164         (rintf): Likewise.
42165         (nearbyint): Likewise.
42166         (nearbyintf): Likewise.
42167         (ceil): Likewise.
42168         (ceilf): Likewise.
42169         (floor): Likewise.
42170         (floorf): Likewise.
42172 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42174         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42175         on both fields and cast pointer to __syscall_ulong_t.
42177         * bits/types.h (__fsword_t): New type.
42178         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42179         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42181         (__FSWORD_T_TYPE): Likewise.
42182         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42183         (__FSWORD_T_TYPE): Likewise.
42184         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42185         (__FSWORD_T_TYPE): Likewise.
42186         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42187         (__FSWORD_T_TYPE): Likewise.
42188         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42189         __SWORD_TYPE with __fsword_t.
42190         (statfs64): Likewise.
42192 2012-05-17  David S. Miller  <davem@davemloft.net>
42194         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42196 2012-05-17  Andreas Jaeger  <aj@suse.de>
42198         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42199         warning.
42201 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42203         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42205 2012-05-17  Andreas Jaeger  <aj@suse.de>
42207         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42208         when it is used.
42210 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42212         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42214 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42216         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42217         * sysdeps/x86_64/tst-mallocalign1.c: New file.
42219 2012-05-17  Andreas Jaeger  <aj@suse.de>
42220             Carlos O'Donell  <carlos_odonell@mentor.com>
42222         [BZ #14059]
42223         * sysdeps/x86_64/multiarch/init-arch.h
42224         (bit_YMM_Usable): Rename to...
42225         (bit_AVX_Usable): ... this.
42226         (bit_FMA4_Usable): New macro.
42227         (bit_XMM_state): New macro.
42228         (bit_YMM_state): New macro.
42229         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42230         [__ASSEMBLER__] (index_AVX_Usable): ... this.
42231         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42232         (CPUID_OSXSAVE): New macro.
42233         (CPUID_AVX): New macro.
42234         (CPUID_FMA4): New macro.
42235         (index_YMM_Usable): Rename to...
42236         (index_AVX_Usable): ... this.
42237         (HAS_AVX): Use HAS_ARCH_FEATURE.
42238         (HAS_FMA4): Likewise.
42239         (HAS_YMM_USABLE): Remove.
42240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42241         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42242         are present.
42243         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42244         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42245         * sysdeps/x86_64/multiarch/Makefile: Likewise.
42246         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42247         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42249 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42251         * math/libm-test.c: Support platforms without multiple rounding modes.
42252         * math/bug-nextafter.c: Support platforms without FP exceptions.
42253         * math/bug-nexttoward.c: Likewise.
42254         * math/test-fenv.c: Likewise.
42255         * math/test-misc.c: Likewise.
42256         * stdlib/bug-getcontext.c: Likewise.
42258 2012-05-17  Andreas Jaeger  <aj@suse.de>
42260         * manual/examples/search.c (critter_cmp): Change signature to
42261         avoid warnings.
42262         * manual/string.texi (Collation Functions): Likewise.
42264 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42266         * bits/types.h: Fold copyright years.
42267         * bits/typesizes.h: Likewise.
42268         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42269         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42270         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42271         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42272         * time/time.h: Likewise.
42274 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
42276         [BZ #208]
42277         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42278         in instead of returning them.  Return void.
42279         (__libc_mallinfo): Accumulate over all arenas.
42280         (__malloc_stats): Adjust for change in int_mallinfo interface.
42282 2012-05-16  Roland McGrath  <roland@hack.frob.com>
42284         [BZ #10375]
42285         * configure.in (NM): Add AC_CHECK_TOOL for it.
42286         (libc_extra_cflags): New substituted variable.
42287         Check for -fstack-protector being used implicitly.
42288         * configure: Regenerated.
42289         * config.make.in (config-extra-cflags): New variable,
42290         gets @libc_extra_cflags@.
42291         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42293         [BZ #10375]
42294         * configure.in: Check for _FORTIFY_SOURCE being predefined.
42295         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42296         * configure: Regenerated.
42297         * config.make.in (CPPUNDEFS): New substituted variable.
42298         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42299         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42300         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42302 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42304         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42305         (mq_attr): Use __syscall_slong_t.
42307 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42309         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42310         Check __x86_64__ instead of __WORDSIZE.
42311         (_STAT_VER_LINUX): Likewise.
42312         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
42313         __syscall_ulong_t and __syscall_slong_t.
42314         (stat64): Likewise.
42316 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42318         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42320 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42322         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42324 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42326         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42327         __syscall_ulong_t.
42329         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42330         include <bits/wordsize.h>.  Check __x86_64__ instead of
42331         __WORDSIZE.
42332         (greg_t): Use "__extension__ long long int" if __x86_64__ is
42333         defined.
42334         (mcontext_t): Replace "unsigned long" with "unsigned long long".
42336         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42337         include <bits/wordsize.h>.  Check __x86_64__ instead of
42338         __WORDSIZE.
42339         (user_regs_struct): Use "__extension__ unsigned long long"
42340         instead of "unsigned long" if __x86_64__ is defined.
42341         (user): Likewise.  Pad after pointer field if __ILP32__ is
42342         defined.
42344 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
42346         * configure.in (makeinfo): Require version 4.5 or later.  Allow
42347         versions 5 to 9.
42348         * configure: Regenerated.
42349         * manual/install.texi (texinfo): Increase version requirement to
42350         4.5 or later.
42351         * INSTALL: Regenerated.
42353         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42355 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42357         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42359         * sysdeps/x86_64/x32/ffs.c: New file.
42361         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42362         __syscall_ulong_t.
42363         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42364         defined.  Use __syscall_ulong_t.
42365         (shminfo): Use __syscall_ulong_t.
42366         (shm_info): Likewise.
42368         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42369         __syscall_ulong_t.
42371         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42372         <bits/wordsize.h>.
42373         (msgqnum_t): Use __syscall_ulong_t.
42374         (msglen_t): Likewise.
42375         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
42376         __syscall_ulong_t.
42378         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42379         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42381         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42383         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42384         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42386         * sysvipc/sys/msg.h (msgbuf): Replace long int with
42387         __syscall_slong_t.
42389         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42390         include <bits/wordsize.h>.  Check __x86_64__ instead of
42391         __WORDSIZE.
42393         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42394         "unsigned long long int" if __x86_64__ is defined.
42395         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42397         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42398         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42399         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42401         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42402         <stdint.h>.
42403         (GET_PC): Cast to uintptr_t first.
42404         (GET_FRAME): Likewise.
42405         (GET_STACK): Likewise.
42407         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42408         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42409         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42410         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42411         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42412         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42413         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42414         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42415         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42416         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42417         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42418         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42419         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42420         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42421         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42422         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42423         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42424         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42425         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42426         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42427         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42428         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42429         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42430         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42431         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42432         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42433         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42434         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42435         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42437 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42439         * Makerules (+depfiles): Also collect depfiles from .oS in
42440         $(extra-objs).
42441         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42442         .oS, $(libnldbl-routines)).
42444         * Makerules (native-compile-mkdep-flags): Define.
42445         * sunrpc/Makefile (extra-objs): Add $(addprefix
42446         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42447         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42448         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42449         calling $(make-target-directory).
42451 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42453         * bits/types.h (__snseconds_t): Removed.
42454         * time/time.h (struct timespec): Replace __snseconds_t with
42455         __syscall_slong_t.
42456         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42457         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42458         Likewise.
42459         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42460         (__SNSECONDS_T_TYPE): Likewise.
42461         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42462         (__SNSECONDS_T_TYPE): Likewise.
42463         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42464         (__SNSECONDS_T_TYPE): Likewise.
42466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42468         * sysdeps/mach/hurd/bits/typesizes.h
42469         (__SYSCALL_SLONG_TYPE): New macro.
42470         (__SYSCALL_ULONG_TYPE): Likewise.
42472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42474         * bits/types.h (__syscall_slong_t): New type.
42475         (__syscall_ulong_t): Likewise.
42477         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42478         (__SYSCALL_ULONG_TYPE): Likewise.
42479         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42480         (__SYSCALL_SLONG_TYPE): Likewise.
42481         (__SYSCALL_ULONG_TYPE): Likewise.
42482         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42483         (__SYSCALL_SLONG_TYPE): Likewise.
42484         (__SYSCALL_ULONG_TYPE): Likewise.
42485         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42486         (__SYSCALL_SLONG_TYPE): Likewise.
42487         (__SYSCALL_ULONG_TYPE): Likewise.
42489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42491         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42492         Add sigaltstack-offsets.sym.
42493         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42494         <sigaltstack-offsets.h>.
42495         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42496         longjmp_msg pointer.
42497         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42498         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42499         signal stack.
42500         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42502 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42504         * elf/stackguard-macros.h: Remove file.
42505         * sysdeps/generic/stackguard-macros.h: New file.
42506         * sysdeps/i386/stackguard-macros.h: Likewise.
42507         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42508         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42509         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42510         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42511         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42512         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42513         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42514         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42515         <elf/stackguard-macros.h>.
42517         [BZ #14109]
42518         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42519         __aligned__ in attribute.
42520         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42521         (gregset_t): Likewise.
42523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42525         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42526         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42527         * sysdeps/x86_64/x32/Implies-after: New file.
42529 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42531         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42532         and access return value for _dl_profile_fixup.  Use R10_LP to
42533         load frame size.
42535 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42537         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42541         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42542         * sysdeps/x86_64/x32/sysdep.h: New file.
42544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42546         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42547         * sysdeps/x86_64/setjmp.S: Likewise.
42549 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42551         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42552         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42553         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42554         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42555         remove unused global constant.
42557 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42559         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42560         include of <not-cancel.h>.
42562 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42564         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42566 2012-05-15  Jeff Law  <law@redhat.com>
42567             Andreas Jaeger  <aj@suse.de>
42569         [BZ #13594]
42570         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42571         out from...
42572         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42573         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42574         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42575         code changing __hst_map_handle.map.
42577 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42579         * configure.in (sysnames): Look for Implies-before and Implies-after
42580         files.
42581         * configure: Regenerated.
42583 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42585         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42586         8-byte data alignment with LP_SIZE alignment.
42588 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42590         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42591         into R10_LP.
42593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42595         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42597 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42599         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42600         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42601         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42602         Likewise.
42603         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42607         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42608         (stackinfo_sub_sp): Likewise.
42610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42612         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42613         RAX_LP.
42615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42617         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42618         into R*_LP.
42620 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42622         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42623         sizes into R*_LP.
42625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42627         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42631         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42632         into R11_LP and load __x86_64_shared_cache_size_half into
42633         R8_LP.
42635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42637         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42638         R8_LP.
42640 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42642         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42643         logb for POWER7.
42644         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42645         logbf for POWER7.
42646         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42647         logbl for POWER7.
42648         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42649         powerpc32/power7/fpu/s_logb.c via #include.
42650         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42651         powerpc32/power7/fpu/s_logbf.c via #include.
42652         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42653         powerpc32/power7/fpu/s_logbl.c via #include.
42655 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42657         * README.libm: Remove file.
42659 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42661         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42662         count for x32.  Use R*_LP and omit operand-size suffix.
42664 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42666         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42667         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42668         * sysdeps/x86_64/x32/shlib-versions: New file.
42670 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42672         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42673         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42674         Use _dl_fatal_printf instead.
42676 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42678         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42679         set if not set by the user.  Do not allow for being unset.
42680         * sysdeps/unix/sysv/linux/configure: Regenerated.
42682 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42684         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42685         the `q' suffix from lea and replace .quad with ASM_ADDR.
42687 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42689         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42690         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42691         instead of $17.
42692         (PTR_DEMANGLE): Likewise.
42694 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42696         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42697         (LP_OP): Likewise.
42698         (ASM_ADDR): Likewise.
42699         (RAX_LP): Likewise.
42700         (RBP_LP): Likewise.
42701         (RBX_LP): Likewise.
42702         (RCX_LP): Likewise.
42703         (RDI_LP): Likewise.
42704         (RSI_LP): Likewise.
42705         (RSP_LP): Likewise.
42706         (R8_LP): Likewise.
42707         (R9_LP): Likewise.
42708         (R10_LP): Likewise.
42709         (R10_LP): Likewise.
42710         (R11_LP): Likewise.
42711         (R12_LP): Likewise.
42712         (R13_LP): Likewise.
42713         (R14_LP): Likewise.
42714         (R15_LP): Likewise.
42716 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42718         * sysdeps/x86_64/x32/dl-machine.h: New file.
42720 2012-05-14  Andreas Jaeger  <aj@suse.de>
42722         * manual/Makefile (subdir): Remove export of subdir.
42723         (all): Remove target.
42724         (.PHONY): Remove all from list.
42725         (mkinstalldirs): Remove.
42726         (.PHONY): Remove installdirs from list.
42727         ($(inst_infodir)/libc.info): Use make-target-directory.
42728         (installdirs): Remove.
42729         (subdir_%): Remove.
42730         (glibc-targets): Remove.
42731         (lib): Remove.
42732         (stubs): Remove.
42733         ($(objpfx)stubs ../po/manual.pot): Remove.
42734         ($(objpfx)stamp%): Remove.
42735         (make-target-directory): Remove.
42736         (subdir_install): Remove.
42737         (routines): Remove.
42738         (aux): Remove.
42739         (sources): Remove.
42740         (objects): Remove.
42741         (headers): Remove.
42743         [BZ #13750]
42744         * manual/.gitignore: Remove, it's not needed anymore.
42745         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42746         all files in it.
42747         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42748         directory.
42749         (texis): Renamed to $(objpfx)texis.
42750         (texis-path): New, contains path to generated files.
42751         (chapters.%): Use texis-path for complete path, add extra argument
42752         libc-texinfo.sh.
42753         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42754         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42755         (summary,texi, stamp-summary): Use complete path of
42756         files. Generate files in build dir.
42757         (dir-add.texi): Build in build dir.
42758         (libm-err.texi,stamp-libm-err): Likewise.
42759         (version.texi, stamp-version): Likewise.
42760         (.%c.texi): Likewise.
42761         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42762         (mostlyclean): Remove target.
42763         (realclean): Remove target.
42764         (generated): Add new variable with contents from mostlyclean and
42765         realclean, remove entries duplicated in common-mostlyclean, add
42766         stamp-libm-err and stamp-version.
42767         (generated-dirs): Add libc directory.
42768         ($(inst_infodir)/libc.info): Install files from build dir.
42770         * manual/install.texi (Configuring and compiling): Adjust since
42771         the info files are not part of the tar ball anymore.
42773 2012-05-14  Andreas Jaeger  <aj@suse.de>
42775         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42776         variable.
42778 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42780         [BZ #13717]
42781         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42782         to 2.2.0 where earlier.
42783         * sysdeps/unix/sysv/linux/configure: Regenerated.
42784         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42785         Remove conditional code.
42786         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42787         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42788         Remove conditional code.
42789         [!__NR_lchown]: Likewise.
42790         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42791         [__NR_lchown]: Likewise.
42792         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42793         comment referencing __ASSUME_LCHOWN_SYSCALL.
42794         * sysdeps/unix/sysv/linux/i386/sigaction.c
42795         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42796         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42797         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42798         Remove conditional code.
42799         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42800         (__protocol_available): Remove #if 0 code.
42801         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42802         conditional code.
42803         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42804         * sysdeps/unix/sysv/linux/kernel-features.h
42805         (__ASSUME_GETCWD_SYSCALL): Don't define.
42806         (__ASSUME_REALTIME_SIGNALS): Likewise.
42807         (__ASSUME_PREAD_SYSCALL): Likewise.
42808         (__ASSUME_PWRITE_SYSCALL): Likewise.
42809         (__ASSUME_POLL_SYSCALL): Likewise.
42810         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42811         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42812         non-SPARC.
42813         (__ASSUME_SIOCGIFNAME): Don't define.
42814         (__ASSUME_MSG_NOSIGNAL): Likewise.
42815         (__ASSUME_SENDFILE): Define unconditionally.
42816         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42817         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42818         conditional code.
42819         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42820         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42821         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42822         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42823         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42824         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42825         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42827         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42828         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42830         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42831         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42833         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42834         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42836         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42837         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42839         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42840         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42842         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42843         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42845         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42846         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42848         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42849         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42850         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42851         Remove conditional code.
42852         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42853         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42854         Remove conditional code.
42855         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42856         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42857         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42858         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42859         Remove conditional code.
42860         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42861         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42862         Remove conditional code.
42863         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42864         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42865         Remove conditional code.
42866         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42867         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42868         Remove conditional code.
42869         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42870         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42871         Remove conditional code.
42872         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42873         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42874         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42875         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42876         * sysdeps/unix/sysv/linux/sigaction.c
42877         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42878         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42879         * sysdeps/unix/sysv/linux/sigpending.c
42880         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42881         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42882         * sysdeps/unix/sysv/linux/sigprocmask.c
42883         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42884         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42885         * sysdeps/unix/sysv/linux/sigsuspend.c
42886         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42887         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42888         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42889         (__libc_missing_rt_sigs): Remove.
42890         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42891         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42892         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42893         Remove conditional code.
42894         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42895         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42896         return 1.
42897         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42898         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42899         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42900         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42902 2012-05-14  Andreas Jaeger  <aj@suse.de>
42904         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42905         it's not used in glibc.
42906         (__coshm1): Likewise.
42907         (__acosh1p): Likewise.
42908         (__sgn): Likewise.
42910         * manual/string.texi (Copying and Concatenation): Add missing
42911         variable in concat example.
42912         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42914 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42916         [BZ #14103]
42917         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42918         __builtin_clzl with __builtin_clzll.
42920 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42922         [BZ #14104]
42923         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42924         libc_freeres_ptr.
42926 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42928         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42929         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42930         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42931         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42933 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42935         * NEWS: Update ia64 info.
42937 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42939         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42940         used as bcopy.
42942 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42944         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42945         * sysdeps/unix/syscalls.list (dup3): Likewise.
42946         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42947         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42949 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42951         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42952         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42954 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42956         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42957         thread pointer.
42958         (TLS_IE): Use mov/add instead of movq/addq to load thread
42959         pointer.
42960         (TLS_GD_PREFIX): New.
42961         (TLS_GD): Use it.
42963 2012-05-11  David S. Miller  <davem@davemloft.net>
42965         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42966         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42967         (_FPU_SETCW): Likewise.
42969 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42971         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42972         is 32-byte aligned.
42974 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42976         [BZ #11837]
42977         * iconvdata/gb18030.c: Update tables.
42978         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42979         characters specially.
42980         (BODY for TO_LOOP): Add encoding of missing ranges.
42982 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42984         [BZ #13673]
42985         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42986         * sysdeps/mach/hurd/dup3.c: Likewise.
42987         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42988         * sysdeps/powerpc/memmove.c:: Likewise.
42990 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42992         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42993         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42995 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42997         * elf/elf.h (R_X86_64_RELATIVE64): New.
42998         (R_X86_64_NUM): Updated.
42999         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43000         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
43001         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43002         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43003         tst-quad1pie tst-quad2pie
43004         (modules-names): Add tst-quadmod1 tst-quadmod2.
43005         ($(objpfx)tst-quad1): New dependency.
43006         ($(objpfx)tst-quad2): Likewise.
43007         ($(objpfx)tst-quad1pie): Likewise.
43008         ($(objpfx)tst-quad2pie): Likewise.
43009         * sysdeps/x86_64/tst-quad1.c: New file.
43010         * sysdeps/x86_64/tst-quad1pie.c: New file.
43011         * sysdeps/x86_64/tst-quad2.c: Likewise.
43012         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43013         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43014         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43015         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43016         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43018 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43020         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43021         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43022         * streams/stropts.h (t_scalar_t): Define type.
43024         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43025         (_PATH_PRESERVE): Set to "/var/lib".
43026         (_PATH_RWHODIR): Set to "/var/spool/rwho".
43028         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43029         instead of int.
43031         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43032         if __dir_mkfile succeeded.
43034         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43035         checking for _hurd_dtablesize.  Unlock it right after having
43036         finished _hurd_dtable allocation.
43038 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43040         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43041         * sysdeps/mach/hurd/configure: Regenerated.
43042         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43043         special-casing to...
43044         * sysdeps/gnu/configure.in: ... this new file.
43045         * sysdeps/unix/sysv/linux/configure: Regenerated.
43046         * sysdeps/gnu/configure: New generated file.
43048         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43049         for Linux: use nsec instead of usec, as well as:
43050         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43051         members of type struct timespec.
43052         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43053         New macros.
43054         (struct stat64): Likewise.
43055         (_STATBUF_ST_NSEC): New macro.
43056         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43058         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43059         __strtoul_internal rather than strtoul.
43061 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43063         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43064         and reject them.
43066 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43068         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43069         which preserves existing values.
43070         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43072 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43074         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43075         TIMEOUT values.  Return EINVAL for NFDS values either negative or
43076         greater than FD_SETSIZE.
43078 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43080         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43081         allocated, call __vm_protect to finish enabling the existing space, and
43082         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43083         allocate the remainder.
43085 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43087         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43088         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
43090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43092         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43093         sysdeps/mach/hurd/readlink.c.
43095         * posix/tst-sysconf.c (posix_options): Only use
43096         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43097         _POSIX_SYNCHRONIZED_IO when they are defined
43098         * sysdeps/mach/hurd/bits/posix_opt.h:
43099         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43100         (_XOPEN_REALTIME): Undefine macro.
43101         (_XOPEN_REALTIME_THREADS): Undefine macro.
43102         (_XOPEN_SHM): Undefine macro.
43103         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43104         macro to -1.
43105         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43106         macro to -1.
43107         (_POSIX_ASYNC_IO): Undefine macro.
43108         (_POSIX_PRIORITIZED_IO): Undefine macro.
43109         (_POSIX_SPIN_LOCKS): Define macro to -1.
43111         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43112         SA_NODEFER, SA_RESETHAND.
43113         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43114         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43115         F_DUPFD_CLOEXEC.
43117 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43119         * elf/Makefile (pldd-modules): Define unconditionally.
43121 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43123         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43125 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43127         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43128         Return ENOENT when name is empty.
43129         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43131 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43133         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43135         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43137 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43139         Fix mlock in all cases except non-readable pages.
43140         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43141         instead of VM_PROT_ALL as parameter to __vm_wire function.
43143         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43144         (__mkdir): When path is `/', just fail with EEXIST.
43145         * sysdeps/mach/hurd/mkdirat.c: Likewise.
43147 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43149         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43150         <sys/uio.h> (for writev).
43151         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43152         and <sys/param.h> (for MIN).
43154 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43156         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43157         REQUESTED_TIME.  Properly set the remaining time and return EINTR
43158         if interrupted.
43160 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43162         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43163         Depend on against $(link-rpcuserlibs).
43165 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43167         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43168         (__libc_stack_end): Do not use attribute_relro.
43169         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43170         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43171         to libthread-provided value.
43172         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43173         attribute_relro.
43175 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43177         [BZ #3748]
43178         * bits/libc-lock.h (__libc_once_get): New macro.
43179         * sysdeps/mach/bits/libc-lock.h: Likewise.
43180         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43181         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43182         instead of using implementation details.
43184         * libio/fileops.c: Unconditionally include <kernel-features.h>.
43185         * libio/freopen.c: Likewise.
43186         * libio/freopen64.c: Likewise.
43187         * misc/syslog.c: Likewise.
43188         * nscd/connections.c: Likewise.
43189         * nscd/netgroupcache.c: Likewise.
43190         * sysdeps/posix/getcwd.c: Likewise.
43192 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43194         * math/w_ilogbf.c: Add #include <limits.h>.
43196 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43198         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43199         path instead of returning without unlocking.
43201         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43202         immediate-write ioctls.
43203         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43205 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43207         * sysdeps/mach/hurd/i386/init-first.c (init): Use
43208         __builtin_frame_address instead of making assumptions about the
43209         location of the return address relative to DATA.  Force early load of
43210         the return address.
43211         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43212         __builtin_frame_address.
43214         dup3 for GNU Hurd.
43215         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43216         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
43217         implement dup3 and do some further code clean-ups.
43218         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43219         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43221 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43223         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43225         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43226         HURD_CRITICAL_END around holding _hurd_dtable_lock.
43227         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43228         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43229         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43230         d->port.lock.
43232         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43233         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
43234         when handler == SIG_ERR, not when handler != SIG_ERR.
43236 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43238         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43239         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43240         definitions.
43242         accept4 for GNU Hurd.
43243         * include/sys/socket.h (__libc_accept4): New prototype.
43244         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
43245         to implement __libc_accept4.
43246         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43247         __libc_accept4.
43248         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43250         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43251         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43252         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43253         signal-defines.sym.
43255 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43257         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43259 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43261         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43262         assertion on O_CLOEXEC flag.
43263         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43264         * hurd/intern-fd.c: Likewise.
43265         * hurd/port2fd.c: Likewise.
43267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43269         [BZ #3906]
43270         * bits/in.h (IPV6_PKTINFO): Define new macro.
43271         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43273 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43275         [BZ #13954]
43276         [BZ #13955]
43277         [BZ #13956]
43278         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43279         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43280         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43281         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43282         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43283         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43284         * math/libm-test.inc (logb_test) : Additional logb tests.
43286 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
43287             Andreas Jaeger  <aj@suse.de>
43289         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43290         * configure: Regenerated.
43291         * config.h.in (LINK_OBSOLETE_RPC): New macro.
43292         * config.make.in (link-obsolete-rpc): New substituted variable.
43293         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43294         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43295         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43296         (shared-only-routines): Don't set it under [link-obsolete-rpc],
43297         so that libc.a contains the symbols.
43298         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43299         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43300         * sunrpc/auth_none.c: Likewise.
43301         * sunrpc/auth_unix.c: Likewise.
43302         * sunrpc/authdes_prot.c: Likewise.
43303         * sunrpc/authuxprot.c: Likewise.
43304         * sunrpc/clnt_gen.c: Likewise.
43305         * sunrpc/clnt_perr.c: Likewise.
43306         * sunrpc/clnt_raw.c: Likewise.
43307         * sunrpc/clnt_simp.c: Likewise.
43308         * sunrpc/clnt_tcp.c: Likewise.
43309         * sunrpc/clnt_udp.c: Likewise.
43310         * sunrpc/clnt_unix.c: Likewise.
43311         * sunrpc/des_crypt.c: Likewise.
43312         * sunrpc/des_soft.c: Likewise.
43313         * sunrpc/get_myaddr.c: Likewise.
43314         * sunrpc/key_call.c: Likewise.
43315         * sunrpc/key_prot.c: Likewise.
43316         * sunrpc/netname.c: Likewise.
43317         * sunrpc/pm_getmaps.c: Likewise.
43318         * sunrpc/pm_getport.c: Likewise.
43319         * sunrpc/pmap_clnt.c: Likewise.
43320         * sunrpc/pmap_prot.c: Likewise.
43321         * sunrpc/pmap_prot2.c: Likewise.
43322         * sunrpc/pmap_rmt.c: Likewise.
43323         * sunrpc/publickey.c: Likewise.
43324         * sunrpc/rpc_cmsg.c: Likewise.
43325         * sunrpc/rpc_common.c: Likewise.
43326         * sunrpc/rpc_dtable.c: Likewise.
43327         * sunrpc/rpc_prot.c: Likewise.
43328         * sunrpc/rpc_thread.c: Likewise.
43329         * sunrpc/rtime.c: Likewise.
43330         * sunrpc/svc.c: Likewise.
43331         * sunrpc/svc_auth.c: Likewise.
43332         * sunrpc/svc_raw.c: Likewise.
43333         * sunrpc/svc_run.c: Likewise.
43334         * sunrpc/svc_tcp.c: Likewise.
43335         * sunrpc/svc_udp.c: Likewise.
43336         * sunrpc/svc_unix.c: Likewise.
43337         * sunrpc/svcauth_des.c: Likewise.
43338         * sunrpc/xcrypt.c: Likewise.
43339         * sunrpc/xdr.c: Likewise.
43340         * sunrpc/xdr_array.c: Likewise.
43341         * sunrpc/xdr_float.c: Likewise.
43342         * sunrpc/xdr_intXX_t.c: Likewise.
43343         * sunrpc/xdr_mem.c: Likewise.
43344         * sunrpc/xdr_rec.c: Likewise.
43345         * sunrpc/xdr_ref.c: Likewise.
43346         * sunrpc/xdr_sizeof.c: Likewise.
43347         * sunrpc/xdr_stdio.c: Likewise.
43349 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43351         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43352         change.  Update copyright years.
43354 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43356         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43358 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
43359             Joseph Myers  <joseph@codesourcery.com>
43360             Paul Pluzhnikov  <ppluzhnikov@google.com>
43362         [BZ #14012]
43363         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43364         requiring rpcgen.
43365         [cross-compiling] (extra-libs): Likewise.
43366         [cross-compiling] (extra-libs-others): Likewise.
43367         [cross-compiling] (librpcsvc-routines): Likewise.
43368         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43369         [cross-compiling] (omit-deps): Likewise.
43370         (sunrpc-CPPFLAGS): New variable.
43371         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43372         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43373         (cross-rpcgen-objs): New variable.
43374         (extra-objs): Append $(cross-rpcgen-objs).
43375         ($(cross-rpcgen-objs)): New rule.
43376         ($(objpfx)cross-rpcgen): Likewise.
43377         (rpcgen-cmd): Define to use $(built-program-file).  Expand
43378         comment.
43379         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43380         ($(objpfx)x%.stmp): Likewise.
43381         * sunrpc/proto.h [IS_IN_build] (_): Define.
43382         [IS_IN_build] (_libc_intl_domainname): Likewise.
43384 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43386         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43387         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43388         and R_X86_64_TPOFF64.
43390 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43392         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43393         sysdeps/unix/sysv/syscalls.list.
43394         (stime): Likewise.
43395         (utime): Likewise.
43396         * sysdeps/unix/sysv/syscalls.list: Remove file.
43398 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
43400         [BZ #3440]
43401         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43402         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43403         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43404         (__LC_IDENTIFICATION): Make these macros useful in #if
43405         expressions, as required by C99.
43407 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
43409         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43410         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
43411         after this.
43413 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
43415         * stdlib/longlong.h: Updated from GCC.
43417 2012-05-09  Andreas Jaeger  <aj@suse.de>
43419         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43420         default is first entry.
43421         (run_mode): Set type.
43422         (main): Remove informal message about syslog.
43423         (options): Fix typo.
43425         [BZ #14053]
43426         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43427         to asm.
43428         (lrint): Likewise.
43429         (llrintf): Likewise.
43430         (llrint): Likewise.
43431         (rint): Likewise.
43432         (rintf): Likewise.
43433         (nearbyint): Likewise.
43434         (nearbyintf): Likewise.
43436 2012-05-09  Andreas Jaeger  <aj@suse.de>
43437             Pedro Alves  <palves@redhat.com>
43439         * nscd/nscd.c (run_mode): Use enum.
43440         (main): Cleanup coding style issue.
43442 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43443             Andreas Jaeger  <aj@suse.de>
43445         * nscd/nscd.c (go_background): Replaced with...
43446         (run_mode): ... this.
43447         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43448         (options): Add -F --foreground.
43449         (main): Implement it.
43450         (parse_opt): Parse it.
43452 2012-05-09  Andreas Jaeger  <aj@suse.de>
43454         [BZ #14083]
43455         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43456         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43457         -Wconversion warning.
43458         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43459         Likewise.
43461 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43463         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43464         == 0.
43465         (LC_ALL): Use macro-int-constant.
43466         (LC_COLLATE): Likewise.
43467         (LC_CTYPE): Likewise.
43468         (LC_MESSAGES): Likewise.
43469         (LC_MONETARY): Likewise.
43470         (LC_NUMERIC): Likewise.
43471         (LC_TIME): Likewise.
43472         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43473         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43474         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43475         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43476         Specify type.
43477         [C99-based standards] (float_t): Expect type.
43478         [C99-based standards] (double_t): Expect type.
43479         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43480         type.
43481         [C99-based standards] (HUGE_VALL): Likewise.
43482         [C99-based standards] (INFINITY): Likewise.
43483         [C99-based standards] (NAN): Likewise.
43484         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43485         [C99-based standards] (FP_NAN): Likewise.
43486         [C99-based standards] (FP_NORMAL): Likewise.
43487         [C99-based standards] (FP_SUBNORMAL): Likewise.
43488         [C99-based standards] (FP_ZERO): Likewise.
43489         [C99-based standards] (FP_FAST_FMA): Use
43490         optional-macro-int-constant.  Specify type.  Require == 1.
43491         [C99-based standards] (FP_FAST_FMAF): Likewise.
43492         [C99-based standards] (FP_FAST_FMAL): Likewise.
43493         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43494         [C99-based standards] (FP_ILOGBNAN): Likewise.
43495         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43496         Specify type.
43497         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43498         [C99-based standards] (math_errhandling): Specify type.
43499         [ISO99 || ISO11] (signgam): Do not allow.
43500         [non-C99-based standards] (copysignf): Do not allow.
43501         [non-C99-based standards] (exp2f): Likewise.
43502         [non-C99-based standards] (log2f): Likewise.
43503         [non-C99-based standards] (modff): Allow.
43504         [non-C99-based standards] (erff): Do not allow.
43505         [non-C99-based standards] (erfcf): Likewise.
43506         [non-C99-based standards] (gammaf): Likewise.
43507         [non-C99-based standards] (hypotf): Likewise.
43508         [non-C99-based standards] (j0f): Likewise.
43509         [non-C99-based standards] (j1f): Likewise.
43510         [non-C99-based standards] (jnf): Likewise.
43511         [non-C99-based standards] (lgammaf): Likewise.
43512         [non-C99-based standards] (tgammaf): Likewise.
43513         [non-C99-based standards] (y0f): Likewise.
43514         [non-C99-based standards] (y1f): Likewise.
43515         [non-C99-based standards] (ynf): Likewise.
43516         [non-C99-based standards] (isnanf): Likewise.
43517         [non-C99-based standards] (acoshf): Likewise.
43518         [non-C99-based standards] (asinhf): Likewise.
43519         [non-C99-based standards] (atanhf): Likewise.
43520         [non-C99-based standards] (cbrtf): Likewise.
43521         [non-C99-based standards] (expm1f): Likewise.
43522         [non-C99-based standards] (ilogbf): Likewise.
43523         [non-C99-based standards] (log1pf): Likewise.
43524         [non-C99-based standards] (logbf): Likewise.
43525         [non-C99-based standards] (nextafterf): Likewise.
43526         [non-C99-based standards] (remainderf): Likewise.
43527         [non-C99-based standards] (rintf): Likewise.
43528         [non-C99-based standards] (scalbf): Likewise.
43529         [non-C99-based standards] (copysignl): Likewise.
43530         [non-C99-based standards] (exp2l): Likewise.
43531         [non-C99-based standards] (log2l): Likewise.
43532         [non-C99-based standards] (modfl): Allow.
43533         [non-C99-based standards] (erfl): Do not allow.
43534         [non-C99-based standards] (erfcl): Likewise.
43535         [non-C99-based standards] (gammal): Likewise.
43536         [non-C99-based standards] (hypotl): Likewise.
43537         [non-C99-based standards] (j0l): Likewise.
43538         [non-C99-based standards] (j1l): Likewise.
43539         [non-C99-based standards] (jnl): Likewise.
43540         [non-C99-based standards] (lgammal): Likewise.
43541         [non-C99-based standards] (tgammal): Likewise.
43542         [non-C99-based standards] (y0l): Likewise.
43543         [non-C99-based standards] (y1l): Likewise.
43544         [non-C99-based standards] (ynl): Likewise.
43545         [non-C99-based standards] (isnanl): Likewise.
43546         [non-C99-based standards] (acoshl): Likewise.
43547         [non-C99-based standards] (asinhl): Likewise.
43548         [non-C99-based standards] (atanhl): Likewise.
43549         [non-C99-based standards] (cbrtl): Likewise.
43550         [non-C99-based standards] (expm1l): Likewise.
43551         [non-C99-based standards] (ilogbl): Likewise.
43552         [non-C99-based standards] (log1pl): Likewise.
43553         [non-C99-based standards] (logbl): Likewise.
43554         [non-C99-based standards] (nextafterl): Likewise.
43555         [non-C99-based standards] (remainderl): Likewise.
43556         [non-C99-based standards] (rintl): Likewise.
43557         [non-C99-based standards] (scalbl): Likewise.
43558         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43559         [non-C99-based standards] (FP_*): Do not allow.
43560         [C99-based standards] (FP_*): Change to
43561         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43562         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43563         allow.
43564         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43565         (SIG_ERR): Likewise.
43566         [X/Open-based standards] (SIG_HOLD): Likewise.
43567         (SIG_IGN): Likewise.
43568         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43569         positive value.
43570         (SIGFPE): Likewise.
43571         (SIGILL): Likewise.
43572         (SIGINT): Likewise.
43573         (SIGSEGV): Likewise.
43574         (SIGTER): Likewise.
43575         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43576         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43577         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43578         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43579         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43580         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43581         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43582         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43583         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43584         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43585         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43586         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43587         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43588         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43589         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43590         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43591         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43592         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43593         [X/Open-based standards] (SIGTRAP): Likewise.
43594         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43595         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43596         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43597         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43598         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43599         allow.
43601 2012-05-08  Ian Wienand  <ianw@vmware.com>
43603         [BZ #14080]
43604         * time/tzset.c (__tzset_parse_tz): Update default rules for
43605         daylight time changes in the Energy Policy Act of 2005.
43607 2012-05-09  Andreas Jaeger  <aj@suse.de>
43609         [BZ #13983]
43610         * elf/ldconfig.c (parse_conf): Change string to make clear that
43611         ldconfig only issued a warning if ld.so.conf does not exist.
43613 2012-05-08  David S. Miller  <davem@davemloft.net>
43615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43616         movxtod instead of popping the value on the stack.
43618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43620 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
43622         * config.h.in: Add HAVE_ARM_PCS_VFP.
43624 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
43626         [BZ #13979]
43627         * include/features.h: Warn if user requests __FORTIFY_SOURCE
43628         checking but the checks are disabled for any reason.
43630 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
43632         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43633         and ELF64_R_TYPE with ELFW(R_TYPE).
43635 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
43637         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43638         (ulimit): Likewise.
43640         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43641         (settimeofday): Likewise.
43643 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
43645         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
43646         a struct th_u2 inside the union, and move tu_block/tu_code into
43647         a new th_u3 union of tu_block/tu_code inside of that.  Move
43648         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
43649         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
43650         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43651         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43652         (th_stuff): Change to th_u1.tu_stuff.
43653         (th_data): Define.
43654         (th_msg): Change to th_u1.th_u2.tu_data.
43656 2012-05-07  David S. Miller  <davem@davemloft.net>
43658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43660         [BZ #14074]
43661         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43662         (SETUP_PIC_REG): Use it.
43663         (SETUP_PIC_REG_LEAF): Use it.
43665 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43667         [BZ #13885]
43668         [BZ #13923]
43669         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43670         USE_AS_EXPM1L.
43671         (EXPL_FINITE): Likewise.
43672         (FLDLOG): Likewise.
43673         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43674         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43675         e_expl.S.
43676         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43677         USE_AS_EXPM1L.
43678         (EXPL_FINITE): Likewise.
43679         (FLDLOG): Likewise.
43680         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43681         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43682         e_expl.S.
43683         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43684         test of -max_value argument for long double.
43685         * sysdeps/i386/fpu/libm-test-ulps: Update.
43686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43688 2012-05-06  David S. Miller  <davem@davemloft.net>
43690         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43691         quad soft-float symbols whose references which are compiler
43692         generated.
43693         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43695 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43697         [BZ #13884]
43698         [BZ #13914]
43699         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43700         USE_AS_EXP10L.
43701         (EXPL_FINITE): Likewise.
43702         (FLDLOG): Likewise.
43703         (c0): Likewise.
43704         (c1): Likewise.
43705         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43706         Adjust comments for base varying.
43707         (__expl_finite): Change alias to EXPL_FINITE.
43708         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43709         e_expl.S.
43710         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43711         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43712         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43713         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43714         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43715         USE_AS_EXP10L.
43716         (EXPL_FINITE): Likewise.
43717         (FLDLOG): Likewise.
43718         (c0): Likewise.
43719         (c1): Likewise.
43720         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43721         Adjust comments for base varying.
43722         (__expl_finite): Change alias to EXPL_FINITE.
43723         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43724         tests for bugs.
43725         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43727         [BZ #14064]
43728         * math/libm-test.inc (check_float_internal): Correct ulp
43729         calculation for subnormal expected results.
43731 2012-05-06  Andreas Jaeger  <aj@suse.de>
43733         * Makeconfig (+math-flags): New, set to -frounding-math.
43734         (+cflags): Add +math-flags so that all of glibc gets compiled with
43735         it.
43737         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43739 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43741         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43742         Disable one test.
43744         [BZ #13787]
43745         [BZ #13922]
43746         [BZ #14036]
43747         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43748         (__ieee754_expl): Allow for and saturate large arguments.
43749         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43750         (u_threshold): Likewise.
43751         (__exp): Call __ieee754_exp before checking for overflow and
43752         underflow.
43753         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43754         (u_threshold): Likewise.
43755         (__expf): Call __ieee754_expf before checking for overflow and
43756         underflow.
43757         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43758         (u_threshold): Likewise.
43759         (__expl): Call __ieee754_expl before checking for overflow and
43760         underflow.
43761         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43762         (__ieee754_expl): Allow for and saturate large arguments.
43763         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43764         missing overflow exception on overflow.
43765         (expm1_test): Do not allow missing overflow exception on overflow.
43767         * sysdeps/i386/fpu/e_expl.c: Move to ...
43768         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43769         rather than using inline asm.
43770         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43771         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43772         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43774         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43775         (nice): Likewise.
43776         (poll): Likewise.
43777         (signal): Likewise.
43778         (time): Likewise.
43779         (times): Likewise.
43781 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43783         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43784         sysdeps/unix/common/syscalls.list.
43785         (fchmod): Likewise.
43786         (fchown): Likewise.
43787         (ftruncate): Likewise.
43788         (getrusage): Likewise.
43789         (gettimeofday): Likewise.
43790         (setpgid): Likewise.
43791         (setregid): Likewise.
43792         (setreuid): Likewise.
43793         (sigaction): Likewise.
43794         (truncate): Likewise.
43795         (vhangup): Likewise.
43796         * sysdeps/unix/common/syscalls.list: Remove file.
43797         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43798         * sysdeps/unix/sysv/linux/Implies: Likewise.
43800 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43802         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43804         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43805         Moved to ...
43806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43807         Here.
43808         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43809         to ...
43810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43811         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43812         to ...
43813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43814         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43815         to ...
43816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43817         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43818         to ...
43819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43820         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43821         to ...
43822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43823         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43824         to ...
43825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43826         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43827         to ...
43828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43829         Here.
43830         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43831         to ...
43832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43833         Here.
43834         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43835         to ...
43836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43837         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43838         Moved to ...
43839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43840         Here.
43841         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43842         to ...
43843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43845 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43847         * sysdeps/unix/common/bits/dirent.h: Remove file.
43848         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43850         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43851         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43852         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43853         * sysdeps/unix/bsd/isatty.c: Likewise.
43854         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43855         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43856         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43858 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43860         [BZ #13563]
43861         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43862         long double comparison inaccuracies.
43863         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43866 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43868         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43869         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43871 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43873         [BZ #14049]
43874         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43875         nonzero digits before rounding a hex value.
43876         * stdlib/tst-strtod.c (tests): Add another test.
43878 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43880         * sysdeps/s390/fpu/libm-test-ulps: Update.
43882 2012-05-03  Andreas Jaeger  <aj@suse.de>
43884         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43885         does not get optimized out.
43886         (malloc_opt_barrier): New.
43888 2012-05-03  Andreas Jaeger  <aj@suse.de>
43889             Roland McGrath  <roland@hack.frob.com>
43891         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43892         intermediate file deletion.
43893         (generated): Add .symlist files.
43895 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43897         [BZ #13775]
43898         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43899         Redirect under this condition.
43900         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43901         [__USE_GNU] (__dprintf_chk): Not under this condition.
43902         [__USE_GNU] (__vdprintf_chk): Likewise.
43903         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43904         under this condition.
43905         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43906         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43907         [__USE_XOPEN2K8] (vdprintf): Likewise.
43908         [__USE_GNU] (__dprintf_chk): Not under this condition.
43909         [__USE_GNU] (__vdprintf_chk): Likewise.
43910         [__USE_GNU] (dprintf): Likewise.
43911         [__USE_GNU] (vdprintf): Likewise.
43913 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43915         * elf/Makefile (common-generated): Set this instead of generated for
43916         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43917         $(all-built-dso)-derived lists.
43919 2012-05-03  Andreas Jaeger  <aj@suse.de>
43921         * sysdeps/i386/fpu/libm-test-ulps: Update.
43923         * FAQ: Removed.
43924         * FAQ.in: Likewise.
43925         * scripts/gen-FAQ.pl: Likewise.
43926         * manual/install.texi (Installation): Point to online location of
43927         FAQ.
43928         * Makefile (files-for-dist): Remove FAQ.
43929         (FAQ): Remove.
43931 2012-05-02  Allan McRae  <allan@archlinux.org>
43933         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43934         (LDFLAGS-reldepmod5.so): Likewise.
43935         (LDFLAGS-reldep6mod1.so): Likewise.
43936         (LDFLAGS-reldep6mod4.so): Likewise.
43937         (LDFLAGS-reldep8mod3.so): Likewise.
43938         (LDFLAGS-unload4mod1.so): Likewise.
43939         (LDFLAGS-unload4mod2.so): Likewise.
43940         (LDFLAGS-tst-initorder): Likewise.
43941         (LDFLAGS-tst-initordera2.so): Likewise.
43942         (LDFLAGS-tst-initordera3.so): Likewise.
43943         (LDFLAGS-tst-initordera4.so): Likewise.
43944         (LDFLAGS-tst-initorderb2.so): Likewise.
43945         (LDFLAGS-noload): Likewise.
43946         (LDFLAGS-next): Likewise.
43947         (LDFLAGS-order2mod1.so): Likewise.
43948         (LDFLAGS-order2mod2.so): Likewise.
43949         (LDFLAGS-tst-initorder2): Likewise.
43950         (LDFLAGS-tst-initorder2a.so): Likewise.
43951         (LDFLAGS-tst-initorder2b.so): Likewise.
43952         (LDFLAGS-tst-initorder2c.so): Likewise.
43953         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43955 2012-05-02  David S. Miller  <davem@davemloft.net>
43957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43959 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43961         [BZ #14055]
43962         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43964 2012-05-02  Andreas Jaeger  <aj@suse.de>
43966         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43967         since we manipulate rounding mode.
43968         (CPPFLAGS-test-idouble.c): Likewise.
43969         (CPPFLAGS-test-ifloat.c): Likewise.
43970         (CFLAGS-test-ldouble.c): Likewise.
43971         (CFLAGS-test-double.c): Likewise.
43972         (CFLAGS-test-float.c): Likewise.
43973         (CFLAGS-test-misc.c): Likewise.
43974         (CFLAGS-test-test-fenv.c): Likewise.
43976 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43978         [BZ #2550]
43979         [BZ #2570]
43980         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43981         comparisons to determine direction to adjust input.
43983 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43985         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43986         output to the target.
43988         * scripts/localplt.awk: New file.
43989         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43990         (check-localplt-CFLAGS): Variable removed.
43991         ($(all-built-dso:=.jmprel)): New static pattern rule.
43992         (generated): Add those targets.
43993         (localplt-built-dso): New variable.
43994         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43996         * elf/check-localplt.c: File removed.
43998         * scripts/check-execstack.awk: New file.
43999         * elf/Makefile ($(objpfx)check-execstack): Target removed.
44000         (check-execstack-CFLAGS): Variable removed.
44001         ($(objpfx)check-execstack.h): Target removed.
44002         ($(objpfx)execstack-default): New target.
44003         (generated): Add that instead of check-execstack.h.
44004         ($(all-built-dso:=.phdr)): New static pattern rule.
44005         (generated): Add those targets.
44006         * elf/check-execstack.c: File removed.
44008         * scripts/check-textrel.awk: New file.
44009         * elf/Makefile ($(objpfx)check-textrel): Target removed.
44010         (check-textrel-CFLAGS): Variable removed.
44011         (all-built-dso): Use := to define.o
44012         ($(all-built-dso:=.dyn)): New static pattern rule.
44013         (generated): Add those targets.
44014         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44015         * config.make.in (READELF): New substituted variable.
44016         * elf/check-textrel.c: File removed.
44018 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44020         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44021         allow.
44022         * conform/data/ctype.h-data [C99-based standards] (isblank):
44023         Expect function.
44024         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44025         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44026         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44027         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44028         Specify type.  Require positive value.
44029         (EILSEQ): Likewise.
44030         (ERANGE): Likewise.
44031         [ISO || POSIX] (EILSEQ): Do not expect.
44032         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44033         Specify type.  Require positive value.
44034         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44035         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44036         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44037         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44038         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44039         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44040         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44041         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44042         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44043         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44044         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44045         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44046         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44047         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44048         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44049         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44050         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44051         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44052         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44053         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44054         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44055         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44056         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44057         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44058         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44059         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44060         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44061         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44062         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44063         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44064         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44065         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44066         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44067         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44068         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44069         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44070         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44071         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44072         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44073         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44074         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44075         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44076         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44077         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44078         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44079         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44080         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44081         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44082         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44083         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44084         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44085         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44086         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44087         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44088         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44089         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44090         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44091         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44092         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44093         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44094         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44095         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44096         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44097         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44098         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44099         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44100         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44101         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44102         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44103         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44104         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44105         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44106         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44107         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44108         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44109         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44110         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44111         Require >= 2.
44112         (FLT_ROUNDS): Expect as macro, not constant.
44113         (FLT_MANT_DIG): Use macro-int-constant.
44114         (DBL_MANT_DIG): Likewise.
44115         (LDBL_MANT_DIG): Likewise.
44116         (FLT_DIG): Likewise.
44117         (DBL_DIG): Likewise.
44118         (LDBL_DIG): Likewise.
44119         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
44120         (DBL_MIN_EXP): Likewise.
44121         (LDBL_MIN_EXP): Likewise.
44122         (FLT_MAX_EXP): Use macro-int-constant.
44123         (DBL_MAX_EXP): Likewise.
44124         (LDBL_MAX_EXP): Likewise.
44125         (FLT_MAX_10_EXP): Likewise.
44126         (DBL_MAX_10_EXP): Likewise.
44127         (LDBL_MAX_10_EXP): Likewise.
44128         (FLT_MAX): Use macro-constant.
44129         (DBL_MAX): Likewise.
44130         (LDBL_MAX): Likewise.
44131         (FLT_EPSILON): Use macro-constant.  Give upper bound.
44132         (DBL_EPSILON): Likewise.
44133         (LDBL_EPSILON): Likewise.
44134         (FLT_MIN): Likewise.
44135         (DBL_MIN): Likewise.
44136         (LDBL_MIN): Likewise.
44137         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44138         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44139         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44140         [ISO11] (FLT_HAS_SUBNORM): Likewise.
44141         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44142         [ISO11] (DBL_DECIMAL_DIG): Likewise.
44143         [ISO11] (FLT_DECIMAL_DIG): Likewise.
44144         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44145         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44146         [ISO11] (FLT_TRUE_MIN): Likewise.
44147         [ISO11] (LDBL_TRUE_MIN): Likewise.
44148         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44149         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44150         (SCHAR_MIN): Use macro-int-constant.  Specify type.
44151         (SCHAR_MAX): Likewise.
44152         (UCHAR_MAX): Likewise.
44153         (CHAR_MIN): Likewise.
44154         (CHAR_MAX): Likewise.
44155         (MB_LEN_MAX): Use macro-int-constant.
44156         (SHRT_MIN): Use macro-int-constant.  Specify type.
44157         (SHRT_MAX): Likewise.
44158         (USHRT_MAX): Likewise.
44159         (INT_MAX): Likewise.
44160         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
44161         bound negative.
44162         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44163         bound with "U".
44164         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44165         bound with "L".
44166         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
44167         bound negative.  Suffix upper bound with "L".
44168         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44169         bound with "UL".
44170         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44171         Specify type.
44172         [C99-based standards] (LLONG_MAX): Likewise.
44173         [C99-based standards] (ULLONG_MAX): Likewise.
44174         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
44175         == 0.
44176         [ISO11] (max_align_t): Require type.
44177         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44179         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44180         from $CFLAGS, without defining away __attribute__ calls.
44181         (checknamespace): Use $CFLAGS_namespace.
44183         * conform/conformtest.pl (@keywords): Only include C99 keywords
44184         for standards based on C99 or C11.
44186         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44187         Disable tests.
44188         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44189         UNIX98]: Likewise.
44191         * conform/conformtest.pl: Handle "macro-int-constant" and test for
44192         usability of symbols in #if.
44194         * conform/conformtest.pl: If macro or constant types start
44195         "promoted:", expect the symbol to be of the following type
44196         promoted by the integer promotions.
44198         * conform/conformtest.pl: Parse all "constant" and "macro" lines
44199         in one place.  Also handle "macro-constant".
44201         * conform/conformtest.pl: Only accept expected macro values with
44202         "==".  Parse all "macro" lines in one place.
44203         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44205         * conform/conformtest.pl: Handle braced types on "constant" lines
44206         instead of handling "typed-constant".
44207         * conform/data/signal.h-data: Use "constant" instead of
44208         "typed-constant".
44210         * conform/conformtest.pl: Handle "optional-" at start of lines in
44211         one place rather than duplicating several cases.  Handle each
44212         format of "macro" line with initial "optional-".
44214         * conform/conformtest.pl: Only accept expected constant or
44215         optional-constant values with "==".  Parse all "constant" lines in
44216         one place.  Parse all "optional-constant" lines in one place.
44217         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44218         * conform/data/fmtmsg.h-data: Likewise.
44219         * conform/data/netinet/in.h-data: Likewise.
44220         * conform/data/tar.h-data: Likewise.
44221         * conform/data/limits.h-data: Use "==" form on "constant" and
44222         "optional-constant" lines.
44224         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44225         Use -std=c99 for XOPEN2K.
44226         (@knownproblems): Remove.
44227         (newtoken): Don't check %isknown.
44229         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44230         Do not expect macro.
44231         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44232         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44233         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44234         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44235         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44236         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44237         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44238         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44239         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44240         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44241         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44242         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44243         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44244         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44245         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44246         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44247         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44248         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44249         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44250         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44251         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44252         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44253         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44254         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44255         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44256         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44257         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44258         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44259         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44260         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44261         [XPG3] (acosh): Likewise.
44262         [XPG3] (asinh): Likewise.
44263         [XPG3] (atanh): Likewise.
44264         [XPG3] (cbrt): Likewise.
44265         [XPG3] (expm1): Likewise.
44266         [XPG3] (ilogb): Likewise.
44267         [XPG3] (log1p): Likewise.
44268         [XPG3] (logb): Likewise.
44269         [XPG3] (nextafter): Likewise.
44270         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44271         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44272         [XPG3] (remainder): Likewise.
44273         [XPG3] (rint): Likewise.
44274         [XPG3 || XPG4 || UNIX98] (round): Likewise.
44275         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44276         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44277         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44278         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44279         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44280         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44281         [UNIX98 || XOPEN2K] (scalb): Expect.
44282         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44283         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44284         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44285         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44286         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44287         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44288         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44289         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44290         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44291         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44292         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44293         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44294         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44295         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44296         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44297         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44298         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44299         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44300         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44301         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44302         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44303         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44304         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44305         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44306         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44307         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44308         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44309         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44310         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44311         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44312         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44313         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44314         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44315         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44316         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44317         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44318         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44319         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44320         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44321         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44322         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44323         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44324         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44325         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44326         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44327         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44328         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44329         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44330         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44331         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44332         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44333         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44334         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44335         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44336         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44337         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44338         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44339         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44340         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44341         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44342         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44343         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44344         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44345         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44346         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44347         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44348         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44349         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44350         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44351         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44352         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44353         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44354         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44355         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44356         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44357         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44358         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44359         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44360         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44361         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44362         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44363         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44364         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44365         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44366         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44367         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44368         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44369         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44370         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44371         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44372         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44373         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44374         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44375         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44376         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44377         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44378         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44379         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44380         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44381         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44382         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44383         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44384         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44385         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44386         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44387         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44388         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44389         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44390         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44391         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44392         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44393         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44394         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44395         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44396         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44397         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44398         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44399         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44400         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44401         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44402         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44403         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44404         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44405         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44406         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44407         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44408         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44409         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44410         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44411         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44412         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44413         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44414         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44415         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44416         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44417         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44418         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44420         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44421         _XOPEN_SOURCE_EXTENDED for XPG4.
44423         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44425         * Makeconfig (localtime): Remove variable.
44426         (inst_localtime-file): Likewise.
44428 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44431         Update.
44432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44433         Update.
44434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44435         Update.
44436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44437         Update.
44438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44439         Update.
44440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44441         Update.
44442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44443         Update.
44444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44445         Update.
44446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44447         Update.
44449 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44451         [BZ #2550]
44452         [BZ #2570]
44453         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44454         comparisons to determine direction to adjust input.
44455         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44456         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44457         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44458         Likewise.
44459         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44460         Likewise.
44461         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44462         Likewise.
44463         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44464         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44465         Likewise.
44466         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44467         Likewise.
44468         * math/libm-test.inc (nexttoward_test): Add more tests.
44470 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44472         [BZ #14040]
44473         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44474         in version GLIBC_2.1, not GLIBC_2.0.
44475         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44476         Likewise.
44478 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44480         [BZ #13942]
44481         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44482         (1 - x) * (1 + x).
44483         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44484         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44485         * math/libm-test.inc (acos_test): Add more tests.
44486         (asin_test): Likewise.
44487         * sysdeps/i386/fpu/libm-test-ulps: Update.
44488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44490         [BZ #14034]
44491         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44492         of square root.
44493         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44494         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44495         * math/libm-test.inc (acos_test_tonearest): New function.
44496         (acos_test_towardzero): Likewise.
44497         (acos_test_downward): Likewise.
44498         (acos_test_upward): Likewise.
44499         (asin_test_tonearest): Likewise.
44500         (asin_test_towardzero): Likewise.
44501         (asin_test_downward): Likewise.
44502         (asin_test_upward): Likewise.
44503         (main): Call the new functions.
44504         * sysdeps/i386/fpu/libm-test-ulps: Update.
44505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44507         [BZ #13884]
44508         [BZ #13924]
44509         * math/e_exp10.c: Include <float.h>.
44510         (__ieee754_exp10): Handle underflow here rather than multiplying
44511         large negative argument by M_LN10.
44512         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44513         of __ieee754_expf.
44514         * math/e_exp10l.c: Include <float.h>.
44515         (__ieee754_exp10l): Handle underflow here rather than multiplying
44516         large negative argument by M_LN10l.
44517         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44518         spurious overflow exception on underflow.
44520 2012-04-29  Marek Polacek  <polacek@redhat.com>
44522         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44523         (__fortify_function): New macro.
44524         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44525         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44526         __extern_always_inline.
44527         * libio/bits/stdio2.h: Likewise.
44528         * libio/bits/stdio.h: Likewise.
44529         * string/string.h: Likewise.
44530         * string/bits/string3.h: Likewise.
44531         * include/stdio.h: Likewise.
44532         * stdlib/bits/stdlib.h: Likewise.
44533         * stdlib/stdlib.h: Likewise.
44534         * rt/bits/mqueue2.h: Likewise.
44535         * rt/mqueue.h: Likewise.
44536         * posix/bits/unistd.h: Likewise.
44537         * posix/unistd.h: Likewise.
44538         * io/bits/poll2.h: Likewise.
44539         * io/bits/fcntl2.h: Likewise.
44540         * io/fcntl.h: Likewise.
44541         * io/sys/poll.h: Likewise.
44542         * misc/bits/syslog.h: Likewise.
44543         * misc/bits/syslog-ldbl.h: Likewise.
44544         * misc/sys/syslog.h: Likewise.
44545         * socket/bits/socket2.h: Likewise.
44546         * socket/sys/socket.h: Likewise.
44547         * debug/tst-chk1.c: Likewise.
44548         * wcsmbs/bits/wchar2.h: Likewise.
44549         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44550         * wcsmbs/wchar.h: Likewise.
44552 2012-04-29  Andreas Jaeger  <aj@suse.de>
44554         * Makerules (tests): Remove enable-check-abi protection.
44555         (check-abi-warn): Remove.
44556         (check-abi-%): Remove check-abi-warn usage.
44558         * configure.in: Remove check-abi configure option.
44559         * configure: Regenerated.
44560         * config.make.in (enable-check-abi): Remove.
44562 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44564         [BZ #14033]
44565         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44566         double functions to double *_finite functions.
44568         [BZ #13941]
44569         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44570         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44571         LDBL_MIN_EXP.
44572         * stdio-common/Makefile (tests): Add tst-sprintf3.
44573         * stdio-common/tst-sprintf3.c: New file.
44575         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44576         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44578 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44580         * conform/conformtest.pl: Remove duplicate typed-constant
44581         handling.
44583 2012-04-28  David S. Miller  <davem@davemloft.net>
44585         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44586         (check-abi-%): Remove AWK script prerequisite and explicit
44587         abilist directory.
44588         (check-abi): Rewrite to just diff the symlist with the abilist.
44589         (config-tls, config-abi-config): Delete, no longer used.
44590         (update-abi-%): Remove AWK script and explicit abilist directory.
44591         (update-abi): Rewrite to simply compare and conditionally copy the
44592         symlist and the sysdep abilist file.  Remove update-abi-config
44593         checks.
44594         * abilist/ld.abilist: Remove.
44595         * abilist/libBrokenLocale.abilist: Remove.
44596         * abilist/libanl.abilist: Remove.
44597         * abilist/libcrypt.abilist: Remove.
44598         * abilist/libdl.abilist: Remove.
44599         * abilist/librt.abilist: Remove.
44600         * abilist/libthread_db.abilist: Remove.
44601         * abilist/libutil.abilist: Remove.
44602         * scripts/extract-abilist.awk: Remove.
44603         * scripts/merge-abilist.awk: Remove.
44604         * sysdeps/generic/libcidn.abilist: New file.
44605         * sysdeps/generic/libnss_compat.abilist: New file.
44606         * sysdeps/generic/libnss_db.abilist: New file.
44607         * sysdeps/generic/libnss_dns.abilist: New file.
44608         * sysdeps/generic/libnss_files.abilist: New file.
44609         * sysdeps/generic/libnss_hesiod.abilist: New file.
44610         * sysdeps/generic/libnss_nis.abilist: New file.
44611         * sysdeps/generic/libnss_nisplus.abilist: New file.
44612         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44613         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44614         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44615         file.
44616         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44617         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44618         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44619         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44620         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44621         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44622         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44623         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44624         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44625         file.
44626         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44627         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44628         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44629         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44630         file.
44631         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44632         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44633         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44634         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44635         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44636         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44637         file.
44638         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44639         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44640         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44641         file.
44642         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44643         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44644         New file.
44645         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44646         New file.
44647         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44648         New file.
44649         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44650         New file.
44651         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44652         New file.
44653         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44654         New file.
44655         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44656         New file.
44657         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44658         New file.
44659         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44660         New file.
44661         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44662         New file.
44663         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44664         New file.
44665         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44666         New file.
44667         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44668         New file.
44669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44670         file.
44671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44672         New file.
44673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44674         New file.
44675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44676         file.
44677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44678         New file.
44679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44680         New file.
44681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44682         file.
44683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44684         New file.
44685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44686         New file.
44687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44688         New file.
44689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44690         New file.
44691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44692         New file.
44693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44694         New file.
44695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44697         file.
44698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44699         New file.
44700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44701         file.
44702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44703         file.
44704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44705         file.
44706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44707         file.
44708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44709         file.
44710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44711         New file.
44712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44713         file.
44714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44715         file.
44716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44717         New file.
44718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44719         file.
44720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44722         file.
44723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44724         New file.
44725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44726         file.
44727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44728         file.
44729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44730         file.
44731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44732         file.
44733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44734         file.
44735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44736         New file.
44737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44738         file.
44739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44740         file.
44741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44742         New file.
44743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44744         file.
44745         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44746         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44747         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44748         file.
44749         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44750         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44751         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44752         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44753         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44754         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44755         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44756         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44757         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44758         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44761         file.
44762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44763         New file.
44764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44765         file.
44766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44767         file.
44768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44769         file.
44770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44771         file.
44772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44773         file.
44774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44775         New file.
44776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44777         New file.
44778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44779         file.
44780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44781         New file.
44782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44783         file.
44784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44786         file.
44787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44788         New file.
44789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44790         file.
44791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44792         file.
44793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44794         file.
44795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44796         file.
44797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44798         file.
44799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44800         New file.
44801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44802         New file.
44803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44804         file.
44805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44806         New file.
44807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44808         file.
44810 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44812         * conform/conformtest.pl: Fix typo in handling typed-constant from
44813         allow-header.
44815 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44817         * README: Cut down references to pre-2.6 Linux kernels and
44818         Linuxthreads.  Update lists of configurations in libc and ports
44819         and sort alphabetically.  Say "or newer" with Linux kernel version
44820         requirements.
44822         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44824 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44826         [BZ #887]
44827         * math/libm-test.inc (logb_test_downward): New test to expose
44828         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44829         rounding mode.
44831 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44833         [BZ #14027]
44834         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44835         to be done.
44836         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44837         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44839 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44841         * sysdeps/unix/i386/brk.S: Remove file.
44842         * sysdeps/unix/i386/dl-brk.S: Likewise.
44843         * sysdeps/unix/i386/pipe.S: Likewise.
44844         * sysdeps/unix/i386/sigreturn.S: Likewise.
44845         * sysdeps/unix/i386/syscall.S: Likewise.
44846         * sysdeps/unix/i386/vfork.S: Likewise.
44847         * sysdeps/unix/i386/wait.S: Likewise.
44849         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44850         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44852         * configure.in (arm*-none*): Do not allow without
44853         --enable-hacker-mode.
44854         (netbsd*): Remove case setting base_os.
44855         (386bsd*): Likewise.
44856         (freebsd*): Likewise.
44857         (bsdi*): Likewise.
44858         (osf*): Likewise.
44859         (sunos*): Likewise.
44860         (ultrix*): Likewise.
44861         (newsos*): Likewise.
44862         (dynix*): Likewise.
44863         (*bsd*): Likewise.
44864         (sysv*): Likewise.
44865         (isc*): Likewise.
44866         (esix*): Likewise.
44867         (sco*): Likewise.
44868         (minix*): Likewise.
44869         (irix4*): Likewise.
44870         (irix6*): Likewise.
44871         (solaris[2-9]*): Likewise.
44872         (none): Likewise.
44873         * configure: Regenerated.
44875 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44877         [BZ #11521]
44878         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44879         overflow or cancellation in calculating denominator.
44880         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44881         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44882         down expression to avoid unexpected rounding in newer GCCs.
44883         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44885 2012-04-26  David S. Miller  <davem@davemloft.net>
44887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44888         long-double compat symbols.
44889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44903 2012-04-25  David S. Miller  <davem@davemloft.net>
44905         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44906         HWCAP_* values only after the memory barriers have been defined.
44907         (atomic_full_barrier): Define.
44908         (atomic_read_barrier): Define.
44909         (atomic_write_barrier): Define.
44911 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44913         * shlib-versions: Add libgcc_s version information.
44914         * sysdeps/generic/libgcc_s.h: Remove.
44915         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44916         libgcc_s.h.
44917         * sysdeps/gnu/unwind-resume.c: Likewise.
44918         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44920 2012-04-25  David S. Miller  <davem@davemloft.net>
44922         * sysdeps/unix/sparc/brk.S: Delete.
44923         * sysdeps/unix/sparc/dl-brk.S: Delete.
44924         * sysdeps/unix/sparc/pipe.S: Delete.
44925         * sysdeps/unix/sparc/sysdep.S: Delete.
44926         * sysdeps/unix/sparc/sysdep.h: Delete.
44927         * sysdeps/unix/sparc/vfork.S: Delete.
44928         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44929         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44930         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44931         (ret_ERRVAL, r0, r1, MOVE): Define.
44932         (JUMPTARGET): Remove.
44933         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44934         sysdeps/unix/sparc/sysdep.h
44935         (ENTRY, END): Remove.
44936         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44938 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44940         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44941         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44942         -DIS_IN_build.
44944         * timezone/README: Update upstream location and email address for
44945         tzcode and tzdata.
44946         * timezone/zdump.c: Update from tzcode 2012b.
44947         * timezone/zic.c: Likewise.
44949         * configure.in (libc_cv_as_needed): Remove test.
44950         * configure: Regenerated.
44951         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44952         conditional definition.
44953         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44954         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44955         * config.make.in (have-as-needed): Remove variable.
44957 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44958             Paul Pluzhnikov  <ppluzhnikov@google.com>
44960         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44961         strings correctly.
44963 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44965         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44966         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44967         * sysdeps/sh/strlen.S: Likewise.
44969 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44971         * sysdeps/unix/fork.S: Remove file.
44972         * sysdeps/unix/i386/fork.S: Likewise.
44973         * sysdeps/unix/sparc/fork.S: Likewise.
44975         * sysdeps/unix/system.c: Remove file.
44976         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44978         * sysdeps/unix/getegid.S: Remove file.
44979         * sysdeps/unix/geteuid.S: Likewise.
44981 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44983         * scripts/check-localplt.awk: New file.
44984         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44985         of diff.
44986         * scripts/data/localplt-generic.data: Add a comment.
44988         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44989         NODE when __dir_mkfile failed.
44990         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44991         Reported by Ludovic Courtès <ludo@gnu.org>.
44993 2012-04-24  Andreas Jaeger  <aj@suse.de>
44995         * Makerules (common-clean): Also remove gen-as-const-headers
44996         files.
44998 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45000         * Makerules (native-compile): Do not change working directory for
45001         build.  Use $(OUTPUT_OPTION) in command.
45002         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45004 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45006         [BZ #13886]
45007         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45008         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45009         * math/libm-test.inc (floor_test): Add more tests.
45010         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45012 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45014         * sysdeps/unix/getdents.c: Remove file.
45015         * sysdeps/unix/sysv/getdents.c: Likewise.
45016         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45018         * sysdeps/unix/syscalls.list (madvise): Add syscall from
45019         sysdeps/unix/mman/syscalls.list.
45020         (mmap): Likewise.
45021         (mprotect): Likewise.
45022         (msync): Likewise.
45023         (munmap): Likewise.
45024         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45025         * sysdeps/unix/mman/syscalls.list: Remove.
45026         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45028         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45029         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45030         * configure: Regenerated.
45031         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45032         $(libgcc_s_suffix).
45033         * config.make.in (libgcc_s_suffix): Remove variable.
45035 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
45037         * sysdeps/unix/sysv/gethostname.c: Move to ...
45038         * sysdeps/posix/gethostname.c: ... here.
45040         * sysdeps/unix/execve.S: Remove file.
45042         * sysdeps/unix/_exit.S: Remove file.
45044 2012-04-23  Andreas Jaeger  <aj@suse.de>
45046         [BZ #13739]
45047         * manual/Makefile: Remove make dist support, there's no
45048         need for a stand-alone documentation tar ball.
45049         (TEXI2DVI): Define always, it's not in Makeconfig.
45050         (dist): Removed.
45051         (tar-it): Removed.
45052         (edition): Removed.
45053         (glibc-doc-$(edition).tar): Removed
45054         (%.Z): Removed.
45055         (%.gz): Removed.
45056         (%.uu): Removed.
45057         (ETAGS): Remove, it's in Makeconfig.
45058         (move-if-change): Remove, it's in Makeconfig.
45060 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
45062         [BZ #13970]
45063         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45064         (strtod, strtof, strtold, strtol, strtoul, strtoq)
45065         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45066         (strtod_l, strtof_l, strtold_l): Remove __wur.
45067         It is not necessarily an error to ignore strtol's return value.
45068         One can reliably look at the stored endptr to decide whether
45069         the number had valid syntax.
45071 2012-04-21  Andreas Jaeger  <aj@suse.de>
45073         [BZ #13739]
45074         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45076 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
45078         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45079         * sysdeps/unix/sysv/Versions: Remove file.
45081 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
45083         [BZ #13927]
45084         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45086 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
45088         [BZ #7064]
45089         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45090         version from __vm86.
45092 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
45094         * sysdeps/unix/common/lxstat.c: Remove file.
45095         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45097         * sysdeps/unix/sysv/Makefile: Remove file.
45099         * sysdeps/unix/sysv/direct.h: Remove file.
45101         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45102         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45103         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45104         * sysdeps/unix/sysv/bits/signum.h: Likewise.
45105         * sysdeps/unix/sysv/bits/stat.h: Likewise.
45106         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45107         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45109         * sysdeps/unix/sysv/setrlimit.c: Remove file.
45111         * sysdeps/unix/xmknod.c: Remove file.
45112         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45114         * sysdeps/unix/sysv/settimeofday.c: Remove file.
45116         * sysdeps/unix/sysv/i386/time.S: Remove file.
45118         * sysdeps/unix/fxstat.c: Remove file.
45119         * sysdeps/unix/xstat.c: Likewise.
45120         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45122         * sysdeps/unix/sysv/sigaction.c: Remove file.
45124         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45125         (sysdep_headers): Remove variable.
45126         [termio.h not in sysdep_headers] (generated): Likewise.
45127         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45128         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45129         * sysdeps/unix/sysv/tcdrain.c: Likewise.
45130         * sysdeps/unix/sysv/tcflow.c: Likewise.
45131         * sysdeps/unix/sysv/tcflush.c: Likewise.
45132         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45133         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45134         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45135         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45136         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45138         * sysdeps/unix/siglist.c: Remove file.
45140         * sysdeps/unix/getppid.S: Remove file.
45142         * sysdeps/unix/mkdir.c: Remove file.
45143         * sysdeps/unix/rmdir.c: Likewise.
45145 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
45147         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45148         ERR_MAX value.
45149         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45150         errlist-compat value.
45152 2012-04-18  David S. Miller  <davem@davemloft.net>
45154         * sysdeps/generic/memcopy.h (reg_char): Delete.
45155         * debug/strcat_chk.c: Use char, not reg_char.
45156         * debug/strcpy_chk.c: Likewise.
45157         * debug/strncat_chk.c: Likewise.
45158         * debug/strncpy_chk.c: Likewise.
45159         * string/memchr.c: Likewise.
45160         * string/memrchr.c: Likewise.
45161         * string/rawmemchr.c: Likewise.
45162         * string/strcat.c: Likewise.
45163         * string/strchr.c: Likewise.
45164         * string/strchrnul.c: Likewise.
45165         * string/strcmp.c: Likewise.
45166         * string/strcpy.c: Likewise.
45167         * string/strncat.c: Likewise.
45168         * string/strncmp.c: Likewise.
45169         * string/strncpy.c: Likewise.
45171 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45173         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45174         __builtin_memcopy is called when src and dest ranges are known to not
45175         overlap.
45177 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45179         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45180         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45181         fwd_align_merge macro call.
45182         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45183         bwd_align_merge macro call.
45184         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45186 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45188         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45189         bwd_align_merge macros.
45190         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45191         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45192         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45194 2012-04-18  David S. Miller  <davem@davemloft.net>
45196         * sysdeps/sparc/sparc64/memcopy.h: Delete.
45198 2012-04-18  Andreas Jaeger  <aj@suse.de>
45200         [BZ# 6794]
45201         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45202         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45203         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45205         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45206         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45207         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45209         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45210         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45211         Adjust for changed ldbl-128 files.
45213         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45214         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45215         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45217 2012-04-17  David S. Miller  <davem@davemloft.net>
45219         * sysdeps/sparc/sparc32/memcopy.h: Delete.
45221 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
45223         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45224         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45225         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45226         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45227         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45228         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45230 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45232         [BZ #6794]
45233         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45234         * math/libm-test.inc: Add ilogb errno and exception tests.
45235         * math/w_ilogb.c: New file: ilogb wrapper.
45236         * math/w_ilogbf.c: New file: ilogbf wrapper.
45237         * math/w_ilogbl.c: New file: ilogbl wrapper.
45238         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45239         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45240         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45241         exception being thrown with 0.0 as argument.
45242         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45243         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45244         exception being thrown with 0.0 as argument.
45245         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45246         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45247         exception being thrown with 0.0 as argument.
45248         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45249         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45250         exception being thrown with 0.0 as argument.
45251         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45252         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45253         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45254         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45255         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45256         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45257         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45258         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45259         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45261 2012-04-17  Petr Baudis  <pasky@ucw.cz>
45263         * include/sys/uio.h: Change __vector to __iovec to avoid clash
45264         with altivec.
45266 2012-04-16  Marek Polacek  <polacek@redhat.com>
45268         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45270 2012-04-16  Marek Polacek  <polacek@redhat.com>
45272         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45273         operands of fdivp instruction.
45275 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45277         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45278         * elf/tst-auditmod3b.c: Likewise.
45279         * elf/tst-auditmod4b.c: Likewise.
45280         * elf/tst-auditmod5b.c: Likewise.
45281         * elf/tst-auditmod6b.c: Likewise.
45282         * elf/tst-auditmod6c.c: Likewise.
45283         * elf/tst-auditmod7b.c: Likewise.
45284         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45285         * sysdeps/x86_64/preconfigure.in: Likewise.
45286         * sysdeps/x86_64/preconfigure: Regenerated.
45288 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45290         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45291         __ILP32__.
45293 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
45295         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45296         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45298 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
45300         [BZ #13973]
45301         * locale/iso-639.def: Fix gl language name. Spotted by
45302         Yaron Shahrabani.
45304 2012-04-12  Roland McGrath  <roland@hack.frob.com>
45306         [BZ #2074]
45307         * libio/libio.h (__io_write_fn): Update comment.
45309 2012-04-12  Petr Baudis  <pasky@ucw.cz>
45311         [BZ #2074]
45312         * stdio.texi (Hook Functions): The user provided writer function
45313         is not allowed to return -1.
45315 2012-04-11  David S. Miller  <davem@davemloft.net>
45317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45319 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
45321         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45322         Add a leading slash to rtkaio.
45324 2012-04-11  Jim Meyering  <meyering@redhat.com>
45326         [BZ #11959]
45327         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45328         It is not necessarily an error to ignore fwrite's return
45329         value.  One can reliably use ferror to test for errors after
45330         the fact.
45332 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45334         * bits/types.h (__snseconds_t): New type.
45335         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45337         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45338         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45339         (__SNSECONDS_T_TYPE): Likewise.
45340         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45341         (__SNSECONDS_T_TYPE): Likewise.
45342         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45343         (__SNSECONDS_T_TYPE): Likewise.
45345 2012-04-10  Andreas Jaeger  <aj@suse.de>
45347         [BZ #2636]
45348         * manual/time.texi (Processor Time): Return type of times is
45349         elapsed real time since an arbitrary point in the past.
45350         (CPU Time): Move CLK_TCK from here...
45351         (Processor Time): ...to here.  Correct description.
45352         * manual/conf.texi (Constants for Sysconf): Correct description of
45353         _SC_CLK_TCK.
45355 2012-04-10  David S. Miller  <davem@davemloft.net>
45357         [BZ #13967]
45358         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45359         where the is a gap between DT_REL(A) and DT_JMPREL.
45361 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45363         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45364         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45365         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45367 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45369         * elf/dl-support.c (_dl_inhibit_cache): New variable.
45370         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45371         (dl_main): Handle --inhibit-cache.
45372         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45373         _dl_inhibit_cache.
45374         * elf/dl-load.c (_dl_map_object): Use it.
45375         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45377 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45379         [BZ #13872]
45380         * sysdeps/i386/fpu/e_powl.S (p78): New object.
45381         (__ieee754_powl): Saturate large exponents rather than testing for
45382         overflow of y*log2(x).
45383         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45384         * math/libm-test.inc (pow_test): Do not permit spurious overflow
45385         exceptions.
45387         [BZ #11521]
45388         * math/s_ctan.c: Include <float.h>.
45389         (__ctan): Avoid internal overflow or cancellation in calculating
45390         denominator.
45391         * math/s_ctanf.c: Likewise.
45392         * math/s_ctanl.c: Likewise.
45393         * math/s_ctanh.c: Likewise.
45394         * math/s_ctanhf.c: Likewise.
45395         * math/s_ctanhl.c: Likewise.
45396         * math/libm-test.inc (ctan_test): Add more tests.
45397         (ctanh_test): Likewise.
45398         * sysdeps/i386/fpu/libm-test-ulps: Update.
45399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45401 2012-04-09  Andreas Jaeger  <aj@suse.de>
45403         [BZ #6894]
45404         * manual/filesys.texi (Directory Entries): Mention that d_namlen
45405         is an optional BSD extension.
45407         [BZ #10254]
45408         * manual/stdio.texi (Opening Streams): Document additional fopen
45409         parameters.
45411 2012-04-09  Roland McGrath  <roland@hack.frob.com>
45413         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45414         %eax without telling the compiler.
45416 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45418         [BZ # 13963]
45419         * manual/install.texi: Use sourceware.org.
45421 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45423         [BZ #13873]
45424         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45425         (__ieee754_pow): Generate overflow and underflow using huge*huge
45426         and tiny*tiny rather than just returning constant infinity or zero
45427         for large exponents.
45428         * math/libm-test.inc (pow_test): Require overflow exceptions for
45429         applicable cases of large exponents.
45431         [BZ #706]
45432         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45433         (__ieee754_pow): Use iterative multiplication algorithm only for
45434         integer exponents with absolute value below 1024.  Check for odd
45435         integer exponents when using algorithm for real exponents.
45436         * math/libm-test.inc (pow_test): Add more tests.
45437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45439 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45441         [BZ #13705]
45442         * math/libm-test.inc (exp_test): Do not allow overflow exception
45443         on underflow test.
45445 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45447         [BZ #13705]
45448         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45449         instead of __kernel_standard_f.
45451 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45453         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45454         * sysdeps/x86_64/memset_chk.S: Likewise.
45456 2012-04-08  Andreas Jaeger  <aj@suse.de>
45458         [BZ #10153]
45459         * manual/startup.texi (Environment Access): Describe return value
45460         for putenv and setenv.
45462         [BZ #6895]
45463         * manual/filesys.texi (Directory Entries): Add description for
45464         DT_LNK.
45466         [BZ #6890]
45467         * manual/filesys.texi (Directory Entries): Clarify that it's file
45468         system not operating system in the description of DT_UNKNOWN.
45470         [BZ #6578]
45471         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45473 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45475         [BZ #6649]
45476         * manual/llio.texi (Opening and Closing Files): Add cross
45477         reference to explain mode argument.
45479 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45481         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45482         * sysdeps/x86_64/memset_chk.S: Likewise.
45484 2012-04-07  David S. Miller  <davem@davemloft.net>
45486         * elf/elf.h (R_SPARC_WDISP10): Define.
45487         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45488         R_SPARC_SIZE32.
45489         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45490         R_SPARC_SIZE64 and R_SPARC_H34.
45492 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45494         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45495         conditions and remove no longer applicable assertion.
45497 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45499         * bits/byteswap.h: Include <features.h>.
45500         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45501         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45503 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45505         * bits/byteswap.h (__bswap_16): Removed.
45506         Include <bits/byteswap-16.h> to get __bswap_16.
45507         * sysdeps/i386/bits/byteswap.h: Likewise.
45508         * sysdeps/s390/bits/byteswap.h: Likewise.
45509         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45510         * bits/byteswap-16.h: New file.
45511         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45512         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45513         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45514         * string/Makefile (headers): Add bits/byteswap-16.h.
45516 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45518         [BZ #13895]
45519         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45520         extra indirection.
45521         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45522         * nss/tst-nss-static.c: New.
45524 2012-04-06  Robert Millan  <rmh@gnu.org>
45526         [BZ #6486]
45527         * manual/llio.texi (File Position Primitive): lseek
45528         refers to WHENCE when it really means OFFSET.
45530 2012-04-06  Andreas Jaeger  <aj@suse.de>
45532         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45533         strncmp declarations.
45535         * abilist/libc.abilist: Add __poll and __ppoll.
45537 2012-04-05  David S. Miller  <davem@davemloft.net>
45539         * scripts/check-local-headers.sh: Accept a host triplet in the
45540         path matched by the exclude regexp.
45542         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45543         definition.
45544         * sysdeps/powerpc/powerpc32/dl-machine.h
45545         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45546         * sysdeps/s390/s390-32/dl-machine.h
45547         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45548         * sysdeps/sparc/sparc32/dl-machine.h
45549         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45550         * sysdeps/sparc/sparc64/dl-machine.h
45551         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45553         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45554         lazy binding.
45555         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45556         undefined symbol errors.
45558         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45559         DT_NEEDED entries.
45561 2012-04-05  Michael Matz  <matz@suse.de>
45563         [BZ #13592]
45564         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45566 2012-04-05  Andreas Jaeger  <aj@suse.de>
45568         [BZ #13908]
45569         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45570         comment.
45572 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45574         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45575         which ROUND is no valid rounding mode.
45577 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45579         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45580         read again.
45581         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45583 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45585         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45586         an exception using FPU order intentionally.
45588 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45590         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45591         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45592         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45593         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45595 2012-04-05  Simon Josefsson  <simon@josefsson.org>
45597         [BZ #12340]
45598         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45599         EINVAL when BUFLEN is too smal.
45601 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45603         [BZ #13553]
45604         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45605         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45607 2012-04-03  Andreas Jaeger  <aj@suse.de>
45609         [BZ #13938]
45610         * manual/setjmp.texi (System V contexts): Fix sentence.
45612         [BZ #13926]
45613         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45614         New macro for this case.
45615         [!__GNUC__] (__bswap_64): New inline function for this case.
45616         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45617         * bits/byteswap.h: Likewise.
45618         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45619         ull, guard with __GLIBC_HAVE_LONG_LONG.
45621         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45622         __GLIBC_HAVE_LONG_LONG.
45624         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45625         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45627 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45629         [BZ #13691]
45630         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45631         inptr and inend, rather than using last_ch.
45633 2012-04-02  David S. Miller  <davem@davemloft.net>
45635         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45636         * stdio-common/printf-parse.h (read_int): Change return type to
45637         'int', return -1 on INT_MAX overflow.
45638         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45639         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
45640         overflows INT_MAX.  Check for overflow of in-format-string precision
45641         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
45642         SIZE_MAX not INT_MAX for integer overflow test.
45643         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45644         skip the construct in the format string but do not record anything.
45645         * stdio-common/bug22.c: Adjust to test both width/prevision
45646         INT_MAX overflow as well as total length INT_MAX overflow.  Check
45647         explicitly for proper errno values.
45649 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45651         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45652         CHAR_MAX.
45653         * string/test-strcmp.c [! WIDE]: Likewise.
45654         * time/tst-mktime2.c: Likewise for INT_MAX.
45655         * string/test-string.h: #include <sys/param.h> for MIN.
45657         * csu/init-first.c (__libc_init_first): Call __ctype_init.
45658         * sysdeps/i386/init-first.c (init): Likewise.
45659         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45660         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45661         * sysdeps/sh/init-first.c (init): Likewise.
45663 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45665         * po/ru.po: Update from translation team.
45666         * po/vi.po: Likewise.
45668 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45670         * resolv/nss_dns/dns-host.c: Merge copyright years.
45672 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45674         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45675         Optimize memcpy with prefetch if
45676         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45677         src, dst pointers have unequal 16 byte alignments.
45679 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45681         [BZ #13928]
45682         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45683         from a CNAME entry and return the minimum ttl for the query.
45684         (gaih_getanswer_slice): Likewise.
45686 2012-03-30  Jeff Law  <law@redhat.com>
45688         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45689         due to long keys.
45690         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45691         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45693         * resolv/nss_dns/dns-host.c: Update copyright year.
45695 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45697         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45698         requests to save a system call.  Fix check that all bytes are sent.
45700         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45701         comments for sendmmsg.
45703 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45705         [BZ #13691]
45706         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45707         with only 1 character between 0x0041 and 0x01b0.
45708         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45709         * wcsmbs/tst-mbsnrtowcs.c: New file.
45711 2012-03-29  David S. Miller  <davem@davemloft.net>
45713         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45714         small copies by hand.
45716 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45718         [BZ #13761]
45719         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45720         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45721         group memberships.
45723 2012-03-28  David S. Miller  <davem@davemloft.net>
45725         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45726         that branches into memcpy.
45727         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45728         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45729         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45730         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45732         bits.
45733         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45734         implementation too.
45735         * sysdeps/sparc/mempcpy.S: New file.
45737         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45738         the IFUNC routine in the libc case.
45739         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45741         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45742         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45743         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45744         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45745         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45746         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45747         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45748         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45750         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45751         loop to 256 bytes instead of 64 bytes and fix test signedness.
45753         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45754         * sysdeps/sparc/sparc32/Makefile: rather than here...
45755         * sysdeps/sparc/sparc64/Makefile: and here.
45757 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45759         * malloc/mallocbug.c: Avoid warnings about unused variables.
45761 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45763         [BZ #13760]
45764         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45765         in the right place. Discard and retry query if response is
45766         larger than input buffer size.
45768 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45770         [BZ #369]
45771         [BZ #2678]
45772         [BZ #3866]
45773         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45774         x for large integer exponent.
45775         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45776         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45777         sign of result as needed afterwards.
45778         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45779         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45780         result for underflowing pow the same as for overflow.
45781         (__kernel_standard_l): Handle powl overflow and underflow here
45782         rather than calling __kernel_standard.
45783         * math/libm-test.inc (pow_test): Add more tests.
45785         [BZ #3868]
45786         [BZ #13879]
45787         [BZ #13910]
45788         [BZ #13911]
45789         [BZ #13912]
45790         [BZ #13913]
45791         [BZ #13915]
45792         [BZ #13916]
45793         [BZ #13917]
45794         [BZ #13918]
45795         [BZ #13919]
45796         [BZ #13920]
45797         [BZ #13921]
45798         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45799         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45800         (__kernel_standard_l): New function.
45801         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45802         __kernel_standard.
45803         * math/w_acosl.c (__acosl): Likewise.
45804         * math/w_asinl.c (__asinl): Likewise.
45805         * math/w_atan2l.c (__atan2l): Likewise.
45806         * math/w_atanhl.c (__atanhl): Likewise.
45807         * math/w_coshl.c (__coshl): Likewise.
45808         * math/w_exp10l.c (__exp10l): Likewise.
45809         * math/w_exp2l.c (__exp2l): Likewise.
45810         * math/w_fmodl.c (__fmodl): Likewise.
45811         * math/w_hypotl.c (__hypotl): Likewise.
45812         * math/w_j0l.c (__j0l, __y0l): Likewise.
45813         * math/w_j1l.c (__j1l, __y1l): Likewise.
45814         * math/w_jnl.c (__jnl, __ynl): Likewise.
45815         * math/w_lgammal.c (__lgammal): Likewise.
45816         * math/w_log10l.c (__log10l): Likewise.
45817         * math/w_log2l.c (__log2l): Likewise.
45818         * math/w_logl.c (__logl): Likewise.
45819         * math/w_powl.c (__powl): Likewise.
45820         * math/w_remainderl.c (__remainderl): Likewise.
45821         * math/w_scalbl.c (sysv_scalbl): Likewise.
45822         * math/w_sinhl.c (__sinhl): Likewise.
45823         * math/w_sqrtl.c (__sqrtl): Likewise.
45824         * math/w_tgammal.c (__tgammal): Likewise.
45825         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45826         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45827         * math/libm-test.inc (acos_test): Add more tests.
45828         (acosh_test): Likewise.
45829         (asin_test): Likewise.
45830         (atanh_test): Likewise.
45831         (exp_test): Likewise.
45832         (exp10_test): Likewise.
45833         (exp2_test): Likewise.
45834         (expm1_test): Likewise.
45835         (lgamma_test): Likewise.
45836         (log_test): Likewise.
45837         (log10_test): Likewise.
45838         (log1p_test): Likewise.
45839         (log2_test): Likewise.
45840         (pow_test): Do not allow some spurious overflow exceptions.
45841         (sqrt_test): Add more tests.
45842         (tgamma_test): Likewise.
45843         (y0_test): Likewise.
45844         (y1_test): Likewise.
45845         (yn_test): Likewise.
45847 2012-03-27  Anton Blanchard  <anton@samba.org>
45849         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45850         MAP_HUGETLB.
45851         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45852         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45853         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45855 2012-03-27  David S. Miller  <davem@davemloft.net>
45857         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45859         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45860         have-as-vis3 check.
45862 2012-03-27  Andreas Jaeger  <aj@suse.de>
45864         * sysdeps/x86_64/elf/configure.in: Moved to ...
45865         * sysdeps/x86_64/configure.in: ... here.
45866         * sysdeps/x86_64/elf/start.S: Moved to ...
45867         * sysdeps/x86_64/start.S: ... here.
45868         * sysdeps/x86_64/elf/configure: Delete.
45870         * sysdeps/x86_64/configure.in: Merge contents from
45871         sysdeps/i386/configure.in (without i686 check).
45873         * sysdeps/i386/elf/Versions: Merge into ...
45874         * sysdeps/i386/Versions: ... this.
45875         * sysdeps/i386/elf/Versions: Delete file.
45876         * sysdeps/i386/elf/start.S: Moved to ...
45877         * sysdeps/i386/start.S: ...here.
45878         * sysdeps/i386/elf/configure.in: Merge into...
45879         * sysdeps/i386/configure.in: ...here.
45880         * sysdeps/i386/elf/configure.in: Delete file.
45881         * sysdeps/i386/elf/configure: Delete file.
45883         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45884         * debug/backtracesyms.c: ... here.
45885         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45886         * debug/backtracesymsfd.c: ... here.
45887         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45888         * sysdeps/generic/ifunc-sel.h: ... here.
45890         * sysdeps/unix/i386/start.c: Delete file.
45891         * sysdeps/unix/sparc/start.c: Delete file.
45892         * sysdeps/unix/start.c: Delete file.
45894         * sysdeps/sh/elf/configure.in: Moved to ...
45895         * sysdeps/sh/configure.in: ... here.
45896         * sysdeps/sh/elf/start.S: Moved to ...
45897         * sysdeps/sh/start.S: ... here.
45898         * sysdeps/sh/elf/configure: Delete file.
45900         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45901         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45902         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45903         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45904         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45905         * sysdeps/powerpc/powerpc64/start.S: here.
45906         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45907         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45908         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45909         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45910         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45912         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45913         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45914         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45915         * sysdeps/powerpc/powerpc32/start.S: ... here.
45916         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45917         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45918         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45920         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45921         * sysdeps/powerpc/ifunc-sel.h: ... here.
45922         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45923         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45925         * sysdeps/sparc/elf/configure.in: Moved to ...
45926         * sysdeps/sparc/configure.in: ... here.
45927         * sysdeps/sparc/elf/configure: Delete file.
45928         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45929         * sysdeps/sparc/sparc32/start.S: ... here.
45930         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45931         * sysdeps/sparc/sparc64/start.S: ... here.
45932         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45933         * sysdeps/sparc/sparc32/Makefile: ... this.
45934         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45935         * sysdeps/sparc/sparc64/Makefile: ... this.
45937         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45938         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45939         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45940         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45941         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45942         * sysdeps/s390/s390-32/setjmp.S: ... here.
45943         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45944         * sysdeps/s390/s390-32/configure.in: ... here.
45945         * sysdeps/s390/s390-32/elf/configure: Delete file.
45946         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45947         * sysdeps/s390/s390-32/start.S: ... here.
45949         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45950         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45951         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45952         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45953         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45954         * sysdeps/s390/s390-64/setjmp.S: ... here.
45955         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45956         * sysdeps/s390/s390-64/configure.in: ... here
45957         * sysdeps/s390/s390-64/elf/configure: Delete file.
45958         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45959         * sysdeps/s390/s390-64/start.S: ... here.
45960         * sysdeps/s390/s390-64/elf/configure: Delete.
45962         * configure.in: Remove support for elf directories in sysdeps.
45964         * configure: Regenerated.
45965         * sysdeps/i386/configure: Regenerated.
45966         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45967         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45968         * sysdeps/s390/s390-32/configure: Regenerated.
45969         * sysdeps/s390/s390-64/configure: Regenerated.
45970         * sysdeps/sh/configure: Regenerated.
45971         * sysdeps/sparc/configure: Regenerated.
45972         * sysdeps/x86_64/configure: Regenerated.
45974 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45978         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45979         denormal result into account.
45981 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45983         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45984         Reported by Allan McRae <allan@archlinux.org>.
45986 2012-03-23  Jeff Law  <law@redhat.com>
45988         * nss/getnssent.c (__nss_getent): Fix typo.
45990 2012-03-23  David S. Miller  <davem@davemloft.net>
45992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45994 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45996         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45997         to pad to uint64_t for each field.
45998         (dl_tls_index): Replace unsigned long with uint64_t.
46000 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
46001         Paul Pluzhnikov  <ppluzhnikov@google.com>
46003         [BZ #6528]
46004         * grp/Makefile (otherlibs): Don't set it.
46005         * inet/Makefile (otherlibs): Likewise.
46006         * login/Makefile (otherlibs): Likewise.
46007         * nscd/Makefile (otherlibs): Likewise.
46008         * posix/Makefile (otherlibs): Likewise.
46009         * pwd/Makefile (otherlibs): Likewise.
46010         * rt/Makefile (otherlibs): Likewise.
46011         * sunrpc/Makefile (otherlibs): Likewise.
46012         * nss/Makefile (otherlibs): Likewise.
46013         Add libnss_files to routines and static-only-routines.
46014         ($(objpfx)getent): Remove rule.
46015         * resolv/Makefile: Add libnss_dns and libresolv to routines and
46016         static-only-routines.
46018 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46020         [BZ #13892]
46021         * math/s_cexp.c: Include <float.h>.
46022         (__cexp): Handle exp result overflowing not necessarily
46023         overflowing both real and imaginary parts of result.
46024         * math/s_cexpf.c: Likewise.
46025         * math/s_cexpl.c: Likewise.
46026         * math/libm-test.inc (cexp_test): Add more tests.
46027         * sysdeps/i386/fpu/libm-test-ulps: Update.
46028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46030 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46032         * include/link.h (ELFW): New macro.
46033         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46034         Replace ELF64_R_TYPE with ELFW(R_TYPE).
46036 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46038         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46039         with uint64_t.
46041 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46043         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46044         declaration.
46045         (struct La_x32_retval): Likewise.
46047 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46049         * sysdeps/x86_64/preconfigure.in: New file.
46050         * sysdeps/x86_64/preconfigure: New generated file.
46052 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46054         [BZ #13824]
46055         * math/e_exp2l.c: Include <float.h>.
46056         (__ieee754_exp2l): Handle overflow and underflow cases
46057         separately.  Only pass fractional part of argument to
46058         __ieee754_expl.
46059         * math/libm-test.inc (exp2_test): Add more tests.
46061         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46062         negating x to take absolute value.
46063         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46064         Likewise.
46065         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46066         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46067         Likewise.
46068         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46069         computing low part if x was negated.
46070         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46072 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46074         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46075         la_x32_gnu_pltexit.
46076         (pltexit): Cast int_retval to ptrdiff_t.
46077         * elf/tst-auditmod3b.c: Likewise.
46078         * elf/tst-auditmod4b.c: Likewise.
46079         * elf/tst-auditmod5b.c: Likewise.
46080         * elf/tst-auditmod6b.c: Likewise.
46081         * elf/tst-auditmod6c.c: Likewise.
46082         * elf/tst-auditmod7b.c: Likewise.
46084         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46085         and x32_gnu_pltexit.
46087         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46088         __ELF_NATIVE_CLASS.
46089         (La_x32_regs): New macro.
46090         (La_x32_retval): Likewise.
46091         (la_x32_gnu_pltenter): New function prototype.
46092         (la_x32_gnu_pltexit): Likewise.
46094 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
46096         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46097         exponent.
46099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46101         * configure.in (libc_cv_cc_nofma): Check for option to disable
46102         generation of FMA instructions.
46103         * configure: Regenerate.
46104         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46105         * sysdeps/ieee754/dbl-64/Makefile: New file.
46106         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46107         Remove brandred-fma4.
46108         (CFLAGS-brandred-fma4.c): Remove.
46109         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46110         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46111         define.
46112         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46113         define.
46115 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46117         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46118         LLONG_MAX != LONG_MAX.
46119         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46120         (_fitoa_word): Likewise.
46121         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46122         LLONG_MAX != LONG_MAX.
46123         * stdio-common/_itowa.h: Include <_itoa.h>.
46124         (_itowa_word): Use _ITOA_WORD_TYPE on value.
46125         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
46126         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
46127         only if not defined.
46128         (_ITOA_WORD_TYPE): Likewise.
46129         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46130         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46132 2012-03-21  David S. Miller  <davem@davemloft.net>
46134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46136 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46138         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46139         of x86_64 when setting libc_cv_slibdir, libdir and
46140         libc_cv_localedir.
46141         * sysdeps/unix/sysv/linux/configure: Regenerated.
46143 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46145         * manual/lang.texi (Old Varargs): Remove section.
46146         (How Variadic): Update menu.
46147         (va_start): Do not mention varargs.h.
46149 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46150             Joseph Myers  <joseph@codesourcery.com>
46152         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46153         link test.
46154         * configure: Regenerated.
46156 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46158         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46159         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46160         conformtest.pl
46162 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46164         * NOTES: Remove.
46165         * Makefile (files-for-dist): Remove NOTES.
46166         (NOTES): Remove rule.
46167         * README: Don't refer to NOTES.
46168         * manual/creature.texi: Don't include macros.texi.
46169         * manual/intro.texi (creature.texi): Remove comment referring to
46170         NOTES.
46172         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46173         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46174         * configure: Regenerated.
46175         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46176         LIBC_TRY_CC_OPTION.
46177         (libc_cv_as_i686): Likewise.
46178         (libc_cv_cc_avx): Likewise.
46179         (libc_cv_cc_sse2avx): Likewise.
46180         (libc_cv_cc_fma4): Likewise.
46181         (libc_cv_cc_novzeroupper): Likewise.
46182         * sysdeps/i386/configure: Regenerated.
46184         [BZ #13883]
46185         * sysdeps/i386/fpu/s_cexp.S: Remove.
46186         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46187         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46188         * math/libm-test.inc (cexp_test): Add more tests.
46189         * sysdeps/i386/fpu/libm-test-ulps: Update.
46190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46192 2012-03-21  Allan McRae  <allan@archlinux.org>
46194         * timezone/Makefile: Do not install iso3166.tab and zone.tab
46196 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46198         [BZ #13871]
46199         * math/w_exp2.c: Do not include <float.h>.
46200         (o_threshold, u_threshold): Remove.
46201         (__exp2): Calculate result before checking finiteness and calling
46202         __kernel_standard.
46203         * math/w_exp2f.c: Likewise.
46204         * math/w_exp2l.c: Likewise.
46205         * math/libm-test.inc (exp2_test): Require overflow exception for
46206         1e6 input.
46208         [BZ #3866]
46209         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46210         range of signed 64-bit integers before using fistpll.  Remove
46211         checks for whether integers fit in mantissa bits.
46212         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46213         the range of signed 32-bit integers before using fistpl.  Remove
46214         checks for whether integers fit in mantissa bits.
46215         * sysdeps/i386/fpu/e_powl.S (p64): New object.
46216         (__ieee754_powl): Test for y outside the range of signed 64-bit
46217         integers before using fistpll.  Reduce 64-bit values to 63-bit
46218         ones as needed.
46219         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46220         divide-by-zero is raised for zero to large negative powers.
46221         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46222         (__ieee754_powl): Test for y outside the range of signed 64-bit
46223         integers before using fistpll.  Reduce 64-bit values to 63-bit
46224         ones as needed.
46225         * math/libm-test.inc (pow_test): Add more tests.
46227 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46229         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46230         <stdio-common/_itoa.h>.
46231         * debug/segfault.c: Likewise.
46232         * elf/dl-cache.c: Likewise.
46233         * elf/dl-minimal.c: Likewise.
46234         * elf/dl-misc.c: Likewise.
46235         * elf/dl-sysdep.c: Likewise.
46236         * elf/dl-version.c: Likewise.
46237         * elf/rtld.c: Likewise.
46238         * hurd/hurdsock.c: Likewise.
46239         * hurd/lookup-retry.c: Likewise.
46240         * malloc/malloc.c: Likewise.
46241         * malloc/mtrace.c: Likewise.
46242         * nscd/nscd_getgr_r.c: Likewise.
46243         * nscd/nscd_getpw_r.c: Likewise.
46244         * nscd/nscd_getserv_r.c: Likewise.
46245         * posix/getopt_init.c: Likewise.
46246         * posix/wordexp.c: Likewise.
46247         * stdio-common/_itoa.c: Likewise.
46248         * stdio-common/printf_fphex.c: Likewise.
46249         * stdio-common/vfprintf.c: Likewise.
46250         * string/_strerror.c: Likewise.
46251         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46252         * sysdeps/i386/i686/hp-timing.h: Likewise.
46253         * sysdeps/mach/_strerror.c: Likewise.
46254         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46255         * sysdeps/mach/hurd/sethostid.c: Likewise.
46256         * sysdeps/mach/hurd/xmknodat.c: Likewise.
46257         * sysdeps/mach/xpg-strerror.c: Likewise.
46258         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46259         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46260         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46261         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46262         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46263         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46264         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46265         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46266         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46267         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46268         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46269         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46270         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46271         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46272         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46273         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46274         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46275         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46276         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46277         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46278         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46280         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46282         * stdio-common/_itoa.h: Moved to ...
46283         * sysdeps/generic/_itoa.h: Here.
46285         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46287         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46288         instead of "_itoa.h" and "_itowa.h".
46289         * stdio-common/vfprintf.: Likewise.
46291 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46293         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46294         <bits/wordsize.h>.
46295         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46296         (__signbit): Likwise.
46297         (llrintf): Likwise.
46298         (llrint): Likwise.
46300 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46302         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46303         __WORDSIZE != 64.
46305 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
46307         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46308         OVERFLOW_EXCEPTION_OK.
46309         * math/libm-test.inc ("Philosophy"): Update comment about
46310         exception testing.
46311         (OVERFLOW_EXCEPTION): Define.
46312         (OVERFLOW_EXCEPTION_OK): Likewise.
46313         (INVALID_EXCEPTION_OK): Renumber.
46314         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46315         (IGNORE_ZERO_INF_SIGN): Likewise.
46316         (test_exceptions): Handle FE_OVERFLOW.
46317         (exp10_test): Expect overflow exceptions.
46318         (exp2_test): Likewise.
46319         (expm1_test): Likewise.
46320         (nextafter_test): Likewise.
46321         (pow_test): Likewise.
46322         (scalbn_test): Likewise.
46323         (scalbln_test): Likewise.
46325 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46327         * sysdeps/x86_64/bits/atomic.h
46328         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46329         64bit integer.
46330         (atomic_exchange_acq): Likewise.
46331         (__arch_exchange_and_add_body): Likewise.
46332         (__arch_add_body): Likewise.
46333         (atomic_add_negative): Likewise.
46334         (atomic_add_zero): Likewise.
46336 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46338         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46339         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46341 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46343         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46344         Check __x86_64__ instead of __WORDSIZE.
46346 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46348         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46350 2012-03-19  David S. Miller  <davem@davemloft.net>
46352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46354         * sysdeps/sparc/fpu/fenv_private.h: New file.
46355         * sysdeps/sparc/fpu/math_private.h: Use it.
46356         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46357         Remove.
46358         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46359         (libc_feholdexcept_setroundl): Remove.
46360         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46361         Remove.
46362         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46363         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46365 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46367         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46368         int64_t instead of long int.
46369         (INSERT_WORDS64): Likwise.
46371 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46373         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46374         _Unwind_GetCFA return to _Unwind_Ptr first.
46376 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
46378         [BZ #13629]
46379         * math/s_clog.c: Include <float.h>.
46380         (__clog): Scale large or subnormal inputs.
46381         * math/s_clogf.c: Likewise.
46382         * math/s_clogl.c: Likewise.
46383         * math/s_clog10.c: Include <float.h>.
46384         (M_LOG10_2): Define.
46385         (__clog10): Scale large or subnormal inputs.
46386         * math/s_clog10f.c: Likewise.
46387         * math/s_clog10l.c: Likewise.
46388         * math/libm-test.inc (clog_test): Add more tests.
46389         (clog10_test): Likewise.
46390         * sysdeps/i386/fpu/libm-test-ulps: Update.
46391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46393         [BZ #11451]
46394         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46395         x and y.
46396         * math/libm-test.inc (atan2_test): Add another test.
46398         * Makerules (common-objdir-compile): Remove.
46399         * sysdeps/unix/Makefile (config-generated): Do not add
46400         $(unix-generated) to variable.
46401         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46402         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46403         Remove rule.
46404         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46405         Likewise.
46406         [generic bits/local_lim.h] (before-compile): Do not append to
46407         variable.
46408         [generic bits/local_lim.h] (common-generated): Likewise.
46409         [generic sys/param.h] (before-compile): Do not append to variable.
46410         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46411         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46412         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46413         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46414         include.
46415         [generic sys/param.h] (sys/param.h-includes): Remove variable.
46416         [generic sys/param.h] (sys/param.h-includes): Remove rule.
46417         [generic sys/param.h] ($(addprefix
46418         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46419         [generic sys/param.h] (common-generated): Do not append to
46420         variable.
46421         [generic sys/param.h] (sysdep_headers): Likewise.
46422         [generic bits/errno.h] (before-compile): Do not append to
46423         variable.
46424         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46425         rule.
46426         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46427         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46428         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46429         [generic bits/errno.h] (common-generated): Do not append to
46430         variable.
46431         [generic bits/ioctls.h] (before-compile): Do not append to
46432         variable.
46433         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46434         rule.
46435         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46436         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46437         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46438         rule.
46439         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46440         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46441         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46442         [generic bits/ioctls.h] (common-generated): Do not append to
46443         variable.
46444         [generic sys/syscall.h] (syscall.h): Remove variable.
46445         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46446         rule.
46447         [generic sys/syscall.h] (before-compile): Do not append to
46448         variable.
46449         [generic sys/syscall.h] (common-generated): Likewise.
46450         * sysdeps/unix/errnos-tmpl.c: Remove file.
46451         * sysdeps/unix/errnos.awk: Likewise.
46452         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46453         * sysdeps/unix/ioctls.awk: Likewise.
46454         * sysdeps/unix/mk-local_lim.c: Likewise.
46455         * sysdeps/unix/snarf-ioctls: Likewise.
46457 2012-03-19  Richard Henderson  <rth@twiddle.net>
46459         * sysdeps/i386/fpu/fenv_private.h: New file.
46460         * sysdeps/i386/fpu/math_private.h: Use it.
46461         (math_opt_barrier, math_force_eval): Remove.
46462         (libc_feholdexcept_setround_53bit): Remove.
46463         (libc_feupdateenv_53bit): Remove.
46464         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46465         (math_opt_barrier, math_force_eval): Remove.
46466         (libc_feholdexcept): Remove.
46467         (libc_feholdexcept_setround): Remove.
46468         (libc_fetestexcept, libc_fesetenv): Remove.
46469         (libc_feupdateenv_test): Remove.
46470         (libc_feupdateenv, libc_feholdsetround): Remove.
46471         (libc_feresetround): Remove.
46473         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46474         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46476         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46477         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46478         (libc_feupdateenv_testl): New.
46479         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46480         (libc_feupdateenv_testf): New.
46481         (libc_feupdateenv): Use libc_feupdateenv_test.
46482         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46483         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46485         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46486         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46487         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46488         (libc_feresetround_noex): New.
46489         (libc_feresetround_noexf): New.
46490         (libc_feresetround_noexl): New.
46491         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46492         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46493         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46494         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46495         SET_RESTORE_ROUND.
46496         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46497         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46498         (__cos): Likewise.
46499         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46500         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46501         SET_RESTORE_ROUND_NOEX.
46502         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46503         SET_RESTORE_ROUND_NOEXF.
46504         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46505         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46506         (libc_feholdsetroundf): New.
46507         (libc_feresetround, libc_feresetroundf): New.
46509         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46510         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46511         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46513         * sysdeps/generic/math_private.h: Include <fenv.h>.
46514         (default_libc_feholdexcept): New.
46515         (default_libc_feholdexcept_setround): New.
46516         (default_libc_fesetenv, default_libc_feupdateenv): New.
46517         (libc_feholdexcept): Only define if undefined.
46518         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46519         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46520         (libc_feholdexcept_setroundl): Likewise.
46521         (libc_feholdexcept_setround_53bit): Likewise.
46522         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46523         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46524         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46525         (libc_feupdateenv_53bit): Likewise.
46526         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46527         (libc_feholdexcept): Convert from macro to inline function.
46528         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46529         (libc_fesetenv, libc_feupdateenv): Likewise.
46531         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46532         not previously defined.
46533         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46534         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46535         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46536         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46537         * sysdeps/ieee754/flt-32/math_private.h: New file.
46538         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46539         math_private.h below SET_FLOAT_WORD.
46540         (__isnan, __isinf_ns, __finite): Remove.
46541         (__isnanf, __isinf_nsf, __finitef): Remove.
46543 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46547 2012-03-17  David S. Miller  <davem@davemloft.net>
46549         [BZ #6471]
46550         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46551         for 2.16.
46553 2012-03-16  David S. Miller  <davem@davemloft.net>
46555         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46556         warnings.
46558         [BZ #6471]
46559         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46560         properly.
46561         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46562         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46563         sysdep_routines when subdir is sysvipc.
46564         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46565         __getshmlba helper.
46567         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46569 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46571         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46572         [__LP64__].
46574 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46576         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46577         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46578         (__lround): Renamed to ...
46579         (__llround): This.  Replace long int with long long int.
46580         Define lround functions as aliases of llround functions.
46581         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46583 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46585         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46586         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46587         adresses to uintptr_t.  Replace "long int" and "unsigned long
46588         int" with "greg_t" on va_arg.
46590 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46592         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46593         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46595         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46596         Move e_machine check before EI_CLASS check.  Handle x32
46597         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46598         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46599         SKIP_EM_IA_64 and include
46600         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46602         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46603         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46604         (add_system_dir): New macro.
46606         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46607         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46609 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46611         [BZ #2551]
46612         [BZ #2552]
46613         [BZ #2553]
46614         [BZ #2554]
46615         [BZ #2562]
46616         [BZ #2563]
46617         [BZ #2565]
46618         [BZ #2566]
46619         [BZ #2576]
46620         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46621         (y0): Likewise.
46622         * math/w_j0f.c (j0f): Likewise.
46623         (y0f): Likewise.
46624         * math/w_j0l.c (__j0l): Likewise.
46625         (__y0l): Likewise.
46626         * math/w_j1.c (j1): Likewise.
46627         (y1): Likewise.
46628         * math/w_j1f.c (j1f): Likewise.
46629         (y1f): Likewise.
46630         * math/w_j1l.c (__j1l): Likewise.
46631         (__y1l): Likewise.
46632         * math/w_jn.c (jn): Likewise.
46633         (yn): Likewise.
46634         * math/w_jnf.c (jnf): Likewise.
46635         (ynf): Likewise.
46636         * math/w_jnl.c (__jnl): Likewise.
46637         (__ynl): Likewise.
46638         * math/libm-test.inc (j0_test): Add more tests.
46639         (j1_test): Likewise.
46640         (jn_test): Likewise.  Add trailing semicolon to existing test.
46641         (y0_test): Likewise.
46642         (y1_test): Likewise.
46643         * sysdeps/i386/fpu/libm-test-ulps: Update.
46644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46646         [BZ #13851]
46647         [BZ #13854]
46648         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46649         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46650         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46651         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46652         (__tanl): Set errno for infinite argument.
46653         * sysdeps/i386/fpu/mptan.c: Remove.
46654         * sysdeps/i386/fpu/s_tan.S: Likewise.
46655         * sysdeps/i386/fpu/s_tanl.S: Likewise.
46656         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46657         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46658         * math/libm-test.inc (tan_test): Add more tests and enable more
46659         tests for double and long double.
46660         * sysdeps/i386/fpu/libm-test-ulps: Update.
46661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46663 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46665         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46666         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46668 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46670         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46671         * configure.in: Use it for both main tree and add-ons.
46672         * configure: Regenerated.
46674 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46676         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46678 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46680         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46681         in comment.
46683         [BZ #13851]
46684         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46685         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46686         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46687         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46688         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46689         infinite argument.
46690         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46691         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46692         != 0 for prec == 2.
46693         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46694         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46695         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46696         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46697         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46698         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46699         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46700         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46701         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46702         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46703         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46704         * math/libm-test.inc (cos_test): Add more tests and enable more
46705         tests for long double.
46706         (sin_test): Likewise.
46707         (sincos_test): Likewise.
46708         * sysdeps/i386/fpu/libm-test-ulps: Update.
46709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46711 2012-03-16  David S. Miller  <davem@davemloft.net>
46713         * sysdeps/sparc/fpu/math_private.h: New file.
46715 2012-03-15  David S. Miller  <davem@davemloft.net>
46717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46718         file.
46719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46721         file.
46722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46723         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46724         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46725         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46726         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46727         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46728         sysdep routines.
46729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46731         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46732         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46734         * sysdeps/sparc/sparc-ifunc.h: New file.
46735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46736         sparc-ifunc.h
46737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46739         Likewise.
46740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46741         Likewise.
46742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46746         Likewise.
46747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46752         Likewise.
46753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46754         Likewise.
46755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46759         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46760         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46761         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46762         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46763         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46764         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46768         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46769         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46770         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46771         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46772         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46773         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46774         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46775         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46776         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46777         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46778         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46780 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46782         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46783         scaling.
46784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46786 2012-03-15  Andreas Jaeger  <aj@suse.de>
46788         [BZ #13852]
46789         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46790         ieee754/flt-32 implementation for sin, cos and sincos.
46791         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46792         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46793         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46794         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46795         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46796         ieee754/flt-32 implementation for tan.
46798         * math/libm-test.inc (cos_test): Enable some large input tests for
46799         float as well
46800         (sin_test): Likewise.
46801         (sincos_test): Likewise.
46802         (tan_test): Add tests for large input.
46804         * sysdeps/i386/fpu/libm-test-ulps: Update.
46806 2012-03-15  Andreas Jaeger  <aj@suse.de>
46808         [BZ #13658]
46809         * math/libm-test.inc (cos_test): Add more test cases.
46810         (sin_test): Likewise.
46811         (sincos_test): Likewise.
46813 2012-03-15  Andreas Jaeger  <aj@suse.de>
46815         [BZ #13837]
46816         * math/libm-test.inc (cos_test): Add a test case for large input
46817         value.
46818         (sin_test): Likewise.
46819         (sincos_test): Likewise.
46821 2012-03-15  Andreas Jaeger  <aj@suse.de>
46822             Joseph Myers  <joseph@codesourcery.com>
46824         [BZ #13658]
46825         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46826         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46827         * sysdeps/i386/fpu/branred.c: Likewise.
46828         * sysdeps/i386/fpu/dosincos.c: Likewise.
46829         * sysdeps/i386/fpu/mpa.c: Likewise.
46830         * sysdeps/i386/fpu/s_cos.S: Likewise.
46831         * sysdeps/i386/fpu/s_sin.S: Likewise.
46832         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46833         * sysdeps/i386/fpu/sincos32.c: Likewise.
46835         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46836         Define.
46837         (libc_feupdateenv_53bit): Define.
46838         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46839         Define.
46840         (libc_feupdateenv_53bit): Define.
46842         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46843         53 bit (without extend i386 double precision).
46845         * math/libm-test.inc (sincos_test): Add tests for large input.
46846         (sin): Likewise.
46847         (cos): Likewise.
46849         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46851 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46855 2012-03-15  David S. Miller  <davem@davemloft.net>
46857         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46858         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46859         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46860         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46865         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46870         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46871         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46873         file.
46874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46876         file.
46877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46879         file.
46880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46882         file.
46883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46884         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46885         fmin/fmax sysdep routines.
46886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46888 2012-03-14  David S. Miller  <davem@davemloft.net>
46890         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46891         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46892         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46894         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46895         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46896         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46897         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46900         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46902         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46903         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46904         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46905         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46906         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46907         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46908         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46909         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46910         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46911         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46912         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46913         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46914         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46915         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46916         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46917         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46918         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46919         routines.
46920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46921         file.
46922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46924         file.
46925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46927         file.
46928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46930         file.
46931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46933         file.
46934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46936         file.
46937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46938         file.
46939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46940         file.
46941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46942         file.
46943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46944         New file.
46945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46946         file.
46947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46948         file.
46949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46951         file.
46952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46954         file.
46955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46957         file.
46958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46960         VIS3 routines.
46962         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46963         New file.
46965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46967         * sysdeps/sparc/configure.in: New file.
46968         * sysdeps/sparc/configure: Generate.
46969         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46970         * configure: Regenerate.
46971         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46972         * config.make.in (have-as-vis3): New.
46973         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46974         available use -Av9d instead of -Av9a.
46975         * sysdeps/sparc/sparc64/Makefile: Likewise.
46976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46978         New file.
46979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46980         file.
46981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46982         New file.
46983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46984         file.
46985         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46986         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46987         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46988         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46989         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46991         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46992         fzeros/fnegs to load 0x80000000 into a float register instead of
46993         using the stack.
46994         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46996 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46999         bits/syscall.h.
47000         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47001         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47002         ($(inst_includedir)/bits/syscall.h): Remove rule.
47003         ($(objpfx)bits/syscall.d): Include instead of
47004         $(objpfx)syscall-list.d.
47005         (generated): Change syscall-list.h and syscall-list.d to
47006         bits/syscall.h and bits/syscall.d.
47008 2012-03-14  Roland McGrath  <roland@hack.frob.com>
47010         [BZ #13846]
47011         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47013 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
47015         [BZ #13841]
47016         * math/s_csqrt.c: Include <float.h>.
47017         (__csqrt): Scale large or subnormal inputs.
47018         * math/s_csqrtf.c: Likewise.
47019         * math/s_csqrtl.c: Likewise.
47020         * math/libm-test.inc (csqrt_test): Add more tests.
47021         * sysdeps/i386/fpu/libm-test-ulps: Update.
47022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47024         [BZ #13840]
47025         * math/libm-test.inc (hypot_test): Add more tests.
47027 2012-03-13  David S. Miller  <davem@davemloft.net>
47029         [BZ #13840]
47030         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47031         double-precision for the calculation instead of scaling.
47033 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
47035         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47036         manipulate bits before adding and subtracting TWO52[sx].
47037         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47038         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47039         Likewise.
47040         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47042 2012-03-13  David S. Miller  <davem@davemloft.net>
47044         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47045         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47046         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47047         rtld-global-offsets.h
47048         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47050         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47051         large parameters.
47053         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47055         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47056         'err' in the ifdef scope in which it is actually used.
47058         * nss/nss_db/db-init.c: Include string.h
47060 2012-03-12  David S. Miller  <davem@davemloft.net>
47062         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47063         masking out of the most significant byte of random value used.
47064         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47065         Fix coding style in previous change.
47067         * sysdeps/unix/sysv/linux/kernel-features.h
47068         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47069         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47070         expression.
47071         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47072         later.
47074 2012-03-11  David S. Miller  <davem@davemloft.net>
47076         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47077         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47078         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47079         for 'resultvar' otherwise things get truncated on 64-bit.
47081         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47082         Fix masking out of the most significant byte of random value used.
47084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47086 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
47088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47090 2012-03-09  David S. Miller  <davem@davemloft.net>
47092         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47093         variables with appropriate CPP guards.
47094         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47095         from the frame pointer, not the stack pointer.  Correct layout
47096         comments.  Fix test on resulting framesize and the management of
47097         the outregs buffer for pltexit.  Preserve floating point return
47098         values across _dl_call_pltexit call.
47099         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47100         framesize and the management of the outregs buffer for pltexit.
47101         Preserve floating point return values across _dl_call_pltexit
47102         call.
47103         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47104         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47105         (la_sparc64_gnu_pltexit): New functions.
47106         (print_exit): Fix format string for return register value.
47108 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
47110         * sunrpc/Makefile (others): Add rpcgen.
47111         ($(objpfx)rpcgen): Remove special build rule and dependency on
47112         libc.
47113         * sunrpc/rpcgen.c: New file.
47115 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
47117         [BZ #13673]
47118         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47119         * stdio-common/bug-vfprintf-nargs.c: Likewise.
47120         * sysdeps/i386/crti.S: Likewise.
47121         * sysdeps/i386/crtn.S: Likewise.
47122         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47123         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47124         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47125         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47126         * sysdeps/sh/crti.S: Likewise.
47127         * sysdeps/sh/crtn.S: Likewise.
47128         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47130         [BZ #13673]
47131         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47132         with URL.
47133         * locale/programs/locfile-kw.gperf: Likewise.
47134         * locale/programs/charmap-kw.h: Regenerated.
47135         * locale/programs/locfile-kw.h: Likewise.
47137         [BZ #13673]
47138         * intl/plural.y: Replace FSF snail mail address with URL.
47139         * intl/plural.c: Regenerated.
47141 2012-03-09  Richard Henderson  <rth@twiddle.net>
47143         * include/math_private.h: Remove file.
47144         * math/math_private.h: Move file ...
47145         * sysdeps/generic/math_private.h: ... here.
47147         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47148         * sysdeps/powerpc/fpu/math_private.h: Likewise.
47149         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47151         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47152         and <math_private.h>.
47153         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47154         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47155         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47156         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47157         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47158         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47159         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47160         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47161         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47162         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47163         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47164         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47165         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47166         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47167         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47168         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47169         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47170         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47171         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47172         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47173         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47174         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47175         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47176         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47177         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47178         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47179         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47180         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47181         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47182         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47183         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47184         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47185         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47186         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47187         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47188         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47189         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47190         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47191         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47192         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47193         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47194         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47195         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47196         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47197         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47198         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47199         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47200         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47201         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47202         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47203         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47204         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47205         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47206         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47207         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47208         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47209         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47210         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47211         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47212         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47213         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47214         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47215         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47216         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47217         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47218         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47219         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47220         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47221         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47222         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47223         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47224         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47225         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47226         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47227         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47228         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47229         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47230         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47231         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47232         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47233         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47234         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47235         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47236         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47237         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47238         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47239         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47240         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47241         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47242         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47243         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47244         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47245         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47246         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47247         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47248         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47249         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47250         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47251         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47252         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47253         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47254         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47255         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47256         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47257         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47258         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47259         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47260         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47261         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47262         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47263         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47264         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47265         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47266         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47267         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47268         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47269         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47270         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47271         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47272         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47273         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47274         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47275         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47276         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47277         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47278         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47279         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47280         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47281         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47282         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47283         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47284         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47285         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47286         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47287         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47288         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47289         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47290         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47291         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47292         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47293         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47294         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47295         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47296         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47297         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47298         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47299         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47300         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47301         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47302         * sysdeps/ieee754/k_standard.c: Likewise.
47303         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47304         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47305         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47306         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47307         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47308         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47309         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47310         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47311         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47312         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47313         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47314         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47315         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47316         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47317         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47318         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47319         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47320         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47321         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47322         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47323         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47324         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47325         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47326         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47327         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47328         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47329         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47330         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47331         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47332         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47333         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47334         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47335         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47336         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47337         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47338         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47339         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47340         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47341         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47342         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47343         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47344         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47345         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47346         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47347         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47348         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47349         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47350         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47351         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47352         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47353         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47354         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47355         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47356         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47357         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47358         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47359         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47360         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47361         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47362         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47363         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47364         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47365         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47366         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47367         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47368         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47369         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47370         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47371         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47372         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47373         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47374         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47375         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47376         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47377         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47378         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47379         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47380         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47381         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47382         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47383         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47384         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47385         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47386         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47387         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47388         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47389         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47390         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47391         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47392         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47393         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47394         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47395         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47396         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47397         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47398         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47399         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47400         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47401         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47402         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47403         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47404         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47405         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47406         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47407         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47408         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47409         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47410         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47411         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47412         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47413         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47414         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47415         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47416         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47417         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47418         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47419         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47420         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47421         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47422         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47423         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47424         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47425         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47426         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47427         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47428         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47429         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47430         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47431         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47432         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47433         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47434         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47435         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47436         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47437         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47438         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47439         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47440         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47441         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47442         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47443         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47444         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47445         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47446         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47447         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47448         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47449         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47450         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47451         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47452         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47453         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47454         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47455         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47456         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47457         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47458         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47459         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47460         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47461         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47462         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47463         * sysdeps/ieee754/s_lib_version.c: Likewise.
47464         * sysdeps/ieee754/s_matherr.c: Likewise.
47465         * sysdeps/ieee754/s_signgam.c: Likewise.
47466         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47467         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47468         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47469         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47470         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47471         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47472         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47473         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47474         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47475         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47476         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47477         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47478         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47479         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47480         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47481         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47482         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47483         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47484         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47485         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47486         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47488 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47490         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47491         * sunrpc/rpc_main.c: Likewise.
47492         * sunrpc/rpc_svcout.c: Likewise.
47494 2012-03-09  David S. Miller  <davem@davemloft.net>
47496         * include/math_private.h: New file.
47498 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47500         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47501         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47502         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47503         from <bits/socket_type.h>.
47504         (enum __socket_type): Don't define here.
47505         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47507         bits/socket_type.h.
47509         [BZ #13566]
47510         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47511         checking __USE_GNU.
47513         * Makerules ($(inst_includedir)/%.h): New rule.
47514         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47515         (install-others): Remove variable setting.
47516         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47518 2012-03-08  Richard Henderson  <rth@twiddle.net>
47520         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47521         from macro to inline function; merge with the
47522         !__LIBC_INTERNAL_MATH_INLINES version.
47523         (__ieee754_sqrtf): Likewise.
47525         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47526         to inline function.
47527         (__rintf, __floor, __floorf): Likewise.
47529         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47530         macro to inline function.
47531         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47533         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47534         not <math/math_private.h>.
47536 2012-03-08  David S. Miller  <davem@davemloft.net>
47538         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47539         copyright year.
47540         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47542 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47544         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47545         normalization.
47546         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47547         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47549 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47551         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47552         be defined individually, they must be defined as a block.  Define
47553         S for printing a string instead of hidint the different by using a
47554         macro for adding the 'l'.
47555         * stdio-common/tst-fphex-wide.c: Adjust.
47557 2012-03-07  Marek Polacek  <polacek@redhat.com>
47559         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47561 2012-03-08  Marek Polacek  <polacek@redhat.com>
47563         [BZ #13806]
47564         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47565         * stdio-common/tst-fphex.c: Define a few macros to make the
47566         test reusable.  Use them.
47567         * stdio-common/tst-fphex-wide.c: New file.
47569 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47571         [BZ #6911]
47572         * manual/macros.texi (gnusystems): New macro.
47573         (nongnusystems): Likewise.
47574         (gnulinuxhurdsystems): Likewise.
47575         (gnuhurdsystems): Likewise..
47576         (gnulinuxsystems): Likewise.
47577         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47578         variants of the GNU system, not "GNU system".
47579         * manual/conf.texi: Likewise.
47580         * manual/errno.texi: Likewise.  Update example of errno macro
47581         expansion.
47582         * manual/filesys.texi: Likewise.
47583         (getumask): Document as specific to GNU/Hurd.
47584         * manual/install.texi: Likewise.  Reword some references to
47585         GNU/Linux.
47586         * manual/intro.texi: Likewise.
47587         * manual/io.texi: Likewise.
47588         (File Name Portability): Detail which constraints are inapplicable
47589         to all GNU systems and which are only inapplicable to GNU/Hurd.
47590         * manual/job.texi: Likewise.
47591         * manual/llio.texi: Likewise.
47592         (O_NOCTTY): Document as present on GNU/Linux.
47593         * manual/maint.texi: Likewise.
47594         * manual/memory.texi: Likewise.
47595         * manual/pattern.texi: Likewise.
47596         * manual/pipe.texi: Likewise.
47597         * manual/process.texi: Likewise.
47598         * manual/resource.texi: Likewise.
47599         (RUSAGE_CHILDREN): Remove statement about specifying a particular
47600         child on GNU/Hurd.
47601         * manual/setjmp.texi: Likewise.
47602         * manual/signal.texi: Likewise.
47603         * manual/startup.texi: Likewise.
47604         * manual/stdio.texi: Likewise.
47605         * manual/terminal.texi: Likewise.
47606         (ONLCR): Document as POSIX.
47607         (OXTABS): Document availability on GNU/Linux as XTABS.
47608         (ONOEOT): Document availability separately from other bits.
47609         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47610         * manual/time.texi: Likewise.
47611         * manual/users.texi: Likewise.
47612         * INSTALL: Regenerated.
47613         * sysdeps/gnu/errlist.c: Regenerated.
47615         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47616         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47617         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
47618         puts.
47619         * configure: Regenerated.
47621 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
47623         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47624         default includes instead of AC_HEADER_CHECK.
47625         * sysdeps/i386/configure: Regenerated.
47627         [BZ #10716]
47628         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47629         * math/s_cacoshf.c (__cacoshf): Likewise.
47630         * math/s_cacoshl.c (__cacoshl): Likewise.
47631         * math/s_casinh.c (__casinh): Set signs of result from argument.
47632         * math/s_casinhf.c (__casinhf): Likewise.
47633         * math/s_casinhl.c (__casinhl): Likewise.
47634         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47635         (casinh_test): Add more tests.
47636         * sysdeps/i386/fpu/libm-test-ulps: Update.
47637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47639 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
47641         * po/zh_TW.po: Update from translation team.
47643         * login/Makefile (distribute): Remove variable.
47644         * catgets/Makefile: Likewise.
47645         * mach/Makefile: Likewise.
47646         * malloc/Makefile: Likewise.
47647         * misc/Makefile: Likewise.
47648         * iconv/Makefile: Likewise.
47649         * nscd/Makefile: Likewise.
47650         * hurd/Makefile: Likewise.
47651         * manual/Makefile: Likewise.
47652         * locale/Makefile: Likewise.
47653         * intl/Makefile: Likewise.
47654         * conform/Makefile: Likewise.
47655         * nss/Makefile: Likewise.
47656         * time/Makefile: Likewise.
47657         * soft-fp/Makefile: Likewise.
47658         * dirent/Makefile: Likewise.
47659         * gmon/Makefile: Likewise.
47660         * po/Makefile: Likewise.
47661         * rt/Makefile: Likewise.
47662         * socket/Makefile: Likewise.
47663         * math/Makefile: Likewise.
47664         * signal/Makefile: Likewise.
47665         * debug/Makefile: Likewise.
47666         * elf/Makefile: Likewise.
47667         * timezone/Makefile: Likewise.
47668         * stdlib/Makefile: Likewise.
47669         * iconvdata/Makefile: Likewise.
47670         * sunrpc/Makefile: Likewise.
47671         * io/Makefile: Likewise.
47672         * argp/Makefile: Likewise.
47673         * inet/Makefile: Likewise.
47674         * hesiod/Makefile: Likewise.
47675         * grp/Makefile: Likewise.
47676         * csu/Makefile: Likewise.
47677         * wctype/Makefile: Likewise.
47678         * crypt/Makefile: Likewise.
47679         * libio/Makefile: Likewise.
47680         * string/Makefile: Likewise.
47681         * nis/Makefile: Likewise.
47682         * resolv/Makefile: Likewise.
47683         * stdio-common/Makefile: Likewise.
47684         * wcsmbs/Makefile: Likewise.
47685         * dlfcn/Makefile: Likewise.
47686         * posix/Makefile: Likewise.
47688         [BZ #6959]
47689         * timezone/Makefile: Don't install timezone files, just the programs
47690         and scripts.
47692 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47694         * nss/databases.def: Add missing gshadow entry.
47696         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47698 2012-03-06  Marek Polacek  <polacek@redhat.com>
47700         [BZ #13726]
47701         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47702         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47703         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47704         * stdio-common/tst-long-dbl-fphex.c: New file.
47706 2012-03-06  David S. Miller  <davem@davemloft.net>
47708         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47709         (set_obp_int): New function.
47710         (get_obp_int): New function.
47711         (__get_clockfreq_via_dev_openprom): Likewise.
47712         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47713         Avoid unused variable warnings on 'val' and use builtin_expect.
47714         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47715         __builtin_expect.
47716         (INLINE_CLONE_SYSCALL): Likewise.
47718 2012-03-05  David S. Miller  <davem@davemloft.net>
47720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47722 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47726         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47727         only for |x| >= 40.
47728         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47730 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47732         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47733         Replace gettimeofday with __vdso_gettimeofday.
47735         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47736         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47737         __vdso_clock_gettime and __vdso_getcpu.
47739         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47740         time with __vdso_time.
47742 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47744         * manual/lang.texi (size_t): Note types to which size_t may be
47745         equivalent with the GNU C Library, but do not describe when
47746         differences between them are significant.
47748 2012-03-05  Andreas Jaeger  <aj@suse.de>
47750         * sysdeps/i386/fpu/libm-test-ulps: Update.
47752 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47754         [BZ #3976]
47755         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47756         (__ieee754_pow): Save and restore rounding mode and use
47757         round-to-nearest for main computations.
47758         * math/libm-test.inc (pow_test_tonearest): New function.
47759         (pow_test_towardzero): Likewise.
47760         (pow_test_downward): Likewise.
47761         (pow_test_upward): Likewise.
47762         (main): Call the new functions.
47763         * sysdeps/i386/fpu/libm-test-ulps: Update.
47764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47766         [BZ #3976]
47767         * math/libm-test.inc (cosh_test_tonearest): New function.
47768         (cosh_test_towardzero): Likewise.
47769         (cosh_test_downward): Likewise.
47770         (cosh_test_upward): Likewise.
47771         (sinh_test_tonearest): Likewise.
47772         (sinh_test_towardzero): Likewise.
47773         (sinh_test_downward): Likewise.
47774         (sinh_test_upward): Likewise.
47775         (main): Call the new functions.
47776         * sysdeps/i386/fpu/libm-test-ulps: Update.
47777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47779 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47781         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47782         default stack guard is set in last bytes.
47783         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47785 2012-03-05  Kees Cook  <keescook@chromium.org>
47787         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47789         [BZ #13656]
47790         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47791         possibly allocate from heap instead of stack.
47792         * stdio-common/bug-vfprintf-nargs.c: New file.
47793         * stdio-common/Makefile (tests): Add nargs overflow test.
47795 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47799 2012-03-03  Marek Polacek  <polacek@redhat.com>
47801         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47802         * math/math_private.h: Likewise.
47803         * stdlib/tst-strtod.c: Likewise.
47804         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47805         * sysdeps/x86_64/bits/atomic.h: Likewise.
47807 2012-03-02  David S. Miller  <davem@davemloft.net>
47809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47813         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47814         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47815         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47816         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47818 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47820         [BZ #13792]
47821         * manual/examples/README: New file, says the example source files
47822         can be used under GPL>=2.
47823         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47824         line containing just "*/".
47825         * manual/examples/add.c: Add copyright header (GPL>=2).
47826         * manual/examples/argp-ex1.c: Likewise.
47827         * manual/examples/argp-ex2.c: Likewise.
47828         * manual/examples/argp-ex3.c: Likewise.
47829         * manual/examples/argp-ex4.c: Likewise.
47830         * manual/examples/atexit.c: Likewise.
47831         * manual/examples/db.c: Likewise.
47832         * manual/examples/dir.c: Likewise.
47833         * manual/examples/dir2.c: Likewise.
47834         * manual/examples/execinfo.c: Likewise.
47835         * manual/examples/filecli.c: Likewise.
47836         * manual/examples/filesrv.c: Likewise.
47837         * manual/examples/fmtmsgexpl.c: Likewise.
47838         * manual/examples/genpass.c: Likewise.
47839         * manual/examples/inetcli.c: Likewise.
47840         * manual/examples/inetsrv.c: Likewise.
47841         * manual/examples/isockad.c: Likewise.
47842         * manual/examples/longopt.c: Likewise.
47843         * manual/examples/memopen.c: Likewise.
47844         * manual/examples/memstrm.c: Likewise.
47845         * manual/examples/mkfsock.c: Likewise.
47846         * manual/examples/mkisock.c: Likewise.
47847         * manual/examples/mygetpass.c: Likewise.
47848         * manual/examples/pipe.c: Likewise.
47849         * manual/examples/popen.c: Likewise.
47850         * manual/examples/rprintf.c: Likewise.
47851         * manual/examples/search.c: Likewise.
47852         * manual/examples/select.c: Likewise.
47853         * manual/examples/setjmp.c: Likewise.
47854         * manual/examples/sigh1.c: Likewise.
47855         * manual/examples/sigusr.c: Likewise.
47856         * manual/examples/stpcpy.c: Likewise.
47857         * manual/examples/strdupa.c: Likewise.
47858         * manual/examples/strftim.c: Likewise.
47859         * manual/examples/strncat.c: Likewise.
47860         * manual/examples/subopt.c: Likewise.
47861         * manual/examples/swapcontext.c: Likewise.
47862         * manual/examples/termios.c: Likewise.
47863         * manual/examples/testopt.c: Likewise.
47864         * manual/examples/testpass.c: Likewise.
47865         * manual/examples/timeval_subtract.c: Likewise.
47867         [BZ #13792]
47868         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47869         function to ...
47870         * manual/timeval_subtract.c.texi: ... here, new file.
47872 2012-03-02  David S. Miller  <davem@davemloft.net>
47874         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47876 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47878         [BZ #3976]
47879         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47880         (__sin): Save and restore rounding mode and use round-to-nearest
47881         for all computations.
47882         (__cos): Save and restore rounding mode and use round-to-nearest
47883         for all computations.
47884         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47885         <fenv.h>.
47886         (tan): Save and restore rounding mode and use round-to-nearest for
47887         all computations.
47888         * math/libm-test.inc (cos_test_tonearest): New function.
47889         (cos_test_towardzero): Likewise.
47890         (cos_test_downward): Likewise.
47891         (cos_test_upward): Likewise.
47892         (sin_test_tonearest): Likewise.
47893         (sin_test_towardzero): Likewise.
47894         (sin_test_downward): Likewise.
47895         (sin_test_upward): Likewise.
47896         (tan_test_tonearest): Likewise.
47897         (tan_test_towardzero): Likewise.
47898         (tan_test_downward): Likewise.
47899         (tan_test_upward): Likewise.
47900         (main): Call the new functions.
47901         * sysdeps/i386/fpu/libm-test-ulps: Update.
47902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47904         [BZ #10135]
47905         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47906         small n, then large n, before computing and testing k+n.
47907         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47908         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47909         Likewise.
47910         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47911         Likewise.
47912         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47913         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47914         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47915         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47916         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47917         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47918         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47919         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47920         * math/libm-test.inc (scalbn_test): Add more tests.
47921         (scalbln_test): Likewise.
47923         * manual/filesys.texi (mode_t): Describe constraints on size and
47924         signedness, not exact equivalence to a particular type.
47925         (ino_t): Likewise.
47926         (ino64_t): Likewise.
47927         (dev_t): Likewise.
47928         (nlink_t): Likewise.
47929         (blkcnt_t): Likewise.
47930         (blkcnt64_t): Likewise.
47931         * manual/llio.texi (off_t): Likewise.
47933         [BZ #3976]
47934         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47935         (__ieee754_exp): Save and restore rounding mode and use
47936         round-to-nearest for all computations.
47937         * math/libm-test.inc (exp_test_tonearest): New function.
47938         (exp_test_towardzero): Likewise.
47939         (exp_test_downward): Likewise.
47940         (exp_test_upward): Likewise.
47941         (main): Call the new functions.
47942         * sysdeps/i386/fpu/libm-test-ulps: Update.
47943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47945 2012-03-01  Chris Demetriou  <cgd@google.com>
47947         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47948         have predictable order.
47950 2012-03-01  David S. Miller  <davem@davemloft.net>
47952         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47954         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47955         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47956         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47957         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47959         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47960         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47961         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47963         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47964         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47965         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47966         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47967         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47971         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47972         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47973         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47975         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47976         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47977         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47978         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47979         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47980         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47981         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47982         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47983         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47984         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47985         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47986         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47987         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47988         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47989         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47990         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47991         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47992         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47993         * sysdeps/sparc/elf/configure: Regenerated.
47995 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47997         * configure.in (AS, LD): Require binutils 2.20 or later.
47998         * configure: Regenerated.
47999         * manual/install.texi (Tools for Compilation): Give binutils 2.20
48000         as required minimum version.
48001         * INSTALL: Regenerated.
48003         [BZ #2541]
48004         [BZ #4108]
48005         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48006         before squaring exponent.
48007         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48008         bottom long double and 27 bits of top long double before squaring
48009         exponent.
48010         * math/libm-test.inc (erfc_test): Add more tests.
48011         * sysdeps/i386/fpu/libm-test-ulps: Update.
48012         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48015 2012-03-01  Kai Tietz  <ktietz@redhat.com>
48017         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48018         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48019         containing bit-fields.
48020         * soft-fp/extended.h (_FP_UNION_E): Likewise.
48021         * soft-fp/single.h (_FP_UNION_S): Likewise.
48022         * soft-fp/double.h (_FP_UNION_D): Likewise.
48024 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48026         [BZ #13786]
48027         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48028         not include ../strcmp.S.
48029         [USE_AS_STRNCASECMP_L]: Likewise.
48030         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48031         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48032         * sysdeps/i386/i686/multiarch/strncase_l-c.c
48033         (__strncasecmp_l_ia32): Define as alias to
48034         __strncasecmp_l_nonascii.
48036         [BZ #5794]
48037         * math/libm-test.inc (expm1_test): Add test for bug 5794.
48038         * sysdeps/i386/fpu/libm-test-ulps: Update.
48039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48041         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48044 2012-02-29  Jeff Law  <law@redhat.com>
48046         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48047         out of bounds read.
48049 2012-02-29  Marek Polacek  <polacek@redhat.com>
48051         [BZ #13706]
48052         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48053         * elf/Makefile: Add rules to run tst-unused-dep.out.
48055 2012-02-28  David S. Miller  <davem@davemloft.net>
48057         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48058         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48059         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48060         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48061         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48062         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48064 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48066         * math/libm-test.inc (llround_test): Move one test from
48067         lround_test.  Use TEST_f_L in moved test.
48068         (lround_test): Move misplaced test to llround_test.  Add testcase
48069         from bug 2561.
48071 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
48073         * sysdeps/x86_64/fpu/e_expf.S: New file.
48074         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48076 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
48078         [BZ #13637]
48079         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48080         of remain_len that may cause incomplete multi-byte character and
48081         false match.
48082         * posix/bug-regex33.c: New file.
48083         * posix/Makefile (tests): Add bug-regex33.
48085 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
48087         * manual/macros.texi: New file.
48088         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48089         * manual/libc.texinfo: Include macros.texi.
48090         * manual/creatute.texi: Likewise.
48091         * manual/install.texi: Likewise.
48092         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48093         @glibcadj{} in references to the GNU C Library.
48094         * manual/charset.texi: Likewise.
48095         * manual/conf.texi: Likewise.
48096         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
48097         when not using those macros.
48098         * manual/creature.texi: Likewise.
48099         * manual/crypt.texi: Likewise.
48100         * manual/errno.texi: Likewise.
48101         * manual/filesys.texi: Likewise.
48102         * manual/header.texi: Likewise.
48103         * manual/install.texi: Likewise.
48104         * manual/intro.texi: Likewise.
48105         * manual/io.texi: Likewise.
48106         * manual/job.texi: Likewise.
48107         * manual/lang.texi: Likewise.
48108         * manual/libc.texiinfo: Likewise.
48109         * manual/llio.texi: Likewise.
48110         * manual/locale.texi: Likewise.
48111         * manual/maint.texi: Likewise.
48112         * manual/math.texi: Likewise.
48113         * manual/memory.texi: Likewise.
48114         * manual/message.texi: Likewise.
48115         * manual/nss.texi: Likewise.
48116         * manual/pattern.texi: Likewise.
48117         * manual/process.texi: Likewise.
48118         * manual/resource.texi: Likewise.
48119         * manual/search.texi: Likewise.
48120         * manual/setjmp.texi: Likewise.
48121         * manual/signal.texi: Likewise.
48122         * manual/socket.texi: Likewise.
48123         * manual/startup.texi: Likewise.
48124         * manual/stdio.texi: Likewise.
48125         * manual/string.texi: Likewise.
48126         * manual/sysinfo.texi: Likewise.
48127         * manual/syslog.texi: Likewise.
48128         * manual/terminal.texi: Likewise.
48129         * manual/time.texi: Likewise.
48130         * manual/users.texi: Likewise.
48131         * INSTALL: Regenerated.
48132         * NOTES: Regenerated.
48133         * sysdeps/gnu/errlist.c: Regenerated.
48135 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
48137         * include/dirent.h: Include <dirstream.h> before
48138         <dirent/dirent.h>.
48140 2012-02-28  David S. Miller  <davem@davemloft.net>
48142         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48143         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48144         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48145         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48147 2012-02-27  David S. Miller  <davem@davemloft.net>
48149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48151         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48152         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48155         frame pointer instead of stack pointer relative arg slot.
48156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48157         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48158         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48160 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
48162         [BZ #3992]
48163         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48165 2012-02-27  David S. Miller  <davem@davemloft.net>
48167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48171         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48172         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48173         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48174         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48176 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48178         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48179         later.  Allow versions 5-9.
48180         * configure: Regenerated.
48181         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48182         required minimum version and 4.6 as recommended version.  Do not
48183         mention bugs in GCC 2.7 and 2.8.
48184         * INSTALL: Regenerated.
48186 2012-02-27  David S. Miller  <davem@davemloft.net>
48188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48192         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48193         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48194         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48195         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48197         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48198         manipulate bits before adding and subtracting TWO112[sx].
48199         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48201 2012-02-27  Roland McGrath  <roland@hack.frob.com>
48203         [BZ #13775]
48204         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48205         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48206         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48207         being in POSIX, because they are in 1003.1-2008.
48209         * rt/tst-aio.c: Include <fcntl.h>.
48210         * rt/tst-aio7.c: Likewise.
48211         * rt/tst-aio64.c: Likewise.
48213         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48215 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48217         * manual/install.texi (--with-headers): Describe headers as
48218         interface headers, not private headers.
48219         (Specific advice for GNU/Linux systems): Describe use of headers
48220         from "make headers_install", not private headers from older
48221         kernels.
48222         * INSTALL: Regenerated.
48223         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48224         Change to 2.6.19.
48225         * sysdeps/unix/sysv/linux/configure: Regenerated.
48227         * manual/llio.texi (fclean): Remove documentation.
48229         * manual/Makefile (libc-texi-generated): New variable.  Include
48230         version.texi.
48231         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48232         $(libc-texi-generated), not duplicated list of files.
48233         (version.texi, stamp-version): New rules.
48234         (realclean): Remove $(libc-texi-generated), not individual files
48235         from that list.  Do not remove dir-add.texinfo.
48236         * manual/libc.texinfo: Comment out uses of edition numbers and
48237         references to printed manual.  Remove last-updated dates.
48238         (EDITION): Comment out.
48239         (ISBN): Likewise.
48240         (VERSION, UPDATED): Remove.
48241         (version.texi): Include.
48243 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
48245         * sysdeps/posix/spawni.c: Include <signal.h>.
48246         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48247         * sysdeps/pthread/aio_fsync.c: Likewise.
48249 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
48251         * conform/Makefile (tests): Run only when not cross-compiling and
48252         when fast-check is not defined.
48254         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48255         * conform/data/limits.h-data: Fixes for POSIX2008.
48256         * conform/run-conformtest.sh: Run all tests.
48257         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48258         headers.
48259         * include/bits/dlfcn.h: Likewise.
48260         * include/langinfo.h: Likewise.
48261         * include/monetary.h: Likewise.
48262         * include/sys/poll.h: Likewise.
48264         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48265         for __USE_GNU.
48266         * posix/spawn.h: Define __need_sigset_t.
48267         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48268         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48269         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
48270         to get sigevent_t only.
48271         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48272         only for __USE_GNU.
48273         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48274         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48275         process_vm_writev only for __USE_GNU.
48276         * termios/termios.h: Declare tcgetsid also for POSIX2008.
48278         * conform/Makefile: For now ignore errors from run-conformtest.
48279         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
48280         POSIX to avoid namespace pollution.  Don't prepend headers.
48281         * conform/data/aio.h-data: Fixes for POSIX testing.
48282         * conform/data/fcntl.h-data: Likewise.
48283         * conform/data/glob.h-data: Likewise.
48284         * conform/data/grp.h-data: Likewise.
48285         * conform/data/pthread.h-data: Likewise.
48286         * conform/data/pwd.h-data: Likewise.
48287         * conform/data/signal.h-data: Likewise.
48288         * conform/data/spawn.h-data: Likewise.
48289         * conform/data/stdio.h-data: Likewise.
48290         * conform/data/stdlib.h-data: Likewise.
48291         * conform/data/stropts.h-data: Likewise.
48292         * conform/data/sys/mman.h-data: Likewise.
48293         * conform/data/sys/stat.h-data: Likewise.
48294         * conform/data/sys/types.h-data: Likewise.
48295         * conform/data/sys/wait.h-data: Likewise.
48296         * conform/data/time.h-data: Likewise.
48297         * conform/data/unistd.h-data: Likewise.
48298         * conform/data/utime.h-data: Likewise.
48300         * io/sys/stat.h: fchmod was always in POSIX.
48301         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48302         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48303         * rt/aio.h: Define __need_timespec before including <time.h>.
48304         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48305         struct.  Add forward declaration of pthread_attr_t and use it in
48306         sigevent.
48307         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48308         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48309         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48310         always remove CLK_TCK definition.
48312 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
48314         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48316 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
48318         * conform/run-conformtest.sh: New file.
48319         * conform/Makefile: Run run-conformtest for tests.
48320         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
48321         support.
48323         * conform/data/uchar.h-data: New file.
48324         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48325         * conform/data/arpa/inet.h-data: Likewise.
48326         * conform/data/assert.h-data: Likewise.
48327         * conform/data/complex.h-data: Likewise.
48328         * conform/data/cpio.h-data: Likewise.
48329         * conform/data/ctype.h-data: Likewise.
48330         * conform/data/dirent.h-data: Likewise.
48331         * conform/data/dlfcn.h-data: Likewise.
48332         * conform/data/errno.h-data: Likewise.
48333         * conform/data/fcntl.h-data: Likewise.
48334         * conform/data/float.h-data: Likewise.
48335         * conform/data/fmtmsg.h-data: Likewise.
48336         * conform/data/fnmatch.h-data: Likewise.
48337         * conform/data/ftw.h-data: Likewise.
48338         * conform/data/glob.h-data: Likewise.
48339         * conform/data/grp.h-data: Likewise.
48340         * conform/data/iconv.h-data: Likewise.
48341         * conform/data/inttypes.h-data: Likewise.
48342         * conform/data/langinfo.h-data: Likewise.
48343         * conform/data/libgen.h-data: Likewise.
48344         * conform/data/limits.h-data: Likewise.
48345         * conform/data/locale.h-data: Likewise.
48346         * conform/data/math.h-data: Likewise.
48347         * conform/data/monetary.h-data: Likewise.
48348         * conform/data/mqueue.h-data: Likewise.
48349         * conform/data/ndbm.h-data: Likewise.
48350         * conform/data/net/if.h-data: Likewise.
48351         * conform/data/netdb.h-data: Likewise.
48352         * conform/data/netinet/in.h-data: Likewise.
48353         * conform/data/nl_types.h-data: Likewise.
48354         * conform/data/poll.h-data: Likewise.
48355         * conform/data/pthread.h-data: Likewise.
48356         * conform/data/pwd.h-data: Likewise.
48357         * conform/data/regex.h-data: Likewise.
48358         * conform/data/sched.h-data: Likewise.
48359         * conform/data/search.h-data: Likewise.
48360         * conform/data/semaphore.h-data: Likewise.
48361         * conform/data/setjmp.h-data: Likewise.
48362         * conform/data/signal.h-data: Likewise.
48363         * conform/data/spawn.h-data: Likewise.
48364         * conform/data/stdarg.h-data: Likewise.
48365         * conform/data/stdio.h-data: Likewise.
48366         * conform/data/stdlib.h-data: Likewise.
48367         * conform/data/string.h-data: Likewise.
48368         * conform/data/strings.h-data: Likewise.
48369         * conform/data/stropts.h-data: Likewise.
48370         * conform/data/sys/ipc.h-data: Likewise.
48371         * conform/data/sys/mman.h-data: Likewise.
48372         * conform/data/sys/msg.h-data: Likewise.
48373         * conform/data/sys/resource.h-data: Likewise.
48374         * conform/data/sys/select.h-data: Likewise.
48375         * conform/data/sys/sem.h-data: Likewise.
48376         * conform/data/sys/shm.h-data: Likewise.
48377         * conform/data/sys/socket.h-data: Likewise.
48378         * conform/data/sys/stat.h-data: Likewise.
48379         * conform/data/sys/statvfs.h-data: Likewise.
48380         * conform/data/sys/time.h-data: Likewise.
48381         * conform/data/sys/timeb.h-data: Likewise.
48382         * conform/data/sys/times.h-data: Likewise.
48383         * conform/data/sys/types.h-data: Likewise.
48384         * conform/data/sys/uio.h-data: Likewise.
48385         * conform/data/sys/un.h-data: Likewise.
48386         * conform/data/sys/utsname.h-data: Likewise.
48387         * conform/data/sys/wait.h-data: Likewise.
48388         * conform/data/syslog.h-data: Likewise.
48389         * conform/data/tar.h-data: Likewise.
48390         * conform/data/termios.h-data: Likewise.
48391         * conform/data/utime.h-data: Likewise.
48392         * conform/data/utmpx.h-data: Likewise.
48393         * conform/data/varargs.h-data: Likewise.
48394         * conform/data/wchar.h-data: Likewise.
48395         * conform/data/wctype.h-data: Likewise.
48396         * conform/data/wordexp.h-data: Likewise.
48398         * include/stropts.h: New file.
48399         * include/uchar.h: New file.
48400         * include/aio.h: Changes to allow conformtest.pl to use the headers.
48401         * include/assert.h: Likewise.
48402         * include/ctype.h: Likewise.
48403         * include/dirent.h: Likewise.
48404         * include/dlfcn.h: Likewise.
48405         * include/fcntl.h: Likewise.
48406         * include/fnmatch.h: Likewise.
48407         * include/glob.h: Likewise.
48408         * include/grp.h: Likewise.
48409         * include/libio.h: Likewise.
48410         * include/locale.h: Likewise.
48411         * include/math.h: Likewise.
48412         * include/net/if.h: Likewise.
48413         * include/netdb.h: Likewise.
48414         * include/netinet/in.h: Likewise.
48415         * include/pthread.h: Likewise.
48416         * include/pwd.h: Likewise.
48417         * include/regex.h: Likewise.
48418         * include/sched.h: Likewise.
48419         * include/search.h: Likewise.
48420         * include/setjmp.h: Likewise.
48421         * include/signal.h: Likewise.
48422         * include/stdio.h: Likewise.
48423         * include/stdlib.h: Likewise.
48424         * include/string.h: Likewise.
48425         * include/sys/cdefs.h: Likewise.
48426         * include/sys/mman.h: Likewise.
48427         * include/sys/msg.h: Likewise.
48428         * include/sys/resource.h: Likewise.
48429         * include/sys/select.h: Likewise.
48430         * include/sys/socket.h: Likewise.
48431         * include/sys/stat.h: Likewise.
48432         * include/sys/statvfs.h: Likewise.
48433         * include/sys/time.h: Likewise.
48434         * include/sys/times.h: Likewise.
48435         * include/sys/uio.h: Likewise.
48436         * include/sys/utsname.h: Likewise.
48437         * include/sys/wait.h: Likewise.
48438         * include/termios.h: Likewise.
48439         * include/time.h: Likewise.
48440         * include/ulimit.h: Likewise.
48441         * include/unistd.h: Likewise.
48442         * include/utime.h: Likewise.
48443         * include/wchar.h: Likewise.
48444         * include/wctype.h: Likewise.
48445         * include/wordexp.h: Likewise.
48447         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48449         * time/time.h: TIME_UTC must be a macro.
48450         Make timespec_get available for ISO C11 only as well.
48452 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48454         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48455         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48457 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48459         * configure.in: Use -o not -a in test for unsupported multi-arch.
48461 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48463         * manual/texinfo.tex: Update to version 2012-01-19.16.
48465 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48467         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48469 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48471         [BZ #13738]
48472         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48473         * manual/fdl-1.3.texi: New file.
48474         * manual/fdl-1.1.texi: File removed.
48476         [BZ #13738]
48477         * manual/libc.texinfo (FDL_VERSION): New @set.
48478         Use it for mention of FDL in cover text.
48479         (Documentation License): Use it in @include file name.
48481 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48482             Roland McGrath  <roland@hack.frob.com>
48484         [BZ #5461]
48485         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48486         (not LONG_LONG_MAX and LONG_LONG_MIN.
48487         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48488         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48489         name.
48490         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48492 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48494         [BZ #2547]
48495         [BZ #11365]
48496         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48497         manipulate bits before adding and subtracting TWO23[sx].
48498         * math/libm-test.inc (nearbyint_test): Add more tests.
48500 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48502         [BZ #2548]
48503         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48504         bits before adding and subtracting TWO23[sx].
48505         * math/libm-test.inc (rint_test): Add more tests.
48506         (rint_test_tonearest): Likewise.
48507         (rint_test_towardzero): Likewise.
48508         (rint_test_downward): Likewise.
48509         (rint_test_upward: Likewise.
48511 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48513         [BZ #10110]
48514         * include/stdc-predef.h: New file.  Extracted from features.h.
48515         * include/features.h: Include stdc-predef.h.
48516         * Makefile (headers): Add stdc-predef.h.
48517         * CONFORMANCE (Compiler limitations): Update.
48519 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48521         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48523 2012-02-21  David S. Miller  <davem@davemloft.net>
48525         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48526         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48528 2012-02-20  David S. Miller  <davem@davemloft.net>
48530         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48531         using a normal save/restore sequence, rather than allocating a
48532         dummy stack frame just to store a frame pointer and restore.
48533         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48535 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48537         * manual/install.texi: Fix stray word in line-wrapped comment.
48539 2012-02-20  David S. Miller  <davem@davemloft.net>
48541         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48542         both binutils and gcc support GOTDATA.
48544         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48545         "rd %pc" in the PIC register setup sequences.
48547         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48548         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48549         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48550         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48551         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48552         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48553         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48554         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48555         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48556         (SYSCALL_ERROR_HANDLER): Likewise.
48557         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48558         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48559         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48560         (SYSCALL_ERROR_HANDLER): Likewise.
48562         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48563         (HAVE_GCC_GOTDATA): New.
48564         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48565         relocation support in both binutils and gcc.
48566         * sysdeps/sparc/elf/configure: Regenerate.
48568         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48569         * sysdeps/sparc/sparc32/elf/configure: Delete.
48570         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48571         * sysdeps/sparc/sparc64/elf/configure: Delete.
48572         * sysdeps/sparc/elf/configure.in: New file.
48573         * sysdeps/sparc/elf/configure: Generate.
48575         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48576         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48577         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48578         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48579         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48581 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48583         * manual/install.texi: Do not mention specific glibc version
48584         numbers.
48585         * manual/libc.texinfo (VERSION, UPDATED): Update.
48586         (@copying): Use @copyright{} and range of years.
48588 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48590         [BZ #13695]
48591         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48592         [crti.S not in sysdirs] (generated): Do not append.
48593         [crti.S not in sysdirs] (omit-deps): Likewise.
48594         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48595         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48596         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48597         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48598         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48599         Likewise.
48600         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48601         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48602         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48603         * csu/defs.awk: Remove file.
48604         * sysdeps/generic/initfini.c: Likewise.
48605         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48606         variable.
48607         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48608         Likewise.
48610 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48612         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48613         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48614         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48615         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48616         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48617         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48618         <bits/epoll.h>.
48619         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48620         (__EPOLL_PACKED): Define to empty if not defined by
48621         <bits/epoll.h>.
48622         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48623         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48624         bits/epoll.h.
48626 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48628         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48629         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48630         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48631         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48632         <bits/timerfd.h>.
48633         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48634         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48635         bits/timerfd.h.
48637 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48639         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48640         in C locale.
48641         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48642         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48643         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48646 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
48648         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48649         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48651 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
48653         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48654         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48655         defined.
48656         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48657         Likewise.
48658         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48659         entry for 2.16.
48661 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48663         * math/w_acos.c: Use non-signaling floating-point comparisons.
48664         * math/w_acosf.c: Likewise.
48665         * math/w_acosh.c: Likewise.
48666         * math/w_acoshf.c: Likewise.
48667         * math/w_acoshl.c: Likewise.
48668         * math/w_acosl.c: Likewise.
48669         * math/w_asin.c: Likewise.
48670         * math/w_asinf.c: Likewise.
48671         * math/w_asinl.c: Likewise.
48672         * math/w_atanh.c: Likewise.
48673         * math/w_atanhf.c: Likewise.
48674         * math/w_atanhl.c: Likewise.
48675         * math/w_exp2.c: Likewise.
48676         * math/w_exp2f.c: Likewise.
48677         * math/w_exp2l.c: Likewise.
48678         * math/w_j0.c: Likewise.
48679         * math/w_j0f.c: Likewise.
48680         * math/w_j0l.c: Likewise.
48681         * math/w_j1.c: Likewise.
48682         * math/w_j1f.c: Likewise.
48683         * math/w_j1l.c: Likewise.
48684         * math/w_jn.c: Likewise.
48685         * math/w_jnf.c: Likewise.
48686         * math/w_log.c: Likewise.
48687         * math/w_log10.c: Likewise.
48688         * math/w_log10f.c: Likewise.
48689         * math/w_log10l.c: Likewise.
48690         * math/w_log2.c: Likewise.
48691         * math/w_log2f.c: Likewise.
48692         * math/w_log2l.c: Likewise.
48693         * math/w_logf.c: Likewise.
48694         * math/w_logl.c: Likewise.
48695         * math/w_sqrt.c: Likewise.
48696         * math/w_sqrtf.c: Likewise.
48697         * math/w_sqrtl.c: Likewise.
48698         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48699         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48700         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48701         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48702         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48704 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48706         [BZ #9739]
48707         * manual/string.texi (strnlen): Use correct parameter name in
48708         equivalent expression.
48710 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48712         [BZ #11174]
48713         * manual/users.texi (seteuid): Consistently use neweuid for
48714         argument name.
48716 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48718         [BZ #13704]
48719         * manual/nss.texi (Services in the NSS configuration): Correct
48720         list of services in example configuration file.
48722 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48724         [BZ #11322]
48725         * manual/arith.texi: Remove statements about negative zero
48726         behaving identically to zero.
48728 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48730         [BZ #5993]
48731         * manual/install.texi: Do not document upgrading from libc5.
48733 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48735         [BZ #4596]
48736         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48738 2012-02-18  David S. Miller  <davem@davemloft.net>
48740         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48741         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48742         %o7 across the call.
48743         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48744         instead.
48745         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48746         SETUP_PIC_REG_LEAF.
48747         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48748         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48749         * sysdeps/sparc/crtn.S: Likewise.
48751 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48753         * aout/Makefile: Remove.
48755 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48757         [BZ #13058]
48758         * manual/examples/argp-ex1.c (main): Format definition in GNU
48759         style.
48760         * manual/examples/argp-ex2.c (main): Likewise.
48761         * manual/examples/argp-ex3.c (main): Likewise.
48762         * manual/examples/argp-ex4.c (main): Likewise.
48763         * manual/examples/longopt.c (main): Use new-style prototype
48764         definition.
48765         * manual/examples/strncat.c (main): Specify return type and use
48766         (void) for arguments.
48767         * manual/examples/subopt.c (main): Use char **argv argument.
48769 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48771         [BZ #5077]
48772         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48773         rounding modes.
48775 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48777         [BZ #6907]
48778         * manual/string.texi (strchr): Change when strchrnul is
48779         recommended.
48781 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48783         [BZ #174]
48784         * manual/locale.texi (setlocale): Document LOCPATH.
48786 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48788         [BZ #10210]
48789         * manual/process.texi (execle): Move @dots{} before last argument.
48791 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48793         [BZ #12047]
48794         * manual/charset.texi (Generic Charset Conversion): Fix typo
48795         (LC_TYPE -> LC_CTYPE).
48797 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48799         [BZ #5805]
48800         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48801         (scalbnf): Likewise.
48802         (scalbnl): Likewise.
48803         (scalbln): Likewise.
48804         (scalblnf): Likewise.
48805         (scalblnl): Likewise.
48806         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48807         (vwarnx): Likewise.
48808         (verr): Likewise.
48809         (verrx): Likewise.
48810         * manual/filesys.texi (telldir): Use braces around return type.
48811         * manual/llio.texi (mmap): Add space after comma.
48812         (mmap64): Likewise.
48813         * manual/math.texi (jn): Use @var{} on parameter names.
48814         (jnf): Likewise.
48815         (jnl): Likewise.
48816         (yn): Likewise.
48817         (ynf): Likewise.
48818         (ynl): Likewise.
48819         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48820         line.
48821         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48822         "...".
48823         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48824         (sched_get_priority_max): Likewise.
48825         * manual/signal.texi (sigvec): Add space after comma.
48826         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48827         names.
48828         (if_indextoname): Likewise.
48829         (if_freenameindex): Likewise.
48830         (sendto): Use ',' instead of '.' in prototype.
48831         * manual/startup.texi (syscall): Use @dots{} instead of literal
48832         "...".
48833         * manual/stdio.texi (__fpending): Separate initial words of
48834         paragraph from @deftypefun line.
48835         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48836         "...".
48837         (vsyslog): Use @var{} on parameter names.
48838         * manual/terminal.texi (stty): Use @var{} on parameter names.
48839         * manual/users.texi (getutmp): Use @var{} on parameter names.
48840         (getutmpx): Likewise.
48842 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48844         [BZ #6884]
48845         * manual/stdio.texi (fopen): Fix typos in description of
48846         ",ccs=STRING".
48848 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48850         [BZ #4026]
48851         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48852         get clock_id definition.
48854 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48856         [BZ #4822]
48857         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48858         (madvise): Cast every argument to void on its own.
48860 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48862         [BZ #9902]
48863         * manual/startup.texi (Exit Status): Fix typo.
48865 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48867         [BZ #10140]
48868         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48869         * manual/examples/argp-ex2.c: Likewise.
48870         * manual/examples/argp-ex3.c: Likewise.
48872 2012-02-16  Richard Henderson  <rth@redhat.com>
48874         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48875         * sysdeps/s390/s390-32/initfini.c: Remove.
48876         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48877         * sysdeps/s390/s390-64/initfini.c: Remove.
48879 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48881         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48882         compiler output for sysdeps/generic/initfini.c.
48883         * sysdeps/sh/elf/initfini.c: Remove file.
48885 2012-02-16  David S. Miller  <davem@davemloft.net>
48887         [BZ #11494]
48888         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48890         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48891         * sysdeps/sparc/crti.S: New file.
48892         * sysdeps/sparc/crtn.S: New file.
48893         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48894         * sysdeps/sparc/sparc64/Makefile: Likewise.
48896 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48898         [BZ #3335]
48899         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48901 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48903         [BZ #4822]
48904         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48906         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48907         (write, read, close): Likewise.
48908         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48910 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48912         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48913         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48914         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48915         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48916         <bits/signalfd.h>.
48917         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48918         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48919         bits/signalfd.h.
48921 2012-02-14  Marek Polacek  <polacek@redhat.com>
48923         * sysdeps/x86_64/crti.S: New file.
48924         * sysdeps/x86_64/crtn.S: New file.
48925         * sysdeps/x86_64/elf/initfini.c: Remove file.
48927 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48929         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48930         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48931         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48932         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48933         <bits/inotify.h>.
48934         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48935         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48936         bits/inotify.h.
48938 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48940         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48941         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48942         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48943         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48944         <bits/eventfd.h>.
48945         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48946         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48947         bits/eventfd.h.
48949 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48951         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48952         __feraiseexcept instead of feraiseexcept.
48954         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48955         nanosleep invocations.
48956         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48957         strings, and add error checking for a nanosleep invocations.
48959 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48961         Replace FSF snail mail address with URLs, as per GNU coding standards.
48962         Most of the snail mail addresses were wrong anyway, and omitting
48963         them makes the source code easier to maintain.  Almost all of the
48964         changes are to license notices and to locale LC_IDENTIFICATION
48965         addresses, except for this one:
48966         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48967         not its snail mail address.
48969 2012-02-09  Richard Henderson  <rth@twiddle.net>
48971         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48972         of kernel-features.h.
48974         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48976 2012-02-08  Marek Polacek  <polacek@redhat.com>
48978         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48979         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48980         * sysdeps/gnu/_G_config.h: Likewise.
48981         * sysdeps/generic/_G_config.h: Likewise.
48983 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48985         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48986         tests.
48987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48989         * sysdeps/powerpc/powerpc32/crti.S: New file.
48990         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48991         * sysdeps/powerpc/powerpc64/crti.S: New file.
48992         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48994         * Makeconfig (have-initfini): Don't set.
48995         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48996         * configure.in (nopic_initfini): Don't substitute.
48997         * config.h.in (HAVE_INITFINI): Don't #undef.
48998         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48999         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49001 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
49003         Support crti.S and crtn.S provided directly by architectures.
49004         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49005         [crti.S in sysdirs] (omit-deps): Likewise.
49006         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49007         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49008         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49009         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49010         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49011         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49012         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49013         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49014         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49015         compiler output for sysdeps/generic/initfini.c.
49016         * sysdeps/i386/elf/Makefile: Remove file.
49017         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49019 2012-02-07  Marek Polacek  <polacek@redhat.com>
49021         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49022         * sysdeps/gnu/_G_config.h: Likewise.
49023         * sysdeps/mach/hurd/_G_config.h: Likewise.
49025 2012-02-07  Marek Polacek  <polacek@redhat.com>
49027         * math/Makefile (tests): Add tst-CMPLX2.
49028         * math/tst-CMPLX2.c: New file.
49030 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
49032         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49034         * math/libm-test.inc (jn_test): Add missing L suffix.
49036 2012-02-06  Marek Polacek  <polacek@redhat.com>
49038         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49039         * sysdeps/i386/fpu/e_powf.S: Likewise.
49040         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49041         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49042         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49043         * sysdeps/i386/fpu/e_pow.S: Likewise.
49044         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49045         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49046         * sysdeps/i386/fpu/s_expm1.S: Likewise.
49047         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49048         * sysdeps/i386/fpu/e_log2.S: Likewise.
49049         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49050         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49051         * sysdeps/i386/fpu/e_powl.S: Likewise.
49052         * sysdeps/i386/fpu/s_log1p.S: Likewise.
49053         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49054         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49055         * sysdeps/i386/fpu/e_logl.S: Likewise.
49056         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49057         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49058         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49059         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49060         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49061         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49062         * sysdeps/i386/fpu/e_log.S: Likewise.
49063         * sysdeps/i386/fpu/s_cexp.S: Likewise.
49064         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49065         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49066         * sysdeps/i386/fpu/e_logf.S: Likewise.
49067         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49068         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49069         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49070         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49071         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49072         * sysdeps/i386/fpu/e_log10.S: Likewise.
49073         * sysdeps/i386/fpu/s_frexp.S: Likewise.
49074         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49075         * sysdeps/i386/fpu/s_asinh.S: Likewise.
49076         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49077         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49078         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49079         * sysdeps/i386/asm-syntax.h: Likewise.
49080         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49081         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49082         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49083         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49084         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49085         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49086         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49087         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49088         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49089         * sysdeps/powerpc/sysdep.h: Likewise.
49090         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49091         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49093 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49095         [BZ #411]
49096         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49098 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49100         * sysdeps/i386/sysdep.h: Include <features.h>.
49101         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49102         version.
49104 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
49106         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49107         Define.
49108         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49109         LOAD_PIC_REG_STR.
49111 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49113         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49114         (SETUP_PIC_REG): Use GET_PC_THUNK.
49115         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49116         macro.
49118 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49120         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49121         for non-PIC compilation.
49122         (SETUP_PIC_REG): Add .p2align directive.
49123         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49124         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49125         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49126         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49127         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49128         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49129         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49130         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49131         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49132         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49133         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49134         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49135         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49136         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49137         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49138         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49139         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49140         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49141         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49142         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49143         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49144         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49145         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49146         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49147         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49148         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49149         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49150         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49151         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49152         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49153         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49154         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49155         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49156         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49157         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49158         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49159         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49160         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49161         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49162         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49163         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49165 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49167         * math/tst-CMPLX.c: Include <stdio.h>.
49169 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
49171         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49172         float.
49173         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49174         * sysdeps/sparc/bits/mathdef.h: Likewise.
49176 2012-01-31  Marek Polacek  <polacek@redhat.com>
49178         * libio/libio.h: Don't define _PARAMS.
49179         * locale/programs/config.h: Don't define PARAMS.
49180         * stdlib/strtol_l.c: Likewise.
49181         (__strtol_l): Remove PARAMS from the prototype.
49183 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
49185         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
49186         names.  Just use the correct names.  Remove unnecessary wrapper
49187         functions.
49188         * malloc/arena.c: Likewise.
49189         * malloc/hooks.c: Likewise.
49191         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49192         ARENA_TEST says not to.  Simplify test for creation of a new arena.
49193         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49195 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
49197         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49198         into tail calls.
49199         (update_get_addr): New function.
49200         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49201         GET_ADDR_MODULE parameter.
49203 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49205         * crypt/cert.c: Remove __STDC__ conditionals.
49206         * crypt/crypt-entry.c: Likewise.
49207         * crypt/crypt_util.c: Likewise.
49208         * libio/filedoalloc.c: Likewise.
49209         * libio/fileops.c: Likewise.
49210         * libio/genops.c: Likewise.
49211         * libio/iofclose.c: Likewise.
49212         * libio/iofdopen.c: Likewise.
49213         * libio/iofopen.c: Likewise.
49214         * libio/iofopen64.c: Likewise.
49215         * libio/iogetdelim.c: Likewise.
49216         * libio/iopopen.c: Likewise.
49217         * libio/obprintf.c: Likewise.
49218         * libio/oldfileops.c: Likewise.
49219         * libio/oldiofclose.c: Likewise.
49220         * libio/oldiofdopen.c: Likewise.
49221         * libio/oldiofopen.c: Likewise.
49222         * libio/oldiopopen.c: Likewise.
49223         * libio/wfiledoalloc.c: Likewise.
49224         * libio/wgenops.c: Likewise.
49225         * locale/programs/xmalloc.c: Likewise.
49226         * misc/syslog.c: Likewise.
49227         * stdio-common/xbug.c: Likewise.
49228         * string/memchr.c: Likewise.
49229         * string/memcmp.c: Likewise.
49230         * string/memrchr.c: Likewise.
49231         * string/rawmemchr.c: Likewise.
49232         * sysdeps/posix/getcwd.c: Likewise.
49233         * time/strftime_l.c: Likewise.
49235 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49237         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49238         * config.make.in (config-cflags-sse2avx): Define.
49239         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49240         Fix typo.
49242 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
49244         * scripts/config.guess: Update from upstream config git repository.
49245         * scripts/config.sub: Likewise.
49247 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
49249         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49250         (EM_NUM): Update.
49251         (R_TILEPRO_*, R_TILEGX_*): New macros.
49253         * scripts/firstversions.awk: Fix bug in version range handling.
49255         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49257         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49259         * include/sys/epoll.h: New file.
49260         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49261         libc_hidden_def.
49263 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
49265         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49266         Avoid unnecessary __WORDSIZE == 64 test.
49267         (fmaxf): Use VEX format if possible.
49268         (fmax): Likewise.
49269         (fminf): Likewise.
49270         (fmin): Likewise.
49272         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49273         * math/math_private.h: Remove libc_fegetround* and
49274         libc_fesetround*.
49275         * sysdeps/i386/configure.in: Check for -msse2avx.
49276         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49277         also if SSE2AVX is defined.
49278         Remove libc_fegetround* and libc_fesetround*.
49279         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49280         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
49281         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49282         of HAS_YMM_USABLE.
49283         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49284         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49285         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49286         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49287         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49289         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49291 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49293         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49294         size is not set.
49295         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49297 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
49299         [BZ #13618]
49300         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49301         relocation.
49302         * Makeconfig (libm): Define.
49303         * elf/Makefile: Add rules to build and run tst-relsort1.
49304         * elf/tst-relsort1.c: New file.
49305         * elf/tst-relsort1mod1.c: New file.
49306         * elf/tst-relsort1mod2.c: New file.
49308 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
49310         * math/s_ldexp.c: Remove __STDC__ conditionals.
49311         * math/s_ldexpf.c: Likewise.
49312         * math/s_ldexpl.c: Likewise.
49313         * math/s_nextafter.c: Likewise.
49314         * math/s_nexttowardf.c: Likewise.
49315         * math/s_significand.c: Likewise.
49316         * math/s_significandf.c: Likewise.
49317         * math/s_significandl.c: Likewise.
49318         * math/w_jnl.c: Likewise.
49319         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49320         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49321         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49322         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49323         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49324         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49325         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49326         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49327         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49328         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49329         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49330         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49331         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49332         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49333         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49334         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49335         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49336         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49337         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49338         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49339         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49340         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49341         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49342         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49343         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49344         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49345         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49346         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49347         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49348         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49349         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49350         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49351         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49352         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49353         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49354         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49355         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49356         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49357         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49358         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49359         * sysdeps/ieee754/k_standard.c: Likewise.
49360         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49361         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49362         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49363         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49364         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49365         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49366         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49367         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49368         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49369         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49370         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49371         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49372         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49373         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49374         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49375         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49376         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49377         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49378         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49379         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49380         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49381         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49382         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49383         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49384         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49385         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49386         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49387         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49388         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49389         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49390         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49391         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49392         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49393         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49394         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49395         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49396         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49397         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49398         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49399         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49400         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49401         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49402         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49403         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49404         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49405         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49406         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49407         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49408         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49409         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49410         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49411         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49412         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49413         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49414         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49415         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49416         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49417         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49418         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49419         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49420         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49421         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49422         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49423         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49424         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49425         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49426         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49427         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49428         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49429         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49430         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49431         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49432         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49433         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49434         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49435         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49436         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49437         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49438         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49439         * sysdeps/ieee754/s_matherr.c: Likewise.
49440         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49441         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49442         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49443         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49445 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49447         * crypt/md5.h: Remove __STDC__ conditionals.
49448         * libio/libioP.h: Likewise.
49449         * locale/programs/config.h: Likewise.
49450         * sysdeps/generic/sysdep.h: Likewise.
49451         * sysdeps/i386/asm-syntax.h: Likewise.
49452         * sysdeps/s390/asm-syntax.h: Likewise.
49453         * sysdeps/unix/sysdep.h: Likewise.
49454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49457 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49459         * libio/libio.h: Remove __STDC__ conditionals.
49460         * malloc/obstack.h: Likewise.
49461         * math/complex.h: Likewise.
49462         * math/math.h: Likewise.
49463         * sysdeps/generic/_G_config.h: Likewise.
49464         * sysdeps/gnu/_G_config.h: Likewise.
49465         * sysdeps/mach/hurd/_G_config.h: Likewise.
49466         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49467         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49468         * sysdeps/sparc/bits/mathdef.h: Likewise.
49470 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49472         [BZ #13583]
49473         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49474         Clean up HAS_* macros.
49475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49476         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49477         possible.
49478         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49479         HAS_AVX.
49480         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49481         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49482         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49483         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49484         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49486 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49488         * elf/tst-unique3.cc (gets): Remove declaration.
49489         * elf/tst-unique3lib.cc (gets): Likewise.
49490         * elf/tst-unique3lib2.cc (gets): Likewise.
49491         * elf/tst-unique4.cc (gets): Likewise.
49493 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49495         * include/stdio.h: Add C++ protection.  Add gets declarations and
49496         definitions.
49497         * debug/tst-chk1.c: Don't declare gets here.
49498         * stdio-common/tst-gets.c: Likewise.
49500 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49502         * posix/glob: Remove directory.
49504 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49506         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49508 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49510         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49511         of the non-standard EPFNOSUPPORT.
49513 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49515         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49516         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49517         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49519 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49521         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49523 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49525         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49526         transient errors.
49527         * nscd/grpcache.c (cache_addgr): Likewise.
49528         * nscd/hstcache.c (cache_addhst): Likewise.
49529         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49530         * nscd/pwdcache.c (cache_addpw): Likewise.
49531         * nscd/servicescache.c (cache_addserv): Likewise.
49533 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49535         * malloc/malloc.c: Various cleanups.
49536         * malloc/hooks.c: Likewise.
49538         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49539         * stdlib/bug-fmtmsg1.c: New file.
49541         * stdlib/fmtmsg.c (init): Add missing unlock.
49542         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49544 2012-01-12  Marek Polacek  <polacek@redhat.com>
49546         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49547         and _GNU_SOURCE.
49549 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49551         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49552         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49553         macro to ensure uniqueness of label name.
49554         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49555         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49557 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49559         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49561         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49562         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49563         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49564         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49566 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49568         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49570         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49571         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49572         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49574         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49576         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49577         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49578         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49579         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49581         * math/bits/math-finite.h: Add ldexp support.
49583 2012-01-10  Marek Polacek  <polacek@redhat.com>
49585         * locale/programs/localedef.h (show_archive_content): Add noreturn
49586         attribute.
49588 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49590         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49592 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49594         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49596         * io/Makefile (headers): Add bits/poll2.h.
49598 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
49600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49601         typo #include statement.
49603 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49605         * include/sys/cdefs.h: Define __attribute_alloc_size.
49606         * catgets/gencat.c: Add alloc_size attribute and apply consistently
49607         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49608         * elf/pldd.c: Likewise.
49609         * iconv/iconv_charmap.c: Likewise.
49610         * iconv/iconvconfig.c: Likewise.
49611         * iconv/strtab.c: Likewise.
49612         * locale/programs/locale.c: Likewise.
49613         * locale/programs/localedef.h: Likewise.
49614         * locale/programs/simple-hash.c: Likewise.
49615         * nscd/nscd.h: Likewise.
49616         * nss/makedb.c: Likewise.
49617         * sysdeps/generic/ldconfig.h: Likewise.
49618         * locale/programs/localedef.c: Remove xmalloc prototype.
49619         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49621 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49623         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49624         appropriate.
49626 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49628         * math/Makefile (tests): Add tst-CMPLX.
49629         * math/tst-CMPLX.c: New file.
49631         * math/complex.h (CMPLXL): Fix typo.
49633         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49634         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49635         GLIBC_2.16.
49636         * debug/tst-chk1.c: Add poll and ppoll tests.
49637         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49638         * include/sys/poll.h: Add hidden proto for ppoll.
49639         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49640         * sysdeps/mach/hurd/ppoll.c: Likewise.
49641         * io/ppoll.c: Likewise.
49642         * debug/poll_chk.c: New file.
49643         * debug/ppoll_chk.c: New file.
49644         * include/bits/poll2.h: New file.
49645         * io/bits/poll2.h: New file.
49647         [BZ #1350]
49648         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49650         * configure.in: static is always set to yes.  Remove.
49651         * config.make.in: Don't set build-static.
49652         * Makeconfig: Remove use of build-static.
49653         * dlfcn/Makefile: Likewise.
49654         * elf/Makefile: Likewise.
49655         * math/Makefile: Likewise.
49656         * misc/Makefile: Likewise.
49657         * nptl/Makefile: Likewise.
49658         * sysdeps/mach/hurd/Makefile: Likewise.
49660         * configure.in: PWD_P is not used anymore.
49661         * config.make.in: Remove PWD_P entry.
49663         * configure.in: Remove last remnants of RANLIB.
49664         No need to check for signed size_t anymore.
49665         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49666         and IA-64.
49667         Remove __builtin_expect test because we require at least gcc 3.4.
49668         * aclocal.m4: Likewise.
49670         * wcsmbs/mbrtoc16.c: Implement using towc function.
49671         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49672         * wcsmbs/wcsmbsload.c: Likewise.
49673         * iconv/gconv_simple.c: Likewise.
49674         * iconv/gconv_int.h: Likewise.
49675         * iconv/gconv_builtin.h: Likewise.
49676         * iconv/iconv_prog.c: Remove CHAR16 handling.
49678         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49680         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49682         * configure.in: Remove --with-elf and --enable-bounded options.
49683         Dont set base_machine for ia64.  More non-ELF conditions removed.
49684         Remove testing and setting of leading underscore information.
49685         * config.make.in (build-bounded): Set to no.
49686         * config.h.in: Remove NO_UNDERSCORES entry.
49687         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49688         them.
49689         * csu/start.c: Remove !NO_UNDERSCORE code.
49690         * locale/localeinfo.h: Likewise.
49691         * sysdeps/generic/machine-gmon.h: Likewise.
49692         * sysdeps/generic/sysdep.h: Likewise.
49693         * sysdeps/i386/sysdep.h: Likewise.
49694         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49695         * sysdeps/mach/sysdep.h: Likewise.
49696         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49697         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49698         * sysdeps/sh/sysdep.h: Likewise.
49699         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49700         * sysdeps/unix/i386/sysdep.S: Likewise.
49701         * sysdeps/unix/sparc/start.c: Likewise.
49702         * sysdeps/unix/sparc/sysdep.S: Likewise.
49703         * sysdeps/unix/sparc/sysdep.h: Likewise.
49704         * sysdeps/unix/start.c: Likewise.
49705         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49706         * sysdeps/x86_64/sysdep.h: Likewise.
49708 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49710         [BZ #13553]
49711         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49712         for non-gcc.
49713         * argp/argp-fmtstream.h: Use const instead __const.
49714         * argp/argp.h: Likewise.
49715         * assert/assert.h: Likewise.
49716         * bits/fenv.h: Likewise.
49717         * bits/sched.h: Likewise.
49718         * bits/sigset.h: Likewise.
49719         * bits/sigthread.h: Likewise.
49720         * catgets/nl_types.h: Likewise.
49721         * conform/data/pthread.h-data: Likewise.
49722         * crypt/crypt-private.h: Likewise.
49723         * crypt/crypt.h: Likewise.
49724         * crypt/crypt_util.c: Likewise.
49725         * ctype/ctype.h: Likewise.
49726         * debug/execinfo.h: Likewise.
49727         * debug/mbsnrtowcs_chk.c: Likewise.
49728         * debug/mbsrtowcs_chk.c: Likewise.
49729         * debug/wcsnrtombs_chk.c: Likewise.
49730         * debug/wcsrtombs_chk.c: Likewise.
49731         * debug/wcstombs_chk.c: Likewise.
49732         * dirent/dirent.h: Likewise.
49733         * dlfcn/dlfcn.h: Likewise.
49734         * elf/neededtest4.c: Likewise.
49735         * grp/grp.h: Likewise.
49736         * gshadow/gshadow.h: Likewise.
49737         * iconv/gconv.h: Likewise.
49738         * iconv/gconv_int.h: Likewise.
49739         * iconv/gconv_simple.c: Likewise.
49740         * iconv/iconv.h: Likewise.
49741         * iconv/loop.c: Likewise.
49742         * iconv/skeleton.c: Likewise.
49743         * include/aio.h: Likewise.
49744         * include/aliases.h: Likewise.
49745         * include/argz.h: Likewise.
49746         * include/arpa/inet.h: Likewise.
49747         * include/assert.h: Likewise.
49748         * include/dirent.h: Likewise.
49749         * include/dlfcn.h: Likewise.
49750         * include/execinfo.h: Likewise.
49751         * include/fcntl.h: Likewise.
49752         * include/fenv.h: Likewise.
49753         * include/glob.h: Likewise.
49754         * include/grp.h: Likewise.
49755         * include/libintl.h: Likewise.
49756         * include/mntent.h: Likewise.
49757         * include/netdb.h: Likewise.
49758         * include/pwd.h: Likewise.
49759         * include/rpc/netdb.h: Likewise.
49760         * include/sched.h: Likewise.
49761         * include/search.h: Likewise.
49762         * include/shadow.h: Likewise.
49763         * include/signal.h: Likewise.
49764         * include/stdio.h: Likewise.
49765         * include/stdlib.h: Likewise.
49766         * include/string.h: Likewise.
49767         * include/sys/socket.h: Likewise.
49768         * include/sys/stat.h: Likewise.
49769         * include/sys/statfs.h: Likewise.
49770         * include/sys/statvfs.h: Likewise.
49771         * include/sys/syslog.h: Likewise.
49772         * include/sys/time.h: Likewise.
49773         * include/sys/uio.h: Likewise.
49774         * include/time.h: Likewise.
49775         * include/unistd.h: Likewise.
49776         * include/utmp.h: Likewise.
49777         * include/wchar.h: Likewise.
49778         * include/wctype.h: Likewise.
49779         * inet/aliases.h: Likewise.
49780         * inet/arpa/inet.h: Likewise.
49781         * inet/netinet/ether.h: Likewise.
49782         * inet/netinet/in.h: Likewise.
49783         * intl/libintl.h: Likewise.
49784         * io/bits/fcntl2.h: Likewise.
49785         * io/fcntl.h: Likewise.
49786         * io/ftw.h: Likewise.
49787         * io/sys/poll.h: Likewise.
49788         * io/sys/stat.h: Likewise.
49789         * io/sys/statfs.h: Likewise.
49790         * io/sys/statvfs.h: Likewise.
49791         * io/utime.h: Likewise.
49792         * libio/bits/stdio.h: Likewise.
49793         * libio/bits/stdio2.h: Likewise.
49794         * libio/libio.h: Likewise.
49795         * libio/libioP.h: Likewise.
49796         * libio/stdio.h: Likewise.
49797         * locale/lc-ctype.c: Likewise.
49798         * locale/locale.h: Likewise.
49799         * login/utmp.h: Likewise.
49800         * malloc/arena.c: Likewise.
49801         * malloc/malloc.c: Likewise.
49802         * malloc/malloc.h: Likewise.
49803         * malloc/mcheck.c: Likewise.
49804         * malloc/mtrace.c: Likewise.
49805         * math/bits/mathcalls.h: Likewise.
49806         * math/fenv.h: Likewise.
49807         * math/math_private.h: Likewise.
49808         * misc/bits/error.h: Likewise.
49809         * misc/bits/syslog.h: Likewise.
49810         * misc/err.h: Likewise.
49811         * misc/error.h: Likewise.
49812         * misc/fstab.h: Likewise.
49813         * misc/mntent.h: Likewise.
49814         * misc/regexp.h: Likewise.
49815         * misc/search.h: Likewise.
49816         * misc/sgtty.h: Likewise.
49817         * misc/sys/mman.h: Likewise.
49818         * misc/sys/syslog.h: Likewise.
49819         * misc/sys/uio.h: Likewise.
49820         * misc/sys/xattr.h: Likewise.
49821         * misc/ttyent.h: Likewise.
49822         * nis/rpcsvc/ypclnt.h: Likewise.
49823         * nss/nss.h: Likewise.
49824         * posix/bits/unistd.h: Likewise.
49825         * posix/fnmatch.h: Likewise.
49826         * posix/glob.h: Likewise.
49827         * posix/sched.h: Likewise.
49828         * posix/spawn.h: Likewise.
49829         * posix/sys/wait.h: Likewise.
49830         * posix/unistd.h: Likewise.
49831         * posix/wordexp.h: Likewise.
49832         * pwd/pwd.h: Likewise.
49833         * resolv/netdb.h: Likewise.
49834         * resource/sys/resource.h: Likewise.
49835         * rt/aio.h: Likewise.
49836         * rt/bits/mqueue2.h: Likewise.
49837         * rt/mqueue.h: Likewise.
49838         * shadow/shadow.h: Likewise.
49839         * signal/signal.h: Likewise.
49840         * socket/send.c: Likewise.
49841         * socket/sendto.c: Likewise.
49842         * socket/sys/socket.h: Likewise.
49843         * stdio-common/printf.h: Likewise.
49844         * stdlib/bits/stdlib.h: Likewise.
49845         * stdlib/fmtmsg.h: Likewise.
49846         * stdlib/monetary.h: Likewise.
49847         * stdlib/stdlib.h: Likewise.
49848         * stdlib/ucontext.h: Likewise.
49849         * streams/stropts.h: Likewise.
49850         * string/argz.h: Likewise.
49851         * string/bits/string2.h: Likewise.
49852         * string/string.h: Likewise.
49853         * string/strings.h: Likewise.
49854         * sunrpc/rpc/auth.h: Likewise.
49855         * sunrpc/rpc/auth_des.h: Likewise.
49856         * sunrpc/rpc/clnt.h: Likewise.
49857         * sunrpc/rpc/netdb.h: Likewise.
49858         * sunrpc/rpc/pmap_clnt.h: Likewise.
49859         * sunrpc/rpc/xdr.h: Likewise.
49860         * sysdeps/generic/inttypes.h: Likewise.
49861         * sysdeps/generic/net/if.h: Likewise.
49862         * sysdeps/generic/sys/swap.h: Likewise.
49863         * sysdeps/gnu/net/if.h: Likewise.
49864         * sysdeps/gnu/utmpx.h: Likewise.
49865         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49866         * sysdeps/i386/i486/bits/string.h: Likewise.
49867         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49868         * sysdeps/s390/bits/string.h: Likewise.
49869         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49870         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49871         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49872         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49873         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49874         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49875         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49876         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49877         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49878         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49879         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49880         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49881         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49882         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49883         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49884         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49885         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49886         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49887         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49888         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49889         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49890         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49891         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49892         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49893         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49894         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49895         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49896         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49897         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49898         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49899         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49900         * sysvipc/sys/ipc.h: Likewise.
49901         * sysvipc/sys/msg.h: Likewise.
49902         * sysvipc/sys/sem.h: Likewise.
49903         * sysvipc/sys/shm.h: Likewise.
49904         * termios/termios.h: Likewise.
49905         * time/sys/time.h: Likewise.
49906         * time/time.h: Likewise.
49907         * wcsmbs/bits/wchar2.h: Likewise.
49908         * wcsmbs/uchar.h: Likewise.
49909         * wcsmbs/wchar.h: Likewise.
49910         * wctype/wctype.h: Likewise.
49912         [BZ #13551]
49913         * Makeconfig: Remove all but ELF support including AIX support.
49914         * Makerules: Likewise.
49915         * config.h.in: Likewise.
49916         * config.make.in: Likewise.
49917         * configure: Likewise.
49918         * configure.in: Likewise.
49919         * csu/Makefile: Likewise.
49920         * csu/version.c: Likewise.
49921         * debug/Makefile: Likewise.
49922         * dlfcn/Makefile: Likewise.
49923         * elf/Makefile: Likewise.
49924         * extra-lib.mk: Likewise.
49925         * iconv/Makefile: Likewise.
49926         * include/libc-symbols.h: Likewise.
49927         * include/shlib-compat.h: Likewise.
49928         * resolv/Makefile: Likewise.
49929         * resolv/res_libc.c: Likewise.
49930         * rt/Makefile: Likewise.
49931         * sysdeps/i386/asm-syntax.h: Likewise.
49932         * sysdeps/i386/sysdep.h: Likewise.
49933         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49934         * sysdeps/mach/sysdep.h: Likewise.
49935         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49936         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49937         * sysdeps/s390/asm-syntax.h: Likewise.
49938         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49939         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49940         * sysdeps/sh/sysdep.h: Likewise.
49941         * sysdeps/unix/sparc/sysdep.h: Likewise.
49942         * sysdeps/wordsize-32/divdi3.c: Likewise.
49943         * sysdeps/x86_64/sysdep.h: Likewise.
49945         * argp/Versions: Remove _argp_unlock_xxx.
49947         [BZ #13559]
49948         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49949         * abilist/libBrokenLocale.abilist: Likewise.
49950         * abilist/libanl.abilist: Likewise.
49951         * abilist/libc.abilist: Likewise.
49952         * abilist/libcrypt.abilist: Likewise.
49953         * abilist/libdl.abilist: Likewise.
49954         * abilist/libm.abilist: Likewise.
49955         * abilist/libnsl.abilist: Likewise.
49956         * abilist/libpthread.abilist: Likewise.
49957         * abilist/libresolv.abilist: Likewise.
49958         * abilist/librt.abilist: Likewise.
49959         * abilist/libthread_db.abilist: Likewise.
49960         * abilist/libutil.abilist: Likewise.
49961         * abilist/libnss_db.abilist: New file.
49963         * scripts/abilist.awk: Add support for indirect functions.
49965         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49967         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49969         * shlib-versions: Remove entries for ports architectures.
49971         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49972         files in ports.
49973         * elf/stackguard-macros.h: Remove support for IA-64.
49974         * elf/tst-auditmod1.c: Likewise.
49975         * sysdeps/generic/ldsodefs.h: Likewise.
49977         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49978         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49979         configure files.
49981         [BZ #13552]
49982         * configure.in: Remove --enable-omitfp support.
49983         * FAQ.in: Adjust.
49984         * config.make.in: Likewise.
49985         * Makeconfig: Likewise.
49986         * manual/install.texi: Likewise.
49988         In case anyone cares, the IA-64 architecture could move to ports.
49989         * sysdeps/ia64/*: Removed.
49990         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49991         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49993         [BZ #13555]
49994         * configure.in: Remove entries for unsupported architectures.
49996         [BZ #13533]
49997         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49998         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49999         routines.
50000         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50001         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50002         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
50003         fall back to using wcrtomb.
50004         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50005         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
50006         renaming.
50007         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50008         * wcsmbs/tst-c16c32-1.c: New file.
50010         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50011         local variable.
50013         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50015         * elf/tst-unique3.cc: Add explicit declaration of gets.
50016         * elf/tst-unique3lib.cc: Likewise.
50017         * elf/tst-unique3lib2.cc: Likewise.
50018         * elf/tst-unique4.cc: Likewise.
50020         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50022 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
50024         [BZ #13566]
50025         * assert/assert.h (static_assert): Don't define for C++.
50026         * libio/stdio.h (gets): Do declare for C++ <= C++11.
50027         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50029 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
50031         * iconv/loop.c (single loop): Fix assertion in storing of
50032         remaining bytes.
50034         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50036 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
50038         * posix/getconf.c: Update copyright year.
50039         * nss/getent.c: Likewise.
50040         * nss/makedb.c: Likewise.
50041         * iconv/iconvconfig.c: Likewise.
50042         * iconv/iconv_prog.c: Likewise.
50043         * elf/ldconfig.c: Likewise.
50044         * elf/pldd.c: Likewise.
50045         * elf/sotruss.ksh: Likewise.
50046         * catgets/gencat.c: Likewise.
50047         * csu/version.c: Likewise.
50048         * elf/ldd.bash.in: Likewise.
50049         * elf/sprof.c (print_version): Likewise.
50050         * locale/programs/locale.c: Likewise.
50051         * locale/programs/localedef.c: Likewise.
50052         * login/programs/pt_chown.c: Likewise.
50053         * nscd/nscd.c (print_version): Likewise.
50054         * debug/xtrace.sh: Likewise.
50055         * malloc/memusage.sh: Likewise.
50056         * malloc/mtrace.pl: Likewise.
50057         * debug/catchsegv.sh: Likewise.
50059 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
50061         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50062         pure attribute.
50064 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
50066         [BZ #13533]
50067         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50068         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50069         transformations.
50070         * iconv/gconv_int.h: Likewise.
50071         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50072         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50073         from libc for GLIBC_2.16.
50074         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50075         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50076         * wcsmbs/uchar.h: Really define mbstate_t.
50077         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50078         * wcsmbs/c16rtomb.c: New file.
50079         * wcsmbs/mbrtoc16.c: New file.
50080         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50081         for C/POSIX locale.
50082         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50083         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50085         * wcsmbs/wchar.h: Add missing __restrict.
50087 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50089         [BZ #13532]
50090         * time/Makefile (routines): Add timespec_get.
50091         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50092         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
50093         timespec for ISO C11.
50094         * time/timespec_get.c: New file.
50095         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50096         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50098         [BZ #13531]
50099         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50100         * stdlib/stdlib.h: Declare aligned_alloc.
50101         * Versions.def: Add GLIBC_2.16 for libc.
50102         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50104         [BZ 13527]
50105         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50106         ISO C11.
50108         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50109         code.
50111         [BZ #13528]
50112         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50114         [BZ #13529]
50115         * assert/assert.h (static_assert): Define.
50117         * version.h: Update for 2.16 development version.
50119         [BZ #13526]
50120         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50121         _ISOC11_SOURCE.
50123         * version.h (RELEASE): Bump for 2.15 release.
50124         * include/features.h (__GLIBC_MINOR__): Bump to 15.
50126         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50127         Patch by Marek Polacek <mpolacek@redhat.com>.
50129         * bits/byteswap.h: Protect long long constants with __extension__.
50130         * sysdeps/i386/bits/byteswap.h: Likewise.
50131         * sysdeps/ia64/bits/byteswap.h: Likewise.
50132         * sysdeps/s390/bits/byteswap.h: Likewise.
50133         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50135 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50137         [BZ #13540]
50138         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50139         destination buffer.
50140         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50142 2011-12-23  Marek Polacek  <polacek@redhat.com>
50144         * elf/dl-addr.c (determine_info): Add inline keyword.
50145         * elf/tst-auditmod4b.c (check_avx): Likewise.
50146         * elf/tst-auditmod6b.c (check_avx): Likewise.
50147         * elf/tst-auditmod6c.c (check_avx): Likewise.
50148         * elf/tst-auditmod7b.c (check_avx): Likewise.
50150 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50152         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50153         !__SSE_MATH__.
50155 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50157         [BZ #13540]
50158         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50159         processing for last bytes.
50161 2011-08-06  Bruno Haible  <bruno@clisp.org>
50163         [BZ #13061]
50164         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50165         U+0385, not to U+1FEE.
50167         [BZ #13062]
50168         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50169         entry for U+00A5 U+0301.
50171 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50173         [BZ #13166]
50174         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50175         buffer for the output is too small.
50177         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50178         optimization.
50180         [BZ #13185]
50181         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50182         SSE flags if possible.
50184 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50186         [BZ #13540]
50187         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50188         processing for last bytes.
50190 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
50192         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50193         (syscall-list-default-options, syscall-list-default-condition)
50194         (syscall-list-includes): Define.
50195         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50196         list of ABIs and options and #if conditions for each ABI.  Do not
50197         handle common syscalls between ABIs specially.
50198         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50199         Remove.
50200         (syscall-list-variants, syscall-list-32bit-options)
50201         (syscall-list-32bit-condition, syscall-list-64bit-options)
50202         (syscall-list-64bit-condition): Define.
50203         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50204         (syscall-list-variants, syscall-list-32bit-options)
50205         (syscall-list-32bit-condition, syscall-list-64bit-options)
50206         (syscall-list-64bit-condition): Define.
50207         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50208         Remove.
50209         (syscall-list-variants, syscall-list-32bit-options)
50210         (syscall-list-32bit-condition, syscall-list-64bit-options)
50211         (syscall-list-64bit-condition): Define.
50212         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50213         Remove.
50214         (syscall-list-variants, syscall-list-32bit-options)
50215         (syscall-list-32bit-condition, syscall-list-64bit-options)
50216         (syscall-list-64bit-condition): Define.
50218 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50220         * locale/iso-639.def: Add brx entry.
50222         [BZ #13328]
50223         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50224         Proposed by Mariusz_Cukr <marcukr@op.pl>.
50226         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50227         __feraiseexcept_renamed.
50229 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50231         [BZ #13538]
50232         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50233         EPOLLET with unsigned values.
50234         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50235         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50237         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50238         to large cancellation.
50239         * math/s_cacoshf.c: Likewise.
50240         * math/s_cacoshl.c: Likewise.
50242 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
50244         [BZ #13305]
50245         [BZ #12786]
50246         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50247         * math/s_cacoshf.c: Likewise.
50248         * math/s_cacoshl.c: Likewise.
50250 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50252         [BZ #13439]
50253         * iconv/gconv.h: Define __GCONV_SWAP.
50254         * iconvdata/unicode.c: The swap bit must be stored in __flags.
50255         * iconvdata/utf-16.c: Likewise.
50256         * iconvdata/utf-32.c: Likewise.
50258 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
50260         [BZ #13524]
50261         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50262         numerator after shifting it by one limb.
50264 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
50266         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50267         under [__USE_EXTERN_INLINES].
50269 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50271         [BZ #13446]
50272         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50274 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50276         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50277         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50278         optimized code.
50279         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50280         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50281         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50282         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50283         for strncasecmp/strncasecmp_l compilation.
50284         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50285         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50287 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
50289         [BZ #13484]
50290         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50291         of __asm__.
50293 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50295         [BZ #13506]
50296         * time/tzfile.c (__tzfile_read): Check values from file header.
50298 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50300         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50301         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50302         * powerpc/powerpc32/dl-start.S: Likewise.
50303         * powerpc/powerpc32/elf/start.S: Likewise.
50304         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50305         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50306         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50307         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50308         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50309         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50310         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50311         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50312         * powerpc/powerpc32/fpu/s_round.S: Likewise.
50313         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50314         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50315         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50316         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50317         * powerpc/powerpc32/memset.S: Likewise.
50318         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50319         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50320         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50321         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50322         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50323         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50324         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50325         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50326         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50327         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50328         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50329         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50330         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50332 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50334         * math/libm-test.inc: Added more nearbyint tests.
50335         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50336         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50337         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50338         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50340 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
50342         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50343         FD_CLOEXEC.
50345 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50347         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50348         Add wcscpy-ssse3 wcscpy-c.
50349         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50350         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50351         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50352         * sysdeps/x86_64/wcschr.S: New file.
50353         * sysdeps/x86_64/wcsrchr.S: New file.
50354         * string/test-strcmp.c: Remove checking of wcscmp function for
50355         wrong alignments.
50356         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50357         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50358         wcsrchr-sse2 wcsrchr-c.
50359         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50360         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50361         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50362         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50363         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50364         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50365         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50366         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50367         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50368         * wcsmbc/wcschr.c (WCSCHR): New macro.
50370 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50372         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50373         * wcsmbs/test-wcsrchr.c: New file.
50374         * string/test-strrchr.c: Add wcsrchr support.
50375         (WIDE): New macro.
50376         * wcsmbs/test-wcscpy.c: New file.
50377         * string/test-strcpy.c: Add wcscpy support.
50378         (WIDE): New macro.
50380 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
50382         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50383         the inner loop.
50385 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
50387         [BZ #13472]
50388         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50390 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
50392         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50393         Minor optimizations.
50395         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50396         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50397         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50399 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
50401         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50402         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50403         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50404         for gcc to avoid warnings.
50405         * inet/Makefile (tests): Add tst-checks.
50406         * inet/tst-checks.c: New file.
50408         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50409         warning.
50411         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50412         __wmemcmp_sse2.
50414         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50415         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50417         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50419 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50421         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50422         problem.
50424         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50426 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50428         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50429         conditional on GCC version.
50430         (__arch_compare_and_exchange_val_8_acq)
50431         (__arch_compare_and_exchange_val_16_acq)
50432         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50433         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50434         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50436 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50438         * sysdeps/sh/backtrace.c: New file.
50440 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50442         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50443         parenthesis.
50445 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50447         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50448         falling back to utime.
50450 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50452         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50453         expectations for float.
50455 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50457         * locale/weight.h (findidx): Add parameter len.
50458         * locale/weightwc.h (findidx): Likewise.
50459         * posix/fnmatch_loop.c (FCT): Adjust caller.
50460         * posix/regcomp.c (build_equiv_class): Likewise.
50461         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50462         * posix/regexec.c (check_node_accept_bytes): Likewise.
50463         * string/strcoll_l.c (STRCOLL): Likewise.
50464         * string/strxfrm_l.c (STRXFRM): Likewise.
50466 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50468         * Makefile.in: Remove CVSOPT handling.
50469         * configure.in: Remove use of AC_REVISION.
50470         * iconvdata/Makefile (distribute): No need to filter out CVS.
50471         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50472         handling.
50474 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50476         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50477         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50478         [USE_AS_STRNCASECMP_L]: Likewise.
50479         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50480         NO_TLS_DIRECT_SEG_REFS.
50481         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50482         Fix argument offsets for non-PIC.
50483         [USE_AS_STRNCASECMP_L]: Likewise.
50484         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50485         NO_TLS_DIRECT_SEG_REFS.
50487 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50489         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50490         O_CLOEXEC.
50491         * locale/loadlocale.c (_nl_load_locale): Likewise.
50493 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50495         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50496         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50497         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50498         (SYSCALL_GETTIME): Set errno on error.
50500         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50501         count references to noai6ai_cached.
50503 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50505         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50507         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50508         FD_CLOEXEC for /proc/self/maps.
50510         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50511         FD_CLOEXEC for /proc/meminfo.
50513         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50514         gai.conf.
50516         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50517         FD_CLOEXEC for given file.
50519         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50521         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50522         FD_CLOEXEC for /etc/hosts.
50523         (_gethtent): Likewise.
50525         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50527         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50528         cancellation and set FD_CLOEXEC for /etc/netgroup.
50530         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50531         reading /etc/publickey.
50533         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50534         allow cancellation when reading /etc/group.
50536         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50537         cancellation.
50538         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50540         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50541         when using data file.
50543         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50545         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50546         (write_nis_obj): Use "c" and "e" in fopen.
50548         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50550         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50552         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50554         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50556         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50557         locale.alias.
50559         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50561         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50563         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50565         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50566         file parsing and set FD_CLOEXEC.
50568 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50570         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50572 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50574         * malloc/arena.c (arena_get2): Don't call reused_arena when
50575         _int_new_arena failed.
50577 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50579         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50580         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50581         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50582         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50583         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50584         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50585         to compile strcasecmp and strncasecmp.
50586         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50587         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50589         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50591 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
50593         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50594         locale-defines.sym to gen-as-const-headers.
50595         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50596         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50597         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50598         to compile strcasecmp and strncasecmp.
50599         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50600         strcasecmp_l and strncasecmp_l.
50601         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50602         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50603         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50604         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50605         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50606         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50607         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50608         * sysdeps/i386/i686/multiarch/strncase.S: New file.
50609         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50610         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50611         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50613 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
50615         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50616         result of SYSDEP_GETTIME_CPU to retval.
50617         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50618         parameter list to macro.  Remove trailing semicolon.  Adjust users.
50620         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50621         variable.
50623         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50624         mantissa words.
50625         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50627         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50628         from unused variable.
50630         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50631         DWARF definitions.
50632         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50633         for assembling.
50635         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50636         over namespaces.
50638         * sunrpc/rpc_prot.c (rejected): Fix case value.
50640         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50641         unsigned long long int to avoid warnings in shift.
50643         * posix/regex_internal.c (re_string_reconstruct): Actually use result
50644         of use of trans.
50645         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50646         variable tmp.
50648         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50649         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50650         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50652         * nis/nis_table.c (nis_list): Use variable of correct type for
50653         result of __follow_path call.
50655 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50657         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50658         of math functions ceil, trunc, floor, round, and sqrt, when
50659         avaliable on the platform.
50660         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50661         name clash.
50662         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50663         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50664         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50666 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50668         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50669         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50671 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50673         * include/unistd.h: Fix __readlink return type.
50674         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50676 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50678         * stdlib/ucontext.h: Undo last change for makecontext.
50680 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50682         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50684         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50685         * setjmp/setjmp.h: Mark functions as non-leaf.
50686         * setjmp/bits/setjmp2.h: Likewise.
50687         * stdlib/ucontext.h: Likewise.
50689 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50691         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50692         (reused_arena): Don't check arena limit.
50693         (arena_get2): Atomically check arena limit.
50695 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50697         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50698         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50700         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50701         instructions.
50703 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50705         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50706         handler when locking.
50708         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50709         Fix size of allocated buffer.
50711 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50713         [BZ #10103]
50714         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50715         declarations for long double functions.
50716         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50718         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50720 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50722         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50723         installed.
50725         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50726         is disabled.
50728 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50730         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50732 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50734         * include/alloca.h (stackinfo_alloca_round): Define.
50735         (extend_alloca): Use it.
50736         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50737         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50738         here.
50740         * scripts/check-local-headers.sh: Ignore libaudit.h.
50742         * nscd/Makefile (extra-objs): Make recursively expanded.
50744 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50746         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50747         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50749         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50750         * posix/tst-rfc3484-2.c: Likewise.
50751         * posix/tst-rfc3484-3.c: Likewise.
50753         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50754         process_vm_writev.
50755         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50756         process_vm_writev.
50757         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50758         process_vm_writev from libc using GLIBC_2.15 version.
50760         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50762 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50764         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50765         stack usage.
50767 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50769         [BZ #13367]
50770         * nss/getent.c (initgroups_keys): Show error message in case no group
50771         names are given.
50773         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50774         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50775         __bump_nl_timestamp.
50776         * nscd/connections (nscd_init): When host database is served open
50777         netlink socket and request notification about configuration changes.
50778         (main_loop_poll): Track netlink file descriptor and bump timestamp
50779         in case data becomes available.
50780         (main_loop_epoll): Likewise.
50781         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50782         (database_pers_head): Add extra_data fileds.
50783         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50784         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50785         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50786         Adjust caller.
50787         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50788         in6ai data, call __free_in6ai.
50789         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50790         Add -DHAVE_NETLINK.
50791         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50792         interface information.  Reuse previous data if netlink timestamp
50793         is not changed.
50794         (__bump_nl_timestamp): New function.
50795         (__free_in6ai): New function.
50797 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50799         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50800         close_not_cancel_no_status here.
50801         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50803 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50805         [BZ #13276]
50806         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50807         return value.
50809         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50810         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50811         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50813 2011-07-03  Andreas Jaeger  <aj@suse.de>
50815         [BZ #10709]
50816         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50817         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50818         * math/libm-test.inc (sin_test): Add test case.
50820 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50822         [BZ #13337]
50823         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50824         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50826         * elf/chroot_canon.c (chroot_canon): Cleanups.
50828         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50830         [BZ #13335]
50831         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50832         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50834         * string/test-strchr.c: Make usable for strchrnul testing.
50835         * string/test-strchrnul.c: New file.
50836         * string/Makefile (strop-tests): Add strchrnul.
50838         * po/it.po: Update from translation team.
50839         * po/es.po: Likewise.
50841 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50843         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50844         the three constants needed as parameters.  Drop the others.
50845         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50846         __m128i_strloadu_tolower.
50847         Create and initialize variable zero and use it in all the places
50848         where _mm_setzero_si128 was used.
50850         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50851         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50852         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50853         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50854         anymore.
50855         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50856         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50857         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50858         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50859         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50860         __mpranred, __mptan.
50861         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50862         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50863         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50864         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50865         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50866         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50867         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50868         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50869         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50871 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50873         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50874         redefine if SHARED.
50875         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50877         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50878         wide char related routines to wcsmbs subdir.
50880 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50882         [BZ #13344]
50883         * misc/sys/cdefs.h (__THROWNL): Define.
50884         * posix/unistd.h: Use __THREADNL instead of __THREAD
50885         for memory synchronization functions.
50887 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50889         [BZ #13349]
50890         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50891         doesn't exist.
50892         * manual/stdio.texi (Obstack Streams): Node removed.
50894 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50896         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50897         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50898         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50900         * math/math_private.h (math_force_eval): Allow non-addressable
50901         arguments.
50902         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50904 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50906         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50907         file is not needed.
50909         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50910         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50911         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50912         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50913         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50914         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50915         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50916         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50917         Add AVX variants.
50918         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50919         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50920         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50921         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50922         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50923         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50924         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50925         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50926         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50927         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50928         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50929         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50930         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50931         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50932         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50933         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50934         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50935         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50936         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50938         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50939         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50941         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50942         place.  Use VEX encoding when compiling for AVX.
50944 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50946         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50947         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50949         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50951 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50953         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50954         useless if() expression.
50955         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50956         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50957         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50958         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50959         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50960         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50961         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50962         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50963         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50964         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50965         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50966         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50967         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50968         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50969         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50970         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50971         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50972         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50973         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50975         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50977 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50979         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50980         condition.
50981         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50983 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50985         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50986         .text section.  Avoid duplicate constants.
50987         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50988         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50989         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50990         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50991         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50992         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50993         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50994         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50995         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50996         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50997         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50998         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50999         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51000         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51001         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51002         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51003         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51004         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51005         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51006         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51007         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51008         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51009         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51010         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51011         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51012         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51013         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51014         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51015         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51016         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51017         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51018         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51019         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51020         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51021         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51022         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51023         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51024         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51025         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51026         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51027         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51028         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51029         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51030         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51031         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51033 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
51035         * sysdeps/x86_64/dla.h: Move to ...
51036         * sysdeps/x86_64/fpu/dla.h: ...here.
51037         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51038         situations.  Use __builtin_fma only for gcc 4.6 and up.
51040         * config.make.in: Add have-mfma4 entry.
51041         * configure.in: Substitute libc_cv_cc_fma4.
51042         * math/Makefile (dbl-only-routines): Add sincostab.
51043         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51044         Use __sincostab not sincos.
51045         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51046         name is a macro.
51047         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51048         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51049         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51050         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
51051         using __copysign.
51052         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
51053         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
51054         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51055         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51056         and __inv.
51057         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51058         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51059         __copysign.
51060         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
51061         define aliases when function name is a macro.
51062         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51063         sysdeps/ieee754/dbl-64/sincos.tbl.
51064         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51065         fma4-enabled routines.
51066         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51067         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51068         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51069         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51070         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51071         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51072         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51073         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51074         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51075         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51076         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51077         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51078         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51079         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51080         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51081         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51082         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51083         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51084         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51085         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51086         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51087         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51088         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51089         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51090         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51091         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51092         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51093         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51094         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51095         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51097         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51098         rename.
51099         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51100         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51101         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51102         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51103         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51104         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51105         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51106         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51108 2011-10-24  Andreas Schwab  <schwab@redhat.com>
51110         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51112 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51114         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51116         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51117         prediction.
51118         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51120         * string/strnlen.c: Don't define STRNLEN, reverse logic.
51121         Remove unused variable magic_bits.
51122         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51124         * string/strnlen.c: Define and use STRNLEN macro.
51125         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51126         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51127         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51128         * wcsmbs/wcslen.c: Define and use WCSLEN.
51129         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51130         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51131         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51132         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51133         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51134         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51135         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51137 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51140         strnlen-sse2-no-bsf.
51141         Rename strlen-no-bsf to strlen-sse2-no-bsf.
51142         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51143         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51144         Add strnlen support.
51145         (USE_AS_STRNLEN): New macro.
51146         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51147         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51148         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51149         * sysdeps/x86_64/wcslen.S: New file.
51151 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
51153         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51154         XMM-moves are used for copying on small sizes.
51156 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51158         * wcsmbs/Makefile (strop-tests): Add wcschr.
51159         * wcsmbs/test-wcschr.c: New file.
51160         * string/test-strchr.c: Update.
51161         Add wcschr support.
51162         (WIDE): New macro.
51164 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51166         * wcsmbs/Makefile (strop-tests): Add wcslen.
51167         * wcsmbs/test-wcslen.c: New file.
51168         * string/test-strlen.c: Update.
51169         Add wcslen support.
51170         (WIDE): New macro.
51172 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51174         * po/it.po: Update from translation team.
51176 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51178         * sysdeps/x86_64/wcscmp.S: Update.
51179         Fix wrong comparison semantics.
51180         wcscmp shall use signed comparison not unsigned.
51181         Don't use substraction to avoid overflow bug.
51182         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51183         * wcsmbc/wcscmp.c: Likewise.
51184         * string/test-strcmp.c: Likewise.
51185         Add new tests to check cases with negative values.
51187 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51189         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51190         * sysdeps/x86_64/dla.h: ...here.  New file.
51191         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51192         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51193         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51194         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51195         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51196         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51197         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51198         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51199         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51201 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
51203         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51204         __ynl_finite aliases.
51206 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51210         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51211         define DLA_FMA.
51212         [DLA_FMA] (EMULV): Use DLA_FMA.
51213         [DLA_FMA] (MUL12): Use EMULV.
51214         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51215         that are not needed.
51216         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51217         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51218         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51219         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51220         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51221         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51222         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51224 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
51226         * math/s_nan.c: Undef __nan.
51227         * math/s_nanf.c: Undef __nanf.
51228         * math/s_nanl.c: Undef __nanl.
51229         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51230         "math_private.h".
51232 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51234         * math/s_catan.c: Add branch predictions.
51235         * math/s_catanf.c: Likewise.
51236         * math/s_catanh.c: Likewise.
51237         * math/s_catanhf.c: Likewise.
51238         * math/s_catanhl.c: Likewise.
51239         * math/s_catanl.c: Likewise.
51240         * math/s_cexp.c: Likewise.
51241         * math/s_cexpf.c: Likewise.
51242         * math/s_cexpl.c: Likewise.
51243         * math/s_clog.c: Likewise.
51244         * math/s_clog10.c: Likewise.
51245         * math/s_clog10f.c: Likewise.
51246         * math/s_clog10l.c: Likewise.
51247         * math/s_clogf.c: Likewise.
51248         * math/s_clogl.c: Likewise.
51249         * math/s_csqrt.c: Likewise.
51250         * math/s_csqrtf.c: Likewise.
51251         * math/s_csqrtl.c: Likewise.
51252         * math/s_ctanf.c: Likewise.
51253         * math/s_ctanh.c: Likewise.
51254         * math/s_ctanhf.c: Likewise.
51255         * math/s_ctanhl.c: Likewise.
51256         * math/s_ctanl.c: Likewise.
51258         * math/math_private.h: Define __nan, __nanf, __nanl.
51259         * math/s_cacosh.c: Include <math_private.h>.
51260         * math/s_cacoshl.c: Likewise.
51261         * math/s_casinh.c: Likewise.
51262         * math/s_casinhf.c: Likewise.
51263         * math/s_casinhl.c: Likewise.
51264         * math/s_ccos.c: Rely entire on ccosh.
51265         * math/s_ccosf.c: Rely entire on ccoshf.
51266         * math/s_ccosl.c: Rely entirely on ccoshl.
51267         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
51268         Remove tests for FE_INVALID.
51269         * math/s_ccoshf.c: Likewise.
51270         * math/s_ccoshl.c: Likewise.
51271         * math/s_csin.c: Likewise.
51272         * math/s_csinf.c: Likewise.
51273         * math/s_csinh.c Likewise.
51274         * math/s_csinhf.c: Likewise.
51275         * math/s_csinhl.c: Likewise.
51276         * math/s_csinl.c: Likewise.
51277         * math/s_ctan.c: Likewise.
51278         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51279         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51280         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51282 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
51284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51285         compilation problems.
51287         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51288         __builtin_expect.
51290 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
51292         * sysdeps/i386/configure.in: Test for -mfma4 option.
51293         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51294         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51295         COMMON_CPUID_INDEX_80000001.
51296         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51297         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51298         use it if FMA3 is not supported.
51299         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51301         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51302         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51304 2011-10-20  Andreas Schwab  <schwab@redhat.com>
51306         [BZ #12892]
51307         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51308         it would create a cycle with a link time dependency.
51310 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
51312         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51313         instruction.
51314         * string/Makefile (strop-tests): Add rawmemchr.
51315         * string/test-rawmemchr.c: New file.
51317         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51318         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
51319         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
51320         when compiling str{,n}casecmp and when AVX is available.  Hook up
51321         new optimized code in initializers.
51323 2011-10-19  Andreas Schwab  <schwab@redhat.com>
51325         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51326         __feraiseexcept instead of feraiseexcept.
51328 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
51330         * math/math_private.h: Define defaults for libc_fetestexcept and
51331         libc_feupdateenv.
51332         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51333         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51334         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51335         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51336         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51337         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51338         libc_fetestexcept and libc_feupdateenv.
51340         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51341         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51342         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51343         * sysdeps/x86_64/fpu/math_private.h: Define special version of
51344         libc_feholdexcept_setround.
51346         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51347         Add s_nearbyint-c and s_nearbyintf-c.
51348         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51349         nearbyintf inlines.
51350         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51351         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51352         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51353         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51355         * math/math_private.h: Define defaults for libc_fegetround,
51356         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51357         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51358         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51359         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51360         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51361         standard functions.
51362         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51363         Remove comments and hacks for old compiler versions.
51364         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51365         libc_fegetround, libc_fesetround, libc_feholdexcept, and
51366         libc_feholdexceptl.
51368 2011-10-18  Andreas Schwab  <schwab@redhat.com>
51370         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51371         (__feraiseexcept_renamed): Add __NTH.
51372         (feraiseexcept): Add __NTH.  Rename local variables to fix
51373         namespace violations.
51375 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
51377         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51379         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51381         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51382         recently added interfaces.
51383         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51385         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51386         about macro parameter expansion.
51388         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51389         __NO_MATH_INLINES is defined.  Cleanups.
51391         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51392         and __floorf is target has SSE4.1.
51393         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51394         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51395         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51396         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51398         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51399         name.
51400         (floorf): Likewise.
51402         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51404 2011-10-17  Andreas Schwab  <schwab@redhat.com>
51406         * misc/sys/cdefs.h: Fix last change.
51408         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51409         database lookup.
51411 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
51413         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51415         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51416         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51417         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51418         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51419         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51420         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51421         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51422         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51423         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51424         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51425         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51426         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51427         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51428         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51429         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51430         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51431         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51432         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51433         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51434         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51435         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51436         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51438         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51439         ceil, ceilf, floor, floorf.
51441         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51442         Perform IRELATIVE relocations last.
51444         * elf/do-rel.h: Add another parameter nrelative, replacing the
51445         local variable with the same name.  Change name of the function
51446         to end in Rel or Rela (uppercase).
51447         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51448         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51449         elf_dynamic_do_##reloc function.
51451 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51453         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51454         is sufficient, at least on modern CPUs.
51456         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51458         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51459         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51461         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51462         __expl_finite.
51463         * math/bits/math-finite.h: Add entries for exp.
51464         * math/e_expl.c: Add __*_finite alias.
51465         * sysdeps/i386/fpu/e_exp.S: Likewise.
51466         * sysdeps/i386/fpu/e_expf.S: Likewise.
51467         * sysdeps/i386/fpu/e_expl.c: Likewise.
51468         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51469         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51470         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51471         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51472         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51473         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51474         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51476         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51477         is sufficient, at least on modern CPUs.
51479         * ctype/ctype-info.c (__ctype_init): Define.
51480         * include/ctype.h (__ctype_init): Declare.
51481         (__ctype_b_loc): The variable is always initialized.
51482         (__ctype_toupper_loc): Likewise.
51483         (__ctype_tolower_loc): Likewise.
51484         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51485         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51487 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51489         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51491         * configure.in: Also look in $cxxmachine/include for C++ system
51492         headers.
51494 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51496         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51497         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51498         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51499         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51500         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51501         (USE_AS_WMEMCMP): New macro.
51502         Fixing indents.
51503         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51504         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51505         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51506         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51507         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51508         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51509         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51510         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51511         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51512         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51513         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51514         (USE_AS_WMEMCMP): New macro.
51515         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51516         * sysdeps/string/test-memcmp.c: Update.
51517         Fix simple_wmemcmp.
51518         Add new tests.
51519         * wcsmbs/wmemcmp.c: Update.
51520         (WMEMCMP): New macro.
51521         Fix overflow bug.
51523 2011-10-12  Andreas Jaeger  <aj@suse.de>
51525         [BZ #13268]
51526         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51528 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51530         * libio/iofwide.c (do_length): Avoid warning.
51532         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51534 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51536         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51538         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51539         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51540         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51541         * sysdeps/i386/i686/fpu/e_log.S: New file.
51542         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51543         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51545         * ctype/ctype.h: Add support for inlined isXXX functions when
51546         compiling C++ code.
51548 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51550         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51552         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51554 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51556         [BZ #13291]
51557         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51559 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51561         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51562         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51563         feraiseexcept.
51565         * sysdeps/x86_64/memrchr.S: Check for zero size.
51567         * string/stratcliff.c: Add memrchr tests.
51569 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51571         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51572         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51573         rawmemchr-sse2 rawmemchr-sse2-bsf.
51574         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51575         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51576         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51577         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51578         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51579         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51580         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51581         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51582         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51583         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51584         * string/memrchr.c (MEMRCHR): New macro.
51586 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51588         Add integration with gcc's -ffinite-math-only and optimize wrapper
51589         functions in libm.
51590         * Versions.def: Define GLIBC_2.15 version for libm.
51591         * math/Makefile (headers): Add bits/math-finite.h.
51592         * math/bits/math-finite.h: New file.
51593         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51594         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51595         * math/e_acoshl.c: Add __*_finite alias.
51596         * math/e_acosl.c: Likewise.
51597         * math/e_asinl.c: Likewise.
51598         * math/e_atan2l.c: Likewise.
51599         * math/e_atanhl.c: Likewise.
51600         * math/e_coshl.c: Likewise.
51601         * math/e_exp10.c: Likewise.
51602         * math/e_exp10f.c: Likewise.
51603         * math/e_exp10l.c: Likewise.
51604         * math/e_exp2l.c: Likewise.
51605         * math/e_fmodl.c: Likewise.
51606         * math/e_gammal_r.c: Likewise.
51607         * math/e_hypotl.c: Likewise.
51608         * math/e_j0l.c: Likewise.
51609         * math/e_j1l.c: Likewise.
51610         * math/e_jnl.c: Likewise.
51611         * math/e_lgammal_r.c: Likewise.
51612         * math/e_log10l.c: Likewise.
51613         * math/e_log2l.c: Likewise.
51614         * math/e_logl.c: Likewise.
51615         * math/e_powl.c: Likewise.
51616         * math/e_sinhl.c: Likewise.
51617         * math/e_sqrtl.c: Likewise.
51618         * math/e_scalb.c: Completely rewritten and optimized.
51619         * math/e_scalbf.c: Likewise.
51620         * math/e_scalbl.c: Likewise.
51621         * math/w_acos.c: Likewise.
51622         * math/w_acosf.c: Likewise.
51623         * math/w_acosl.c: Likewise.
51624         * math/w_acosh.c: Likewise.
51625         * math/w_acoshf.c: Likewise.
51626         * math/w_acoshl.c: Likewise.
51627         * math/w_asin.c: Likewise.
51628         * math/w_asinf.c: Likewise.
51629         * math/w_asinl.c: Likewise.
51630         * math/w_atan2.c: Likewise.
51631         * math/w_atan2f.c: Likewise.
51632         * math/w_atan2l.c: Likewise.
51633         * math/w_atanh.c: Likewise.
51634         * math/w_atanhf.c: Likewise.
51635         * math/w_atanhl.c: Likewise.
51636         * math/w_exp10.c: Likewise.
51637         * math/w_exp10f.c: Likewise.
51638         * math/w_exp10l.c: Likewise.
51639         * math/w_fmod.c: Likewise.
51640         * math/w_fmodf.c: Likewise.
51641         * math/w_fmodl.c: Likewise.
51642         * math/w_j0.c: Likewise.
51643         * math/w_j0f.c: Likewise.
51644         * math/w_j0l.c: Likewise.
51645         * math/w_j1.c: Likewise.
51646         * math/w_j1f.c: Likewise.
51647         * math/w_j1l.c: Likewise.
51648         * math/w_jn.c: Likewise.
51649         * math/w_jnf.c: Likewise.
51650         * math/w_log.c: Likewise.
51651         * math/w_logf.c: Likewise.
51652         * math/w_logl.c: Likewise.
51653         * math/w_log10.c: Likewise.
51654         * math/w_log10f.c: Likewise.
51655         * math/w_log10l.c: Likewise.
51656         * math/w_log2.c: Likewise.
51657         * math/w_log2f.c: Likewise.
51658         * math/w_log2l.c: Likewise.
51659         * math/w_pow.c: Likewise.
51660         * math/w_powf.c: Likewise.
51661         * math/w_powl.c: Likewise.
51662         * math/w_remainder.c: Likewise.
51663         * math/w_remainderf.c: Likewise.
51664         * math/w_remainderl.c: Likewise.
51665         * math/w_scalb.c: Likewise.
51666         * math/w_scalbf.c: Likewise.
51667         * math/w_scalbl.c: Likewise.
51668         * math/w_sqrt.c: Likewise.
51669         * math/w_sqrtf.c: Likewise.
51670         * math/w_sqrtl.c: Likewise.
51671         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51672         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51673         used.
51674         * math/math_private.h: Declare __kernel_standard_f.
51675         * math/w_cosh.c: Remove cruft and optimize a bit.
51676         * math/w_coshf.c: Likewise.
51677         * math/w_coshl.c: Likewise.
51678         * math/w_exp2.c: Likewise.
51679         * math/w_exp2f.c: Likewise.
51680         * math/w_exp2l.c: Likewise.
51681         * math/w_hypot.c: Likewise.
51682         * math/w_hypotf.c: Likewise.
51683         * math/w_hypotl.c: Likewise.
51684         * math/w_lgamma.c: Likewise.
51685         * math/w_lgamma_r.c: Likewise.
51686         * math/w_lgammaf.c: Likewise.
51687         * math/w_lgammaf_r.c: Likewise.
51688         * math/w_lgammal.c: Likewise.
51689         * math/w_lgammal_r.c: Likewise.
51690         * math/w_sinh.c: Likewise.
51691         * math/w_sinhf.c: Likewise.
51692         * math/w_sinhl.c: Likewise.
51693         * math/w_tgamma.c: Likewise.
51694         * math/w_tgammaf.c: Likewise.
51695         * math/w_tgammal.c: Likewise.
51696         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51697         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51698         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51699         Minor optimizations.  Pretty printing.  Remove cruft.
51700         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51701         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51702         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51703         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51704         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51705         * sysdeps/i386/fpu/e_asin.S: Likewise.
51706         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51707         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51708         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51709         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51710         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51711         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51712         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51713         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51714         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51715         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51716         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51717         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51718         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51719         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51720         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51721         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51722         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51723         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51724         * sysdeps/i386/fpu/e_log.S: Likewise.
51725         * sysdeps/i386/fpu/e_log10.S: Likewise.
51726         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51727         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51728         * sysdeps/i386/fpu/e_log2.S: Likewise.
51729         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51730         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51731         * sysdeps/i386/fpu/e_logf.S: Likewise.
51732         * sysdeps/i386/fpu/e_logl.S: Likewise.
51733         * sysdeps/i386/fpu/e_pow.S: Likewise.
51734         * sysdeps/i386/fpu/e_powf.S: Likewise.
51735         * sysdeps/i386/fpu/e_powl.S: Likewise.
51736         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51737         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51738         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51739         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51740         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51741         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51742         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51743         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51744         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51745         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51746         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51747         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51748         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51749         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51750         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51751         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51752         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51753         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51754         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51755         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51756         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51758         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51759         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51760         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51761         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51762         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51763         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51764         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51765         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51766         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51767         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51768         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51769         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51770         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51771         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51772         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51773         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51774         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51775         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51776         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51777         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51778         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51779         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51780         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51781         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51782         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51783         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51784         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51785         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51786         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51787         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51788         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51789         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51790         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51791         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51792         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51793         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51794         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51795         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51796         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51797         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51798         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51799         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51800         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51801         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51802         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51803         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51804         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51805         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51806         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51807         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51808         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51809         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51810         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51811         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51812         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51813         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51814         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51815         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51816         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51817         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51818         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51819         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51820         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51821         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51822         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51823         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51824         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51825         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51826         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51827         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51828         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51829         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51830         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51831         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51832         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51833         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51834         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51835         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51836         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51837         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51838         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51839         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51840         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51841         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51842         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51843         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51844         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51845         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51846         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51847         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51848         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51849         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51850         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51851         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51852         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51853         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51854         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51855         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51856         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51857         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51858         (__isnanf): Likewise.
51859         (__isinf_ns): Likewise.
51860         (__isinf_nsf): Likewise.
51861         (__finite): Likewise.
51862         (__finitef): Likewise.
51863         (__ieee754_sqrt): Define as macro.
51864         (__ieee754_sqrtf): Define as macro.
51865         (__ieee754_sqrtl): Define as macro.
51866         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51867         inlined copy.
51868         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51869         __FINITE_MATH_ONLY__ consistent.
51870         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51872 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51874         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51875         of rawmemchr.
51877         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51879 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51881         * po/ja.po: Update from translation team.
51883 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51885         * locale/programs/locarchive.c (prepare_address_space): New function.
51886         (create_archive, enlarge_archive, open_archive): Use it.
51888         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51889         inside [SHARED], where it is used.
51891         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51893         * nss/getent.c (netgroup_keys): Remove unused variable.
51894         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51896 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51898         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51899         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51900         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51901         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51902         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51903         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51904         * math/Makefile (libm-calls): Add s_isinf_ns.
51905         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51906         * math/multc3.c: Likewise.
51907         * math/s_casin.c: Likewise.
51908         * math/s_casinf.c: Likewise.
51909         * math/s_casinl.c: Likewise.
51910         * math/s_ccos.c: Likewise.
51911         * math/s_ccosf.c: Likewise.
51912         * math/s_ccosl.c: Likewise.
51913         * math/s_ctan.c: Likewise.
51914         * math/s_ctanf.c: Likewise.
51915         * math/s_ctanh.c: Likewise.
51916         * math/s_ctanhf.c: Likewise.
51917         * math/s_ctanhl.c: Likewise.
51918         * math/s_ctanl.c: Likewise.
51919         * math/w_fmod.c: Likewise.
51920         * math/w_fmodf.c: Likewise.
51921         * math/w_fmodl.c: Likewise.
51922         * math/w_remainder.c: Likewise.
51923         * math/w_remainderf.c: Likewise.
51924         * math/w_remainderl.c: Likewise.
51925         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51926         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51927         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51928         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51929         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51930         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51931         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51932         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51934         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51935         of the number.
51936         * stdio-common/printf_fphex.c: Likewise.
51937         * stdio-common/printf_size.c: Likewise.
51939         * math/e_exp10.c: Include math_private.h using <...> not "...".
51940         * math/e_exp10f.c: Likewise.
51941         * math/e_exp10l.c: Likewise.
51942         * math/e_exp2l.c: Likewise.
51943         * math/e_j0l.c: Likewise.
51944         * math/e_j1l.c: Likewise.
51945         * math/e_jnl.c: Likewise.
51946         * math/e_lgammal_r.c: Likewise.
51947         * math/e_rem_pio2l.c: Likewise.
51948         * math/e_scalb.c: Likewise.
51949         * math/e_scalbf.c: Likewise.
51950         * math/e_scalbl.c: Likewise.
51951         * math/k_cosl.c: Likewise.
51952         * math/k_sinl.c: Likewise.
51953         * math/k_tanl.c: Likewise.
51954         * math/s_cacoshf.c: Likewise.
51955         * math/s_catan.c: Likewise.
51956         * math/s_catanf.c: Likewise.
51957         * math/s_catanh.c: Likewise.
51958         * math/s_catanhf.c: Likewise.
51959         * math/s_catanhl.c: Likewise.
51960         * math/s_catanl.c: Likewise.
51961         * math/s_ccosh.c: Likewise.
51962         * math/s_ccoshf.c: Likewise.
51963         * math/s_ccoshl.c: Likewise.
51964         * math/s_cexp.c: Likewise.
51965         * math/s_cexpf.c: Likewise.
51966         * math/s_cexpl.c: Likewise.
51967         * math/s_clog.c: Likewise.
51968         * math/s_clog10.c: Likewise.
51969         * math/s_clog10f.c: Likewise.
51970         * math/s_clog10l.c: Likewise.
51971         * math/s_clogf.c: Likewise.
51972         * math/s_clogl.c: Likewise.
51973         * math/s_csin.c: Likewise.
51974         * math/s_csinf.c: Likewise.
51975         * math/s_csinh.c: Likewise.
51976         * math/s_csinhf.c: Likewise.
51977         * math/s_csinhl.c: Likewise.
51978         * math/s_csinl.c: Likewise.
51979         * math/s_csqrt.c: Likewise.
51980         * math/s_csqrtf.c: Likewise.
51981         * math/s_csqrtl.c: Likewise.
51982         * math/s_ctan.c: Likewise.
51983         * math/s_ctanf.c: Likewise.
51984         * math/s_ctanh.c: Likewise.
51985         * math/s_ctanhf.c: Likewise.
51986         * math/s_ctanhl.c: Likewise.
51987         * math/s_ctanl.c: Likewise.
51988         * math/s_ldexp.c: Likewise.
51989         * math/s_ldexpf.c: Likewise.
51990         * math/s_ldexpl.c: Likewise.
51991         * math/s_significand.c: Likewise.
51992         * math/s_significandf.c: Likewise.
51993         * math/s_significandl.c: Likewise.
51994         * math/w_acos.c: Likewise.
51995         * math/w_acosf.c: Likewise.
51996         * math/w_acosh.c: Likewise.
51997         * math/w_acoshf.c: Likewise.
51998         * math/w_acoshl.c: Likewise.
51999         * math/w_acosl.c: Likewise.
52000         * math/w_asin.c: Likewise.
52001         * math/w_asinf.c: Likewise.
52002         * math/w_asinl.c: Likewise.
52003         * math/w_atan2.c: Likewise.
52004         * math/w_atan2f.c: Likewise.
52005         * math/w_atan2l.c: Likewise.
52006         * math/w_atanh.c: Likewise.
52007         * math/w_atanhf.c: Likewise.
52008         * math/w_atanhl.c: Likewise.
52009         * math/w_cosh.c: Likewise.
52010         * math/w_coshf.c: Likewise.
52011         * math/w_coshl.c: Likewise.
52012         * math/w_dremf.c: Likewise.
52013         * math/w_exp10.c: Likewise.
52014         * math/w_exp10f.c: Likewise.
52015         * math/w_exp10l.c: Likewise.
52016         * math/w_exp2.c: Likewise.
52017         * math/w_exp2f.c: Likewise.
52018         * math/w_fmod.c: Likewise.
52019         * math/w_fmodf.c: Likewise.
52020         * math/w_fmodl.c: Likewise.
52021         * math/w_hypot.c: Likewise.
52022         * math/w_hypotf.c: Likewise.
52023         * math/w_hypotl.c: Likewise.
52024         * math/w_j0.c: Likewise.
52025         * math/w_j0f.c: Likewise.
52026         * math/w_j0l.c: Likewise.
52027         * math/w_j1.c: Likewise.
52028         * math/w_j1f.c: Likewise.
52029         * math/w_j1l.c: Likewise.
52030         * math/w_jn.c: Likewise.
52031         * math/w_jnf.c: Likewise.
52032         * math/w_jnl.c: Likewise.
52033         * math/w_lgamma.c: Likewise.
52034         * math/w_lgamma_r.c: Likewise.
52035         * math/w_lgammaf.c: Likewise.
52036         * math/w_lgammaf_r.c: Likewise.
52037         * math/w_lgammal.c: Likewise.
52038         * math/w_lgammal_r.c: Likewise.
52039         * math/w_log.c: Likewise.
52040         * math/w_log10.c: Likewise.
52041         * math/w_log10f.c: Likewise.
52042         * math/w_log10l.c: Likewise.
52043         * math/w_log2.c: Likewise.
52044         * math/w_log2f.c: Likewise.
52045         * math/w_log2l.c: Likewise.
52046         * math/w_logf.c: Likewise.
52047         * math/w_logl.c: Likewise.
52048         * math/w_pow.c: Likewise.
52049         * math/w_powf.c: Likewise.
52050         * math/w_powl.c: Likewise.
52051         * math/w_remainder.c: Likewise.
52052         * math/w_remainderf.c: Likewise.
52053         * math/w_remainderl.c: Likewise.
52054         * math/w_scalb.c: Likewise.
52055         * math/w_scalbf.c: Likewise.
52056         * math/w_scalbl.c: Likewise.
52057         * math/w_sinh.c: Likewise.
52058         * math/w_sinhf.c: Likewise.
52059         * math/w_sinhl.c: Likewise.
52060         * math/w_sqrt.c: Likewise.
52061         * math/w_sqrtf.c: Likewise.
52062         * math/w_sqrtl.c: Likewise.
52063         * math/w_tgamma.c: Likewise.
52064         * math/w_tgammaf.c: Likewise.
52065         * math/w_tgammal.c: Likewise.
52067         * po/ja.po: Update from translation team.
52069 2011-09-29  Andreas Jaeger  <aj@suse.de>
52071         [BZ #13179]
52072         * sunrpc/netname.c (netname2host): Fix logic.
52074         [BZ #6779]
52075         [BZ #6783]
52076         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52077         correctly.
52078         * math/w_remainder.c (__remainder): Likewise.
52079         * math/w_remainderf.c (__remainderf): Likewise.
52080         * math/libm-test.inc (remainder_test): Add test cases.
52082 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52084         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
52085         sdiv_qrnnd.
52087 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52089         * string/test-memcmp.c: Avoid unncessary #defines.
52090         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52092 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52094         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52095         Use new sse2 version for core i3 - i7 as it's faster
52096         than sse42 version.
52097         (bit_Prefer_PMINUB_for_stringop): New.
52098         * sysdeps/x86_64/rawmemchr.S: Update.
52099         Replace with faster SSE2 version.
52100         * sysdeps/x86_64/memrchr.S: New file.
52101         * sysdeps/x86_64/memchr.S: Update.
52102         Replace with faster SSE2 version.
52104 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
52106         * elf/dl-load.c (lose): Add cast to avoid warning.
52108 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52110         * po/ca.po: Update from translation team.
52112         * inet/getnetgrent_r.c: Hook up nscd.
52113         * nscd/Makefile (routines): Add nscd_netgroup.
52114         (nscd-modules): Add netgroupcache.
52115         (CFLAGS-netgroupcache.c): Define.
52116         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52117         (cache_search): Add const to second parameter.
52118         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52119         INNETGR.
52120         (dbs): Add netgrdb entry.
52121         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52122         (verify_persistent_db): Handle netgrdb.
52123         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52124         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52125         GETFDNETGR.
52126         (netgroup_response_header): Define.
52127         (innetgroup_response_header): Define.
52128         (datahead): Add netgroup_response_header and innetgroup_response_header
52129         elements.
52130         * nscd/nscd.conf: Add entries for netgroup cache.
52131         * nscd/nscd.h (dbtype): Add netgrdb.
52132         (_PATH_NSCD_NETGROUP_DB): Define.
52133         (netgroup_iov_disabled): Declare.
52134         (xmalloc, xcalloc, xrealloc): Move declarations here.
52135         (cache_search): Adjust prototype.
52136         Add netgroup-related prototypes.
52137         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52138         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52139         (__nscd_innetgr): Declare.
52140         * nscd/selinux.c (perms): Use access_vector_t as element type and
52141         add netgroup-related initializers.
52142         * nscd/netgroupcache.c: New file.
52143         * nscd/nscd_netgroup.c: New file.
52144         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52145         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52146         For four parameters use innetgr.
52147         * nss/nss_files/files-init.c: Add definition and callback for netgr.
52148         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52149         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52150         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52152         * nscd/connections.c (register_traced_file): Don't register file
52153         for disabled databases.
52155 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
52157         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52159         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52160         from tree and freeing node.
52162 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
52164         * nss/nsswitch.c (__nss_database_lookup): Handle
52165         nss_parse_service_list out of memory case.
52167 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
52169         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52170         out of memory case.
52172 2011-10-04  Andreas Schwab  <schwab@redhat.com>
52174         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52175         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52176         pass it down.
52177         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52178         elf_machine_rela, elf_machine_lazy_rel.
52179         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52180         (ELF_DYNAMIC_DO_REL): Likewise.
52181         (ELF_DYNAMIC_DO_RELA): Likewise.
52182         (ELF_DYNAMIC_RELOCATE): Likewise.
52183         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52184         to ELF_DYNAMIC_DO_REL.
52185         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52186         (dl_main): In trace mode always set __RTLD_NOIFUNC.
52187         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52188         elf_machine_rela.
52189         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52190         skip_ifunc, don't call ifunc function if non-zero.
52191         (elf_machine_rela): Likewise.
52192         (elf_machine_lazy_rel): Likewise.
52193         (elf_machine_lazy_rela): Likewise.
52194         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52195         (elf_machine_lazy_rel): Likewise.
52196         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52197         Likewise.
52198         (elf_machine_lazy_rel): Likewise.
52199         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52200         Likewise.
52201         (elf_machine_lazy_rel): Likewise.
52202         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52203         (elf_machine_lazy_rel): Likewise.
52204         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52205         (elf_machine_lazy_rel): Likewise.
52206         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52207         (elf_machine_lazy_rel): Likewise.
52208         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52209         (elf_machine_lazy_rel): Likewise.
52210         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52211         (elf_machine_lazy_rel): Likewise.
52212         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52213         (elf_machine_lazy_rel): Likewise.
52215 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
52217         * nss/nss_files/files-init.c (_nss_files_init): Use static
52218         initialization for all the *_traced_file variables.
52220 2011-09-28  Andreas Schwab  <schwab@redhat.com>
52222         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52224 2011-09-27  Roland McGrath  <roland@hack.frob.com>
52226         [BZ #13226]
52227         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52229 2011-09-27  Andreas Schwab  <schwab@redhat.com>
52231         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52232         Reread the line before reparsing it.
52234 2011-09-26  Andreas Schwab  <schwab@redhat.com>
52236         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52238 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
52239             Maxim Kuvyrkov  <maxim@codesourcery.com>
52240             Joseph Myers  <joseph@codesourcery.com>
52242         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52243         if needed for __stack_chk_guard.
52245 2011-09-19  Roland McGrath  <roland@hack.frob.com>
52247         * sysdeps/posix/spawni.c (script_execute): Always define it.
52248         It will be optimized away if unused.
52249         (maybe_script_execute): New function.
52250         (__spawni): Call it.
52252         * Makerules: Don't include tls.make.
52253         (config-tls): Always set to thread.
52254         * tls.make.c: File removed.
52256 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
52258         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52259         * config.make.in (CPPFLAGS-config): New substituted variable.
52261 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52263         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52265         [BZ #13192]
52266         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52267         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52269 2011-09-15  Roland McGrath  <roland@hack.frob.com>
52271         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52272         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52273         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52274         (CALL_FAIL): Likewise.
52275         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52276         (CALL_FAIL): Macro removed.
52277         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52279 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52281         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52282         for __FINITE_MATH_ONLY__ == 1.
52284 2011-09-15  Andreas Schwab  <schwab@redhat.com>
52286         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52287         __ieee754_sqrt instead of sqrt.
52288         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52289         __ieee754_sqrtf instead of sqrtf.
52290         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52291         __floorf instead of floorf.
52292         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52293         __floorf, __truncf instead of floorf, truncf.
52295 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
52297         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52299         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52300         __extern_always_inline.
52301         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52302         32-bit.
52304 2011-09-14  Andreas Schwab  <schwab@redhat.com>
52306         * elf/rtld.c (dl_main): Also relocate in dependency order when
52307         doing symbol dependency testing.
52309 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
52311         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52312         Always define `refsym'.
52314 2011-09-13  Andreas Schwab  <schwab@redhat.com>
52316         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52317         (__FD_ELT): Renamed from __FDELT.
52318         * misc/bits/select2.h (__FD_ELT): Likewise.
52319         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52320         __FD_MASK instead of __FDELT, __FDMASK.
52321         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52322         Likewise.
52323         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52324         Likewise.
52326         * elf/Makefile (gen-ldd): Fix pattern.
52328         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52329         (init_tls): Likewise.
52331 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
52333         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52335 2011-09-12  Andreas Schwab  <schwab@redhat.com>
52337         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52338         `struct cmsghdr *' instead of `void *'.
52339         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52340         Likewise.
52342 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
52344         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52345         if non-absolute.
52346         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52347         ldd_rewrite_script.
52349 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
52351         * configure.in: Remove --with-tls option.
52352         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52353         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52354         out in case it is missing.
52355         * sysdeps/ia64/elf/configure.in: Likewise.
52356         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52357         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52358         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52359         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52360         * sysdeps/sh/elf/configure.in: Likewise.
52361         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52362         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52363         * sysdeps/x86_64/elf/configure.in: Likewise.
52364         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52365         * sysdeps/mach/hurd/tls.h: Likewise.
52367         [BZ #13067]
52368         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52370         [BZ #13090]
52371         * configure.in: Fix use of AC_INIT.
52373         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52375 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
52377         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52378         __set_errno.
52379         * malloc/hooks.c: Likewise.
52381         [BZ #11929]
52382         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
52383         variables statically.
52384         (narenas): Initialize.
52385         (list_lock): Initialize.
52386         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
52387         initializtion of main_arena and list_lock.  Small cleanups.
52388         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52389         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
52390         Add initializers to main_arena and mp_.
52391         (malloc_state): Remove pagesize member.  Change all users to use
52392         GLRO(dl_pagesize).
52394         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52395         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
52396         is always initialized.
52398         * malloc/malloc.c: Removed unused configurations and dead code.
52399         * malloc/arena.c: Likewise.
52400         * malloc/hooks.c: Likewise.
52401         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52403         * include/tls.h: Removed.  USE___THREAD must always be defined.
52404         * bits/libc-tsd.h: Don't handle !USE___THREAD.
52405         * elf/dl-libc.c: Likewise.
52406         * elf/dl-tsd.c: Likewise.
52407         * include/errno.h: Likewise.
52408         * include/netdb.h: Likewise.
52409         * include/resolv.h: Likewise.
52410         * inet/herrno-loc.c: Likewise.
52411         * inet/herrno.c: Likewise.
52412         * malloc/arena.c: Likewise.
52413         * malloc/hooks.c: Likewise.
52414         * malloc/malloc.c: Likewise.
52415         * resolv/res-state.c: Likewise.
52416         * resolv/res_libc.c: Likewise.
52417         * sysdeps/i386/dl-machine.h: Likewise.
52418         * sysdeps/ia64/dl-machine.h: Likewise.
52419         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52420         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52421         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52422         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52423         * sysdeps/sh/dl-machine.h: Likewise.
52424         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52425         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52426         * sysdeps/unix/i386/sysdep.S: Likewise.
52427         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52428         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52429         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52430         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52431         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52432         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52433         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52434         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52435         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52436         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52437         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52438         * sysdeps/x86_64/dl-machine.h: Likewise.
52439         * tls.make.c: Likewise.
52441         * configure.in: Remove --with-__thread option.  Make tests for
52442         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52443         tls_model attribute fail if no support is available.  Remove
52444         USE_IN_LIBIO.
52445         * Makeconfig: Adjust for dropped configure option.  All features are
52446         now mandatory.
52447         * Makerules: Likewise.
52448         * Versions.def: Likewise.
52449         * argp/argp-fmtstream.c: Likewise.
52450         * argp/argp-fmtstream.h: Likewise.
52451         * argp/argp-help.c: Likewise.
52452         * assert/assert.c: Likewise.
52453         * config.h.in: Likewise.
52454         * config.make.in: Likewise.
52455         * configure: Likewise.
52456         * configure.in: Likewise.
52457         * csu/Versions: Likewise.
52458         * csu/init.c: Likewise.
52459         * elf/tst-audit2.c: Likewise.
52460         * elf/tst-tls10.c: Likewise.
52461         * elf/tst-tls10.h: Likewise.
52462         * elf/tst-tls11.c: Likewise.
52463         * elf/tst-tls12.c: Likewise.
52464         * elf/tst-tls14.c: Likewise.
52465         * elf/tst-tlsmod11.c: Likewise.
52466         * elf/tst-tlsmod12.c: Likewise.
52467         * elf/tst-tlsmod13.c: Likewise.
52468         * elf/tst-tlsmod13a.c: Likewise.
52469         * elf/tst-tlsmod14a.c: Likewise.
52470         * elf/tst-tlsmod15b.c: Likewise.
52471         * elf/tst-tlsmod16a.c: Likewise.
52472         * elf/tst-tlsmod16b.c: Likewise.
52473         * elf/tst-tlsmod7.c: Likewise.
52474         * elf/tst-tlsmod8.c: Likewise.
52475         * elf/tst-tlsmod9.c: Likewise.
52476         * gmon/gmon.c: Likewise.
52477         * grp/fgetgrent_r.c: Likewise.
52478         * grp/putgrent.c: Likewise.
52479         * hurd/fopenport.c: Likewise.
52480         * include/libc-symbols.h: Likewise.
52481         * include/tls.h: Likewise.
52482         * intl/gettextP.h: Likewise.
52483         * intl/loadinfo.h: Likewise.
52484         * locale/global-locale.c: Likewise.
52485         * locale/localeinfo.h: Likewise.
52486         * mach/devstream.c: Likewise.
52487         * malloc/arena.c: Likewise.
52488         * malloc/set-freeres.c: Likewise.
52489         * misc/err.c: Likewise.
52490         * misc/getttyent.c: Likewise.
52491         * misc/mntent_r.c: Likewise.
52492         * posix/getopt.c: Likewise.
52493         * posix/wordexp.c: Likewise.
52494         * pwd/fgetpwent_r.c: Likewise.
52495         * resolv/Versions: Likewise.
52496         * resolv/res_hconf.c: Likewise.
52497         * shadow/fgetspent_r.c: Likewise.
52498         * shadow/putspent.c: Likewise.
52499         * stdio-common/printf_fphex.c: Likewise.
52500         * stdio-common/tmpfile.c: Likewise.
52501         * stdlib/abort.c: Likewise.
52502         * stdlib/fmtmsg.c: Likewise.
52503         * sunrpc/auth_unix.c: Likewise.
52504         * sunrpc/clnt_perr.c: Likewise.
52505         * sunrpc/clnt_tcp.c: Likewise.
52506         * sunrpc/clnt_udp.c: Likewise.
52507         * sunrpc/clnt_unix.c: Likewise.
52508         * sunrpc/openchild.c: Likewise.
52509         * sunrpc/svc_simple.c: Likewise.
52510         * sunrpc/svc_tcp.c: Likewise.
52511         * sunrpc/svc_udp.c: Likewise.
52512         * sunrpc/svc_unix.c: Likewise.
52513         * sunrpc/xdr.c: Likewise.
52514         * sunrpc/xdr_array.c: Likewise.
52515         * sunrpc/xdr_rec.c: Likewise.
52516         * sunrpc/xdr_ref.c: Likewise.
52517         * sunrpc/xdr_stdio.c: Likewise.
52519 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52521         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52523 2011-07-03  Andreas Jaeger  <aj@suse.de>
52525         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52526         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52527         regenerate with gen-libm-tests.pl.
52529 2010-05-12  Petr Baudis  <pasky@suse.cz>
52531         [BZ #11589]
52532         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52533         around j0() zero points by switching to j1().
52534         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52535         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52536         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52537         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52539 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52541         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52542         instead of 0.
52543         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52544         instead of 0.
52545         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52546         Patch in part by Pavel Roskin <proski@gnu.org>.
52548         [BZ #13138]
52549         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52550         realloc.
52551         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52552         Free memory block if necessary.
52554         [BZ #12847]
52555         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52556         be NULL.  Don't lock in this case.
52558 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52560         * elf/elf.h (ELFOSABI_GNU): New macro.
52561         (ELFOSABI_LINUX): Define to that.
52563 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52565         * string/strncat.c (strncat): Undef the symbol in case it has been
52566         defined in bits/string.h.
52568 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52570         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52572         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52573         link map.
52575 2011-08-17  Andreas Jaeger  <aj@suse.de>
52577         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52579 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52580             Ian Lance Taylor  <iant@google.com>
52582         * math/libm-test.inc (lround_test): New testcase.
52583         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52585 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52587         * Makefile: Remove support for automatic cvs check-ins.
52588         * Makerules: Likewise.
52589         * config.make.in: Likewise.
52590         * configure.in: Likewise.
52591         * intl/Makefile: Likewise.
52592         * locale/Makefile: Likewise.
52593         * po/Makefile: Likewise.
52594         * posix/Makefile: Likewise.
52595         * sysdeps/gnu/Makefile: Likewise.
52596         * sysdeps/mach/hurd/Makefile: Likewise.
52597         * sysdeps/sparc/sparc32/Makefile: Likewise.
52599         [BZ #13118]
52600         * posix/Makefile (bug-regex32-ENV): Define.
52601         Patch by John Stanley <jpsinthemix@verizon.net>.
52603         * misc/Makefile (headers): Add bits/select2.h.
52604         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52605         * misc/bits/select2.h: New file.
52606         * include/bits/select2.h: New file.
52607         * debug/Makefile (routines): Add fdelt_chk.
52608         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52609         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52610         FD_ISSET.
52611         * debug/fdelt_chk.c: New file.
52613         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
52614         * wcsmbs/test-wmemcmp.c: Likewise.
52615         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52616         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52618 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52620         * string/Makefile (strop-tests): Add memcmp.
52621         * string/test-wmemcmp.c: New file.
52622         * string/test-memcmp.c: Add wmemcmp support.
52624 2011-09-08  Roland McGrath  <roland@hack.frob.com>
52626         [BZ #13153]
52627         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52628         2011-07-19 change.
52630         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52631         garbage value in a __mach_port_mod_refs call in the cases of the
52632         task-self and thread-self ports.
52634 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52636         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52638 2011-09-08  Andreas Schwab  <schwab@redhat.com>
52640         * elf/dl-load.c (lose): Check for non-null L.
52642 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52644         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52646         * elf/dl-libc.c (dlerror_run): Pass back error code from
52647         dl_catch_error.
52649         [BZ #13123]
52650         * elf/dl-load.c (lose): Free l_origin if it is valid.
52652         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52653         names.
52654         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52655         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52656         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52657         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52658         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52659         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52661 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52663         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52664         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52665         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52666         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52667         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52668         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52669         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52670         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52671         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52672         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52674 2011-08-15  Alan Modra  <amodra@gmail.com>
52676         [BZ #13092]
52677         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52678         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52679         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52680         ppc_mcount to static-only-routines.
52681         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52682         __mcount_internal.
52683         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52684         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52686 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52688         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52689         for finite and infinity parameters.
52691 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52693         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52694         and add nop instructions for throughput optimization.
52695         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52697 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52699         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52700         aligned copy for power7 with vector-scalar instructions.
52701         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52703 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52705         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52706         AVX check.
52708 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52710         [BZ #13144]
52711         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52712         last change.
52714 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52716         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52717         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52718         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52719         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52720         clock_gettime.
52722 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52724         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52725         Forgot to demangle the pointer.
52727         * sysdeps/i386/sysdep.h: Define atom_text_section.
52728         * sysdeps/x86_64/sysdep.h: Likewise.
52729         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52730         section with atom_text_section.
52731         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52732         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52733         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52734         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52735         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52737         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52738         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52739         already be defined.  Change to take two parameters and don't assign
52740         result to variable.  Adjust all users.
52741         Define INTERNAL_GETTIME if not already defined.
52742         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52743         call.
52744         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52745         HAVE_CLOCK_GETTIME_VSYSCALL.
52746         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52748         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52749         gettimeofday vsyscall, just use time.
52751 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52753         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52754         <errno.h>.
52756 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52758         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52759         syscall on x86-64.
52760         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52761         syscall.
52762         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52763         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52764         syscall if possible.
52766 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52768         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52769         e_ident.  Don't pass to find_mapsXX.
52770         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52772 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52775         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52776         * sysdeps/x86_64/multiarch/strchr.S: Update.
52777         Check bit_slow_BSF bit.
52778         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52779         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52780         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52782 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52784         [BZ #13134]
52785         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52786         before glibc 2.15.
52787         (tryshell): Define.
52788         (__spawni): Change last parameter to be flag.  Test
52789         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52790         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52791         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52792         * posix/spawni.c: Likewise.
52793         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52794         * posix/spawnp.c: Likewise.  Change normal version to use
52795         SPAWN_XFLAGS_USE_PATH.
52796         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52797         SPAWN_XFLAGS_TRY_SHELL.
52799         [BZ #13150]
52800         * posix/glob.h: Remove gcc 1.x support.
52802         [BZ #13068]
52803         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52805 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52807         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52808         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52809         strrchr-sse2-bsf
52810         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52811         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52812         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52813         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52814         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52815         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52817 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52819         * sysdeps/x86_64/wcscmp.S: New file.
52821         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52822         wcscmp-c wcscmp-sse2
52823         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52824         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52825         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52826         * wcsmbs/wcscmp.c: Allow renaming.
52828 2011-09-05  David S. Miller  <davem@davemloft.net>
52830         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52831         stack slot, rather than the struct return pointer slot.
52832         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52833         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52835         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52837 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52839         * po/ja.po: Update from translation team.
52841         [BZ #13144]
52842         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52843         kernel in 64-bit binaries.
52845 2011-09-01  David S. Miller  <davem@davemloft.net>
52847         * elf/elf.h (HWCAP_SPARC_*): Move to..
52848         * sysdeps/sparc/sysdep.h: this new file and add new values.
52849         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52850         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52851         _DL_HWCAP_COUNT to 24.
52852         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52853         entries.
52854         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52855         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52856         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52857         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52858         instead of magic constants.
52859         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52861 2011-08-31  David S. Miller  <davem@davemloft.net>
52863         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52864         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52865         Reimplement to do errno handling inline.
52866         (SYSCALL_ERROR_HANDLER): New macro.
52867         (__SYSCALL_STRING): Do not do errno handling in asm.
52868         (__CLONE_SYSCALL_STRING): Delete.
52869         (__INTERNAL_SYSCALL_STRING): Delete.
52870         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52871         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52872         (PSEUDO): Reimplement to do errno handling inline.
52873         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52874         (SYSCALL_ERROR_HANDLER): New macro.
52875         (__SYSCALL_STRING): Do not do errno handling in asm.
52876         (__CLONE_SYSCALL_STRING): Delete.
52877         (__INTERNAL_SYSCALL_STRING): Delete.
52878         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52879         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52880         i386.
52881         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52882         (inline_syscall*): Add 'err' argument.
52883         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52884         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52885         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52886         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52888         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52889         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52891 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52893         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52895 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52897         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52898         directive.
52900 2011-08-24  David S. Miller  <davem@davemloft.net>
52902         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52904 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52906         * elf/Makefile: Add rules to build and run unload8 test.
52907         * elf/unload8.c: New file.
52908         * elf/unload8mod1.c: New file.
52909         * elf/unload8mod1x.c: New file.
52910         * elf/unload8mod2.c: New file.
52911         * elf/unload8mod3.c: New file.
52913         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52914         it wasn't used.
52916 2011-08-23  David S. Miller  <davem@davemloft.net>
52918         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52919         subtract stack bias.
52920         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52921         %sp not %fp in calculations.
52922         (_JMPBUF_UNWINDS_ADJ): Likewise.
52924         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52925         (aio_suspend): Call it to force an exception region around the
52926         AIO_MISC_WAIT() invocation.
52928 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52930         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52931         backslash.
52933 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52935         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52936         protection macro.
52937         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52938         and <dl-machine.h>.
52939         (Elf64_FuncDesc): Remove.
52941 2011-08-22  David S. Miller  <davem@davemloft.net>
52943         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52944         sigaltstack check, add missing cfi directives.
52945         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52946         missing cfi directives, and sigaltstack handling.
52948 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52950         [BZ #11724]
52951         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52952         object is seen twice.
52953         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52955         * elf/Makefile (distribute): Add tst-initorder2.c.
52956         (tests): Add tst-initorder2.
52957         (modules-names): Add tst-initorder2a tst-initorder2b
52958         tst-initorder2c tst-initorder2d.  Add rules to build them.
52959         ($(objpfx)tst-initorder2.out): New rule.
52960         * elf/tst-initorder2.c: New file.
52961         * elf/tst-initorder2.exp: New file.
52963 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52965         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52967         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52968         dependencies back to end of function.
52970         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52971         $(elfobjdir)/ld.so.
52973 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52975         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52976         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52977         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52978         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52979         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52980         of __vdso_gettimeofday.
52981         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52982         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52983         attribute_hidden.
52984         (_libc_vdso_platform_setup): Remove initialization of
52985         __vdso_gettimeofday and __vdso_time.
52987 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52989         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52990         and fgetc_unlocked.
52991         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52992         getc_unlocked.
52994         * elf/dl-open.c (add_to_global): Report additions to the global scope
52995         for LD_DEBUG=scopes.
52996         (dl_open_worker): Also print scope of newly loaded dependencies.
52997         (_dl_show_scope): Indicate if there is no scope.
52999         [BZ #13114]
53000         * stdio-common/Makefile (tests): Add bug24.
53001         * stdio-common/bug24.c: New file.
53003 2011-08-19  Andreas Jaeger  <aj@suse.de>
53005         [BZ #13114]
53006         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53007         non-existant file when using close-on-exec mode.
53009 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
53011         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53012         the very first instruction.
53014         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53015         the CFI state in the end.
53016         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53017         inclusion of dl-trampoline.h.
53018         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53020 2011-08-19  Andreas Schwab  <schwab@redhat.com>
53022         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53023         expectations for long double.
53025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53026         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53028 2011-08-14  David S. Miller  <davem@davemloft.net>
53030         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53031         artificual limit depends upon the system page size.
53033 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53035         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53036         * resolv/Makefile: Define CFLAGS-libresolv.
53038 2011-08-17  Andreas Schwab  <schwab@redhat.com>
53040         * nss/makedb.c (compute_tables): Make variables used in nested
53041         function static.
53043 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53045         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53046         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53047         if buffer was too small.
53049         * elf/pldd.c (main): Attach to all threads in the process.
53050         Rewrite /proc handling to use *at functions.
53052 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
53054         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53055         specifies first scope to show.
53056         (dl_open_worker): Update callers.  Move printing scope of new
53057         object to before the relocation.
53058         * elf/rtld.c (dl_main): Update _dl_show_scope call.
53059         * sysdeps/generic/ldsodefs.h: Update declaration.
53061         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53062         string for the scope number.
53064 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
53066         * nscd/servicescache.c (cache_addserv): Make sure written is always
53067         initialized.
53069 2011-08-14  Roland McGrath  <roland@hack.frob.com>
53071         * sysdeps/i386/i486/bits/atomic.h
53072         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53073         statement expression, so as to suppress "set but not used" warning.
53074         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53076         * string/strncat.c (STRNCAT): Use prototype definition.
53078         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53079         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53080         -Iprograms here.
53081         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53082         (localedef-modules): Add localedef.
53083         (locale-modules): Add locale.
53085         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53086         * elf/rtld.c (dl_main): Invert order of assignment in last change,
53087         to avoid a warning.
53089 2011-08-14  David S. Miller  <davem@davemloft.net>
53091         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53092         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53094 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
53096         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53097         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53098         * elf/rtld.c (dl_main): Set l_name of vDSO.
53099         Call _dl_show_scope when DL_DEBUG_SCOPES.
53100         (process_dl_debug): Recognize scopes flag and also set it for all.
53101         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53102         Declare _dl_show_scope.
53104         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53105         (do_dlopen): Pass caller_dlopen to dl_open.
53106         (__libc_dlopen_mode): Initialize caller_dlopen.
53108         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53109         of libc.  Make tolower call locale-independent.  Optimize a bit by
53110         using isdigit instead of isalnum.
53111         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53113 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
53115         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53116         was a dependency or dynamically loaded.
53118 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
53120         * intl/l10nflist.c: Allow architecture-specific pop function.
53121         * sysdeps/x86_64/l10nflist.c: New file.
53123         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53124         classification.
53126 2011-08-10  Andreas Schwab  <schwab@redhat.com>
53128         * include/dirent.h: Add libc_hidden_proto for scandirat and
53129         scandirat64.  Don't declare __scandirat64.
53130         * dirent/scandirat.c: Add libc_hidden_def.
53131         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53132         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53134 2011-08-10  David S. Miller  <davem@davemloft.net>
53136         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53137         enum.
53138         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53139         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53140         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53142 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
53144         * Versions.def [libc]: Add GLIBC_2.15.
53145         * dirent/Makefile (routines): Add scandirat and scandirat64.
53146         * dirent/Versions [libc]: Export scandirat and scandirat64 for
53147         GLIBC_2.15.
53148         * dirent/dirent.h: Declare scandirat and scandirat64.
53149         * dirent/scandirat.c: New file.
53150         * dirent/scandirat64.c: New file.
53151         * sysdeps/wordsize-64/scandirat.c: New file.
53152         * sysdeps/wordsize-64/scandirat64.c: New file.
53153         * dirent/opendir.c: Define opendirat.
53154         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
53155         using scandirat.
53156         * dirent/scandir64.c: Adjust for scandir.c change.
53157         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
53158         __scandirat64, and __scandir_cancel_handler.
53159         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
53160         additional parameter and use openat instead of open (outside of ld.so).
53161         Add new __opendir as wrapper around __opendirat.
53162         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53163         here without requiring old scandirat implementation.
53165 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
53167         * dirent/scandir.c (cancel_handler): Renamed to
53168         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
53169         defined.  Adjust users.
53170         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53171         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53173 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
53175         * string/test-string.h (IMPL): Use __STRING to expand name and then
53176         stringify it.
53178         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
53179         of cleanups.
53181 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53183         * string/Makefile: Update.
53184         (strop-tests): Append strncat.
53185         * string/test-wcscmp.c: New file.
53186         New comprehensive test for wcscmp.
53187         * string/test-strcmp.c: Update.
53188         (WIDE): New define.
53190 2011-07-22  Andreas Schwab  <schwab@redhat.com>
53192         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53193         line.
53195 2011-07-26  Andreas Schwab  <schwab@redhat.com>
53197         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53198         encoding to ACE if AI_IDN.
53200 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
53202         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53203         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53205 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53207         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53208         Fix overflow bug in strncat.
53209         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53211         * string/test-strncat.c: Update.
53212         Add new tests for checking overflow bugs.
53214 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53216         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53217         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53218         * sysdeps/i386/i686/multiarch/strcat.S: New file.
53219         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53220         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53221         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53222         * sysdeps/i386/i686/multiarch/strncat.S: New file.
53223         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53224         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53226         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53227         (USE_AS_STRCAT): Define.
53228         Add strcat and strncat support.
53229         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53231 2011-07-25  Andreas Schwab  <schwab@redhat.com>
53233         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53234         __n bigger than INT_MAX+1.
53235         (__strncmp_g): Likewise.
53237 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
53239         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53240         * libio/stido.h: Likewise.
53242         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53243         (AF_NFC): Define.
53244         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53245         (AF_NFC): Define.
53247         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53248         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53249         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53250         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53251         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53253         [BZ #13021]
53254         * scripts/test-installation.pl: Don't expect libnss_test1 to be
53255         installed.
53257         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53258         typo.
53259         (_dl_x86_64_save_sse): Likewise.
53261 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
53263         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53264         OSXSAVE.
53265         (_dl_x86_64_save_sse): Likewise.
53267         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53269         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53271 2011-07-21  Andreas Schwab  <schwab@redhat.com>
53273         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53274         change.
53275         (_dl_x86_64_save_sse): Use correct AVX check.
53277 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53279         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53280         bug in strncpy/strncat.
53281         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53283 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
53285         * string/tester.c (test_strcat): Add tests for different alignments
53286         of source and destination.
53287         (test_strncat): Likewise.
53289 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53291         [BZ #12852]
53292         * posix/glob.c (glob): Check passed in values before using them in
53293         expressions to avoid some overflows.
53294         (glob_in_dir): Likewise.
53296         [BZ #13007]
53297         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53298         check for AVX enablement so that we don't crash with old kernels and
53299         new hardware.
53300         * elf/tst-audit4.c: Add same checks here.
53301         * elf/tst-audit6.c: Likewise.
53303         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53305 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
53307         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53309 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53311         * po/cs.po: Update from translation team.
53312         * po/bg.po: Likewise.
53314 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
53316         * misc/sys/cdefs.h: Add support for const attribute.
53317         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53318         to gnu_dev_{major,minor,makedev} functions.
53320 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
53322         * intl/dcigettext.c (get_output_charset): Add missing bracket.
53324 2011-07-20  Andreas Schwab  <schwab@redhat.com>
53326         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53327         strlen results.
53329 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53331         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53332         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53333         register in order to avoid conflicts with the soft frame pointer
53334         being held in r11 when necessary.
53335         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53336         (INTERNAL_VSYSCALL_NCS): Likewise.
53338 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
53340         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53341         * elf/dl-fini.c (_dl_fini): Adjust caller.
53342         * elf/dl-close.c (_dl_close_worker): Likewise.
53343         * sysdeps/generic/ldsodefs.h: Adjust declaration.
53345 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53347         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53348         "aux_cache->nlibs < 0".
53350         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53351         in the reload-count case.
53353 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53356         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53357         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53358         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53359         * sysdeps/x86_64/multiarch/strcat.S: New file.
53360         * sysdeps/x86_64/multiarch/strncat.S: New file.
53361         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53362         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53363         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53364         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53365         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53366         (USE_AS_STRCAT): Define.
53367         Add strcat and strncat support.
53368         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53369         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53370         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53371         * string/strncat.c: Update.
53372         (USE_AS_STRNCAT): Define.
53373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53374         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53375         and i7.
53376         * sysdeps/x86_64/multiarch/init-arch.h
53377         (bit_Prefer_PMINUB_for_stringop): New.
53378         (index_Prefer_PMINUB_for_stringop): Likewise.
53379         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53380         bit_Prefer_PMINUB_for_stringop.
53382 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53384         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53385         buffer64.
53386         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53387         of casting of buffer.
53388         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53389         buffer32 and buffer64.
53390         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53391         writes instead of casting of buffer.
53392         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53393         buffer32.
53394         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53395         casting of buffer.
53397 2011-07-19  Andreas Schwab  <schwab@redhat.com>
53399         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53401 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53403         * nscd/nscd.c (termination_handler): Don't do anything for a database
53404         if it has not yet been initialized.
53406 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53408         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53410 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53412         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53414 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53416         * po/nl.po: Update from translation team.
53417         * po/sv.po: Likewise.
53419 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53421         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53422         now disallowed by GCC.
53424         * configure.in (use-default-link): Default to yes if a test -shared
53425         link meets our qualifications.
53426         * configure: Regenerated.
53428         * config.make.in (output-format): New variable.
53429         * configure.in: Check for ld --print-output-format support.
53430         * configure: Regenerated.
53431         * Makerules ($(common-objpfx)format.lds)
53432         [$(output-format) != unknown]: Just use $(output-format),
53433         instead of the linker-script munging.
53435 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53437         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53438         of $(common-objpfx)shlib.lds.
53439         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53441         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53442         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53444         * configure.in (-z relro check): Adjust test code to add a large
53445         writable data section after it.
53446         * configure: Regenerated.
53448 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53450         * configure.in (-z relro check): Fix test code to make the variable
53451         truly const.
53452         * configure: Regenerated.
53454 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53456         * nscd/nscd.h (struct traced_file): Define.
53457         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53458         elements.  Add traced_files.
53459         (inotify_fd): Declare.
53460         (register_traced_file): Declare.
53461         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53462         (inotify_fd): Export.
53463         (resolv_conf_descr): Remove.
53464         (nscd_init): Move inotify descriptor creation to main.
53465         Don't register files for notification here.
53466         (register_traced_file): New function.
53467         (invalidate_cache): Don't use reset_res to determine whether to call
53468         res_init, go through the list of registered files.
53469         (main_loop_poll): The inotify descriptors are now stored in the
53470         structures for the traced files.
53471         (main_loop_epoll): Likewise
53472         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53473         to __nss_disable_nscd.
53474         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53475         for a database anymore.  Check the records for all the registered
53476         files instead.
53477         * nss/Makefile (libnss_files-routines): Add files-init.
53478         (libnss_db-routines): Add db-init.
53479         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53480         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53481         * nss/nss_db/db-init.c: New file.
53482         * nss/nss_files/files-init.c: New file.
53483         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53484         __nss_lookup_function.
53485         (__nss_lookup_function): Call nss_load_library.
53486         (nss_load_all_libraries): New function.
53487         (__nss_disable_nscd): Take parameter with callback function for files
53488         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53489         used for the cached services.
53490         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53491         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53492         options for features to all the files in nscd.
53494         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53496 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53498         * csu/elf-init.c (__libc_csu_init): Comment typo.
53500 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53502         * po/pl.po: Update from translation team.
53503         * po/ja.po: Likewise.
53504         * po/ru.po: Likewise.
53505         * po/ko.po: Likewise.
53506         * po/fr.po: Likewise.
53508 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53510         * configure.in (.ctors/.dtors header and trailer check):
53511         Use an empirical test on a built program.
53512         * configure: Regenerated.
53514         * configure.in (-z relro check): Use an empirical test on a built DSO.
53515         Detect, but do not require, on ia64.
53516         * configure: Regenerated.
53518         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53519         Update tests that use readelf to use $READELF instead.
53520         * configure: Regenerated.
53522 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53524         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53525         if the result is not used.
53527 2011-07-05  Andreas Jaeger  <aj@suse.de>
53529         [BZ#9696]
53530         * stdlib/tst-strtod.c: Add testcase.
53532 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53534         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53535         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53536         The latter has a higher limit.  Take additional parameter to pass to
53537         the new function.
53538         (__pathconf): Pass file to __statfs_link_max.
53539         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53540         __statfs_link_max.
53541         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53542         __statfs_link_max.
53544         [BZ #12868]
53545         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53546         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53547         Handle Lustre.
53548         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53549         (__statfs_filesize_max): Likewise.
53550         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53552 2011-07-05  Andreas Jaeger  <aj@suse.de>
53554         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53556 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53558         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53559         `status' variable.
53560         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53561         Likewise.
53563 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53565         * Makefile (strop-tests): Add strncat.
53566         * string/test-strncat.c: New file.
53568 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53570         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53572 2011-06-21  Andreas Jaeger  <aj@suse.de>
53574         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53575         Copy rule from iconvdata/Makefile.
53577 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53579         [BZ #12922]
53580         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53581         but no long options are defined, just return 'W'.
53583 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53585         [BZ #9696]
53586         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53588 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53590         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53591         netgroups to read.
53592         (innetgr): Likewise.
53594 2011-07-05  Roland McGrath  <roland@hack.frob.com>
53596         * config.make.in (install_root): Default to $(DESTDIR).
53598 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
53600         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53602 2011-07-02  Roland McGrath  <roland@hack.frob.com>
53604         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53606         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53607         containing directory rather than embedding absolute directory names.
53609         * scripts/check-local-headers.sh: Rewritten using awk.
53610         Match by word, not by line.  Print error messages for matches.
53611         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53613         * Makerules [shlib-lds-flags empty]:
53614         ($(common-objpfx)libc_pic.opts): New target.
53615         ($(common-objpfx)libc_pic.os.clean): New target.
53616         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53618         * config.make.in (OBJCOPY): New variable.
53619         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53620         * configure: Regenerated.
53622         * config.make.in (use-default-link): New variable.
53623         * configure.in (use_default_link): Grok --with-default-link to set it.
53624         * configure: Regenerated.
53625         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53626         (shlib-lds, shlib-lds-flags): Define to empty.
53628         * Makerules (shlib-lds): New variable.
53629         (shlib-lds-flags): New variable.
53630         (build-shlib, build-moduile, build-module-asneeded): Use it.
53631         ($(common-objpfx)libc.so): Use $(shlib-lds).
53632         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53633         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53635         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53636         DT_FLAGS/DT_FLAGS_1 with zero flags.
53638         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53639         linker script munging.
53641 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
53643         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53644         as 128-bit value.
53645         * crypt/sha512.c (sha512_process_block): Perform total addition using
53646         128-bit if possible.
53647         (__sha512_finish_ctx): Likewise.
53648         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53649         as 64-bit value.
53650         * crypt/sha256.c (SWAP64): Define.
53651         (sha256_process_block): Perform total addition using 64-bit if
53652         possible.
53653         (__sha256_finish_ctx): Likewise.
53655 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
53657         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
53658         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53659         * nscd/hstcache.c (cache_addhst): Likewise.
53660         * nscd/grpcache.c (cache_addgr): Likewise.
53661         * nscd/aicache.c (addhstaiX): Likewise
53662         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53664 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53666         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53667         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53668         * nscd/hstcache.c (cache_addhst): Likewise.
53669         * nscd/grpcache.c (cache_addgr): Likewise.
53670         * nscd/aicache.c (addhstaiX): Likewise
53672 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53674         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53675         domain only when needed.
53677 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53679         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53680         is always restored.
53682 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53684         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53685         are re-adding the entry.
53686         * nscd/servicescache.c (cache_addserv): Likewise.
53688 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53690         * sysdeps/generic/dl-irel.h: fix protection against multiple
53691         inclusions.
53692         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53694 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53696         [BZ #12935]
53697         * malloc/memusage.sh: Fix quoting in message.
53698         * debug/xtrace.sh: Likewise.
53700         * configure.in: Remove support for --experimental-malloc option, make
53701         it the default.
53702         * config.make.in: Likewise.
53703         * malloc/Makefile: Likewise.
53705 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53707         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53708         two-byte characters.
53710 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53712         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53713         AC_CACHE_CHECK invocation.
53714         * configure: Regenerated.
53716         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53718 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53720         [BZ #12350]
53721         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53722         bit from old_res_options.
53724         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53726         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53727         value type for setfct.
53729 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53731         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53732         __gettimeofday instead of gettimeofday.
53734 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53736         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53738 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53740         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53742         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53743         info.
53745 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53748         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53749         strcpy-sse2-unaligned strncpy-sse2-unaligned
53750         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53751         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53752         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53753         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53754         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53755         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53756         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53757         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53758         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53759         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53760         (STRCPY): Support SSE2 and SSSE3 versions.
53762 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53764         [BZ #12874]
53765         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53766         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53767         kernels which artificially limit size of requests.
53769 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53771         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53772         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53773         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53774         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53775         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53776         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53777         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53778         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53779         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53780         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53781         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53782         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53783         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53784         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53785         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53786         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53787         Enable unaligned load optimization for Intel Core i3, i5 and i7
53788         processors.
53789         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53790         Define.
53791         (index_Fast_Unaligned_Load): Define.
53792         (HAS_FAST_UNALIGNED_LOAD): Define.
53794 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53796         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53798 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53800         [BZ #12907]
53801         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53802         until it is clear that the information is realy needed.
53803         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53805 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53809 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53811         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53812         /sys/devices/system/cpu/online if it is usable.
53814         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53815         reading the information from the /proc filesystem to once a second.
53817 2011-06-21  Andreas Jaeger  <aj@suse.de>
53819         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53820         NULL after inclusion of kernel headers.
53822 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53824         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53825         calls to internal_setent.
53827         [BZ #12885]
53828         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53829         addresses using gethostbyname4_r ignore IPv4 addresses.
53831         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53832         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53834         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53836 2011-06-20  David S. Miller  <davem@davemloft.net>
53838         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53839         inclusions.
53840         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53842         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53843         (elf_irel): Use it.
53844         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53845         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53846         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53847         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53848         * sysdeps/x86_64/dl-irel.h: Likewise.
53850         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53851         * elf/dl-sym.c: Likewise.
53853 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53855         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53856         need to dereference resplen2.
53858 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53860         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53862 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53864         * Makeconfig: Define vardbdir and inst_vardbdir.
53865         * nss/Makefile: Add rules to install db-Makefile.
53867         * nss/nss_db/db-XXX.c: Cleanup.
53869         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53870         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53871         GLIBC_PRIVATE.
53872         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53873         * nss/makedb.c: Implement -g option to specify that value strings
53874         are generated and should not be added to table iterated over for
53875         get*ent calls.
53876         * nss/nss_db/db-initgroups.c: New file.
53878         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53879         interface.
53881         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53882         (internal_getgrouplist): Adjust to name change.
53883         Update use_initgroups_entry if this is not the first call.
53884         * nss/databases.def: Add initgroups entry.
53886         * nss/makedb.c (compute_tables): Check result of multiple hash table
53887         sizes to minimize maximum chain length.
53889 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53891         * Versions.def: Add entry for libnss_db.
53892         * shlib-versions: Likewise.
53893         * nss/Makefile: Add rules to build libnss_db.
53894         * nss/Versions: Add libnss_db information.  Organize libnss_files
53895         entries better.
53896         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53897         makedb progra.  Some minor improvements to generate smaller files.
53898         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53899         here from...
53900         * nss/makedb.c: ...here.
53901         Improve database format to be smaller and require less memory at
53902         runtime.
53903         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53904         db anymore.
53905         * nss/nss_db/db-netgrp.c: Likewise.
53906         * nss/nss_db/db-open.c: Likewise.
53907         * nss/nss_files/flies-XXX.x: Adjust comments.
53908         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53909         * nss/nss_files/files-grp.c: Likewise.
53910         * nss/nss_files/files-hosts.c: Likewise.
53911         * nss/nss_files/files-network.c: Likewise.
53912         * nss/nss_files/files-proto.c: Likewise.
53913         * nss/nss_files/files-pwd.c: Likewise.
53914         * nss/nss_files/files-rpc.c: Likewise.
53915         * nss/nss_files/files-service.c: Likewise.
53916         * nss/nss_files/files-sgrp.c: Likewise.
53917         * nss/nss_files/files-spwd.c: Likewise.
53918         * nss/nss_db/db-alias.c: Removed.
53919         * nss/nss_db/dummy-db.h: Removed.
53921 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53923         * nss/makedb.c: Rewritten to not use database library.
53924         * nss/Makefile: Update to build new makedb program.
53926 2011-06-14  Andreas Jaeger  <aj@suse.de>
53928         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53929         memset declaration.
53931 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53934         tmpbuf.
53936 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53938         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53939         * elf/Makefile ($(objpfx)ld.so): Likewise.
53941         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53942         Don't list ld.so twice in dependencies.
53944         * posix/bug-regex31.c: Include <stdlib.h>.
53946         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53948         * nis/nss_compat/compat-spwd.c
53949         (getspent_next_nss_netgr): Remove unused variable.
53950         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53952         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53953         nonmembers" output to use the right array.
53955         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53957         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53959         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53960         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53961         * catgets/gencat.c (read_input_file): Likewise.
53962         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53964         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53965         variable definition inside #if's controlling its use.
53967         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53969         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53971         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53973         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53974         unreachable code.
53976         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53978         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53979         * configure: Regenerated.
53981         * Makerules: Revert last change.
53982         * elf/Makefile: Likewise.
53984 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53986         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53987         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53988         (reloc-link): Likewise.
53990 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53992         * elf/Makefile: Add rules to build pldd.
53993         * elf/pldd.c: New file.
53994         * elf/pldd-xx.c: New file.
53996 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53998         * version.h: Update for 2.15 development version.
54000 2011-06-07  David S. Miller  <davem@davemloft.net>
54002         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54003         ifuncs.
54004         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54005         elf_machine_lazy_rel): Likewise.
54006         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54007         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54008         elf_machine_lazy_rel): Likewise.
54009         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54010         dl_hwcap via passed in argument.
54011         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54012         Likewise.
54014 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54016         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
54018 2011-06-06  Roland McGrath  <roland@hack.frob.com>
54020         [BZ #12849]
54021         * manual/fdl-1.1.texi: New file, verbatim from:
54022         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54023         * manual/lgpl-2.1.texi: New file, verbatim from:
54024         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54025         * manual/Makefile (licenses): New variable, list those new file names.
54026         (texis): Use it.
54027         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54029         * manual/fdl.texi: File removed.
54030         * manual/lesser.texi: File removed.
54031         * manual/libc.texinfo (Copying, Documentation License):
54032         Use new @include file names, put @appendix directive before @include.
54034 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
54036         [BZ #12841]
54037         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54038         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54039         (mq_open): Add __NTH.
54041 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
54043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54044         Assume Intel Core i3/i5/i7 processor if AVX is available.
54046 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54048         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54049         typo.
54051 2011-05-31  Andreas Schwab  <schwab@redhat.com>
54053         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54054         memory.  Use alloca_account.  Fix memory leak when retrying.
54056 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54058         * version.h (RELEASE): Bump for 2.14 release.
54059         * include/features.h (__GLIBC_MINOR__): Bump to 14.
54061         * config.make.in (RANLIB): Remove entry.
54063 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
54065         * po/Makefile (po-sed-cmd): Add ksh to extensions.
54066         (libc.pot): Work around missing support for .ksh extension in xgettext.
54068         [BZ #12684]
54069         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54070         if both request failed.
54071         (send_dg): In case of server errors clear resplen or *resplen2.
54073         [BZ #12454]
54074         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54075         when there are multiple maps.
54076         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54077         (_dl_fini): Remove test here.
54079         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54081 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
54083         [BZ #12350]
54084         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54085         bit from old_res_options.
54086         (gaih_inet): Likewise.
54088         [BZ #11099]
54089         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54090         as signed.
54092         * resolv/res_init.c (res_setoptions): Make the code more compact.
54094         [BZ #11558]
54095         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54096         set RES_USEVC.
54098         [BZ #11634]
54099         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54101         * malloc/malloc.h: Mark malloc hook variables as deprecated.
54103         [BZ #11781]
54104         * malloc/malloc.h: Declare malloc hook variables as volatile.
54106         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54107         in last patch.
54109         [BZ #11799]
54110         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54111         raise in the comment.
54112         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54113         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54114         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54116 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
54118         [BZ #12811]
54119         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54120         grow the buffers more if it already has to be sufficient.
54121         (build_wcs_upper_buffer): Likewise.
54122         * posix/regexec.c (check_matching): Likewise.
54123         (clean_state_log_if_needed): Likewise.
54124         (extend_buffers): Don't enlarge buffers beyond size of the input
54125         buffer.
54126         Patches mostly by Emil Wojak <emil@wojak.eu>.
54127         * posix/bug-regex32.c: New file.
54128         * posix/Makefile (tests): Add bug-regex32.
54130         * locale/findlocale.c (_nl_find_locale): Return right away if
54131         _nl_explode_name failed.
54132         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54134         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54136         * debug/xtrace.sh: Unify messages.
54137         * malloc/memusage.sh: Likewise.
54139         [BZ #12813]
54140         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54141         time symbol from vDSO.  Substitute with vsyscall if not available.
54142         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54143         __vdso_time.
54145         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54146         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54147         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54148         Add sendmmsg and internal_sendmmsg.
54149         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54150         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54151         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54153         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54154         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54155         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54157 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
54159         [BZ #12813]
54160         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54161         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
54162         available.
54163         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54164         __vdso_getcpu.
54166         [BZ #12814]
54167         * iconvdata/Makefile (tests): Add bug-iconv9.
54168         * iconvdata/bug-iconv9.c: New file.
54170 2011-05-27  Andreas Schwab  <schwab@redhat.com>
54172         [BZ #12814]
54173         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54175 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
54177         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54178         (struct user_regs_struct): Change intcs field back to cs.
54180 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
54182         * po/ja.po: Update from translation team.
54184 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
54186         [BZ #12795]
54187         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54188         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54190 2011-05-20  Andreas Schwab  <schwab@redhat.com>
54192         * stdlib/longlong.h: Update from GCC.
54194 2011-05-23  Andreas Schwab  <schwab@redhat.com>
54196         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54197         parameter name.
54198         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54199         Add parameter name.
54200         (__sysconf): Pass it down.
54202 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
54204         [BZ #12671]
54205         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54206         some situations.
54207         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54208         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54209         add in in __libc_use_alloca calls.  Adjust callers.
54210         (glob): Use malloc in some situations.
54212         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54213         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54214         pltexit.
54216 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
54218         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54219         and CLOCK_BOOTTIME_ALARM.
54221         [BZ #12782]
54222         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54223         is returned.
54225         * string/_strerror.c (__strerror_r): Print negative errors as signed
54226         numbers.
54228         [BZ #12777]
54229         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54230         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54231         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54233         * configure.in: Fix typo in redirection and correct removal of test
54234         files in two cases.
54236         [BZ #12788]
54237         * locale/setlocale.c (new_composite_name): Fix test to check for
54238         identical name of all categories.
54240         [BZ #12792]
54241         * libio/filedoalloc.c (local_isatty): New function.
54242         (_IO_file_doallocate): Use local_isatty.
54243         * stdio-common/perror.c (perror): In case a new stream is used
54244         forward the stream error.
54245         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54246         error flag.
54248 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
54250         [BZ #11869]
54251         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54252         alloca.
54253         * include/alloca.h (extend_alloca_account): Define.
54255         [BZ #11857]
54256         * posix/regex.h: Fix comments with documentation of user-accessible
54257         fields after compilation and describe correct free'ing of pattern
54258         after re_compile_pattern.
54259         Patch by Reuben Thomas <rrt@sc3d.org>.
54261 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
54263         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54264         and -mno-altivec to prevent the compiler from using Altivec and/or
54265         VSX instructions when the corresponding registers are not available.
54267 2011-05-19  Andreas Schwab  <schwab@redhat.com>
54269         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54271 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
54273         * libio/freopen.c (freopen): Use __dup2, not dup2.
54274         * libio/freopen64.c (freopen64): Likewise.
54276 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54278         [BZ #12775]
54279         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54280         * math/Makefile (tests): Add test-powl.
54281         (CFLAGS-test-powl.c): Define.
54282         * math/test-powl.c: New file.
54284 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54286         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54288 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
54290         [BZ #11837]
54291         * iconvdata/gb18030.c: Update to GB18020-2005.
54293 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
54295         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54296         RE_SYNTAX_POSIX_AWK): Update to match recent development.
54297         Patch by Aharon Robbins <arnold@skeeve.com>.
54299         [BZ #11892]
54300         * stdlib/putenv.c (putenv): Don't always create copy of the variable
54301         on the stack.
54303         [BZ #11895]
54304         * misc/pselect.c (__pselect): Handle timeout value errors hidden
54305         through underflows.
54307         [BZ #12766]
54308         * misc/error.c (error_at_line): Ensure file_name and old_file_name
54309         point to strings before performing equality test for error_one_per_line
54310         mode.
54312         [BZ #11697]
54313         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54315         [BZ #11820]
54316         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54317         (struct user_fpregs_struct): Avoid __uint*_t types.
54319         [BZ #6420]
54320         * malloc/mtrace.c (tr_where): Add additional parameter to point to
54321         symbol info.  Use it instead of calling _dl_addr locally.
54322         (lock_and_info): New function.
54323         (tr_freehook): Call lock_and_info and pass symbol info as additional
54324         parameter to tr_where.
54325         (tr_mallochook): Likewise.
54326         (tr_reallochook): Likewise.
54327         (tr_memalignhook): Likewise.
54329         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
54330         used and couldn't be at all thread-safe.
54332 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
54334         * libio/freopen.c (freopen): Don't close old file descriptor
54335         before the new one is opened.  Instead dup the new file descriptor
54336         to the old one after the new stream is created.
54337         * libio/freopen64.c (freopen64): Likewise.
54338         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54339         * libio/fileops.c (_IO_new_file_close_it): Handle new
54340         _IO_FLAGS2_NOCLOSE flag.
54341         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54342         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54343         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54344         _IO_FLAGS2_NOCLOSE flag.
54345         * include/unistd.h: Add hidden_proto for dup3.
54346         Define __have_dup3.
54347         * io/dup3.c: Define hidden symbol.
54348         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54350         [BZ #7101]
54351         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54352         when an incomplete long option is used.
54353         * posix/tst-getopt_long1.c: New file.
54354         * posix/Makefile (tests): Add tst-getopt_long1.
54356         [BZ #10138]
54357         * scripts/config.guess: Update from autoconf-2.68.
54358         * scripts/config.sub: Likewise.
54360         [BZ #10157]
54361         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54362         tests into ...
54363         (has_cpuclock): ...this.  New function.
54364         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54365         macro here based on has_cpuclock code.
54367         [BZ #10149]
54368         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54369         First byte (not low byte) is now always NUL.
54370         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54372         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54373         Use non-cancelable interfaces.
54375         [BZ #9809]
54376         * locale/iso-639.def: Add entry for Sorani.
54378         [BZ #11901]
54379         * include/stdlib.h: Move include protection to the right place.
54380         Define abort_msg_s.  Declare __abort_msg with it.
54381         * stdlib/abort.c (__abort_msg): Adjust type.
54382         * assert/assert.c (__assert_fail_base): New function.  Majority
54383         of code from __assert_fail.  Allocate memory for __abort_msg with
54384         mmap.
54385         (__assert_fail): Now call __assert_fail_base.
54386         * assert/assert-perr.c: Remove bulk of implementation.  Use
54387         __assert_fail_base.
54388         * include/assert.hL Declare __assert_fail_base.
54389         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54390         mmap.
54391         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54393 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
54395         [BZ #11952]
54396         [BZ #12453]
54397         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54398         until all modules are registered in the DTV.
54399         * elf/Makefile: Add rules to build and run tst-tls19.
54400         * elf/tst-tls19.c: New file.
54401         * elf/tst-tls19mod1.c: New file.
54402         * elf/tst-tls19mod2.c: New file.
54403         * elf/tst-tls19mod3.c: New file.
54404         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54406         [BZ #12083]
54407         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54408         correctly.
54410         [BZ #12601]
54411         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54412         two-byte sequence errors.
54413         * iconvdata/Makefile (tests): Add bug-iconv8.
54414         * iconvdata/bug-iconv8.c: New file.
54416         [BZ #12626]
54417         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54418         buf2 definition.
54420         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54422         [BZ #12432]
54423         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54424         (dummy_getcfa): New function.
54425         (init): Get _Unwind_GetCFA address, use dummy if not found.
54426         (backtrace_helper): In recursion check, also check whether CFA changes.
54427         (__backtrace): Completely initialize arg.
54429         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54430         storing incomplete byte sequence in state object.  Avoid testing for
54431         guaranteed too small input if we know there is enough data available.
54433 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54435         * Makeconfig (+link-pie): Indent.
54436         * Rules (binaries-pie): Define if $(have-fpie) and
54437         $(build-shared).
54438         (binaries-shared): Also filter out $(binaries-pie).
54439         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54440         * nscd/Makefile (others-pie): Add nscd.
54441         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54442         ($(objpfx)nscd): Remove command override.
54443         * login/Makefile (others-pie): Add pt_chown.
54444         ($(objpfx)pt_chown): Remove command override.
54445         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54446         remove command overrides.
54448 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54450         * libio/tst_putwc.c: Fix error messages.
54452         [BZ #12724]
54453         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54454         currently writing and seek to current position when not.
54455         * libio/Makefile (tests): Add bug-fclose1.
54456         * libio/bug-fclose1.c: New file.
54458 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54460         [BZ #12511]
54461         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54462         don't set DF_1_NODELETE here.
54463         (do_lookup_x): When entering new entry test for copy relocation
54464         and if necessary set DF_1_NODELETE flag.
54465         * elf/tst-unique4.cc: New file.
54466         * elf/tst-unique4.h: New file.
54467         * elf/tst-unique4lib.cc: New file.
54468         * elf/Makefile: Add rules to build and run tst-unique4.
54469         Patch by Piotr Bury <pbury@goahead.com>.
54471 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54473         [BZ #12052]
54474         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54476         [BZ #12625]
54477         * misc/mntent_r.c (addmntent): Flush the stream after the output
54479         [BZ #12393]
54480         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54481         (is_trusted_path_normalize): Skip initial colon.  Append slash
54482         to empty buffer.  Duplicate is_trusted_path code but allow
54483         constructed patch to be prefix.
54484         (is_dst): Allow $ORIGIN followed by /.
54485         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54486         Correct testing of result of is_trusted_path_normalize
54487         (decompose_rpath): Fix warning.
54489 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54491         [BZ #11257]
54492         * grp/initgroups.c (internal_getgrouplist): When we found the service
54493         list through the initgroups entry in nsswitch.conf do not always
54494         continue on a successful lookup.  Don't always use the
54495         __nss_group_database value if it is set.
54496         * nss/nsswitch.conf (initgroups): Change action for successful db
54497         lookup to continue for compatibility.
54499 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54501         [BZ #11532]
54502         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54503         and CP774 modules.
54504         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54505         and CP774 modules.
54506         * iconvdata/tst-tables.sh: Likewise.
54507         * iconvdata/cp770.c: New file.
54508         * iconvdata/cp771.c: New file.
54509         * iconvdata/cp772.c: New file.
54510         * iconvdata/cp773.c: New file.
54511         * iconvdata/cp774.c: New file.
54512         * iconvdata/testdata/CP770: New file.
54513         * iconvdata/testdata/CP770..UTF8: New file.
54514         * iconvdata/testdata/CP771: New file.
54515         * iconvdata/testdata/CP771..UTF8: New file.
54516         * iconvdata/testdata/CP772: New file.
54517         * iconvdata/testdata/CP772..UTF8: New file.
54518         * iconvdata/testdata/CP773: New file.
54519         * iconvdata/testdata/CP773..UTF8: New file.
54520         * iconvdata/testdata/CP774: New file.
54521         * iconvdata/testdata/CP774..UTF8: New file.
54523         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54524         END CHARMAP line.
54525         * iconvdata/gen-8bit-gap.sh: Likewise.
54526         * iconvdata/gen-8bit.sh: Likewise.
54528         * locale/iso-639.def: Add ary entry.
54530         [BZ #11258]
54531         * locale/C-translit.h.in: Add U20A1 transliteration.
54533         [BZ #12178]
54534         * locale/iso-639.def: Add wae entry.
54535         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54537         [BZ #12545]
54538         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54539         for n.
54541         [BZ #12711]
54542         * locale/C-translit.h.in: Add entry for U20B9.
54543         Patch by pravin.d.s@gmail.com.
54545 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54547         [BZ #12713]
54548         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54549         ENAMETOOLONG use generic getcwd.
54550         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54551         in rtld.  Use *stat64.
54552         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54553         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54554         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54555         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54556         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54557         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54558         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54559         __fstatat64 macros.
54560         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54561         * dirent/rewinddir.c: Add libc_hidden_def.
54562         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54563         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54565         * include/dirent.h (__alloc_dir): Add flags parameter.
54566         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54567         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54568         __alloc_dir.
54569         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54570         from fdopendir if O_CLOEXEC is already set.
54572 2011-03-15  Alan Modra  <amodra@gmail.com>
54574         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54575         l_tls_firstbyte_offset non-zero.  Save padding offset in
54576         l_tls_firstbyte_offset for later use.
54577         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54578         freeing static tls block.
54580 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54582         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54583         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54584         being defined by the kernel headers.
54586 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54588         [BZ #12734]
54589         * resolv/resolv.h: Define RES_NOTLDQUERY.
54590         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54591         no-tld-query and set RES_NOTLDQUERY.
54592         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54593         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54594         modern BIND to search name as TLD unless forbidden.
54596 2011-05-07  Petr Baudis  <pasky@suse.cz>
54597             Ulrich Drepper  <drepper@gmail.com>
54599         [BZ #12393]
54600         * elf/dl-load.c (fillin_rpath): Move trusted path check...
54601         (is_trusted_path): ...to here.
54602         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54603         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54604         using is_trusted_path_normalize() in setuid scripts.
54606 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54608         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54609         __BEGIN/__END_DECLS.
54611 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
54613         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54614         NSS_STATUS_NOTFOUND if no record was found.
54616 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54618         * sunrpc/Makefile (headers): Add rpc/netdb.h.
54619         (headers-not-in-tirpc): Remove rpc/netdb.h
54620         * resolv/netdb.h: Revert last change.
54622 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54624         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54625         circular dependency between libgcc.a and libc.a.
54627 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54629         * resolv/netdb.h: Don't include <rpc/netdb.h>.
54630         * nis/Makefile: Don't install rpcsvc/*.
54631         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54632         instead of <rpc/types.h>.
54633         (MAXHOSTNAMELEN): Define.
54635 2011-05-03  Andreas Schwab  <schwab@redhat.com>
54637         * elf/ldconfig.c (add_dir): Don't crash on empty path.
54639 2011-04-28  Maciej Babinski  <mbabinski@google.com>
54641         [BZ #12714]
54642         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54643         gethostbyname4_r when IPv6 results are possible.
54645 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
54647         [BZ #12723]
54648         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54649         _PC_PIPE_BUF handling.
54651 2011-04-30  Bruno Haible  <bruno@clisp.org>
54653         [BZ #12717]
54654         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54655         * resolv/netdb.h (getnameinfo): Change type of flags parameter
54656         to 'int'.
54657         * inet/getnameinfo.c (getnameinfo): Likewise.
54659 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
54661         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54662         to groups setting in database lookup.
54663         * nss/nsswitch.conf: Add initgroups entry.
54665 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54667         [BZ #12685]
54668         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54669         mode string.
54670         Patch by Eric Blake <eblake@redhat.com>.
54672 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54674         * sunrpc/Makefile (need-export-routines): Add svc_run.
54675         (routines): Remove svc_run.
54676         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54677         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54678         * sunrpc/svc_run.c (svc_run): Likewise.
54679         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54681 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54683         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54684         problem in reallocation in last patch.
54686 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54688         * sunrpc/Makefile: Move inclusion of Rules.
54690 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54692         * nss/nss_files/files-initgroups.c: New file.
54693         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54694         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54695         _nss_files_initgroups_dyn.
54697 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54699         * elf/elf.h (R_ARM_IRELATIVE): Define.
54701 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54703         * po/ru.po: Update from translation team.
54705 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54707         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54708         dependencies.
54710 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54712         [BZ #12653]
54713         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54714         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54715         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54716         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54717         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54719 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54721         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54722         differing bytes.
54723         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54724         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54725         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54727 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54729         [BZ #12420]
54730         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54731         storing it.
54732         * stdlib/bug-getcontext.c: New file.
54733         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54735 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54737         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54738         instructions into .machine "z9-109".
54739         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54740         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54742 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54744         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54745         between environment variables and auxiliary vector.
54747 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54749         * Makefile: Add rules to build linkobj/libc.so.
54750         * include/libc-symbols.h: Define libc_hidden_nolink.
54751         * include/rpc/auth.h: Mark functions which are to be hidden.
54752         * include/rpc/auth_des.h: Likewise.
54753         * include/rpc/auth_unix.h: Likewise.
54754         * include/rpc/clnt.h: Likewise.
54755         * include/rpc/des_crypt.h: Likewise.
54756         * include/rpc/key_prot.h: Likewise.
54757         * include/rpc/pmap_clnt.h: Likewise.
54758         * include/rpc/pmap_prot.h: Likewise.
54759         * include/rpc/pmap_rmt.h: Likewise.
54760         * include/rpc/rpc_msg.h: Likewise.
54761         * include/rpc/svc.h: Likewise.
54762         * include/rpc/svc_auth.h: Likewise.
54763         * include/rpc/xdr.h: Likewise.
54764         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54765         * nss/Makefile: Likewise.
54766         * sunrpc/Makefile: Don't install headers.  Build library with normal
54767         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54768         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54769         for the compat linking library.  Remove use of INTDEF/INTUSE.
54770         * sunrpc/auth_none.c: Likewise.
54771         * sunrpc/auth_unix.c: Likewise.
54772         * sunrpc/authdes_prot.c: Likewise.
54773         * sunrpc/authuxprot.c: Likewise.
54774         * sunrpc/clnt_gen.c: Likewise.
54775         * sunrpc/clnt_perr.c: Likewise.
54776         * sunrpc/clnt_raw.c: Likewise.
54777         * sunrpc/clnt_simp.c: Likewise.
54778         * sunrpc/clnt_tcp.c: Likewise.
54779         * sunrpc/clnt_udp.c: Likewise.
54780         * sunrpc/clnt_unix.c: Likewise.
54781         * sunrpc/des_crypt.c: Likewise.
54782         * sunrpc/des_soft.c: Likewise.
54783         * sunrpc/get_myaddr.c: Likewise.
54784         * sunrpc/key_call.c: Likewise.
54785         * sunrpc/key_prot.c: Likewise.
54786         * sunrpc/netname.c: Likewise.
54787         * sunrpc/pm_getmaps.c: Likewise.
54788         * sunrpc/pm_getport.c: Likewise.
54789         * sunrpc/pmap_clnt.c: Likewise.
54790         * sunrpc/pmap_prot.c: Likewise.
54791         * sunrpc/pmap_prot2.c: Likewise.
54792         * sunrpc/pmap_rmt.c: Likewise.
54793         * sunrpc/publickey.c: Likewise.
54794         * sunrpc/rpc_cmsg.c: Likewise.
54795         * sunrpc/rpc_common.c: Likewise.
54796         * sunrpc/rpc_dtable.c: Likewise.
54797         * sunrpc/rpc_prot.c: Likewise.
54798         * sunrpc/rpc_thread.c: Likewise.
54799         * sunrpc/rtime.c: Likewise.
54800         * sunrpc/svc.c: Likewise.
54801         * sunrpc/svc_auth.c: Likewise.
54802         * sunrpc/svc_authux.c: Likewise.
54803         * sunrpc/svc_raw.c: Likewise.
54804         * sunrpc/svc_run.c: Likewise.
54805         * sunrpc/svc_simple.c: Likewise.
54806         * sunrpc/svc_tcp.c: Likewise.
54807         * sunrpc/svc_udp.c: Likewise.
54808         * sunrpc/svc_unix.c: Likewise.
54809         * sunrpc/svcauth_des.c: Likewise.
54810         * sunrpc/xcrypt.c: Likewise.
54811         * sunrpc/xdr.c: Likewise.
54812         * sunrpc/xdr_array.c: Likewise.
54813         * sunrpc/xdr_float.c: Likewise.
54814         * sunrpc/xdr_intXX_t.c: Likewise.
54815         * sunrpc/xdr_mem.c: Likewise.
54816         * sunrpc/xdr_rec.c: Likewise.
54817         * sunrpc/xdr_ref.c: Likewise.
54818         * sunrpc/xdr_sizeof.c: Likewise.
54819         * sunrpc/xdr_stdio.c: Likewise.
54821 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54823         [BZ #12650]
54824         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54825         * sysdeps/ia64/dl-tls.h: Likewise.
54826         * sysdeps/powerpc/dl-tls.h: Likewise.
54827         * sysdeps/s390/dl-tls.h: Likewise.
54828         * sysdeps/sh/dl-tls.h: Likewise.
54829         * sysdeps/sparc/dl-tls.h: Likewise.
54830         * sysdeps/x86_64/dl-tls.h: Likewise.
54831         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54833 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54835         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54836         rpath element also skip the following colon.
54837         (expand_dynamic_string_token): Add is_path parameter and pass
54838         down to DL_DST_REQUIRED and _dl_dst_substitute.
54839         (decompose_rpath): Call expand_dynamic_string_token with
54840         non-zero is_path.  Ignore empty rpaths.
54841         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54842         with zero is_path.
54844 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54847         Make cancelable.
54849 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54851         [BZ #12655]
54852         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54853         Patch by Filipe David Manana <fdmanana@apache.org>.
54855 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54857         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54858         Maintain aligned stack.
54859         (CHECK_RSP): Remove unused macro.
54861 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54863         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54864         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54866 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54868         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54870         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54872 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54874         [BZ #12518]
54875         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54876         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54877         * sysdeps/x86_64/memmove.c: New file.
54878         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54879         (memcpy): Renamed to ...
54880         (__new_memcpy): This.
54881         (memcpy): Provide GLIBC_2_14 memcpy.
54882         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54883         (memcpy): Provide GLIBC_2_2_5 memcpy.
54885 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54887         [BZ #12631]
54888         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54890 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54892         * misc/syncfs.c: New file.
54893         * misc/Makefile (routines): Add syncfs.
54894         * posix/unistd.h: Declare syncfs.
54895         * sysdeps/unix/syscalls.list: Add syncfs.
54897 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54899         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54900         open_by_handle_at.
54901         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54902         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54903         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54904         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54906         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54907         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54909 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54911         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54912         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54913         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54914         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54915         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54916         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54917         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54919         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54920         sync_file_range.c with -fexceptions.
54921         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54922         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54923         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54924         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54925         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54926         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54927         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54928         sync_file_range as cancellation point
54929         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54930         now a wrapper around __call_sync_file_range with cancellation handling.
54931         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54932         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54933         function name to __call_sync_file_range.
54934         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54935         Add call_sync_file_range.
54937 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54939         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54940         bits/timex.h.
54942 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54944         * iconv/iconv.h: Fix typo in comment.
54945         * io/fcntl.h: Likewise.
54946         * libio/stdio.h: Likewise.
54947         * posix/spawn.h: Likewise.
54948         * posix/unistd.h: Likewise.
54949         * stdlib/stdlib.h: Likewise.
54950         * time/time.h: Likewise.
54951         * wcsmbs/wchar.h: Likewise.
54953         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54954         open_by_handle): Add.
54955         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54956         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54957         Augment a few comments.
54958         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54959         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54960         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54961         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54962         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54963         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54964         open_by_handle.
54966         * io/fcntl.h (AT_EMPTY_PATH): Define.
54968 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54970         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54971         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54972         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54973         to...
54974         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54975         * Versions.def: Add GLIBC_2.14.
54976         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54977         Export.
54979 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54981         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54982         round counter.
54983         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54985 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54987         [BZ #12597]
54988         * string/test-strncmp.c (do_page_test): New function.
54989         (check2): Likewise.
54990         (test_main): Call check2.
54991         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54993 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54995         [BZ #12587]
54996         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54997         Handle cache information in CPU leaf 4.
54998         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55000 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
55002         [BZ #12583]
55003         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55004         character representation.
55005         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55007 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
55009         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55010         END(__isnan) to END(__isnanf) to match function entry point/label
55011         EALIGN(__isnanf,...).
55013 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
55015         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55017 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
55019         [BZ #12510]
55020         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55021         copy from the symbol referenced in the relocation to initialize the
55022         used variable.
55023         Patch by Piotr Bury <pbury@goahead.com>.
55024         * elf/Makefile: Add rules to build and tst-unique3.
55025         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55026         * elf/tst-unique3.cc: New file.
55027         * elf/tst-unique3.h: New file.
55028         * elf/tst-unique3lib.cc: New file.
55029         * elf/tst-unique3lib2.cc: New file.
55031         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55033 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
55035         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55036         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
55037         to _start.
55039 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
55041         * elf/dl-load.c (_dl_map_object): If we are looking for the first
55042         to-be-loaded object along a path to loader is ld.so.
55044 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55045             Ulrich Drepper  <drepper@gmail.com>
55047         * sysdeps/x86_64/memset.S: After aligning destination, code
55048         branches to different locations depending on the value of
55049         misalignment, when multiarch is enabled. Fix this.
55051 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55053         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55054         Set _x86_64_preferred_memory_instruction for AMD processsors.
55055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55056         Set bit_Prefer_SSE_for_memop for AMD processors.
55058 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
55060         * libio/fmemopen.c (fmemopen): Optimize a bit.
55062 2011-03-03  Andreas Schwab  <schwab@redhat.com>
55064         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55066 2011-03-03  Roland McGrath  <roland@redhat.com>
55068         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55070 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
55072         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55073         __bzero_ultra1 instead of __memset_ultra1.
55075 2011-02-23  Andreas Schwab  <schwab@redhat.com>
55076             Ulrich Drepper  <drepper@gmail.com>
55078         [BZ #12509]
55079         * include/link.h (struct link_map): Add l_orig_initfini.
55080         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55081         returning unsuccessfully.
55082         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55083         close of a file loaded at startup, restore the original l_initfini
55084         list.
55085         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55086         list, store the pointer.
55087         * elf/Makefile ($(objpfx)noload-mem): New rule.
55088         (noload-ENV): Define.
55089         (tests): Add $(objpfx)noload-mem.
55090         * elf/noload.c: Include <memcheck.h>.
55091         (main): Call mtrace.  Close all opened handles.
55093 2011-02-17  Andreas Schwab  <schwab@redhat.com>
55095         [BZ #12454]
55096         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55097         dependencies are missing.
55099 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55101         Fix __if_freereq crash: Unlike the generic version which uses free,
55102         Hurd needs munmap.
55103         * sysdeps/mach/hurd/ifreq.h: New file.
55105 2011-01-27  Petr Baudis  <pasky@suse.cz>
55106             Ulrich Drepper  <drepper@gmail.com>
55108         [BZ 12445]#
55109         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55110         to extend_alloca().
55111         * stdio-common/bug23.c: New file.
55112         * stdio-common/Makefile (tests): Add bug23.
55114 2010-09-28  Andreas Schwab  <schwab@redhat.com>
55115             Ulrich Drepper  <drepper@gmail.com>
55117         [BZ #12489]
55118         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55119         before performing relro protection.  At old place add assertion
55120         to make sure nothing changed.
55122 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
55123             Glauber de Oliveira Costa  <glommer@gmail.com>
55125         * elf/elf.h: Add new ARM TLS relocs.
55127 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
55129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55130         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55131         cast from r3.
55132         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
55133         'tests' variable.
55134         * sysdeps/wordsize-64/tst-writev.c: New file.
55136 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
55138         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55139         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55140         insns in _dl_start to prevent a TOC reference before relocs are
55141         resolved.
55143 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
55145         [BZ #12469]
55146         * Makeconfig: Remove RANLIB definition.
55147         * Makerules: Don't use RANLIB.
55148         * aclocal.m4: Remove ranlib test.
55149         * configure.in: No need to check for ranlib.
55150         * elf/rtld-Rules: Don't use RANLIB.
55152 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55154         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55155         protection macro.
55156         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55157         inclusion protection macro.
55159         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55160         SIGRTMIN and SIGRTMAX and print information in that case only when
55161         SIGRTMIN is defined.
55163 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
55165         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55166         arginfo fn returning -1.
55168         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55169         and thousands string is zero terminated.
55171 2011-02-03  Andreas Schwab  <schwab@redhat.com>
55173         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55174         sysdeps/unix/sysv/linux/bits/socket.h.
55176 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55178         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55179         (__CPU_COUNT): Remove old macros.
55180         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55181         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55182         (__CPU_ALLOC, __CPU_FREE): Add macros.
55183         (__sched_cpualloc, __sched_cpufree): Add declarations.
55185 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
55187         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55188         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55189         * nscd/aicache.c (addhstaiX): Return timeout of added value.
55190         (readdhstai): Return value of addhstaiX call.
55191         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55192         (addgrbyX): Return value returned by cache_addgr.
55193         (readdgrbyname): Return value returned by addgrbyX.
55194         (readdgrbygid): Likewise.
55195         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55196         (addpwbyX): Return value returned by cache_addpw.
55197         (readdpwbyname): Return value returned by addhstbyX.
55198         (readdpwbyuid): Likewise.
55199         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55200         (addservbyX): Return value returned by cache_addserv.
55201         (readdservbyname): Return value returned by addservbyX:
55202         (readdservbyport): Likewise.
55203         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55204         (addhstbyX): Return value returned by cache_addhst.
55205         (readdhstbyname): Return value returned by addhstbyX.
55206         (readdhstbyaddr): Likewise.
55207         (readdhstbynamev6): Likewise.
55208         (readdhstbyaddrv6): Likewise.
55209         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55210         (readdinitgroups): Return value returned by addinitgroupsX.
55211         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55212         (prune_cache): Keep track of timeout value of re-added entries.
55213         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55214         * nscd/nscd.h: Adjust prototypes of readd* functions.
55216 2011-02-04  Roland McGrath  <roland@redhat.com>
55218         * nis/nis_server.c (nis_servstate): Use the right name for 0.
55219         (nis_stats): Likewise.
55220         * nis/nis_modify.c (nis_modify): Likewise.
55221         * nis/nis_remove.c (nis_remove): Likewise.
55222         * nis/nis_add.c (nis_add): Likewise.
55224         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55226         * posix/fnmatch_loop.c: Add some consts.
55228         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55230 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
55232         [BZ #12460]
55233         * config.make.in (config-cflags-novzeroupper): Define.
55234         * configure.in: Substitute libc_cv_cc_novzeroupper.
55235         * elf/Makefile (AVX-CFLAGS): Define.
55236         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55237         (CFLAGS-tst-auditmod4a.c): Likewise.
55238         (CFLAGS-tst-auditmod4b.c): Likewise.
55239         (CFLAGS-tst-auditmod6b.c): Likewise.
55240         (CFLAGS-tst-auditmod6c.c): Likewise.
55241         (CFLAGS-tst-auditmod7b.c): Likewise.
55242         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55244 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
55246         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55247         function to the callback.
55248         Patch partly by Jiri Olsa <jolsa@redhat.com>.
55250 2011-02-02  Andreas Schwab  <schwab@redhat.com>
55252         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55253         of errno.
55255 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
55257         [BZ #11724]
55258         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55259         of constructors.
55260         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55261         of destructors.
55262         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55264         [BZ #11724]
55265         * elf/Makefile: Add rules to build and run new test.
55266         * elf/tst-initorder.c: New file.
55267         * elf/tst-initorder.exp: New file.
55268         * elf/tst-initordera1.c: New file.
55269         * elf/tst-initordera2.c: New file.
55270         * elf/tst-initordera3.c: New file.
55271         * elf/tst-initordera4.c: New file.
55272         * elf/tst-initorderb1.c: New file.
55273         * elf/tst-initorderb2.c: New file.
55274         * elf/tst-order-a1.c: New file.
55275         * elf/tst-order-a2.c: New file.
55276         * elf/tst-order-a3.c: New file.
55277         * elf/tst-order-a4.c: New file.
55278         * elf/tst-order-b1.c: New file.
55279         * elf/tst-order-b2.c: New file.
55280         * elf/tst-order-main.c: New file.
55281         New test case by George Gensure <werkt0@gmail.com>.
55283 2010-10-01  Andreas Schwab  <schwab@redhat.com>
55285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55286         decoding ACE if AI_CANONIDN.
55288 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
55290         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55292 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
55294         * version.h (RELEASE): Bump for 2.13 release.
55295         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55297         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55299         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55300         MADV_NOHUGEPAGE.
55301         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55302         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55303         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55304         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55305         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55306         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55308         * posix/getconf.c: Update copyright year.
55309         * catgets/gencat.c: Likewise.
55310         * csu/version.c: Likewise.
55311         * debug/catchsegv.sh: Likewise.
55312         * debug/xtrace.sh: Likewise.
55313         * elf/ldconfig.c: Likewise.
55314         * elf/ldd.bash.in: Likewise.
55315         * elf/sprof.c (print_version): Likewise.
55316         * iconv/iconv_prog.c: Likewise.
55317         * iconv/iconvconfig.c: Likewise.
55318         * locale/programs/locale.c: Likewise.
55319         * locale/programs/localedef.c: Likewise.
55320         * malloc/memusage.sh: Likewise.
55321         * malloc/mtrace.pl: Likewise.
55322         * nscd/nscd.c (print_version): Likewise.
55323         * nss/getent.c: Likewise.
55325         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55326         PF_CAIF, and PF_ALG.
55327         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55329 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
55331         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55332         (modules-names): Use them.
55333         (ifunc-test-modules, ifunc-pie-tests): Define.
55334         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55335         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55336         (test-extras): Likewise.
55337         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55338         $(compile-command.c).
55339         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55340         (all-built-dso): Define.
55341         (check-textrel.out, check-execstack.out): Depend on it.
55343         * configure.in: Don't override --enable-multi-arch.
55345 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
55347         [BZ #6812]
55348         * nscd/hstcache.c (tryagain): Define.
55349         (cache_addhst): Return tryagain not notfound for temporary errors.
55350         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55351         failed.
55353 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
55355         [BZ #10563]
55356         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55357         to make the syscall.
55358         * sysdeps/unix/sysv/linux/setgroups.c: New file.
55360         [BZ #12378]
55361         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55362         and fall back to matching as normal character if the string ends before
55363         the matching ']' is found.  This is what POSIX requires.
55364         * posix/testfnm.c: Adjust test result.
55365         * posix/globtest.sh: Adjust test result.  Add new test.
55366         * posix/tst-fnmatch.input: Likewise.
55367         * posix/tst-fnmatch2.c: Add new test.
55369 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
55371         * elf/Makefile (check-execstack): Revert last change.  Depend on
55372         check-execstack.h.
55373         (check-execstack.h): New target.
55374         (generated): Add check-execstack.h.
55375         * elf/check-execstack.c: Include "check-execstack.h".
55376         (main): Revert last change.
55377         (handle_file): Return zero if GNU_STACK is absent and
55378         DEFAULT_STACK_PERMS doesn't include PF_X.
55380 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
55382         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55383         in child fails because the descriptor is already closed.
55384         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55385         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55386         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55388         [BZ #12397]
55389         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55390         syscall.
55392         [BZ #10484]
55393         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55394         temporary buffer used to handle multi lookups locally.
55395         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55397 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55399         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55400         loader is ld.so.
55402 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
55404         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55405         alignment for SSE2.
55407 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55409         [BZ #12394]
55410         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55411         characters.  When rounding increased number of integer digits recompute
55412         number of groups.
55413         * stdio-common/tst-grouping.c: New file.
55414         * stdio-common/Makefile: Add rules to build and run tst-grouping.
55416 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55418         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55419         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55421         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55422         void.
55423         * bits/select.h: Likewise.
55425 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55427         * po/ja.po: Update from translation team.
55429 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55431         [BZ #11155]
55432         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55433         implementation just like for lxstat, fxstatat, et al.
55435 2010-12-27  Jim Meyering  <meyering@redhat.com>
55437         [BZ #12348]
55438         * posix/regexec.c (build_trtable): Return failure indication upon
55439         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55441 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55443         [BZ #12201]
55444         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55445         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55446         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55447         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55449         [BZ #12207]
55450         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55452         [BZ #12204]
55453         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55454         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55456 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55458         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55459         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55460         script has SORT_BY_INIT_PRIORITY.
55461         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55462         NO_CTORS_DTORS_SECTIONS is defined.
55463         * elf/soinit.c: Likewise.
55464         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55465         NO_CTORS_DTORS_SECTIONS is defined.
55466         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55467         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55468         * sysdeps/sh/init-first.c: Likewise.
55469         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55471 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55473         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55474         always use the slow path.
55476 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55478         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55479         similar rule which adds the sysdep directories to the header search in
55480         order to pick up the correct platform stackinfo.h.
55481         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55482         perform test if it is, otherwise return successfully without testing.
55483         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55484         DEFAULT_STACK_PERMS define in stackinfo.h.
55485         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55486         defined in stackinfo.h.
55487         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55488         DEFAULT_STACK_PERMS defined in stackinfo.h.
55489         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55490         * sysdeps/ia64/stackinfo.h: Likewise.
55491         * sysdeps/s390/stackinfo.h: Likewise.
55492         * sysdeps/sh/stackinfo.h: Likewise.
55493         * sysdeps/sparc/stackinfo.h: Likewise.
55494         * sysdeps/x86_64/stackinfo.h: Likewise.
55495         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55496         PF_X for powerpc64.  Retain PF_X for powerpc32.
55498 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55500         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55501         accurately.
55502         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55503         GETDENTS_64BIT_ALIGNED.
55505 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55507         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55509 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55511         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55512         _GNU_SOURCE.
55514         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55515         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55516         Remove __restrict.
55517         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55518         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55520 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55522         [BZ #11655]
55523         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55524         are initialized.
55526 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55528         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55530 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55532         * po/it.po: Update from translation team.
55534 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55536         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55537         unused codes.
55539 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55541         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55543 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55545         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55546         specially.
55547         (gaih_getanswer_slice): Likewise.
55549 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55551         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55553 2010-05-31  Petr Baudis  <pasky@suse.cz>
55555         [BZ #11149]
55556         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55557         silently even in the chroot mode.
55559 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55561         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55562         last patch a bit.  Pretty printing
55564 2010-05-31  Petr Baudis <pasky@suse.cz>
55566         [BZ #10085]
55567         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55568         initialization of skip_initgroups_dyn.
55570 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55572         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55573         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55575 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55577         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55579 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55581         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55582         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55583         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55584         ($(objpfx)tst-fnmatch-mem): New rule.
55585         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55586         * posix/tst-fnmatch.c (main): Call mtrace.
55588 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55591         Support Intel processor model 6 and model 0x2c.
55593 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
55595         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55596           signed comparison.
55598 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
55600         [BZ #12205]
55601         * string/test-strncasecmp.c (check_result): New function.
55602         (do_one_test): Use it.
55603         (check1): New function.
55604         (test_main): Use it.
55605         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55606         Support strcasecmp and strncasecmp.
55608 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
55610         [BZ #12194]
55611         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55612         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55614 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55616         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55617         IFUNC support.
55618         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55619         memset-x86-64.
55620         * sysdeps/x86_64/multiarch/bzero.S: New file.
55621         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55622         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55623         * sysdeps/x86_64/multiarch/memset.S: New file.
55624         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55625         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55626         Set bit_Prefer_SSE_for_memop for Intel processors.
55627         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55628         Define.
55629         (index_Prefer_SSE_for_memop): Define.
55630         (HAS_PREFER_SSE_FOR_MEMOP): Define.
55632 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
55634         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55635         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55637 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
55639         [BZ #12191]
55640         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55641         (__x86_64_raw_data_cache_size_half): Likewise.
55642         (__x86_64_raw_shared_cache_size): Likewise.
55643         (__x86_64_raw_shared_cache_size_half): Likewise.
55645         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55646         (__x86_64_raw_data_cache_size_half): Likewise.
55647         (__x86_64_raw_shared_cache_size): Likewise.
55648         (__x86_64_raw_shared_cache_size_half): Likewise.
55649         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55650         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55651         and __x86_64_raw_shared_cache_size_half.  Round
55652         __x86_64_data_cache_size_half, __x86_64_data_cache_size
55653         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55654         to multiple of 256 bytes.
55656 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
55658         [BZ #12167]
55659         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55660         of inacessible symlinks.  Verify result of symlink before returning it.
55661         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55662         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55664 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55666         * math/math.h (isinf): Fix typo in comment.
55668 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55670         * po/da.po: Update from translation team.
55672 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55674         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55675         is added to the list.
55677 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55678             Ulrich Drepper  <drepper@gmail.com>
55680         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55681         the global list here.  Move code to...
55682         (_dl_add_to_namespace_list): ...here.  New function.
55683         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55684         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55685         * elf/dl-load.c (lose): Don't remove the element from the list.
55686         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55687         (_dl_map_object): Likewise.
55689 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55691         [BZ #12159]
55692         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55693         into all bytes of SSE register.
55694         Patch by Richard Li <richardpku@gmail.com>.
55696 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55698         [BZ #12140]
55699         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55700         perturbing.
55702 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55704         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55705         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55706         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55707         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55709         submachine.
55710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55712 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55714         * include/dlfcn.h (__RTLD_SECURE): Define.
55715         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55716         mode & __RTLD_SECURE instead.
55717         (open_path): Rename preloaded parameter to secure.
55718         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55719         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55720         * elf/dl-deps.c (openaux): Likewise.
55721         * elf/rtld.c (struct map_args): Remove is_preloaded.
55722         (map_doit): Don't use it.
55723         (dl_main): Likewise.
55724         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55725         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55727 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55729         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55730         (sysd-rules-targets): Remove duplicates.
55731         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55732         rtld-%.$o dependency.
55734 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55736         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55737         _dl_map_object do it.
55739 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55741         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55742         fast fma builtins, define the macros in the C99 standard.
55743         (FP_FAST_FMAF): Likewise.
55744         (FP_FAST_FMAL): Likewise.
55745         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55747         * bits/mathdef.h: Update copyright year.
55748         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55750 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55752         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55753         builtins, define the macros in the C99 standard.
55754         (FP_FAST_FMAF): Likewise.
55755         (FP_FAST_FMAL): Likewise.
55756         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55757         multiply/add.
55758         (FP_FAST_FMAF): Likewise.
55760 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55762         [BZ #3268]
55763         * math/libm-test.inc (fma_test): Some new testcases.
55764         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55765         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55766         y and infinite z.  Do multiplication by C already in long double.
55767         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55768         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55769         y and infinite z.  Do bitwise or of inexact bit into u.d.
55770         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55771         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55772         * sysdeps/i386/fpu/s_fma.S: Removed.
55773         * sysdeps/i386/fpu/s_fmal.S: Removed.
55775 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55777         [BZ #3268]
55778         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55779         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55780         computation is not scheduled after fetestexcept.  Fix value
55781         of minimum denormal long double.
55783 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55785         [BZ #3268]
55786         * math/libm-test.inc (fma_test): Add some more tests.
55787         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55788         correctly.
55790 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55792         * scripts/data/localplt-s390-linux-gnu.data: New file.
55793         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55795 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55797         [BZ #3268]
55798         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55799         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55800         instead of dbl-64.
55801         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55802         inlines.
55803         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55804         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55805         if one of x and y is very large and the other is subnormal.
55806         * sysdeps/s390/fpu/s_fmaf.c: New file.
55807         * sysdeps/s390/fpu/s_fma.c: New file.
55808         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55809         * sysdeps/powerpc/fpu/s_fma.S: New file.
55810         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55811         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55812         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55814 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55816         [BZ #3268]
55817         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55818         fma tests.
55819         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55820         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55821         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55822         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55823         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55824         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55825         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55827 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55829         [BZ #12078]
55830         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55831         * posix/bug-regex31.input: Add test case.
55833 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55835         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55836         * posix/bug-regex31.input: New file.
55838         [BZ #12078]
55839         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55840         (parse_sub_exp): Fix last change, use postorder.
55842         * posix/bug-regex31.c: New file.
55843         * posix/Makefile: Add rules to build and run bug-regex31.
55845         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55847         [BZ #12078]
55848         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55850         [BZ #12108]
55851         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55852         to have entries in sys_siglist.
55854         [BZ #12093]
55855         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55856         be NULL.
55858 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55860         [BZ #3268]
55861         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55862         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55863         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55864         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55865         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55866         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55867         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55868         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55869         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55870         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55871         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55872         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55873         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55874         * math/ftestexcept.c (fetestexcept): Likewise.
55875         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55876         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55877         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55878         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55879         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55880         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55881         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55883 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55885         [BZ #12107]
55886         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55887         newline.
55889 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55891         * string/bug-strstr1.c: New file.
55892         * string/Makefile: Add rules to build and run bug-strstr1.
55894 2010-10-05  Eric Blake  <eblake@redhat.com>
55896         [BZ #12092]
55897         * string/str-two-way.h (two_way_long_needle): Always clear memory
55898         when skipping input due to the shift table.
55900 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55902         [BZ #12005]
55903         * malloc/mcheck.c: Handle large requests.
55905         [BZ #12077]
55906         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55907         for strncmp and strncasecmp.
55908         * string/stratcliff.c: Add tests for strcmp and strncmp.
55909         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55911 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55913         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55914         __set_fpscr.
55916 2010-09-30  Andreas Jaeger  <aj@suse.de>
55918         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55919         (CGROUP_SUPER_MAGIC): Define.
55920         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55921         Handle btrfs and cgroup file systems.
55922         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55923         Likewise.
55925 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55927         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55928         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55930 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55932         [BZ #12067]
55933         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55934         trying to locate the ELF header.
55936 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55938         [BZ #11611]
55939         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55940         Mask out sign-bit copies when constructing f_fsid.
55942 2010-09-24  Petr Baudis <pasky@suse.cz>
55944         * debug/stack_chk_fail_local.c: Add missing licence exception.
55945         * debug/warning-nop.c: Likewise.
55947 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55949         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55950         implementing getdents64 using getdents syscall, set d_type if
55951         __ASSUME_GETDENTS32_D_TYPE.
55953 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55955         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55956         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55958 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55960         [BZ #12037]
55961         * posix/unistd.h: Undo change of feature selection for ftruncate from
55962         2010-01-11.
55964 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55966         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55967         detection.
55969 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55971         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55972         fanotify_mark.
55973         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55975 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55977         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55978         variables after CHECK_SP call.
55979         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55981 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55982             Ulrich Drepper  <drepper@redhat.com>
55984         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55985         re-relocationg ld.so.
55986         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55987         _dl_init_paths call.
55988         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55989         here anymore.
55991 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55993         * resolv/res_init.c (__res_vinit): Count the default server we added.
55995 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55996             Ulrich Drepper  <drepper@redhat.com>
55998         [BZ #11968]
55999         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56000         (____longjmp_chk): Use %ebx for saving value across system call.
56001         Add unwind info.
56003 2010-09-06  Andreas Schwab  <schwab@redhat.com>
56005         * manual/Makefile: Don't mix pattern rules with normal rules.
56007 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56009         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56010         operation.
56011         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56012         * libio/iofopncook.c (_IO_cookie_init): Likewise.
56013         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56014         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56015         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56016         Likewise.
56018 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
56020         [BZ #11979]
56021         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56022         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56024 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
56026         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56027         * sysdeps/x86_64/addmul_1.S: Likewise.
56028         * sysdeps/x86_64/lshift.S: Likewise.
56029         * sysdeps/x86_64/mul_1.S: Likewise.
56030         * sysdeps/x86_64/rshift.S: Likewise.
56031         * sysdeps/x86_64/sub_n.S: Likewise.
56032         * sysdeps/x86_64/submul_1.S: Likewise.
56034 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56036         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56037         Define __sched_param instead of SCHED_* and sched_param when
56038         <bits/sched.h> is included with __need_schedparam defined.
56039         * bits/sched.h [__need_schedparam]
56040         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56041         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56042         (__defined_schedparam): Define to 1.
56043         (__sched_param): New structure, identical to sched_param.
56044         (__need_schedparam): Undefine.
56046 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
56048         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56049         (epoll_create1): Declare.
56051         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56053 2010-08-31  Andreas Schwab  <schwab@redhat.com>
56055         [BZ #7066]
56056         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56057         shifting retval into place.
56059 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
56061         * nis/rpcsvc/nis.h: Update copyright notice.
56062         * nis/rpcsvc/nis.x: Likewise.
56063         * nis/rpcsvc/nis_callback.h: Likewise.
56064         * nis/rpcsvc/nis_callback.x: Likewise.
56065         * nis/rpcsvc/nis_object.x: Likewise.
56066         * nis/rpcsvc/nis_tags.h: Likewise.
56067         * nis/rpcsvc/yp.h: Likewise.
56068         * nis/rpcsvc/yp.x: Likewise.
56069         * nis/rpcsvc/ypupd.h: Likewise.
56070         * nis/yp_xdr.c: Likewise.
56071         * nis/ypupdate_xdr.c: Likewise.
56073         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
56074         mainly the body of pmap_getport.  Add parameters to specify timeouts.
56075         (pmap_getport): Use __libc_rpc_getport.
56076         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56077         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56078         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56080 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
56082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56083         fanotify_mark.
56085 2010-08-27  Roland McGrath  <roland@redhat.com>
56087         * sysdeps/i386/i686/multiarch/Makefile
56088         (CFLAGS-varshift.c): New variable.
56090 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
56092         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56093         * sysdeps/i386/i686/multiarch/varshift.c: New file.
56095         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56097         * sysdeps/x86_64/strlen.S: Minimal code improvement.
56099 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
56101         * sysdeps/x86_64/strlen.S: Unroll the loop.
56102         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56103         strlen-sse2 strlen-sse2-bsf.
56104         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56105         __strlen_no_bsf if bit_Slow_BSF is set.
56106         (__strlen_sse42): Removed.
56107         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56108         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56110 2010-08-25  Roland McGrath  <roland@redhat.com>
56112         * sysdeps/x86_64/multiarch/varshift.S: File removed.
56113         * sysdeps/x86_64/multiarch/varshift.c: New file.
56114         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56115         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56116         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56117         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56119 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
56121         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56122         strlen-sse2 strlen-sse2-bsf.
56123         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56124         __strlen_sse2_bsf if bit_Slow_BSF is unset.
56125         (__strlen_sse2): Removed.
56126         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56127         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56128         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56129         bit_Slow_BSF for Atom.
56130         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56131         (index_Slow_BSF): Define.
56132         (HAS_SLOW_BSF): Define.
56134 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
56136         [BZ #10851]
56137         * resolv/res_init.c (__res_vinit): When no server address at all
56138         is given default to loopback.
56140 2010-08-24  Roland McGrath  <roland@redhat.com>
56142         * configure.in: Remove config-name.h generation.
56143         * configure: Regenerated.
56144         * config-name.in: File removed.
56145         * scripts/config-uname.sh: New file.
56146         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56147         ($(objdir)config-name.h): New target.
56149         * sunrpc/rpc_parse.h: Avoid nested comment.
56151 2010-08-24  Richard Henderson  <rth@redhat.com>
56152             Ulrich Drepper  <drepper@redhat.com>
56153             H.J. Lu  <hongjiu.lu@intel.com>
56155         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56157         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56158         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
56159         _mm_alignr_epi8 with _mm_loadu_si128.
56160         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56161         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56162         (__m128i_shift_right): Removed.
56163         * sysdeps/i386/i686/multiarch/varshift.h: New file.
56164         * sysdeps/i386/i686/multiarch/varshift.S: New file.
56165         * sysdeps/x86_64/multiarch/varshift.h: New file.
56166         * sysdeps/x86_64/multiarch/varshift.S: New file.
56168 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
56170         * configure.in: Move assembler checks to before sysdep dir checking.
56172 2010-08-20  Petr Baudis  <pasky@suse.cz>
56174         * LICENSES: Sync the sunrpc license.
56176 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
56178         * sunrpc/auth_des.c: Update copyright notice once again.
56179         * sunrpc/auth_none.c: Likewise.
56180         * sunrpc/auth_unix.c: Likewise.
56181         * sunrpc/authdes_prot.c: Likewise.
56182         * sunrpc/authuxprot.c: Likewise.
56183         * sunrpc/bindrsvprt.c: Likewise.
56184         * sunrpc/clnt_gen.c: Likewise.
56185         * sunrpc/clnt_perr.c: Likewise.
56186         * sunrpc/clnt_raw.c: Likewise.
56187         * sunrpc/clnt_simp.c: Likewise.
56188         * sunrpc/clnt_tcp.c: Likewise.
56189         * sunrpc/clnt_udp.c: Likewise.
56190         * sunrpc/clnt_unix.c: Likewise.
56191         * sunrpc/des_crypt.c: Likewise.
56192         * sunrpc/des_soft.c: Likewise.
56193         * sunrpc/get_myaddr.c: Likewise.
56194         * sunrpc/getrpcport.c: Likewise.
56195         * sunrpc/key_call.c: Likewise.
56196         * sunrpc/key_prot.c: Likewise.
56197         * sunrpc/openchild.c: Likewise.
56198         * sunrpc/pm_getmaps.c: Likewise.
56199         * sunrpc/pm_getport.c: Likewise.
56200         * sunrpc/pmap_clnt.c: Likewise.
56201         * sunrpc/pmap_prot.c: Likewise.
56202         * sunrpc/pmap_prot2.c: Likewise.
56203         * sunrpc/pmap_rmt.c: Likewise.
56204         * sunrpc/rpc/auth.h: Likewise.
56205         * sunrpc/rpc/auth_unix.h: Likewise.
56206         * sunrpc/rpc/clnt.h: Likewise.
56207         * sunrpc/rpc/des_crypt.h: Likewise.
56208         * sunrpc/rpc/key_prot.h: Likewise.
56209         * sunrpc/rpc/netdb.h: Likewise.
56210         * sunrpc/rpc/pmap_clnt.h: Likewise.
56211         * sunrpc/rpc/pmap_prot.h: Likewise.
56212         * sunrpc/rpc/pmap_rmt.h: Likewise.
56213         * sunrpc/rpc/rpc.h: Likewise.
56214         * sunrpc/rpc/rpc_des.h: Likewise.
56215         * sunrpc/rpc/rpc_msg.h: Likewise.
56216         * sunrpc/rpc/svc.h: Likewise.
56217         * sunrpc/rpc/svc_auth.h: Likewise.
56218         * sunrpc/rpc/types.h: Likewise.
56219         * sunrpc/rpc/xdr.h: Likewise.
56220         * sunrpc/rpc_clntout.c: Likewise.
56221         * sunrpc/rpc_cmsg.c: Likewise.
56222         * sunrpc/rpc_common.c: Likewise.
56223         * sunrpc/rpc_cout.c: Likewise.
56224         * sunrpc/rpc_dtable.c: Likewise.
56225         * sunrpc/rpc_hout.c: Likewise.
56226         * sunrpc/rpc_main.c: Likewise.
56227         * sunrpc/rpc_parse.c: Likewise.
56228         * sunrpc/rpc_parse.h: Likewise.
56229         * sunrpc/rpc_prot.c: Likewise.
56230         * sunrpc/rpc_sample.c: Likewise.
56231         * sunrpc/rpc_scan.c: Likewise.
56232         * sunrpc/rpc_scan.h: Likewise.
56233         * sunrpc/rpc_svcout.c: Likewise.
56234         * sunrpc/rpc_tblout.c: Likewise.
56235         * sunrpc/rpc_util.c: Likewise.
56236         * sunrpc/rpc_util.h: Likewise.
56237         * sunrpc/rpcinfo.c: Likewise.
56238         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56239         * sunrpc/rpcsvc/key_prot.x: Likewise.
56240         * sunrpc/rpcsvc/klm_prot.x: Likewise.
56241         * sunrpc/rpcsvc/mount.x: Likewise.
56242         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56243         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56244         * sunrpc/rpcsvc/rex.x: Likewise.
56245         * sunrpc/rpcsvc/rstat.x: Likewise.
56246         * sunrpc/rpcsvc/rusers.x: Likewise.
56247         * sunrpc/rpcsvc/sm_inter.x: Likewise.
56248         * sunrpc/rpcsvc/spray.x: Likewise.
56249         * sunrpc/rpcsvc/yppasswd.x: Likewise.
56250         * sunrpc/rtime.c: Likewise.
56251         * sunrpc/svc.c: Likewise.
56252         * sunrpc/svc_auth.c: Likewise.
56253         * sunrpc/svc_authux.c: Likewise.
56254         * sunrpc/svc_raw.c: Likewise.
56255         * sunrpc/svc_run.c: Likewise.
56256         * sunrpc/svc_simple.c: Likewise.
56257         * sunrpc/svc_tcp.c: Likewise.
56258         * sunrpc/svc_udp.c: Likewise.
56259         * sunrpc/svc_unix.c: Likewise.
56260         * sunrpc/svcauth_des.c: Likewise.
56261         * sunrpc/xcrypt.c: Likewise.
56262         * sunrpc/xdr.c: Likewise.
56263         * sunrpc/xdr_array.c: Likewise.
56264         * sunrpc/xdr_float.c: Likewise.
56265         * sunrpc/xdr_mem.c: Likewise.
56266         * sunrpc/xdr_rec.c: Likewise.
56267         * sunrpc/xdr_ref.c: Likewise.
56268         * sunrpc/xdr_sizeof.c: Likewise.
56269         * sunrpc/xdr_stdio.c: Likewise.
56271         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56272         handling.
56274 2010-08-19  Andreas Schwab  <schwab@redhat.com>
56276         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56278 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
56280         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56281         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56282         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56283         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56284         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56285         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56286         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56287         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56288         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56289         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56290         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56291         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56292         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56293         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56295 2010-07-26  Anton Blanchard  <anton@samba.org>
56297         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56298         * malloc/arena.c (heap_trim): Likewise.
56300 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
56302         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56303         here.  Not...
56304         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56305         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56307 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
56309         * sysdeps/i386/elf/Makefile: New file.
56311 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56313         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56314         from fanotify_init.
56315         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56316         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56318 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
56320         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56321         of strncasecmp_l.
56322         * sysdeps/multiarch/strcmp.S: Likewise.
56324 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
56326         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56327         strncase_l-nonascii.
56328         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56329         Add strncase_l-ssse3.
56330         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56331         * sysdeps/x86_64/strcmp.S: Likewise.
56332         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56333         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56334         * sysdeps/x86_64/strncase.S: New file.
56335         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56336         * sysdeps/x86_64/strncase_l.S: New file.
56337         * string/Makefile (strop-tests): Add strncasecmp.
56338         * string/test-strncasecmp.c: New file.
56340         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56341         warning.
56343         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56344         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56346 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56348         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56350 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
56352         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56353         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56354         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56356 2010-05-01  Alan Modra  <amodra@gmail.com>
56358         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56359         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56360         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56361         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56362         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56363         tidying.  Don't tail-call __sigjmp_save for static lib.
56364         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56365         save location.
56366         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56367         (CALL_MCOUNT): Add eh info, and nop after bl.
56368         (TAIL_CALL_SYSCALL_ERROR): New macro.
56369         (PSEUDO_RET): Use it.
56370         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56371         Correct save location of integer regs and cr.
56372         (_dl_profile_resolve): Correct cr save location.  Delete nops
56373         after bl when SHARED.  Reduce cfi size a little by better
56374         placement of cfi directives.
56375         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56376         make a stack frame.  Instead use parm save area as a temp.
56377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56378         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
56379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56380         Don't make a stack frame for parent, use parm save area.
56381         Increase child stack frame to 112 bytes.  Don't save unused reg,
56382         and adjust reg usage.  Set up cfi on error recovery and
56383         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56385         (__makecontext): Add dummy nop after jump to exit.
56386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56387         Use correct parm save area and cr save, reduce stack frame.
56388         Correct cfi for possible PSEUDO_RET frame setup.
56389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56390         Branch to local label emitted by PSEUDO_RET rather than
56391         __syscall_error.
56393 2010-08-12  Andreas Schwab  <schwab@redhat.com>
56395         [BZ #11904]
56396         * locale/programs/locale.c (print_assignment): New function.
56397         (show_locale_vars): Use it.
56399 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
56401         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56402         field.
56403         (struct statfs64): Likewise.
56404         (_STATFS_F_FLAGS): Define.
56405         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56406         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56407         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56408         (ST_VALID): Define locally.
56409         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56410         __statvfs_getflags, use the provided value.
56411         * sysdeps/unix/sysv/linux/kernel-features.h: Define
56412         __ASSUME_STATFS_F_FLAGS.
56414         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56416         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56417         Add sys/fanotify.h.
56418         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56419         fanotify_mask for GLIBC_2.13.
56420         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56421         fanotify_init and fanotify_mark.
56422         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56423         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56425         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56426         Add prlimit.
56427         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56428         prlimit64 for GLIBC_2.13.
56429         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56430         prlimit64.
56431         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56432         syscall.
56433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56434         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56435         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56436         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56437         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56438         add prlimit alias.
56439         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56441         [BZ #11903]
56442         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56443         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56445         * nss/Makefile: Add rules to build and run tst-nss-test1.
56446         * shlib-versions: Add entry for libnss_test1.
56447         * nss/nss_test1.c: New file.
56448         * nss/tst-nss-test1.c: New file.
56450         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56451         (__nss_configure_lookup): Set appropriate entry in
56452         __nss_configure_lookup to true.
56453         * nss/nsswitch.h: Define enum with indeces of databases in
56454         databases and __nss_database_custom arrays.  Declare
56455         __nss_database_custom.
56456         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56457         to avoid using nscd when custom rules are installed.
56458         * nss/getXXbyYY_r.c: Likewise.
56459         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56461         * nss/nss_files/files-parse.c: Whitespace fixes.
56463 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56465         [BZ #11883]
56466         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56467         * posix/fnmatch_loop.c: Likewise.
56469 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56471         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56472         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56473         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56474         * Versions.def [GLIBC_2.13]: Add.
56476 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56478         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56479         Also fail if tpwd after pwuid call is NULL.
56481 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56483         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56484         when converting to ms.
56486 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56488         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56489         EOPNOTSUPP errors with ENOTTY.
56490         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56491         EOPNOTSUPP errors with ENOTTY.
56493 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56495         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56496         Add strcasecmp_l-ssse3.
56497         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56498         strcasecmp.
56499         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56500         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56501         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56503 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56505         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56507         * string/Makefile (strop-tests): Add strcasecmp.
56508         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56509         strcasecmp_l-nonascii.
56510         (gen-as-const-headers): Add locale-defines.sym.
56511         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56512         * sysdeps/x86_64/strcasecmp.S: New file.
56513         * sysdeps/x86_64/strcasecmp_l.S: New file.
56514         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56515         * sysdeps/x86_64/locale-defines.sym: New file.
56516         * string/test-strcasecmp.c: New file.
56518         * string/test-strcasestr.c: Test both ends of the range of characters.
56519         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56521 2010-07-29  Roland McGrath  <roland@redhat.com>
56523         [BZ #11856]
56524         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56526 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56528         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56529         for ld.so.
56531 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56533         * manual/memory.texi (Malloc Tunable Parameters): Document
56534         M_PERTURB.
56536 2010-07-26  Roland McGrath  <roland@redhat.com>
56538         [BZ #11840]
56539         * configure.in (-fgnu89-inline check): Set and substitute
56540         gnu89_inline, not libc_cv_gnu89_inline.
56541         * configure: Regenerated.
56542         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56544 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56546         * string/test-strnlen.c: New file.
56547         * string/Makefile (strop-tests): Add strnlen.
56548         * string/tester.c (test_strnlen): Add a few more test cases.
56549         * string/tst-strlen.c: Better error reporting.
56551         * sysdeps/x86_64/strnlen.S: New file.
56553 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56555         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56556         lower-latency instructions.
56558 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56560         * string/test-strcasestr.c: New file.
56561         * string/test-strstr.c: New file.
56562         * string/Makefile (strop-tests): Add strstr and strcasestr.
56563         * string/str-two-way.h: Don't undefine MAX.
56564         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56566 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56568         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56569         strcasestr-nonascii.
56570         (CFLAGS-strcasestr-nonascii.c): Define.
56571         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56572         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56573         Remove unused attribute.
56575 2010-07-20  Roland McGrath  <roland@redhat.com>
56577         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56578         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56579         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56580         like LD_HWCAP_MASK can disable hwcaps.
56582 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56584         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56586 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56588         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56589         call in strcasestr.
56590         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56591         __strcasestr_sse42_nonascii.
56592         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56593         strcasestr-nonascii.c.
56594         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56596 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
56598         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56599         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56600         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56601         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56603 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
56605         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56606         fcntl.
56608 2010-07-06  Andreas Schwab  <schwab@redhat.com>
56610         [BZ #11577]
56611         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56612         dl_signal_cerror.
56614 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
56616         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56617         _PC_PIPE_BUF using F_GETPIPE_SZ.
56619 2010-07-05  Roland McGrath  <roland@redhat.com>
56621         * manual/arith.texi (Rounding Functions): Fix rint description
56622         implicit in round description.
56624 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
56626         * elf/Makefile: Fix linking for a few tests to make recent linker
56627         happy.
56629 2010-06-30  Andreas Schwab  <schwab@redhat.com>
56631         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56632         $(common-objpfx)libc_nonshared.a.
56634 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
56636         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56637         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56638         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56639         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56640         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56641         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56642         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56643         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56658         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56659         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56660         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56661         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56662         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56663         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56664         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56665         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56666         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56667         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56668         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56669         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56685 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56687         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56688         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56689         * string/memmove.c (memmove): Renamed to ...
56690         (MEMMOVE): ...this.  Default to memmove.
56691         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56692         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56693         (END_CHK): Define.
56694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56695         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56696         mempcpy-ssse3-back memmove-ssse3-back.
56697         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56698         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56699         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56700         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56701         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56702         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56703         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56704         * sysdeps/x86_64/multiarch/memmove.c: New file.
56705         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56706         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56707         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56708         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56709         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56710         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56711         Define.
56712         (index_Fast_Copy_Backward): Define.
56713         (HAS_ARCH_FEATURE): Define.
56714         (HAS_FAST_REP_STRING): Define.
56715         (HAS_FAST_COPY_BACKWARD): Define.
56717 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56719         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56720         Restore proper fallback handling.
56722 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56724         [BZ #11701]
56725         * posix/group_member.c (__group_member): Correct checking loop.
56727         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56728         OOM in getpwuid_r correctly.  Return error number when the caller
56729         should return, otherwise -1.
56730         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56731         call returning > 0 value.
56732         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56734 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56736         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56737         libc_nonshared.a from targets in modules-names.
56739 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56741         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56742         requires it.
56744 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56746         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56747         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56748         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56749         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56751 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56753         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56755 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56757         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56758         and F_GETPIPE_SZ.
56759         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56760         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56761         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56763         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56764         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56766 2010-06-14  Roland McGrath  <roland@redhat.com>
56768         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56770 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56772         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56773         __REDIRECT followed by __THROW.
56774         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56775         * posix/getopt.h (getopt): Likewise.
56777 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56779         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56780         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56781         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56782         in AT_FLAGS.
56783         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56784         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56786 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56788         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56790 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56792         [BZ #11640]
56793         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56794         Properly check family and model.
56796 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56798         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56800 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56802         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56804 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56806         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56807         symbol reference.
56809 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56811         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56812         symbol reference.
56814 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56816         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56817         and internal_recvmmsg.
56818         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56819         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56820         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56821         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56823         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56824         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56825         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56827 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56829         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56831 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56833         POWER7 optimizations.
56834         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56835         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56837 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56839         * version.h: Update for 2.13 development version.
56841 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56843         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56844         exceptions.  Return 0.
56846 2010-05-07  Roland McGrath  <roland@redhat.com>
56848         * elf/ldconfig.c (main): Add a const.
56850 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56852         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56853         (args_options): Add no-idn option.
56854         (ahosts_keys_int): Add idn_flags to ai_flags.
56855         (parse_option): Handle 'i' option to clear idn_flags.
56857         * malloc/malloc.c (_int_free): Possible race in the most recently
56858         added check.  Only act on the data if no current modification
56859         happened.
56861 See ChangeLog.17 for earlier changes.